/* Ezz Elarab Contractors — design system and components.
   Palette from the brief, shifted one step darker on request: the page base is the
   brief's #E7E3DE mixed 20% toward stone, and #E7E3DE itself is the light surface.
   --taupe (#85766B) is kept for lines and large type; small text uses --taupe-ink (5.1:1). */

:root {
  --bg: #DFD9D3;
  --surface: #E7E3DE;
  --stone: #BEB2A6;
  --taupe: #85766B;
  --taupe-ink: #615549;
  --charcoal: #413B36;
  --ink: #211E1B;
  --line: rgba(65, 59, 54, .2);
  --line-strong: rgba(65, 59, 54, .45);
  --on-dark: #E7E3DE;
  --on-dark-dim: #BEB2A6;
  --line-dark: rgba(190, 178, 166, .26);

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  --fs-h2: clamp(2.375rem, 1.4rem + 4.1vw, 5rem);
  --fs-hero: clamp(2.875rem, 1.2rem + 6.4vw, 7rem);

  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(64px, 8vw, 120px);
  --hdr: 84px;

  --ease: cubic-bezier(.22, .9, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.2, 1.12, .32, 1);
  --slow: 1.1s;
  color-scheme: light;
}
@media (max-width: 600px) { :root { --sec: 56px; --hdr: 72px; } }

/* dark sections: the same components, re-pointed at light-on-dark tokens */
.theme-dark {
  --bg: #2A2622;
  --surface: #2F2A26;
  --stone: #5C524A;
  --ink: #E7E3DE;
  --charcoal: #D3CBC2;
  --taupe: #A69585;
  --taupe-ink: #BEB2A6;
  --line: rgba(190, 178, 166, .16);
  --line-strong: rgba(190, 178, 166, .36);
  background: #211E1B;
  color: var(--ink);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* soft spring: ~2% overshoot, settles without bounce */
    --spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-md); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a, button, label { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--surface); padding: 12px 16px; }
.skip:focus { top: 12px; }
#main:focus { outline: none; }
main [tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); scroll-margin-top: 0; }
section[id] { scroll-margin-top: 0; }
.lede { font-size: var(--fs-lg); line-height: 1.5; font-weight: 400; color: var(--charcoal); }
.small-caps { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
.small { font-size: var(--fs-sm); color: var(--taupe-ink); }
.h3 { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }

/* ------------------------------------------------------------ type reveals */
.ttl { font-size: var(--fs-h2); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.ttl--hero { font-size: var(--fs-hero); font-weight: 300; letter-spacing: -.05em; line-height: .94; }
.ttl--xl { font-size: clamp(3.25rem, 1rem + 10vw, 11rem); font-weight: 200; letter-spacing: -.06em; line-height: .9; }
.ttl__l { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.ttl__l > span { display: block; transform: translateY(108%); transition: transform var(--slow) var(--spring); transition-delay: calc(var(--i) * 110ms + 80ms); }
.ttl.is-in .ttl__l > span { transform: none; }

/* section marker: number — rule — label */
.mk { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-ink); }
.mk__n { font-variant-numeric: tabular-nums; color: var(--ink); }
.mk__rule { width: 56px; height: 1px; background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .1s; }
.mk.is-in .mk__rule { transform: none; }

/* generic fade-up for [data-io] blocks that aren't special-cased */
:where([data-io]:not(.ttl, .rv, .mk, .dwg, .year, .rule, .cols, .flow, .pay__line, .rep)) {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform 1s var(--spring);
  transition-delay: calc(var(--i, 0) * 60ms);
}
:where([data-io].is-in:not(.ttl, .rv)) { opacity: 1; transform: none; }
.rep { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1.1s var(--spring); }
.rep.is-in { opacity: 1; transform: none; }

/* measured divider */
.rule { height: 1px; position: relative; }
.rule i { position: absolute; inset: 0; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.rule.is-in i { transform: none; }

/* ------------------------------------------------------------ photo reveal */
.rv { position: relative; overflow: hidden; background: var(--tone, var(--stone)); aspect-ratio: var(--ar); }
.rv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.8s var(--ease-out) .15s; }
.rv__p { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.rv__p i { background: var(--bg); margin-right: -1px; transform-origin: 50% 0; transition: transform 1s var(--ease); }
.rv__p i:nth-child(1) { transition-delay: 0ms; }
.rv__p i:nth-child(2) { transition-delay: 90ms; }
.rv__p i:nth-child(3) { transition-delay: 40ms; }
.rv__p i:nth-child(4) { transition-delay: 150ms; }
.rv.is-in img { transform: scale(1); }
.rv.is-in .rv__p i { transform: scaleY(0); }
.rv--cover { aspect-ratio: auto; height: 100%; }

/* ------------------------------------------------------------ linework */
.ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.is-drawn .ln { stroke-dashoffset: 0; }
.is-drawn .ln:nth-child(4n+2) { transition-delay: .12s; }
.is-drawn .ln:nth-child(4n+3) { transition-delay: .24s; }
.is-drawn .ln:nth-child(4n) { transition-delay: .36s; }
.draw-svg { width: 100%; height: auto; color: var(--charcoal); overflow: visible; }
.draw-svg .wall, .loader-svg .wall { stroke-width: 1.6; }
.draw-svg .thin, .loader-svg .thin { stroke-width: 1; }
.draw-svg .hair, .loader-svg .hair { stroke-width: .6; }
.draw-svg .dim, .loader-svg .dim { stroke-width: .6; color: var(--taupe); stroke: var(--taupe); }
.draw-svg .dashline { stroke-dasharray: 4 4 !important; stroke-dashoffset: 0 !important; opacity: .7; }
.draw-svg .glow { stroke: var(--taupe); }
.draw-svg text, .loader-svg text { fill: var(--taupe-ink); stroke: none; font: 600 9px var(--font); letter-spacing: .14em; opacity: 0; transition: opacity .8s ease .8s; }
.is-drawn text, .is-play text, .story text { opacity: 1; }
.draw-svg .mid, .loader-svg .mid { text-anchor: middle; }
.draw-svg .dimt { font-size: 8px; letter-spacing: .12em; }
.dwg { position: relative; background: var(--surface); padding: clamp(16px, 3vw, 40px); border: 1px solid var(--line); }
.dwg__lbl { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); font-weight: 600; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 22px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; position: relative; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s; }
.btn--solid { background: var(--ink); color: var(--surface); }
.btn--solid:hover { background: var(--charcoal); }
.btn--line { border: 1px solid var(--line-strong); }
.btn--line:hover { border-color: var(--ink); background: var(--surface); }
.btn--text { padding: 0; min-height: 44px; }
.btn--text span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); padding-bottom: 2px; }
.btn--text:hover span { background-size: 100% 1px; }

/* the architectural arrow: a hairline shaft with a fine head; the shaft extends on hover */
.arw { display: inline-block; position: relative; width: 22px; height: 9px; flex: none; transition: width .5s var(--spring); }
.arw::before { content: ""; position: absolute; left: 0; right: 1px; top: 4px; height: 1px; background: currentColor; }
.arw::after { content: ""; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; translate: -1px 0; }
.arw--left { transform: scaleX(-1); }
.arw--up { transform: rotate(-90deg); }
a:hover > .arw, button:hover > .arw, a:focus-visible > .arw, .btn:hover .arw { width: 34px; }

.flag { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 10px; border: 1px dashed var(--taupe); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); line-height: 1.4; }
.flag i { width: 6px; height: 6px; background: var(--taupe); transform: rotate(45deg); flex: none; }
.badge { display: inline-block; padding: 4px 10px; background: var(--ink); color: var(--surface); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; line-height: 1.4; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--spring); }
.plus::after { transform: rotate(90deg); }
[aria-expanded="true"] > .plus::after { transform: rotate(0deg); }
.ticks li, .dots li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--taupe); }
.ticks--x li::before { width: 8px; height: 8px; top: .45em; background: linear-gradient(45deg, transparent 46%, var(--taupe) 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--taupe) 46% 54%, transparent 54%); }
.dots li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border: 1px solid var(--taupe); border-radius: 50%; }

