/* D & T Cabinets — tokens */
:root {
  --lacquer: #16222E;      /* navy lacquer, from their painted cabinetry */
  --lacquer-2: #1E2D3B;
  --marble: #F3F4F2;       /* cool marble white page ground */
  --paper: #FFFFFF;
  --ink: #18232E;
  --stone: #5F6872;        /* secondary text, 5.1:1 on marble */
  --rule: #D6D9DB;
  --brass: #B38B4D;        /* hardware brass: lines and accents */
  --brass-lt: #D3B27A;     /* brass on navy, 8:1 */
  --brass-ink: #846330;    /* brass for text and buttons on light, 5:1 */

  --f-sans: "Archivo", system-ui, sans-serif;
  --f-serif: "Newsreader", Georgia, serif;

  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem; --s-6: 6.5rem;
  --wrap: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px));
  --ease-door: cubic-bezier(.72, 0, .18, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--marble);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-opening { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
p, li, figcaption { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }
[id] { scroll-margin-top: 80px; }

.display {
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}

/* Faded photo backgrounds behind light sections */
.faded { position: relative; isolation: isolate; }
.faded::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg) center / cover no-repeat;
  opacity: .13; filter: grayscale(.4);
  -webkit-mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  font-variation-settings: "wdth" 108;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--brass { background: var(--brass-ink); color: #fff; }
.btn--brass:hover { background: #6F5228; }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(14,22,30,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }

/* ---------- Opener ---------- */
.opener { position: fixed; inset: 0; z-index: 100; perspective: 1800px; background: #0F1821; }
.door { position: absolute; top: 0; bottom: 0; width: 50%; backface-visibility: hidden; will-change: transform; }
.door--l { left: 0; transform-origin: left center; }
.door--r { right: 0; transform-origin: right center; }
.door__fill { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.04), rgba(255,255,255,0) 45%), var(--lacquer); }
.door--l .door__fill { box-shadow: inset -1px 0 0 rgba(0,0,0,.55); }
.door--r .door__fill { box-shadow: inset 1px 0 0 rgba(255,255,255,.07); }
.door__panel {
  position: absolute; inset: clamp(28px, 7vmin, 90px);
  box-shadow: inset 0 0 0 clamp(10px, 2.4vmin, 26px) rgba(0,0,0,.16);
}
.door__pull {
  position: absolute; top: 50%; width: 5px; height: clamp(90px, 18vh, 180px); transform: translateY(-50%);
  border-radius: 3px; background: linear-gradient(90deg, #8E6C36, var(--brass-lt) 45%, #8E6C36);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.door--l .door__pull { right: clamp(14px, 2.4vmin, 28px); }
.door--r .door__pull { left: clamp(14px, 2.4vmin, 28px); }
.door__fill, .door__panel, .door__pull { opacity: 0; transition: opacity .6s ease .15s; }
.opener.p-go .door__fill, .opener.p-go .door__panel, .opener.p-go .door__pull { opacity: 1; }
.door__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.door::after { /* gentle shade toward the free edge as the door turns */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
  transition: opacity 1.5s var(--ease-door);
}
.door--l::after { background: linear-gradient(90deg, rgba(5,9,13,0), rgba(5,9,13,.28)); }
.door--r::after { background: linear-gradient(270deg, rgba(5,9,13,0), rgba(5,9,13,.28)); }
.door__lines { z-index: 2; }
.door__pull { z-index: 3; }
.door__lines .faint { stroke: rgba(211,178,122,.62); }
.door__lines .dash { stroke: rgba(211,178,122,.75); }
.opener__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.opener svg * { fill: none; stroke: var(--brass-lt); stroke-width: 1; }
.opener svg .faint { stroke: rgba(211,178,122,.45); }
.opener svg .dash { stroke-dasharray: 6 6; stroke: rgba(211,178,122,.6); }
.opener svg text { fill: var(--brass-lt); stroke: none; font: 500 12px/1 var(--f-sans); letter-spacing: .04em; }
.opener__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92);
  display: grid; justify-items: center; align-content: center; gap: .3rem;
  width: var(--plate, 260px); height: var(--plate, 260px); border-radius: 50%;
  background: var(--lacquer); color: #fff; text-align: center;
  opacity: 0; transition: opacity .4s ease .2s, transform .6s var(--ease-out) .2s;
}
.opener__dt { font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; letter-spacing: .02em; }
.opener__name { font-family: var(--f-serif); font-style: italic; font-size: clamp(1rem, 2vw, 1.35rem); color: var(--brass-lt); }
.opener__skip {
  position: absolute; right: 20px; bottom: 20px; background: none;
  border: 1px solid rgba(211,178,122,.5); color: var(--brass-lt);
  padding: .5rem .9rem; font-size: .85rem; border-radius: 2px;
}
.opener.p-go .opener__mark { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.opener.p-open { background: transparent; transition: background-color .6s ease .3s; }
.opener.p-open .opener__lines, .opener.p-open .opener__skip { opacity: 0; transition: opacity .5s ease; }
.opener.p-open .opener__mark { opacity: 0; transform: translate(-50%, -50%) scale(1.06); transition: opacity .35s ease, transform .5s ease; }
.opener.p-open .door { transition: transform 1.5s var(--ease-door), box-shadow 1.5s; }
.opener.p-open .door::after { opacity: 1; }
.opener.p-open .door--l { transform: rotateY(-100deg); box-shadow: 40px 0 70px rgba(0,0,0,.4); }
.opener.p-open .door--r { transform: rotateY(100deg); box-shadow: -40px 0 70px rgba(0,0,0,.4); }
.opener.p-gone { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: var(--s-4);
  padding: 1rem clamp(16px, 4vw, 48px);
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s, padding .3s;
}
.nav:not(.is-solid):not(.is-menu) { background: linear-gradient(180deg, rgba(14,22,30,.82), rgba(14,22,30,.35) 70%, rgba(14,22,30,0)); }
.nav.is-solid { background: rgba(243,244,242,.95); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(10px); padding-block: .6rem; }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; }
.brand__dt { font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1.55rem; letter-spacing: .01em; }
.brand__name { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,.92); }
.footer .brand__name { color: var(--brass-lt); }
.nav.is-solid .brand__name { color: var(--brass-ink); }
.nav__links { display: flex; gap: var(--s-3); margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: .3rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background-size: 100% 1px; }
.nav__cta { min-height: 42px; padding: .55rem 1.1rem; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.nav__toggle span:not(.sr-only) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .25s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.nav.is-menu { background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; }
.nav.is-menu .brand__name { color: var(--brass-lt); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--lacquer); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 5rem 24px 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 1.8rem; font-variation-settings: "wdth" 115; text-decoration: none; font-weight: 600; }
.mobile-menu .btn { margin-top: 1rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--lacquer); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08); transition: transform 1.6s var(--ease-door); }
body.is-revealed .hero__img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(14,22,30,.88) 0%, rgba(14,22,30,.5) 42%, rgba(14,22,30,.12) 70%, rgba(14,22,30,.62) 100%); }
.hero__copy { position: relative; padding-bottom: clamp(3rem, 9vh, 6rem); }
.hero__title {
  margin: 0 0 var(--s-3);
  font-weight: 800; font-variation-settings: "wdth" 125;
  font-size: clamp(2.9rem, 1rem + 7.4vw, 8rem);
  line-height: .92; letter-spacing: -0.035em;
  text-shadow: 0 2px 30px rgba(10,16,22,.35);
}
.hero__sub { max-width: 36rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); margin: 0 0 var(--s-4); color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__caption { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 1.4rem; margin: 0; font-family: var(--f-serif); font-style: italic; font-size: .95rem; color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ---------- Intro + interactive elevation ---------- */
.intro { padding-block: var(--s-6); }
.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-5); align-items: center; }
.intro__text p { max-width: 36rem; color: var(--stone); margin: 0 0 1rem; }
.intro__text p:first-of-type { color: var(--ink); font-size: 1.15rem; }
.intro__drawing { margin: 0; }
.intro__drawing figcaption { margin-top: 1rem; font-family: var(--f-serif); font-style: italic; color: var(--stone); font-size: .98rem; }