/* ------------------------------------------------------------ loader */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; align-content: center; gap: 18px; color: var(--charcoal); }
.loader::before, .loader::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); z-index: -1; transition: transform 1s var(--ease); }
.loader::before { top: 0; }
.loader::after { bottom: 0; }
.loader__stage { width: min(520px, 78vw); }
.loader-svg { width: 100%; height: auto; overflow: visible; }
.loader-svg .ln { transition-duration: 1.1s; }
.ld-plan { transition: opacity .7s ease 1.25s; }
.ld-house .ln { transition-duration: 1s; }
.loader.is-play .ld-plan .ln { stroke-dashoffset: 0; }
.loader.is-play .ld-plan .ln:nth-child(3n+1) { transition-delay: .05s; }
.loader.is-play .ld-plan .ln:nth-child(3n+2) { transition-delay: .3s; }
.loader.is-play .ld-plan .ln:nth-child(3n) { transition-delay: .55s; }
.loader.is-play .ld-plan { opacity: .14; }
.loader.is-play .ld-house .ln { stroke-dashoffset: 0; transition-delay: 1.15s; }
.loader.is-play .ld-house .ln:nth-child(2n) { transition-delay: 1.35s; }
.loader__mark { width: 132px; height: auto; opacity: 0; transform: translateY(8px); transition: opacity .8s ease 1.95s, transform 1s var(--spring) 1.95s; }
.loader__line { font-size: var(--fs-xs); letter-spacing: .3em; text-transform: uppercase; font-weight: 500; opacity: 0; transition: opacity .8s ease 2.3s; }
.loader.is-play .loader__mark { opacity: 1; transform: none; }
.loader.is-play .loader__line { opacity: 1; }
.loader__skip { position: absolute; right: var(--gutter); bottom: 24px; min-height: 44px; padding: 0 12px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
.loader__skip:hover { color: var(--ink); }
.loader.is-open::before { transform: translateY(-101%); }
.loader.is-open::after { transform: translateY(101%); }
.loader.is-open > * { opacity: 0 !important; transition: opacity .35s ease !important; }
.loader.is-done { pointer-events: none; }
.loader.is-done::before { transform: translateY(-101%); }
.loader.is-done::after { transform: translateY(101%); }
.loader.is-done > * { opacity: 0 !important; transition: opacity .3s ease !important; }

/* ------------------------------------------------------------ header */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--taupe); transform: scaleX(0); transform-origin: left; }
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--hdr); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); transition: height .5s var(--ease), background-color .5s, border-color .5s; border-bottom: 1px solid transparent; }
.hdr.is-compact { height: 64px; background: rgba(223, 217, 211, .94); border-color: var(--line); backdrop-filter: saturate(1.1) blur(8px); -webkit-backdrop-filter: saturate(1.1) blur(8px); }
.hdr__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; margin-right: auto; }
.hdr__brand img { height: 22px; width: auto; }
.hdr__name { font-size: 10.5px; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; border-left: 1px solid var(--line-strong); padding-left: 12px; }
.hdr__nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.hdr__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--charcoal); }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__nav a.is-active { color: var(--ink); }
.hdr__cta { min-height: 44px; padding: 0 16px; }
.hdr__burger { display: none; width: 48px; height: 48px; position: relative; }
.hdr__burger i { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink); }
.hdr__burger i:nth-of-type(1) { top: 20px; }
.hdr__burger i:nth-of-type(2) { top: 27px; left: 20px; }
@media (max-width: 1180px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: block; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--bg); padding: 88px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; transition: opacity .4s var(--ease); }
.menu.is-open { opacity: 1; }
.menu__grid { position: absolute; inset: 0; pointer-events: none; }
.menu__grid i { position: absolute; background: var(--line); transition: transform 1.4s var(--ease-out); }
.menu__grid i:nth-child(odd) { top: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: top; }
.menu__grid i:nth-child(even) { left: 0; right: 0; height: 1px; transform: scaleX(0); transform-origin: left; }
.menu__grid i:nth-child(1) { left: 20%; } .menu__grid i:nth-child(2) { top: 30%; transition-delay: .15s; }
.menu__grid i:nth-child(3) { left: 80%; transition-delay: .3s; } .menu__grid i:nth-child(4) { top: 78%; transition-delay: .45s; }
.menu.is-open .menu__grid i { transform: none; }
.menu__close { position: absolute; top: 18px; right: var(--gutter); display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.menu__close i { position: relative; width: 18px; height: 18px; }
.menu__close i::before, .menu__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.menu__close i::after { transform: rotate(-45deg); }
.menu__list { position: relative; margin-top: auto; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-size: clamp(1.75rem, 6vw, 3rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; text-decoration: none; transform: translateY(105%); transition: transform .8s var(--spring); transition-delay: calc(var(--i) * 55ms + 120ms); }
.menu.is-open .menu__list a { transform: none; }
.menu__list a.is-active { color: var(--taupe-ink); }
.menu__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--taupe-ink); min-width: 24px; }
.menu__foot { position: relative; margin-top: 28px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; }
.hero__in { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: calc(var(--hdr) + 44px) var(--gutter) 64px; max-width: 1600px; margin-inline: auto; }
.hero__text { grid-column: 1 / 7; grid-row: 1; align-self: end; padding-bottom: clamp(8px, 4vh, 48px); position: relative; z-index: 2; }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: clamp(20px, 3vh, 36px); }
.hero__est { color: var(--taupe-ink); padding-left: 18px; border-left: 1px solid var(--line-strong); }
.hero .ttl--hero { font-size: clamp(2.75rem, 1rem + 5.2vw, 6.25rem); }
.hero__lede { max-width: 30em; margin-top: clamp(20px, 3vh, 32px); color: var(--charcoal); font-size: var(--fs-lg); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); }
.hero__media { grid-column: 7 / 13; grid-row: 1; position: relative; align-self: stretch; min-height: 420px; }
.hero__frame { position: absolute; inset: 0; will-change: transform; }
.rv--hero { aspect-ratio: auto; height: 100%; }

/* blueprint → photograph: the elevation is drafted on the dark board, the wall panels
   slide away to show the finished house, then the linework lifts off */
.hero__bp { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 10% 8%; color: var(--ink); pointer-events: none;
  background-image: linear-gradient(rgba(190, 178, 166, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 178, 166, .09) 1px, transparent 1px);
  background-size: 32px 32px; transition: opacity 1.2s var(--ease) 1.9s; }
.hero__bp .draw-svg { width: 100%; height: 100%; color: var(--ink); }
.hero__bp .ln { transition-duration: 1.2s; }
.hero__bp .draw-svg text { opacity: 0 !important; }
body.is-ready .hero__bp .ln { stroke-dashoffset: 0; }
body.is-ready .hero__bp .ln:nth-child(3n+2) { transition-delay: .12s; }
body.is-ready .hero__bp .ln:nth-child(3n) { transition-delay: .26s; }
body.is-ready .hero__bp { opacity: 0; }
.hero .rv__p i { transition-duration: 1.2s; }
.hero .rv__p i:nth-child(1) { transition-delay: .85s; }
.hero .rv__p i:nth-child(2) { transition-delay: .97s; }
.hero .rv__p i:nth-child(3) { transition-delay: .91s; }
.hero .rv__p i:nth-child(4) { transition-delay: 1.05s; }
.hero .rv img { transition: transform 2.4s var(--ease-out) .85s; }

/* headline: per-character rise inside the line masks */
.ttl--chars .ttl__l > span { transform: none; transition: none; }
.ttl--chars .w { display: inline-block; white-space: nowrap; }
.ttl--chars .c { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--spring), opacity .6s ease; transition-delay: calc(var(--c) * 24ms + 180ms); }
body.is-ready .ttl--chars.is-in .c { transform: none; opacity: 1; }

.hero__lines { position: absolute; inset: 0; pointer-events: none; }
.hero__lines i { position: absolute; background: var(--taupe); transition: transform 1.8s var(--ease-out); }
.hero__lines i:nth-child(1) { left: 0; right: 0; top: -14px; height: 1px; transform: scaleX(0); transform-origin: left; }
.hero__lines i:nth-child(2) { top: 0; bottom: 0; left: -14px; width: 1px; transform: scaleY(0); transform-origin: top; }
.hero__lines i:nth-child(3) { left: 0; width: 62%; bottom: -14px; height: 1px; transform: scaleX(0); transform-origin: right; }
.hero__lines i:nth-child(4) { top: 0; height: 40%; right: -14px; width: 1px; transform: scaleY(0); transform-origin: top; }
.hero__tick { position: absolute; width: 18px; height: 18px; pointer-events: none; opacity: 0; transition: opacity .6s ease 1.6s; }
.hero__tick::before, .hero__tick::after { content: ""; position: absolute; background: var(--charcoal); }
.hero__tick::before { left: 8px; top: 0; bottom: 0; width: 1px; }
.hero__tick::after { top: 8px; left: 0; right: 0; height: 1px; }
.hero__tick--tl { left: -9px; top: -9px; }
.hero__tick--br { right: -9px; bottom: -9px; }
.hero__cap { position: absolute; left: 0; bottom: -46px; z-index: 4; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; }
.hero__cap span { font-weight: 700; }
.hero__coord { position: absolute; right: 0; top: -40px; font-size: 11px; letter-spacing: .14em; color: var(--taupe-ink); font-variant-numeric: tabular-nums; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 44px; min-height: 44px; padding-top: 4px; text-decoration: none; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-ink); }
.hero__scroll i { width: 1px; height: 0; background: var(--charcoal); transition: height 1.2s var(--ease-out) 2.1s; }
/* hero waits for the intro to finish */
body.is-ready .hero__lines i { transform: none; }
body.is-ready .hero__lines i:nth-child(2) { transition-delay: .2s; }
body.is-ready .hero__lines i:nth-child(3) { transition-delay: .5s; }
body.is-ready .hero__lines i:nth-child(4) { transition-delay: .7s; }
body.is-ready .hero__tick { opacity: 1; }
body.is-ready .hero__scroll i { height: 48px; }
body:not(.is-ready) .hero .hero__eyebrow, body:not(.is-ready) .hero .hero__lede, body:not(.is-ready) .hero .hero__cta { opacity: 0; transform: translateY(18px); }
body:not(.is-ready) .hero .rv.is-in .rv__p i { transform: none; }
body:not(.is-ready) .hero .rv.is-in img { transform: scale(1.1); }
.hero .hero__eyebrow { transition-delay: .1s; }
.hero .hero__lede { transition-delay: .8s; }
.hero .hero__cta { transition-delay: .95s; }