.elev { position: relative; aspect-ratio: 420 / 340; perspective: 1100px; }
.elev svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.elev svg line, .elev svg rect { fill: none; stroke: var(--ink); stroke-width: .9; }
.elev svg .elev__dim line { stroke: var(--brass); }
.elev__t { font: 600 11px var(--f-sans); fill: var(--brass-ink); text-anchor: middle; }
.elev svg .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.1s var(--ease-door); }
.elev.is-drawn svg .draw { stroke-dashoffset: 0; }

.pc { position: absolute; transform-style: preserve-3d; cursor: pointer; }
.pc__cav { position: absolute; inset: 0; background: #DADDDC; box-shadow: inset 0 0 0 1px var(--ink), inset 0 6px 10px rgba(24,35,46,.18); }
.pc--dl .pc__cav::after, .pc--dr .pc__cav::after, .pc--up .pc__cav::after { /* shelf */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); opacity: .55;
}
.pc__front {
  position: absolute; inset: 0; background: var(--marble);
  border: 1px solid var(--ink);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .5s ease;
  opacity: 0;
}
.elev.is-drawn .pc__front { opacity: 1; transition-delay: 0s, 0s, var(--d, 0s); }
.pc__front svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc__front polyline { fill: none; stroke: var(--stone); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.pc__front i { position: absolute; background: var(--brass); border-radius: 2px; }
.pc--dl .pc__front { transform-origin: left center; }
.pc--dr .pc__front { transform-origin: right center; }
.pc--up .pc__front { transform-origin: center top; }
.pc--dl .pc__front i { right: 9%; top: 72%; width: 2.5px; height: 18%; }
.pc--dr .pc__front i { left: 9%; top: 72%; width: 2.5px; height: 18%; }
.pc--up .pc__front i { left: 35%; right: 35%; bottom: 9%; height: 2.5px; }
.pc--dw .pc__front i { left: 20%; right: 20%; top: calc(50% - 1.25px); height: 2.5px; }
.can-hover .pc:hover, .pc.is-open { z-index: 3; }
.can-hover .pc--dl:hover .pc__front, .pc--dl.is-open .pc__front { transform: rotateY(-62deg); box-shadow: 8px 0 14px rgba(24,35,46,.2); }
.can-hover .pc--dr:hover .pc__front, .pc--dr.is-open .pc__front { transform: rotateY(62deg); box-shadow: -8px 0 14px rgba(24,35,46,.2); }
.can-hover .pc--up:hover .pc__front, .pc--up.is-open .pc__front { transform: rotateX(62deg); box-shadow: 0 8px 14px rgba(24,35,46,.2); }
.can-hover .pc--dw:hover .pc__front, .pc--dw.is-open .pc__front { transform: translate3d(0, 14%, 46px); box-shadow: 0 10px 14px rgba(24,35,46,.28); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: var(--s-4); }
.section-head p { margin: 0; color: var(--stone); max-width: 40rem; }
.section-head p a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-3) var(--s-4); flex-wrap: wrap; }

/* ---------- What we build ---------- */
.build { padding-block: var(--s-5) var(--s-6); }
.panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); perspective: 1400px; }
.panel {
  position: relative; display: block; background: var(--lacquer);
  aspect-ratio: 3 / 4.4; overflow: hidden; color: #fff; text-decoration: none;
  transform-origin: left center; transition: transform .6s var(--ease-door), box-shadow .6s;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-door); }
.panel::before { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(255,255,255,.55); pointer-events: none; transition: inset .5s var(--ease-door), border-color .5s; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,30,.85), rgba(14,22,30,0) 55%); }
.panel__body { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2; display: grid; gap: .25rem; }
.panel__name { font-weight: 700; font-variation-settings: "wdth" 118; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.1; }
.panel__line { font-size: .92rem; color: rgba(255,255,255,.85); line-height: 1.4; }
.panel:hover, .panel:focus-visible { transform: rotateY(-7deg); box-shadow: 18px 18px 40px rgba(22,34,46,.25); }
.panel:hover img, .panel:focus-visible img { transform: scale(1.05); }
.panel:hover::before, .panel:focus-visible::before { inset: 10px; border-color: var(--brass-lt); }

/* ---------- Work preview (bento) ---------- */
.work { padding-block: var(--s-6); background: var(--paper); border-block: 1px solid var(--rule); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; background: var(--marble); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-door); }
.tile:hover img { transform: scale(1.04); }
.tile--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile--b { grid-column: 3; grid-row: 1 / 3; }
.tile--c { grid-column: 4; grid-row: 1; }
.tile--d { grid-column: 4; grid-row: 2; }
.tile--e { grid-column: 1; grid-row: 3; }
.tile--f { grid-column: 2; grid-row: 3; }
.tile--g { grid-column: 3 / 5; grid-row: 3; }