@media (max-width: 959px) {
  /* phone: the photograph fills the top of the screen and fades into the dark text block */
  .hero, .hero__in { min-height: 100svh; }
  .hero__in { display: block; padding: 50svh var(--gutter) 40px; }
  .hero__media { position: absolute; left: 0; right: 0; top: 0; height: 58svh; min-height: 0; z-index: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(33, 30, 27, .6) 0%, rgba(33, 30, 27, .08) 20%, rgba(33, 30, 27, .2) 52%, rgba(33, 30, 27, .9) 84%, #211E1B 100%); }
  .hero__bp { padding: 22% 6% 26%; background-size: 24px 24px; }
  .hero__lines, .hero__tick, .hero__coord, .hero__scroll, .hero__cap { display: none; }
  .hero__text { padding-bottom: 0; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; min-height: 52px; }
}

/* ------------------------------------------------------------ about */
.about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; }
.about__copy p + p { margin-top: 16px; color: var(--charcoal); }
.about__heritage { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; margin-top: clamp(48px, 6vw, 88px); }
.year { width: 100%; height: auto; overflow: visible; }
.year__t { font: 200 170px var(--font); letter-spacing: -.04em; fill: transparent; stroke: var(--charcoal); stroke-width: .8; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 3s var(--ease-out), fill 1.2s ease 2.2s; }
.year.is-drawn .year__t { stroke-dashoffset: 0; fill: rgba(133, 118, 107, .12); }
.about__areas ul { margin-top: 12px; }
.about__areas li { padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--charcoal); }
.about__areas li span { display: block; font-weight: 600; color: var(--ink); }
.cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.col { position: relative; padding: 28px clamp(16px, 2.4vw, 36px) 36px; }
.col__edge { position: absolute; background: var(--charcoal); }
.col__edge--l, .col__edge--r { top: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--i, 3) * 160ms); }
.col__edge--l { left: 0; }
.col__edge--r { right: 0; --i: 3; }
.col__edge--t { left: 0; right: 0; top: 0; height: 1px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 160ms + 200ms); }
.col__n, .col h3, .col p { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s var(--spring); transition-delay: calc(var(--i) * 160ms + 500ms); }
.cols.is-in .col__edge { transform: none; }
.cols.is-in .col__n, .cols.is-in .col h3, .cols.is-in .col p { opacity: 1; transform: none; }
.col__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; color: var(--taupe-ink); }
.col h3 { margin: 56px 0 12px; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); font-weight: 300; letter-spacing: -.03em; text-transform: uppercase; }
.col p { color: var(--charcoal); max-width: 28em; }
@media (max-width: 959px) {
  .about__grid, .about__heritage { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .col h3 { margin-top: 28px; }
  .col__edge--r { display: none; }
}

/* ------------------------------------------------------------ expertise index */
.expertise.theme-dark { background: #1C1A17; }
.exp__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.exp__intro { color: var(--charcoal); }
.idx { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.idx__list { border-top: 1px solid var(--line); }
.idx__row { position: relative; display: grid; grid-template-columns: 1fr 52px; align-items: center; }
.idx__link { display: grid; grid-template-columns: 52px 128px 1fr 76px 40px; align-items: center; gap: 12px; min-height: 84px; padding: 14px 0; text-decoration: none; }
.idx__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--taupe-ink); font-variant-numeric: tabular-nums; transition: transform .6s var(--spring); }
.idx__k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.idx__name { font-size: clamp(1.25rem, .9rem + 1.2vw, 2rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; transition: transform .6s var(--spring), color .4s; }
.idx__thumb { width: 72px; height: 56px; overflow: hidden; opacity: 0; transform: scale(.94); transition: opacity .4s, transform .6s var(--spring); background: var(--bg); }
.idx__thumb img, .idx__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.idx__thumb svg { padding: 4px; }
.idx__thumb .ln { stroke-dashoffset: 0; }
.idx__link .arw { justify-self: end; transition: width .5s var(--spring), transform .6s var(--spring); }
.idx__row.is-hot .idx__n, .idx__link:hover .idx__n { transform: translateX(6px); }
.idx__row.is-hot .idx__name, .idx__link:hover .idx__name { transform: translateX(10px); }
.idx__link:hover .arw { width: 34px; }
.idx__more { width: 48px; height: 48px; display: grid; place-items: center; justify-self: end; }
.idx__more i { position: relative; width: 14px; height: 14px; }
.idx__more i::before, .idx__more i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--spring); }
.idx__more i::after { transform: rotate(90deg); }
.idx__more[aria-expanded="true"] i::after { transform: none; }
.idx__panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.idx__row.is-open .idx__panel { grid-template-rows: 1fr; }
.idx__inner { overflow: hidden; padding-left: 64px; }
.idx__row.is-open .idx__inner { padding-bottom: 24px; }
.idx__inner > p { max-width: 40em; color: var(--charcoal); margin-bottom: 16px; }
.idx__inner .ticks { columns: 2; column-gap: 32px; font-size: var(--fs-sm); margin-bottom: 12px; }
.idx__inner .ticks li { break-inside: avoid; }
.idx__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.idx__row.is-in .idx__rule { transform: none; }
.idx__row.is-hot .idx__rule { background: var(--ink); }
.idx__preview { position: sticky; top: 96px; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%; }
.idx__pv { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease), opacity .3s; }
.idx__pv.is-on { opacity: 1; clip-path: inset(0); }
.idx__pv img { flex: 1; min-height: 0; width: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.idx__pv.is-on img { transform: none; }
.idx__dwg { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; background: var(--bg); padding: 24px; }
.idx__dwg .ln { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out); }
.idx__pv.is-on .idx__dwg .ln { stroke-dashoffset: 0; }
.idx__pvcap { padding-top: 14px; font-size: var(--fs-sm); color: var(--charcoal); display: flex; gap: 12px; }
.idx__pvcap span { font-weight: 600; color: var(--taupe-ink); }
.idx__crop { position: absolute; width: 24px; height: 24px; pointer-events: none; }
.idx__crop--a { left: -10px; top: -10px; border-left: 1px solid var(--charcoal); border-top: 1px solid var(--charcoal); }
.idx__crop--b { right: -10px; bottom: 28px; border-right: 1px solid var(--charcoal); border-bottom: 1px solid var(--charcoal); }
@media (max-width: 959px) {
  .exp__head, .idx { grid-template-columns: 1fr; }
  .idx__preview { display: none; }
  .idx__link { grid-template-columns: 34px 1fr 64px; grid-template-areas: "n k t" "n name t"; row-gap: 2px; min-height: 88px; }
  .idx__n { grid-area: n; align-self: start; padding-top: 3px; }
  .idx__k { grid-area: k; }
  .idx__name { grid-area: name; font-size: 1.25rem; }
  .idx__thumb { grid-area: t; opacity: 1; transform: none; width: 64px; height: 52px; }
  .idx__link .arw { display: none; }
  .idx__inner { padding-left: 0; }
  .idx__inner .ticks { columns: 1; }
}