/* "This can be yours" tiles */
.cta-tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--lacquer); color: #fff;
}
.cta-tile::before { /* shaker frame */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(211,178,122,.45); pointer-events: none; z-index: -1;
}
.cta-tile::after { /* hinge-side swing lines, like the drawings */
  content: ""; position: absolute; inset: 12px; z-index: -1; opacity: .18;
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--brass-lt) 50%, transparent calc(50% + .5px)) 0 0 / 100% 50% no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .5px), var(--brass-lt) 50%, transparent calc(50% + .5px)) 0 100% / 100% 50% no-repeat;
}
.cta-tile__title { margin: 0; font-weight: 800; font-variation-settings: "wdth" 122; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.cta-tile__line { margin: 0 0 .5rem; color: rgba(255,255,255,.85); max-width: 26ch; }

/* ---------- Process ---------- */
.process { padding-block: var(--s-6); }
.steps { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--rule); }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 45px; height: 45px; display: grid; place-items: center;
  border: 1px solid var(--brass); border-radius: 50%; background: var(--marble);
  color: var(--brass-ink); font-weight: 700; font-size: 1rem;
  box-shadow: 0 0 0 6px var(--marble), 0 0 0 7px var(--rule);
}
.steps h3 { margin: 0 0 .5rem; font-weight: 700; font-variation-settings: "wdth" 110; font-size: 1.2rem; line-height: 1.25; }
.steps p { margin: 0; color: var(--stone); font-size: 1rem; }

/* ---------- Quote + photo reel ---------- */
.quote { background: var(--lacquer); color: #fff; padding-block: clamp(4.5rem, 10vw, 7.5rem) 0; overflow: hidden; }
.quote blockquote { margin-block: 0 clamp(3rem, 7vw, 5rem); }
.quote p { margin: 0 0 1.2rem; max-width: 16ch; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -0.01em; }
.quote cite { font-style: normal; color: var(--brass-lt); font-size: 1rem; }
.car { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.car__view { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.car__view.is-drag { cursor: grabbing; }
.car__track { --w: clamp(220px, 26vw, 360px); display: flex; gap: clamp(4px, 1vw, 12px); margin: 0; padding: 0; list-style: none; will-change: transform; }
.car__track.is-anim { transition: transform .6s cubic-bezier(.6, 0, .25, 1); }
.car__slide { flex: 0 0 var(--w); transform: scale(.82); opacity: .45; transition: transform .6s cubic-bezier(.6, 0, .25, 1), opacity .6s ease; }
.car__slide.is-on { transform: none; opacity: 1; }
.car__track.no-anim, .car__track.no-anim .car__slide { transition: none; }
.car__view.is-drag .car__slide { transition: none; }
.car__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: inherit; }
.car__btn img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.car__btn:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 3px; }
.car__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.car__count { font-variant-numeric: tabular-nums; font-size: .95rem; color: rgba(255,255,255,.75); min-width: 3.5em; text-align: center; }
.car__arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; border-radius: 50%; cursor: pointer; transition: border-color .2s, color .2s; }
.car__arrow:hover { border-color: var(--brass-lt); color: var(--brass-lt); }
.car__arrow:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 2px; }
.car__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Partners ---------- */
.partners { padding-block: var(--s-5); display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-4); align-items: start; border-bottom: 1px solid var(--rule); }
.partners__title { margin: 0; font-weight: 600; font-variation-settings: "wdth" 110; font-size: 1.2rem; line-height: 1.35; }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem var(--s-4); }
.partners__list li { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; border-bottom: 1px solid var(--rule); padding-bottom: .5rem; }