/* ------------------------------------------------------------ blueprint story */
.story { position: relative; background: var(--bg); }
.story__pin { padding-block: var(--sec); }
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.story__steps { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.story__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: .45; transition: opacity .5s; }
.story__steps li.is-on { opacity: 1; }
.story__steps span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--taupe-ink); padding-top: 4px; }
.story__steps strong { font-weight: 500; font-size: var(--fs-lg); letter-spacing: -.01em; }
.story__steps p { font-size: var(--fs-sm); color: var(--charcoal); }
.story__stage { position: relative; aspect-ratio: 600 / 400; background: var(--surface); border: 1px solid var(--line); }
.story__layer { position: absolute; inset: 4% 4% 10%; }
.story__layer .draw-svg { width: 100%; height: 100%; }
.story .ln { transition: none; }
.story__photo { position: absolute; inset: 0; overflow: hidden; --d: 0; opacity: clamp(0, calc(var(--d) * 2), 1); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - var(--d) * .08)); }
.story__panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.story__panels i { background: var(--surface); transform-origin: 50% 100%; transform: scaleY(clamp(0, calc(1 - var(--d) * 1.7 + var(--k) * .25), 1)); }
.story__panels i:nth-child(1) { --k: 0; }
.story__panels i:nth-child(2) { --k: 1; }
.story__panels i:nth-child(3) { --k: .5; }
.story__lbl { position: absolute; left: 0; bottom: -32px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
@media (min-width: 960px) and (min-height: 680px) {
  .story { height: 340vh; }
  .story__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: 64px 48px; }
}
@media (max-width: 959px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__stage { margin-bottom: 36px; }
}
.story__desc { display: none; }
/* phones: pinned and scrubbed by scroll, the same as desktop */
@media (max-width: 959px) and (min-height: 620px) {
  .story { height: 320svh; }
  .story__pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 4px) 0 calc(60px + env(safe-area-inset-bottom)); overflow: hidden; } /* bottom space = quick-contact bar */
  .story__grid { gap: 16px; }
  .story .mk { margin-bottom: 12px; }
  .story .ttl { font-size: clamp(2rem, 9vw, 2.75rem); }
  .story__steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 8px; margin-top: 16px; border-top: 0; }
  .story__steps li { display: block; padding: 10px 0 0; border-bottom: 0; border-top: 2px solid var(--line-strong); opacity: .5; transition: opacity .4s, border-color .4s; }
  .story__steps li.is-on { border-top-color: var(--ink); }
  .story__steps span { display: block; padding: 0 0 2px; }
  .story__steps strong { font-size: 13px; font-weight: 600; }
  .story__steps p { display: none; }
  .story__desc { display: block; min-height: 2.9em; margin-top: 10px; font-size: var(--fs-sm); color: var(--charcoal); }
  .story__stage { margin-bottom: 30px; }
}

/* ------------------------------------------------------------ projects */
.projects { background: var(--surface); }
.proj__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.proj__head p { color: var(--charcoal); }
.proj__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.pc--portrait { grid-column: 1 / 6; }
.pc--landscape { grid-column: 6 / 13; margin-top: clamp(80px, 14vw, 220px); }
.pc:nth-child(n+3).pc--portrait { grid-column: 8 / 13; }
.pc:nth-child(n+3).pc--landscape { grid-column: 1 / 8; margin-top: 0; }
.pc__link { display: block; text-decoration: none; }
.pc__media { position: relative; overflow: hidden; }
.pc--portrait .rv { aspect-ratio: 4 / 5; }
.pc--landscape .rv { aspect-ratio: 4 / 3; }
.pc .rv img { transition: transform 1.6s var(--ease-out); }
.pc__link:hover .rv.is-in img, .pc__link:focus-visible .rv.is-in img { transform: scale(1.04) translateY(-1%); }
.pc__view { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--spring); }
.pc__link:hover .pc__view, .pc__link:focus-visible .pc__view { opacity: 1; transform: none; }
.pc__border { position: absolute; inset: 10px; pointer-events: none; }
.pc__border::before, .pc__border::after { content: ""; position: absolute; background: var(--surface); }
.pc__border::before { left: 0; top: 0; height: 1px; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.pc__border::after { left: 0; top: 0; width: 1px; height: 100%; transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease-out) .1s; }
.pc__link:hover .pc__border::before, .pc__link:focus-visible .pc__border::before { transform: none; }
.pc__link:hover .pc__border::after, .pc__link:focus-visible .pc__border::after { transform: none; }
.pc__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding-top: 18px; }
.pc__n { grid-row: 1 / 3; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--taupe-ink); padding-top: 12px; }
.pc__name { font-size: clamp(2.25rem, 1rem + 4.4vw, 5.25rem); font-weight: 200; letter-spacing: -.055em; line-height: 1; }
.pc__sub { font-size: var(--fs-sm); color: var(--charcoal); margin-top: 6px; }
@media (max-width: 959px) {
  .proj__head { grid-template-columns: 1fr; }
  .proj__grid { grid-template-columns: 1fr; }
  .pc--portrait, .pc--landscape, .pc:nth-child(n+3).pc--portrait, .pc:nth-child(n+3).pc--landscape { grid-column: 1; margin-top: 0; }
  .pc__view { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ process */
.process { position: relative; background: var(--ink); color: var(--on-dark); }
.process .mk { color: var(--on-dark-dim); }
.process .mk__n { color: var(--on-dark); }
.process .mk__rule { background: var(--on-dark-dim); }
.process__pin { padding-block: var(--sec); }
.process__head { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 96px); align-items: end; }
.process__head .mk { grid-column: 1 / -1; }
.process__note { font-size: var(--fs-sm); color: var(--on-dark-dim); }
.process .flag { color: var(--on-dark-dim); border-color: var(--on-dark-dim); margin: 0 8px 6px 0; }
.process .flag i { background: var(--on-dark-dim); }
.tl { margin-top: clamp(24px, 4vh, 48px); }
.tl__line { position: relative; height: 20px; }
.tl__line::before, .tl__draw { content: ""; position: absolute; left: 0; right: 0; top: 9.5px; height: 1px; background: var(--line-dark); }
.tl__draw { height: 2px; top: 9px; background: var(--on-dark); transform: scaleX(0); transform-origin: left; }
.tl__nodes { display: grid; grid-template-columns: repeat(var(--n), 1fr); margin-top: -20px; }
.tl__node { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px 12px 0; text-align: left; color: var(--on-dark-dim); transition: color .4s; }
.tl__dot { position: relative; width: 20px; height: 20px; display: grid; place-items: center; }
.tl__dot::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--on-dark-dim); background: var(--ink); transform: rotate(45deg); transition: background-color .4s, border-color .4s, transform .6s var(--spring); }
.tl__dot::after { content: ""; position: absolute; left: 9.5px; top: 20px; width: 1px; height: 0; background: var(--on-dark-dim); transition: height .6s var(--ease-out); }
.tl__node.is-past .tl__dot::before { background: var(--on-dark); border-color: var(--on-dark); }
.tl__node[aria-selected="true"] { color: var(--on-dark); }
.tl__node[aria-selected="true"] .tl__dot::before { transform: rotate(45deg) scale(1.35); }
.tl__node[aria-selected="true"] .tl__dot::after { height: 14px; }
.tl__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; margin-top: 10px; }
.tl__t { font-size: var(--fs-sm); line-height: 1.35; font-weight: 500; }
.tl__node:focus-visible { outline-color: var(--on-dark); }
.tl__panel { margin-top: clamp(16px, 2.4vh, 32px); border-top: 1px solid var(--line-dark); padding-top: clamp(16px, 2.4vh, 32px); min-height: 250px; }
.tl__panel:focus-visible { outline-color: var(--on-dark); }
.tl__panel.is-swap .tl__ptext { animation: swapIn .7s var(--spring) both; }
.tl__pgrid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.tl__pn { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; color: var(--on-dark-dim); }
.tl__ptext h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 16px; }
.tl__short { font-size: var(--fs-lg); color: var(--on-dark); margin-bottom: 12px; }
.tl__ptext p:not(.tl__pn):not(.tl__short) { color: var(--on-dark-dim); max-width: 36em; }
.tl__pdwg { max-width: 380px; justify-self: end; width: 100%; }
.tl__pdwg .draw-svg { color: var(--stone); }
.tl__pdwg .draw-svg text { fill: var(--on-dark-dim); }
.tl__pdwg .dwg__lbl, .tlm .dwg__lbl { color: var(--on-dark-dim); }
.tlm { display: none; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) and (min-height: 680px) {
  .process { height: calc(100vh * 2.6); }
  .process__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: 72px 24px; overflow: hidden; }
  .process__pin > .wrap { width: 100%; }
  .process__head .mk { margin-bottom: 16px; }
  .process .ttl { font-size: clamp(2.25rem, 1rem + 2.8vw, 4rem); }
  .tl__panel { min-height: 0; }
  .tl__pdwg { max-width: 300px; }
}
/* phones: the horizontal timeline is pinned and stepped by scroll, the same as desktop */
@media (max-width: 959px) and (min-height: 620px) {
  .process { height: 380svh; }
  .process__pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 4px) 0 calc(60px + env(safe-area-inset-bottom)); overflow: hidden; }
  .process__pin > .wrap { width: 100%; }
  .process__head { grid-template-columns: 1fr; row-gap: 8px; }
  .process__head .mk { margin-bottom: 6px; }
  .process .ttl { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .process__notetxt { display: none; }
  .process .tl { display: block; margin-top: 16px; }
  .process .tlm { display: none; }
  .tl__node { padding-right: 4px; gap: 6px; }
  .tl__t { display: none; }
  .tl__n { margin-top: 6px; }
  .tl__panel { min-height: 0; margin-top: 8px; padding-top: 14px; }
  .tl__pgrid { grid-template-columns: 1fr; gap: 12px; }
  .tl__ptext h3 { font-size: 1.625rem; margin: 6px 0 10px; }
  .tl__short { font-size: 1rem; margin-bottom: 8px; }
  .tl__ptext p:not(.tl__pn):not(.tl__short) { font-size: 14px; }
  .tl__pdwg { display: none; }
}
@media (max-width: 959px) and (min-height: 860px) {
  .tl__pdwg { display: block; justify-self: start; max-width: 220px; }
}
@media (max-width: 959px) {
  .process__head { grid-template-columns: 1fr; row-gap: 20px; }
  .tl { display: none; }
  .tlm { display: block; margin-top: 32px; position: relative; }
  .tlm::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
  .tlm__item { position: relative; padding: 0 0 22px 40px; }
  .tlm__item::before { content: ""; position: absolute; left: 7px; top: 15px; width: 9px; height: 9px; border: 1px solid var(--on-dark); background: var(--ink); transform: rotate(45deg); }
  .tlm__btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 44px; text-align: left; }
  .tlm__n { font-size: var(--fs-xs); font-weight: 600; color: var(--on-dark-dim); }
  .tlm__t { flex: 1; font-size: 1.125rem; font-weight: 500; }
  .tlm__short { color: var(--on-dark-dim); font-size: var(--fs-sm); }
  .tlm__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  .tlm__more.is-open { grid-template-rows: 1fr; }
  .tlm__more > div { overflow: hidden; }
  .tlm__more p { margin-top: 12px; color: var(--on-dark); }
  .tlm__dwg { max-width: 300px; margin-top: 16px; }
  .tlm__dwg .draw-svg { color: var(--stone); }
  .tlm__btn:focus-visible { outline-color: var(--on-dark); }
}

/* ------------------------------------------------------------ pricing */
.pricing { padding-top: 0; }
.pricing__band { background: var(--charcoal); color: var(--on-dark); padding-block: var(--sec) clamp(48px, 6vw, 88px); margin-bottom: clamp(48px, 6vw, 88px); }
.pricing__band .mk { color: var(--on-dark-dim); }
.pricing__band .mk__n { color: var(--on-dark); }
.pricing__band .mk__rule { background: var(--on-dark-dim); }
.pricing__sub { margin-top: 24px; max-width: 36em; font-size: var(--fs-lg); color: var(--on-dark-dim); }
.qc { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.qc__head p { margin-top: 16px; color: var(--charcoal); }
.qc__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.qc__list li { position: relative; padding: 22px 0 26px; }
.qc__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; color: var(--taupe-ink); }
.qc__list h4 { font-size: 1.125rem; font-weight: 500; margin: 8px 0 6px; letter-spacing: -.01em; }
.qc__list p { color: var(--charcoal); font-size: var(--fs-sm); }
.qc__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.qc__list li.is-in .qc__rule { transform: none; }

.sq { margin-top: clamp(56px, 7vw, 104px); }
.sq__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sq__lede { margin: 12px 0 24px; max-width: 44em; color: var(--charcoal); }
.sq__table { border-top: 1px solid var(--ink); background: var(--surface); }
.sq__row { display: grid; grid-template-columns: 1.3fr 1.6fr 1.7fr .8fr .6fr .6fr .9fr 24px; gap: 14px; align-items: center; width: 100%; min-height: 56px; padding: 14px 18px; text-align: left; font-size: var(--fs-sm); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.sq__row--h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); min-height: 44px; }
button.sq__row:hover { background: var(--bg); }
.sq__row .sym { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .02em; }
.sq__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); background: var(--bg); }
.sq__detail.is-open { grid-template-rows: 1fr; }
.sq__detail > div { overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-inline: 18px; font-size: var(--fs-sm); }
.sq__detail.is-open > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.sq__detail .small-caps { margin-bottom: 8px; }
.sq__m { display: none; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-top: clamp(40px, 5vw, 72px); }
.terms > div { padding: 20px 0 24px; border-top: 1px solid var(--line-strong); }
.terms dt { font-weight: 600; margin-bottom: 6px; }
.terms dd { color: var(--charcoal); font-size: var(--fs-sm); }
@media (max-width: 959px) {
  .qc { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .sq__row--h { display: none; }
  .sq__row { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px; position: relative; }
  .sq__row > span { display: flex; flex-direction: column; }
  .sq__row > span::before { content: attr(data-h); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-ink); font-weight: 600; }
  .sq__row > span:first-child { grid-column: 1 / -1; padding-right: 32px; }
  .sq__row > .sq__x { display: none; }
  .sq__m { display: block; }
  .sq__m p:not(.small-caps) { margin-bottom: 12px; }
  .sq__row .plus { position: absolute; right: 16px; top: 20px; }
  .sq__detail > div { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .qc__list { grid-template-columns: 1fr; } }

.pay { margin-top: clamp(56px, 7vw, 104px); }
.pay__head p { margin-top: 10px; color: var(--charcoal); }
.pay__line { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; margin-top: 36px; }
.pay__line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--charcoal); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out); }
.pay__line.is-in::before { transform: none; }
.pay__line li { position: relative; padding-top: 32px; opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .9s var(--spring); transition-delay: calc(var(--i) * 220ms + 200ms); }
.pay__line.is-in li { opacity: 1; transform: none; }
.pay__node { position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border: 1px solid var(--ink); background: var(--bg); transform: rotate(45deg); }
.pay__n { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); }
.pay__line h4 { font-size: 1.0625rem; font-weight: 500; margin: 6px 0 4px; }
.pay__line p:not(.pay__n) { font-size: var(--fs-sm); color: var(--charcoal); }
.pay__amt { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.pay__note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; color: var(--charcoal); font-size: var(--fs-sm); max-width: 60em; }
@media (max-width: 959px) {
  .pay__line { grid-template-columns: 1fr; gap: 0; }
  .pay__line::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .pay__line.is-in::before { transform: none; }
  .pay__line li { padding: 0 0 24px 32px; }
  .pay__node { top: 4px; }
}

.var { margin-top: clamp(56px, 7vw, 104px); }
.var__head { margin-bottom: 28px; }
.var__head p { margin-top: 10px; color: var(--charcoal); }

/* list / detail explorer */
.xp { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.xp__list { border-top: 1px solid var(--line-strong); }
.xp__tab { display: grid; grid-template-columns: 40px 1fr 34px; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line); position: relative; transition: color .3s; color: var(--charcoal); }
.xp__tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.xp__tab[aria-selected="true"] { color: var(--ink); }
.xp__tab[aria-selected="true"]::after { transform: none; }
.xp__n { font-size: var(--fs-xs); font-weight: 600; color: var(--taupe-ink); letter-spacing: .1em; }
.xp__l { font-size: 1.0625rem; font-weight: 500; }
.xp__tab .arw { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--spring), width .5s var(--spring); }
.xp__tab[aria-selected="true"] .arw, .xp__tab:hover .arw { opacity: 1; transform: none; }
.xp__panel { position: sticky; top: 96px; background: var(--surface); padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); }
.xp__panel.is-swap .vgrid > div { animation: swapIn .6s var(--spring) both; }
.xp__panel.is-swap .vgrid > div:nth-child(2) { animation-delay: 50ms; }
.xp__panel.is-swap .vgrid > div:nth-child(3) { animation-delay: 100ms; }
.xp__panel.is-swap .vgrid > div:nth-child(4) { animation-delay: 150ms; }
.xp__panel.is-swap .vgrid > div:nth-child(5) { animation-delay: 200ms; }
.vgrid > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.vgrid > div:first-child { border-top: 0; padding-top: 0; }
.vgrid dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); padding-top: 3px; }
.vgrid dd { color: var(--ink); }
@media (max-width: 959px) {
  .xp { grid-template-columns: 1fr; }
  .xp__panel { position: static; margin: 0 0 8px; }
  .vgrid > div { grid-template-columns: 1fr; gap: 4px; }
}