/* ---------- "This can be yours" band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(420px, 44vw, 560px); background: var(--lacquer); color: #fff; }
.cta-band__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(16px, 4vw, 48px) clamp(3rem, 7vw, 6rem) max(clamp(16px, 4vw, 48px), calc((100vw - 1240px) / 2));
}
.cta-band__title { margin: 0 0 1rem; font-weight: 800; font-variation-settings: "wdth" 122; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem); line-height: .98; letter-spacing: -0.03em; }
.cta-band__line { margin: 0 0 2rem; max-width: 34ch; color: rgba(255,255,255,.85); font-size: 1.12rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.cta-band .btn--brass { background: var(--brass-lt); color: var(--ink); }
.cta-band .btn--brass:hover { background: #E2C690; }
.cta-band__call { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--brass-lt); text-underline-offset: 4px; }
.cta-band__call:hover { color: var(--brass-lt); }
.cta-band__media { position: relative; overflow: hidden; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visit ---------- */
.visit { padding-block: var(--s-6); }
.visit__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5); align-items: end; margin-bottom: var(--s-4); }
.visit__head .display { margin: 0; }
.visit__head p { margin: 0; color: var(--stone); max-width: 38rem; }
.visit__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.map { min-height: 440px; background: var(--rule); border: 1px solid var(--rule); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.visit__card { background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.visit__row { padding-block: 1.3rem; border-bottom: 1px solid var(--rule); }
.visit__row:first-child { padding-top: 0; }
.visit__row:last-child { border-bottom: 0; padding-bottom: 0; }
.visit__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.visit__row h3 { margin: 0 0 .35rem; font-size: .9rem; font-weight: 500; color: var(--stone); }
.visit__row p { margin: 0; font-weight: 500; font-size: 1.05rem; }
.visit__row a { text-decoration: none; }
.visit__row p a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.visit__link { display: inline-block; margin-top: .6rem; color: var(--brass-ink); font-weight: 600; font-size: .95rem; text-decoration: underline !important; text-underline-offset: 3px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 500; padding: .2rem 1rem .2rem 0; }
.hours td { text-align: right; color: var(--stone); padding: .2rem 0; }
.hours__note { margin-top: .6rem !important; font-family: var(--f-serif); font-style: italic; color: var(--brass-ink); font-weight: 400 !important; font-size: 1rem !important; }

/* Onboarding overlay */
.onboard {
  position: fixed; inset: 0; z-index: 160;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--lacquer); color: #fff;
  opacity: 0; transition: opacity .35s ease;
}
.onboard[hidden] { display: none; }
.onboard.is-on { opacity: 1; }
.onboard__media { position: relative; overflow: hidden; background: #0F1821; }
.onboard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform 1.2s var(--ease-out); }
.onboard__media img.is-fading { opacity: 0; transform: scale(1.03); }
.onboard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,30,0) 60%, rgba(22,34,46,.9)); }
.onboard__panel {
  position: relative; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 48px);
  transform: translateY(18px); transition: transform .5s var(--ease-out);
}
.onboard.is-on .onboard__panel { transform: none; }
.onboard__close {
  position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: none; color: #fff; font-size: 1.6rem; line-height: 1;
}
.onboard__close:hover { border-color: var(--brass-lt); color: var(--brass-lt); }
.onboard__brand { margin: 0 0 clamp(1.5rem, 5vh, 3.5rem); }
.onboard__body { width: 100%; max-width: 540px; margin-block: auto; }
.onboard__lede { margin: 0 0 1.8rem; color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 34ch; }
.onboard__list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; counter-reset: ob; }
.onboard__list li { counter-increment: ob; display: flex; align-items: center; gap: .9rem; color: rgba(255,255,255,.9); }
.onboard__list li::before { content: counter(ob); flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--brass-lt); color: var(--brass-lt); display: grid; place-items: center; font-size: .85rem; font-weight: 600; }
.onboard .btn--brass { background: var(--brass-lt); color: var(--ink); }
.onboard .btn--brass:hover { background: #E2C690; }
.flow__top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.flow__count { margin-left: auto; font-size: .9rem; color: rgba(255,255,255,.75); }
.flow__back { background: none; border: 0; padding: .3rem 0; color: var(--brass-lt); font-weight: 600; font-size: .95rem; }
.flow__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.flow__bar { height: 2px; background: rgba(255,255,255,.14); margin: .6rem 0 1.6rem; }
.flow__bar i { display: block; height: 100%; width: 33%; background: var(--brass-lt); transition: width .5s var(--ease-out); }
.flow__stage { flex: 1; display: flex; flex-direction: column; }
.flow__q { margin: 0 0 1.2rem; font-weight: 700; font-variation-settings: "wdth" 118; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.08; letter-spacing: -0.02em; }
.flow__q:focus { outline: none; }
.flow__pane { animation: pane-in .45s var(--ease-out) both; }
.flow__pane.is-back { animation-name: pane-back; }
@keyframes pane-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes pane-back { from { opacity: 0; transform: translateX(-28px); } }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick {
  position: relative; display: flex; align-items: flex-end; text-align: left;
  min-height: 64px; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04);
  border-radius: 2px; color: #fff; font-weight: 600; font-size: 1.02rem; line-height: 1.25;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.pick:hover { border-color: var(--brass-lt); background: rgba(211,178,122,.1); }
.pick:active { transform: scale(.98); }
.pick--img { aspect-ratio: 16 / 10; overflow: hidden; padding: 0; border: 0; }
.pick--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-door); }
.pick--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,30,.85), rgba(14,22,30,0) 60%); }
.pick--img span { position: relative; z-index: 1; padding: .8rem 1rem; }
.pick--img:hover img { transform: scale(1.06); }
.pick--img:hover { outline: 2px solid var(--brass-lt); outline-offset: -2px; }
.pick--wide { grid-column: 1 / -1; }
.pick small { display: block; font-weight: 400; color: rgba(255,255,255,.72); font-size: .88rem; margin-top: .2rem; }
.picks--list { grid-template-columns: 1fr; }
.picks--list .pick { align-items: center; justify-content: space-between; }

.summary { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .1rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.summary span { color: rgba(255,255,255,.7); }
.summary b { font-weight: 600; text-align: right; }
.flow__actions { display: grid; gap: 10px; }
.flow__actions .btn { width: 100%; justify-content: space-between; }
.flow__actions .btn--brass { background: var(--brass-lt); color: var(--ink); }
.flow__actions .btn--brass:hover { background: #E2C690; }
.flow__actions .btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); }
.flow__restart { margin-top: 1rem; align-self: flex-start; background: none; border: 0; padding: .3rem 0; color: rgba(255,255,255,.75); font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.flow__note { margin: 1rem 0 0; color: rgba(255,255,255,.7); font-size: .92rem; }

/* ---------- Portfolio page ---------- */
.page-head { padding: calc(var(--s-6) + 40px) 0 var(--s-4); }
.page-head h1 { font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(2.8rem, 1.4rem + 5vw, 6rem); line-height: .95; letter-spacing: -0.035em; margin: 0 0 var(--s-2); }
.page-head p { margin: 0; color: var(--stone); max-width: 40rem; font-size: 1.1rem; }
.page-head .filters { margin-top: var(--s-4); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters__count { align-self: center; margin-left: .6rem; color: var(--stone); font-size: .95rem; }
.chip { min-height: 42px; padding: .45rem 1.1rem; border: 1px solid #BFC4C8; background: transparent; border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: 14px; padding-bottom: var(--s-6); }
.masonry > * { break-inside: avoid; margin-bottom: 14px; }
.masonry .tile img { height: auto; }
.masonry .cta-tile { aspect-ratio: 4 / 5; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem;
  color: #fff; font-size: .9rem; line-height: 1.35;
  background: linear-gradient(0deg, rgba(14,22,30,.8), rgba(14,22,30,0));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; padding-top: 1.6rem; font-size: .85rem; } }
.band { background: var(--lacquer); color: #fff; padding-block: var(--s-5); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.band h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 122; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -0.02em; }
.band p { margin: .4rem 0 0; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.footer { background: var(--lacquer); color: rgba(255,255,255,.82); padding-block: var(--s-5) var(--s-3); }
.footer__grid { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-bottom: var(--s-4); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--footer { color: #fff; }
.footer__grid p { margin: .5rem 0 0; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: .6rem 2.5rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--brass-lt); }
.footer__legal { font-size: .85rem; color: rgba(255,255,255,.6); margin-block: var(--s-3) 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(12,18,25,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 0 1.5rem; grid-column: 2; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 8rem); width: auto; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: .95rem; text-align: center; }
.lb__nav, .lb__close { background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; width: 56px; height: 56px; }
.lb__nav:hover, .lb__close:hover { color: var(--brass-lt); }
.lb__prev { grid-column: 1; justify-self: center; }
.lb__next { grid-column: 3; justify-self: center; }
.lb__close { position: absolute; top: 10px; right: 12px; font-size: 2.2rem; }

/* focus ring on dark grounds */
.opener :focus-visible, .hero :focus-visible, .nav:not(.is-solid) :focus-visible, .mobile-menu :focus-visible,
.footer :focus-visible, .lightbox :focus-visible, .onboard :focus-visible, .cta-band :focus-visible, .cta-tile :focus-visible, .band :focus-visible,
.panel:focus-visible { outline-color: var(--brass-lt); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .intro__grid, .visit__grid, .visit__head, .partners { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__media { min-height: 300px; order: -1; }
  .map { min-height: 320px; }
  .intro { padding-block: var(--s-5); }
  .intro__grid { gap: var(--s-4); }
  .panels { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .onboard { grid-template-columns: 1fr; }
  .onboard__media { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 34vw, 260px); }
  .tile--a { grid-column: 1 / 3; grid-row: auto / span 2; }
  .tile--b { grid-column: 1; grid-row: auto / span 2; }
  .tile--c, .tile--d { grid-column: 2; grid-row: auto; }
  .tile--e, .tile--f { grid-column: auto; grid-row: auto; }
  .tile--g { grid-column: 1 / 3; grid-row: auto; min-height: 260px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero__shade { background: linear-gradient(0deg, rgba(14,22,30,.92) 0%, rgba(14,22,30,.62) 50%, rgba(14,22,30,.2) 75%, rgba(14,22,30,.5) 100%); }
  .hero__caption { display: none; }
  .panels { gap: 10px; }
  .panel { aspect-ratio: 3 / 4; }
  .panel::before { inset: 8px; }
  .panel__body { left: 16px; right: 16px; bottom: 16px; }
  .panel__line { display: none; }
  .steps { grid-template-columns: 1fr; gap: var(--s-3); }
  .steps li { padding: 0 0 0 64px; min-height: 45px; }
  .partners__list { grid-template-columns: 1fr; }
  .visit__row--split { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .footer__links { grid-template-columns: 1fr; }
  .onboard { grid-template-columns: 1fr; }
  .onboard__media { display: none; }
  :root { --s-5: 3rem; --s-6: 4.5rem; }
  .onboard__body { margin-block: 0 auto; }
  .onboard__brand { margin-bottom: 2.25rem; }
  .flow__actions .btn--brass { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 700px) {
  .elev__hint { display: none; }
  .elev.is-static .pc { cursor: default; }
  .opener.p-open .door { transition-duration: 1.2s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