.principle { margin-top: clamp(56px, 7vw, 104px); padding: clamp(28px, 5vw, 72px); background: var(--ink); color: var(--on-dark); }
.principle .small-caps { color: var(--on-dark-dim); }
.principle__q { font-size: clamp(2rem, 1rem + 3.6vw, 4.25rem); font-weight: 200; letter-spacing: -.045em; line-height: 1.02; margin: 16px 0 clamp(28px, 4vw, 48px); max-width: 14em; }
.principle__q em { font-style: normal; border-bottom: 1px solid var(--stone); }
.principle__fine { margin-top: 28px; color: var(--on-dark-dim); font-size: var(--fs-sm); max-width: 62em; }
.principle .flag { color: var(--on-dark-dim); border-color: var(--on-dark-dim); margin: 0 10px 6px 0; }
.principle .flag i { background: var(--on-dark-dim); }

/* connected flow (variation + change management) */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.flow li { position: relative; padding: 0 20px 0 0; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .8s var(--spring); transition-delay: calc(var(--i) * 200ms); }
.flow.is-in li { opacity: 1; transform: none; }
.flow__n { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: inherit; opacity: .7; }
.flow__t { display: block; margin-top: 30px; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.flow li::before { content: ""; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.flow__c { position: absolute; left: 16px; right: 6px; top: 28px; height: 1px; background: currentColor; opacity: .55; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); transition-delay: calc(var(--i) * 200ms + 250ms); }
.flow__c::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.flow.is-in .flow__c { transform: none; }
@media (max-width: 959px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 0 0 26px 30px; }
  .flow li::before { top: 4px; }
  .flow__t { margin-top: 2px; }
  .flow__c { left: 4.5px; right: auto; top: 18px; bottom: 2px; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .flow__c::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .flow.is-in .flow__c { transform: none; }
}

/* ------------------------------------------------------------ supervision */
.super { background: var(--surface); }
.super__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.super__lede { margin: 24px 0 28px; color: var(--charcoal); font-size: var(--fs-lg); max-width: 32em; }
.duties { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 28px; margin-bottom: 32px; }
.duties li { display: grid; grid-template-columns: 30px 1fr; padding: 11px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.duties span { font-size: 11px; font-weight: 600; color: var(--taupe-ink); padding-top: 2px; }
.rep { position: sticky; top: 96px; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 1px 2px rgba(33, 30, 27, .05), 0 24px 48px -24px rgba(33, 30, 27, .22); font-size: var(--fs-sm); }
.rep__bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--taupe-ink); font-size: 12px; }
.rep__head { display: flex; justify-content: space-between; gap: 20px; padding: 20px 20px 0; }
.rep__head h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; margin-top: 4px; }
.rep__wk { text-align: right; }
.rep__prog { position: relative; margin: 18px 20px 0; height: 24px; display: flex; align-items: center; gap: 12px; }
.rep__prog span { flex: 1; height: 1px; background: var(--line-strong); position: relative; }
.rep__prog span::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .3s; }
.rep.is-in .rep__prog span::after { transform: scaleX(var(--p)); }
.rep__prog em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.rep__tabs { display: flex; gap: 4px; padding: 12px 20px 0; border-bottom: 1px solid var(--line); }
.rep__tabs button { min-height: 44px; padding: 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rep__tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.rep__panel { padding: 20px; display: grid; gap: 18px; }
.rep__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rep__panel .small-caps { margin-bottom: 8px; }
.appr li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.appr__s { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--taupe); color: var(--taupe-ink); }
.rep__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rep__ph { aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); padding: 8px; display: grid; place-items: center; }
.rep__ph .draw-svg text { display: none; }
.rep__photos figcaption { margin-top: 6px; font-size: 12px; }
.rep__photos figcaption span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-ink); font-weight: 600; }
.rep__notes { line-height: 1.65; }
.rep__action { padding: 16px 20px; background: var(--ink); color: var(--on-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.rep__action .small-caps { color: var(--on-dark-dim); }
@media (max-width: 959px) {
  .super__grid { grid-template-columns: 1fr; }
  .rep { position: static; }
}
@media (max-width: 600px) {
  .duties { grid-template-columns: 1fr; }
  .rep__cols { grid-template-columns: 1fr; }
  .rep__photos { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------ delays */
.del__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.del__head p { color: var(--charcoal); }
.cm { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); margin-top: clamp(56px, 7vw, 104px); padding-top: 40px; border-top: 1px solid var(--ink); }
.cm p { margin: 10px 0 12px; color: var(--charcoal); }
.cflow { color: var(--ink); }
@media (max-width: 959px) { .del__head, .cm { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ why */
.why { background: var(--ink); color: var(--on-dark); }
.why .mk { color: var(--on-dark-dim); }
.why .mk__n { color: var(--on-dark); }
.why .mk__rule { background: var(--on-dark-dim); }
.pillars { margin-top: clamp(36px, 5vw, 72px); }
.pillars li { display: grid; grid-template-columns: minmax(120px, 3fr) 9fr; gap: 24px; align-items: baseline; padding: clamp(16px, 2.4vw, 28px) 0; border-top: 1px solid var(--line-dark); }
.pillars__n { font-size: clamp(3rem, 1rem + 6vw, 7.5rem); font-weight: 200; letter-spacing: -.06em; line-height: .8; color: var(--stone); transition: transform 1s var(--spring); }
.pillars li:hover .pillars__n { transform: translateX(8px); }
.pillars h3 { font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.pillars p { color: var(--on-dark-dim); margin-top: 8px; max-width: 40em; }
.warranty { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); max-width: 52em; }
.warranty .small-caps { color: var(--on-dark-dim); margin-bottom: 8px; }
.warranty p { color: var(--on-dark); }
.why .flag { color: var(--on-dark-dim); border-color: var(--on-dark-dim); }
.why .flag i { background: var(--on-dark-dim); }
@media (max-width: 600px) { .pillars li { grid-template-columns: 1fr; gap: 8px; } }

/* ------------------------------------------------------------ faq */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__note { margin-top: 20px; color: var(--charcoal); font-size: var(--fs-sm); max-width: 28em; }
.acc { border-top: 1px solid var(--line-strong); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 64px; padding: 16px 0; text-align: left; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.005em; }
.acc__btn:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; padding-right: 34px; }
.acc__panel.is-open > div { padding-bottom: 22px; }
.acc__panel p { color: var(--charcoal); max-width: 44em; }
.acc__panel .btn--text { margin-top: 4px; }
.acc__panel .flag { display: flex; width: max-content; max-width: 100%; }
@media (max-width: 959px) { .faq__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact */
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact__intro .lede { margin-top: 24px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact__next { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__next li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--charcoal); }
.contact__next span { font-size: 11px; font-weight: 600; color: var(--taupe-ink); padding-top: 3px; }
.form { display: grid; gap: 20px; }
.form__demo--wa { border-style: solid; border-color: var(--line-strong); }
.form__demo { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 14px 16px; border: 1px dashed var(--taupe); font-size: var(--fs-sm); color: var(--charcoal); }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.form__grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.f { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f label, .f legend { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 0; }
.opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--taupe-ink); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 12px 0; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; transition: border-color .3s; appearance: none; }
.f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23413B36'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.f textarea { resize: vertical; min-height: 120px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom: 2px solid var(--ink); margin-bottom: -1px; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.f [aria-invalid="true"] { border-bottom-color: #8A2E1F; }
.f__err { min-height: 0; font-size: 13px; color: #8A2E1F; font-weight: 500; }
.f__err:empty { display: none; }
.f--svc legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); transition: background-color .3s, color .3s, border-color .3s; }
.chip span::before { content: ""; width: 10px; height: 10px; margin-right: 10px; border: 1px solid currentColor; transition: background-color .3s; }
.chip input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip input:checked + span::before { background: currentColor; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--charcoal); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form__submit { justify-self: start; min-height: 52px; }
.form__submit:disabled { opacity: .6; cursor: progress; }
.form__demo a[href^="tel:"], .form__ok a[href^="tel:"], .ftr__contact a[href^="tel:"] { white-space: nowrap; }
.form__result:empty { display: none; }
.form__result:focus { outline: none; }
.form__ok, .form__bad { padding: 16px 18px; border-left: 2px solid var(--ink); background: var(--bg); }
.form__bad { border-color: #8A2E1F; }
.form__result .small { margin-top: 8px; }
@media (max-width: 959px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__grid, .form__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ footer */
.ftr { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; }
.ftr__top { max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 32px; }
.ftr__brand img { width: 120px; height: auto; }
.ftr__tag { margin-top: 24px; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 200; letter-spacing: -.035em; line-height: 1.05; }
.ftr__h { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-dim); margin-bottom: 14px; }
.ftr__h--gap { margin-top: 24px; }
.ftr__col li { margin-bottom: 4px; font-size: var(--fs-sm); }
.ftr__col li span { color: var(--on-dark-dim); }
.ftr__col a { text-decoration: none; display: inline-block; padding: 6px 0; }
.ftr__col a:hover { text-decoration: underline; }
.ftr__col li strong { font-weight: 500; }
.ftr a:focus-visible { outline-color: var(--on-dark); }
.ftr__base { max-width: 1440px; margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 12px; color: var(--on-dark-dim); }
@media (max-width: 959px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }

.totop { position: fixed; right: var(--gutter); bottom: 24px; z-index: 70; width: 48px; height: 48px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s, transform .6s var(--spring), border-color .3s; box-shadow: 0 8px 24px -12px rgba(33, 30, 27, .3); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--ink); }
body.is-locked .totop { display: none; }

/* ------------------------------------------------------------ detail views */
.view { padding-top: calc(var(--hdr) + 24px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--stone); }
.crumbs a { text-decoration: none; display: inline-block; padding: 8px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { display: inline-block; padding: 8px 0; color: var(--ink); }
.svc__head { display: grid; grid-template-columns: 2fr 7fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-block: clamp(32px, 5vw, 72px) clamp(36px, 5vw, 64px); }
.svc__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.svc__num span { display: block; font-size: clamp(3rem, 1rem + 6vw, 7rem); font-weight: 200; letter-spacing: -.06em; line-height: .85; margin-bottom: 8px; color: var(--taupe); }
.svc__head .small-caps { margin-bottom: 14px; }
.svc__head .ttl { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem); }
.svc__wide { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.svc__wide .rv { aspect-ratio: 21 / 9; max-height: 78vh; }
.svc__wide .dwg { aspect-ratio: auto; max-height: none; padding: clamp(24px, 6vw, 96px); display: flex; flex-direction: column; align-items: center; }
.svc__wide .dwg .draw-svg { max-width: 820px; }
/* service page: all photographed work for the service, grouped by project */
.work { margin-top: clamp(48px, 6vw, 88px); }
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 28px; }
.work__count { font-size: var(--fs-sm); color: var(--taupe-ink); max-width: 36em; }
.work__grp + .work__grp { margin-top: clamp(32px, 4vw, 56px); }
.work__ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-top: 10px; margin-bottom: 20px; border-top: 1px solid var(--ink); }
.work__pname { display: inline-flex; align-items: baseline; gap: 14px; min-height: 44px; padding-top: 6px; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 300; letter-spacing: -.03em; text-decoration: none; }
.work__pname span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); }
.work__pname .arw { align-self: center; }
.work__scope { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
.work__more { margin-top: 4px; }
.gal--one { columns: 1; max-width: 720px; }
.svc__body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.scope { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 28px; margin-top: 20px; }
.scope li { display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.scope span { font-size: 11px; font-weight: 600; color: var(--taupe-ink); padding-top: 3px; }
.svc__note { margin-top: 20px; font-size: var(--fs-sm); color: var(--taupe-ink); max-width: 46em; padding-left: 14px; border-left: 1px solid var(--taupe); }
.svc__aside { position: sticky; top: 96px; }
.seq { margin-top: clamp(48px, 6vw, 88px); }
.seq__list { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 20px; border-top: 1px solid var(--ink); }
.seq__list li { padding: 14px 14px 0 0; font-weight: 500; position: relative; }
.seq__list span { display: block; font-size: 11px; color: var(--taupe-ink); font-weight: 600; margin-bottom: 4px; }
.svc__details, .svc__rel, .prj__details { margin-top: clamp(48px, 6vw, 88px); }
.dstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
.dstrip figure { scroll-snap-align: start; }
.dstrip .rv { aspect-ratio: 4 / 5; }
.dstrip figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--charcoal); }
.rel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px; }
.rel__card { position: relative; display: block; text-decoration: none; }
.rel__card .rv { aspect-ratio: 16 / 10; }
.rel__card .rv img { transition: transform 1.4s var(--ease-out); }
.rel__card:hover .rv.is-in img { transform: scale(1.04); }
.rel__meta { display: flex; flex-direction: column; padding-top: 12px; }
.rel__meta strong { font-size: 1.5rem; font-weight: 300; letter-spacing: -.03em; }
.rel__meta span { font-size: var(--fs-sm); color: var(--taupe-ink); }
.rel__card .arw { position: absolute; right: 0; bottom: 14px; }
.svc__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.svc__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 7vw, 104px); padding: clamp(24px, 4vw, 48px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.svc__ctaq { font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem); font-weight: 200; letter-spacing: -.04em; line-height: 1.05; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-block: 32px var(--sec); }
.pager__a { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.pager__a small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--taupe-ink); }
.pager__a span { font-weight: 500; }
.pager__a--next { justify-content: flex-end; text-align: right; }
.pager__all { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 12px; }
@media (max-width: 959px) {
  .svc__head { grid-template-columns: 1fr; }
  .svc__body { grid-template-columns: 1fr; }
  .svc__aside { position: static; }
  .svc__wide .rv { aspect-ratio: 4 / 3; }
  .seq__list { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .rel { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { display: none; }
}
@media (max-width: 600px) { .scope { grid-template-columns: 1fr; } }

/* project detail */
.prj { padding-top: 0; }
.prj__hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: var(--surface); overflow: hidden; }
.prj__heroimg { position: absolute; inset: 0; }
.prj__heroimg .rv { height: 100%; }
.prj__heroimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 30, 27, .7) 0%, rgba(33, 30, 27, .25) 16%, rgba(33, 30, 27, 0) 32%, rgba(33, 30, 27, 0) 45%, rgba(33, 30, 27, .72) 100%); pointer-events: none; }
.prj__herotext { position: relative; z-index: 1; padding-top: calc(var(--hdr) + 16px); padding-bottom: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; min-height: 92svh; }
.prj__herotext .crumbs { margin-bottom: auto; }
.prj__herotext .crumbs ol, .prj__herotext .crumbs span { color: var(--surface); }
.prj__herotext .crumbs li:not(:last-child)::after { color: var(--stone); }
.prj__herotext .crumbs a:hover { color: var(--surface); }
.prj__herotext :focus-visible { outline-color: var(--surface); }
.prj__num { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) { color: var(--surface); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .hdr__brand img { filter: invert(1) brightness(1.6); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .hdr__nav a { color: var(--surface); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .hdr__nav a::after { background: var(--surface); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .hdr__name { border-color: rgba(247, 245, 242, .5); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .btn--line { border-color: rgba(247, 245, 242, .6); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .btn--line:hover { background: var(--surface); color: var(--ink); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) .hdr__burger i { background: var(--surface); }
body:is([data-view="project"], [data-view="home"]) .hdr:not(.is-compact) :focus-visible { outline-color: var(--surface); }
.prj__intro { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.prj__meta > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.prj__meta dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); padding-top: 3px; }
.prj__meta dd a { display: inline-block; margin: 0 14px 4px 0; text-underline-offset: .25em; }
.prj__story { display: grid; grid-template-columns: 4fr 8fr; gap: 16px clamp(32px, 5vw, 96px); padding-top: 40px; border-top: 1px solid var(--ink); }
.prj__story .h3 { grid-row: span 2; }
.prj__story blockquote p { font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); font-weight: 200; letter-spacing: -.035em; line-height: 1.12; }
.prj__story cite { display: block; margin-top: 12px; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-ink); font-weight: 600; }
.prj__story > div p { color: var(--charcoal); max-width: 40em; }
.prog { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prog li { padding: 8px 12px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); }
.prj__gal { margin-top: clamp(56px, 7vw, 104px); }
.prj__galhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filt { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.filt span { color: var(--taupe-ink); font-size: 11px; margin-left: 4px; }
.filt:hover { border-color: var(--ink); }
.filt[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.filt[aria-pressed="true"] span { color: var(--stone); }
.gal { columns: 3 280px; column-gap: 20px; }
.gal__it { break-inside: avoid; margin-bottom: 24px; }
.gal__btn { display: block; width: 100%; overflow: hidden; background: var(--stone); }
.gal__btn img { width: 100%; transition: transform 1.2s var(--ease-out), opacity .4s; }
.gal__btn:hover img { transform: scale(1.035); }
.gal__it figcaption { margin-top: 8px; font-size: 13px; color: var(--charcoal); }
.prj__svcs { margin-top: clamp(56px, 7vw, 104px); padding-bottom: var(--sec); }
.svlinks { margin-top: 20px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.svlinks a { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.125rem; font-weight: 400; letter-spacing: -.01em; }
.svlinks span { font-size: 11px; font-weight: 600; color: var(--taupe-ink); }
.nextp { position: relative; display: block; height: clamp(320px, 52vh, 560px); overflow: hidden; color: var(--surface); text-decoration: none; background: var(--ink); }
.nextp__img { position: absolute; inset: 0; }
.nextp__img img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.04); transition: transform 1.6s var(--ease-out), opacity .8s; }
.nextp:hover .nextp__img img, .nextp:focus-visible .nextp__img img { transform: scale(1); opacity: .8; }
.nextp__txt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 4vw, 56px); }
.nextp__txt small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.nextp__txt strong { font-size: clamp(3rem, 1rem + 8vw, 9rem); font-weight: 200; letter-spacing: -.06em; line-height: .95; }
.nextp__txt .arw { margin-top: 18px; width: 44px; }
.nextp:hover .arw { width: 72px; }
.nextp:focus-visible { outline-offset: -4px; outline-color: var(--surface); }
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filt { flex: none; }
  .gal { columns: 2; column-gap: 12px; }
  .gal__it { margin-bottom: 16px; }
  .gal__it figcaption { font-size: 12px; line-height: 1.45; }
}
@media (max-width: 959px) {
  .prj__intro, .prj__story { grid-template-columns: 1fr; }
  .prj__meta > div { grid-template-columns: 1fr; gap: 2px; }
  .svlinks { grid-template-columns: 1fr; }
}
.nf { min-height: 70vh; padding-bottom: var(--sec); }
.nf .ttl { margin: 40px 0 20px; }
.nf .btn { margin-top: 28px; }

/* ------------------------------------------------------------ lightbox */
.lb { position: fixed; inset: 0; z-index: 140; background: rgba(23, 21, 19, .97); color: var(--on-dark); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 12px clamp(12px, 3vw, 32px); }
.lb__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.lb__count { font-size: 12px; letter-spacing: .16em; font-variant-numeric: tabular-nums; color: var(--on-dark-dim); }
.lb__close { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.lb__close i { position: relative; width: 18px; height: 18px; }
.lb__close i::before, .lb__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.lb__close i::after { transform: rotate(-45deg); }
.lb :focus-visible { outline-color: var(--on-dark); }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; gap: 12px; padding-inline: clamp(0px, 5vw, 72px); }
.lb__frame { position: relative; flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; touch-action: pan-y; user-select: none; }
.lb__img { position: absolute; inset: 0; }
.lb__img img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: lbIn .6s var(--spring) both; }
@keyframes lbIn { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 36px)) scale(.985); } to { opacity: 1; transform: none; } }
.lb__cap { font-size: var(--fs-sm); color: var(--on-dark-dim); text-align: center; max-width: 60em; min-height: 1.6em; }
.lb__nav { position: absolute; top: 50%; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-dark); background: rgba(23, 21, 19, .5); transform: translateY(-50%); transition: border-color .3s; }
.lb__nav:hover { border-color: var(--on-dark); }
.lb__nav .arw { width: 26px; }
.lb__nav--prev { left: clamp(8px, 2vw, 24px); }
.lb__nav--next { right: clamp(8px, 2vw, 24px); }
.lb__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; justify-content: safe center; scrollbar-width: thin; }
.lb__thumbs button { flex: none; width: 64px; height: 48px; opacity: .45; transition: opacity .3s; border: 1px solid transparent; }
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--on-dark); }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .lb__nav { top: auto; bottom: 76px; transform: none; width: 48px; height: 48px; }
}

/* ------------------------------------------------------------ cursor, wipe */
.cursor { position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor.is-off { opacity: 0; }
.cursor__h, .cursor__v { position: absolute; background: var(--charcoal); transition: width .4s var(--spring), height .4s var(--spring), left .4s var(--spring), top .4s var(--spring), opacity .3s; opacity: .55; }
.cursor__h { height: 1px; width: 14px; left: 8px; top: 0; }
.cursor__v { width: 1px; height: 14px; top: 8px; left: 0; }
.cursor.is-xy .cursor__h { width: 44px; left: -22px; opacity: .9; }
.cursor.is-xy .cursor__v { height: 44px; top: -22px; opacity: .9; }
.cursor__xy { position: absolute; left: 16px; top: 14px; padding: 3px 6px; background: var(--ink); color: var(--surface); font-size: 10px; letter-spacing: .1em; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .4s var(--spring); }
.cursor.is-xy .cursor__xy { opacity: 1; transform: none; }

.wipe { position: fixed; inset: 0; z-index: 130; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.wipe i { background: var(--charcoal); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.wipe i:nth-child(2) { transition-delay: 50ms; }
.wipe i:nth-child(3) { transition-delay: 100ms; }
.wipe i:nth-child(4) { transition-delay: 150ms; }
.wipe.is-in { pointer-events: auto; }
.wipe.is-in i { transform: scaleY(1); }
.wipe.is-in.is-out i { transform: scaleY(0); transform-origin: 50% 0; }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; }
  .ln { stroke-dashoffset: 0 !important; }
  .ttl__l > span, [data-io] { transform: none !important; opacity: 1 !important; }
  .rv__p, .story__panels { display: none; }
  .rv img { transform: none !important; }
  .year__t { stroke-dashoffset: 0; fill: rgba(133, 118, 107, .12); }
  .col__edge, .rule i, .idx__rule, .qc__rule, .flow__c, .pay__line::before, .mk__rule { transform: none !important; }
  .col__n, .col h3, .col p, .pay__line li, .flow li { opacity: 1 !important; transform: none !important; }
  .hero__scroll i { height: 48px; }
}

/* touch: no hover-only affordances */
@media (hover: none) {
  .pc__view { opacity: 1; transform: none; }
  .xp__tab .arw { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ section rail (desktop) */
.rail { display: none; }
@media (min-width: 1200px) and (min-height: 720px) {
  .rail { display: block; position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 60; color: var(--charcoal); transition: color .5s; }
  .rail.on-dark { color: var(--on-dark); }
  .rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 44px; height: 44px; text-decoration: none; color: inherit; }
  .rail i { width: 10px; height: 1px; background: currentColor; opacity: .45; transition: width .5s var(--spring), opacity .3s; }
  .rail__n { font-size: 10px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: 0; transform: translateX(4px); transition: opacity .3s, transform .5s var(--spring); }
  .rail__lbl { position: absolute; right: 52px; padding: 4px 8px; background: var(--ink); color: var(--surface); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .25s, transform .4s var(--spring); }
  .rail.on-dark .rail__lbl { background: var(--surface); color: var(--ink); }
  .rail a:hover i, .rail a:focus-visible i { width: 18px; opacity: 1; }
  .rail a:hover .rail__lbl, .rail a:focus-visible .rail__lbl { opacity: 1; transform: none; }
  .rail a.is-on i { width: 26px; opacity: 1; }
  .rail a.is-on .rail__n { opacity: 1; transform: none; }
  .rail a:focus-visible { outline-color: currentColor; }
  body.is-locked .rail { display: none; }
}

/* ------------------------------------------------------------ mobile quick-contact bar */
.mbar { display: none; }
@media (max-width: 959px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: flex; background: var(--ink); color: var(--on-dark); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line-dark); transform: translateY(101%); transition: transform .55s var(--spring); box-shadow: 0 -12px 32px -16px rgba(33, 30, 27, .5); }
  .mbar.is-on { transform: none; }
  .mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
  .mbar a + a { border-left: 1px solid var(--line-dark); }
  .mbar .mbar__cta { flex: 1.5; background: var(--on-dark); color: var(--ink); border-left: 0; }
  .mbar a:focus-visible { outline: 2px solid var(--on-dark); outline-offset: -5px; }
  .mbar .mbar__cta:focus-visible { outline-color: var(--ink); }
  body.is-locked .mbar { display: none; }
  .totop { bottom: calc(20px + env(safe-area-inset-bottom)); right: 16px; transition: opacity .4s, transform .6s var(--spring), bottom .55s var(--spring), border-color .3s; }
  body.mbar-on .totop { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .ftr { padding-bottom: calc(28px + 56px + env(safe-area-inset-bottom)); }
}
.menu__quick { position: relative; display: flex; gap: 8px; margin-top: 24px; }
.menu__quick a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
.menu__quick a:hover { background: var(--ink); color: var(--surface); }

@media (prefers-reduced-motion: reduce) {
  .hero__bp { display: none; }
  .ttl--chars .c { transform: none !important; opacity: 1 !important; }
  .mbar { transition: none; }
}
