/* ==========================================================================
   Centennial Custom Decks
   Brand: ink #191919, amber #ffa419, ember #e44501, logo #f7f7f7 / #b6b6b6,
   original site neutrals, Barlow (site typeface) + EB Garamond (logo serif).

   Editorial system
   - One master grid: 12 columns inside .wrap (1280px), shared gutters.
   - Sections vary their composition; hierarchy comes from type, rules and
     photography, not boxes. Borders are hairline dividers, never cards.
   - Nothing floats in an unfilled container: split compositions fill the
     grid, single narrow elements are centered.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/eb-garamond-variable.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/eb-garamond-italic-variable.woff2") format("woff2"); }

:root {
  --ink: #191919;
  --ink-deep: #111111;
  --ink-raised: #202020;
  --bone: #f7f7f7;
  --paper: #fbfbfb;
  --mist: #f2f2f2;
  --line-light: #e3e3e4;
  --stone: #bfbfbf;
  --silver: #b6b6b6;
  --steel: #989899;
  --iron: #605e5d;
  --amber: #ffa419;
  --ember: #e44501;
  --text-dark: #3b3b3b;
  --hair: rgba(247, 247, 247, 0.14);
  --hair-strong: rgba(247, 247, 247, 0.26);
  --hair-dark: rgba(25, 25, 25, 0.14);
  --hair-dark-strong: rgba(25, 25, 25, 0.3);

  --font-display: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.12vw, 0.92rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  --step-1: clamp(1.16rem, 1.08rem + 0.42vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.95vw, 1.95rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.35rem, 1.7rem + 3vw, 4.2rem);
  --step-5: clamp(2.8rem, 1.8rem + 4.8vw, 6rem);
  --step-6: clamp(3.2rem, 1.9rem + 6.4vw, 7.6rem);

  --wrap: 1280px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(4.25rem, 3rem + 5vw, 7.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 84px;
  --appbar-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--ink); color: var(--silver); font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--bone); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sn { display: inline-block; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- master grid ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.c-1-5 { grid-column: 1 / span 5; } .c-1-4 { grid-column: 1 / span 4; } .c-1-6 { grid-column: 1 / span 6; } .c-1-7 { grid-column: 1 / span 7; } .c-1-8 { grid-column: 1 / span 8; } .c-1-9 { grid-column: 1 / span 9; } .c-1-12 { grid-column: 1 / -1; }
.c-5-12 { grid-column: 5 / -1; } .c-6-12 { grid-column: 6 / -1; } .c-7-12 { grid-column: 7 / -1; } .c-8-12 { grid-column: 8 / -1; } .c-9-12 { grid-column: 9 / -1; } .c-10-12 { grid-column: 10 / -1; }
.c-2-11 { grid-column: 2 / span 10; } .c-3-10 { grid-column: 3 / span 8; } .c-4-9 { grid-column: 4 / span 6; }
.self-end { align-self: end; } .self-center { align-self: center; } .self-start { align-self: start; }

/* ---------- surfaces ---------- */
.section { position: relative; padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.dark { background: var(--ink); color: var(--silver); }
.deep { background: var(--ink-deep); color: var(--silver); }
.light { background: var(--paper); color: var(--text-dark); }
.mist { background: var(--mist); color: var(--text-dark); }
.light h1, .light h2, .light h3, .light h4, .mist h1, .mist h2, .mist h3, .mist h4 { color: var(--ink); }

/* ---------- type ---------- */
.label { display: block; font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--steel); }
.light .label, .mist .label { color: var(--iron); }
.label b { font-weight: 600; color: var(--amber); letter-spacing: 0.12em; margin-right: 0.9em; }
.light .label b, .mist .label b { color: var(--ember); }
.lede { font-size: var(--step-1); line-height: 1.55; }
.statement { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.024em; }
.h-xl { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.02em; }
.h-lg { font-size: var(--step-3); line-height: 1.08; }
.h-md { font-size: var(--step-2); line-height: 1.18; }
.muted { color: var(--steel); }

/* the logo's three stacked rules */
.rules { display: grid; gap: 5px; width: 92px; justify-items: start; }
.rules span { display: block; height: 1px; background: currentColor; opacity: 0.6; transform-origin: left center; }
.rules span:nth-child(1) { width: 100%; }
.rules span:nth-child(2) { width: 88.6%; }
.rules span:nth-child(3) { width: 70.9%; }
.rules--center { justify-items: center; margin-inline: auto; }
.rules--center span { transform-origin: center; }
.rules--amber { color: var(--amber); }
.rules--amber span { opacity: 0.95; }
.js .reveal .rules span { transform: scaleX(0); transition: transform 0.9s var(--ease); }
.js .reveal.is-in .rules span { transform: scaleX(1); }
.js .reveal .rules span:nth-child(2) { transition-delay: 0.08s; }
.js .reveal .rules span:nth-child(3) { transition-delay: 0.16s; }

/* split section head: statement on the left, context bottom-aligned on the right */
.head { row-gap: 1.4rem; margin-bottom: clamp(2.5rem, 2rem + 2.6vw, 4.5rem); }
.head .label { grid-column: 1 / -1; }
.head h2 { grid-column: 1 / span 7; font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.02em; }
.head p { grid-column: 9 / -1; align-self: end; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.head--wide h2 { grid-column: 1 / span 9; }
.head--wide p { grid-column: 10 / -1; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.7em; min-height: 54px; padding: 0.9rem 1.7rem; border: 1px solid transparent; border-radius: 0; font-family: var(--font-sans); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--ember); color: #fff; }
.btn--line { border-color: var(--hair-strong); color: var(--bone); background: transparent; }
.btn--line:hover { border-color: var(--amber); color: var(--amber); }
.light .btn--line, .mist .btn--line { border-color: var(--hair-dark-strong); color: var(--ink); }
.light .btn--line:hover, .mist .btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn--sm { min-height: 42px; padding: 0.5rem 1.05rem; font-size: 0.74rem; }
.btn svg { width: 16px; height: 16px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions--center { justify-content: center; }

.more { display: inline-flex; align-items: center; gap: 0.75em; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
.more::after { content: ""; width: 28px; height: 1px; background: var(--amber); transition: width 0.35s var(--ease); }
.more:hover::after { width: 44px; }
.light .more, .mist .more { color: var(--ink); }
.light .more::after, .mist .more::after { background: var(--ember); }

.inline-links a, .prose a, .answer a, .note a, .decide a, .steps a, .points a, .glance a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color 0.2s; }
.inline-links a:hover, .prose a:hover, .answer a:hover, .note a:hover, .decide a:hover, .steps a:hover, .points a:hover { color: var(--amber); }
.light .prose a, .mist .prose a, .light .answer a, .light .note a, .light .decide a, .light .steps a, .light .points a { text-decoration-color: var(--ember); }
.light .prose a:hover, .mist .prose a:hover, .light .answer a:hover, .light .note a:hover, .light .decide a:hover, .light .steps a:hover, .light .points a:hover { color: var(--ember); }

/* ==========================================================================
   Header, mega menus, drawer, app bar
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(25, 25, 25, 0.97); border-bottom: 1px solid var(--hair); transition: transform 0.4s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(25, 25, 25, 0.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); } }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: clamp(160px, 13vw, 198px); height: auto; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav__list { list-style: none; display: flex; align-items: center; gap: clamp(0px, 0.5vw, 8px); }
.primary-nav__item { display: flex; align-items: center; }
.primary-nav__link { position: relative; display: inline-flex; align-items: center; height: var(--header-h); padding: 0 0.95rem; color: #fff; text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.primary-nav__link::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 27px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.primary-nav__link:hover::after, .primary-nav__item.is-open .primary-nav__link::after, .primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.mega-toggle { display: inline-grid; place-items: center; width: 24px; height: 32px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--steel); cursor: pointer; }
.mega-toggle svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.primary-nav__item.is-open .mega-toggle svg { transform: rotate(180deg); }
.mega-toggle:hover { color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.05em; font-size: 0.95rem; white-space: nowrap; }
.header-phone:hover { color: var(--amber); }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 2px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--silver); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; cursor: pointer; }
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle:hover, .lang-toggle[aria-pressed="true"] { color: var(--amber); border-bottom-color: var(--amber); }
.menu-button { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--hair); box-shadow: 0 40px 70px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s; }
.primary-nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s; }
.mega__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 40px 0 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.mega__col { grid-column: span 3; }
.mega--projects .mega__col { grid-column: span 7; }
.mega--locations .mega__col { grid-column: span 4; }
.mega__title { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--steel); padding-bottom: 12px; border-bottom: 1px solid var(--hair); margin-bottom: 6px; }
.mega__list { list-style: none; }
.mega__link { display: block; padding: 10px 0; text-decoration: none; color: var(--bone); }
.mega__link strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.26rem; line-height: 1.2; transition: color 0.2s; }
.mega__link span { display: block; font-size: 0.84rem; color: var(--steel); line-height: 1.4; margin-top: 2px; }
.mega__link:hover strong, .mega__link:focus-visible strong { color: var(--amber); }
.mega__feature { grid-column: span 3; position: relative; display: block; min-height: 300px; color: var(--bone); text-decoration: none; overflow: hidden; background: var(--ink-raised); }
.mega--projects .mega__feature { grid-column: span 5; min-height: 380px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.3s; }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 40%, rgba(17, 17, 17, 0.85)); }
.mega__feature span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.mega__feature small { display: block; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.mega__feature:hover img { transform: scale(1.04); }
.mega__rows { list-style: none; }
.mega__rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hair); color: var(--bone); text-decoration: none; }
.mega__rows strong { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.mega__rows span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.mega__rows a:hover strong, .mega__rows a:focus-visible strong { color: var(--amber); }
.mega__map { grid-column: span 4; align-self: start; }
.mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 30px; padding: 20px 0 24px; border-top: 1px solid var(--hair); font-size: 0.95rem; }
.mega__foot p { margin: 0; color: var(--steel); }
.mega__foot div { display: flex; gap: 32px; }

.drawer { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--hair); flex: none; }
.drawer__top img { width: 150px; }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; margin-right: -12px; border: 0; background: none; color: var(--bone); cursor: pointer; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(28px + var(--appbar-h) + env(safe-area-inset-bottom)); }
.drawer__link, .drawer__acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 8px 0; border-bottom: 1px solid var(--hair); color: var(--bone); text-decoration: none; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; cursor: pointer; list-style: none; }
.drawer__acc > summary::-webkit-details-marker { display: none; }
.drawer__acc > summary svg { width: 13px; height: 13px; color: var(--steel); transition: transform 0.3s var(--ease); }
.drawer__acc[open] > summary svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 6px 0 14px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; border-bottom: 1px solid var(--hair); }
.drawer__sub a { display: flex; align-items: center; min-height: 46px; color: var(--silver); text-decoration: none; font-size: 1rem; line-height: 1.3; }
.drawer__sub a:hover { color: var(--amber); }
.drawer__contact { margin-top: 26px; display: grid; gap: 10px; }
.drawer__contact .btn { width: 100%; }
.drawer__contact .lang-toggle { justify-self: center; margin-top: 8px; }
.appbar { display: none; }

/* ==========================================================================
   Home
   ========================================================================== */
/* hero: full-screen photography first, headline set on the grid */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: grid; align-items: center; overflow: hidden; background: var(--ink-deep); color: var(--bone); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.02); }
.hero__slide.is-active img { animation: heroDrift 9s ease-out both; }
@keyframes heroDrift { from { transform: scale(1.09); } to { transform: scale(1.02); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 22%),
  linear-gradient(0deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 30%, rgba(10, 10, 10, 0) 62%),
  linear-gradient(90deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.2) 45%, rgba(10, 10, 10, 0) 70%); }
.hero__shade::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); }
.hero__content { padding-block: calc(var(--header-h) + clamp(12px, 3vh, 40px)); row-gap: 2rem; align-items: center; }
.hero__copy { grid-column: 1 / span 8; }
.hero h1 { font-size: clamp(1rem, min(7vw, 11.5vh), 7.6rem); line-height: 0.98; letter-spacing: -0.028em; max-width: none; white-space: nowrap; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero__subtitle { max-width: 60ch; margin: clamp(0.9rem, 2.6vh, 1.6rem) 0 0; font-family: var(--font-sans); font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.35; text-wrap: pretty; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.hero__lede { max-width: 60ch; margin: clamp(0.9rem, 2.6vh, 1.6rem) 0 0; font-size: var(--step-1); font-weight: 500; line-height: 1.55; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.hero .actions { margin-top: clamp(1.1rem, 3.2vh, 2rem); }
.btn--glass { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(17, 17, 17, 0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero__meta { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: clamp(18px, 3.2vh, 34px); display: grid; justify-items: end; gap: 12px; text-align: right; }
.hero__copy { grid-column: 1 / span 10; }
.hero__caption { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.hero__caption small { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.hero__caption:hover { color: var(--amber); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 44px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero__dot i { display: block; height: 2px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i::after { animation: dotFill var(--hero-interval, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* header floats over the photo on pages with a full-bleed hero */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header.is-solid, .has-hero .site-header:focus-within, .has-hero .site-header:has(.is-open) { background: rgba(25, 25, 25, 0.9); border-bottom-color: var(--hair); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }

/* horizontal data strip */
/* Key figures inside a content part (location climate numbers) */
.figures { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--hair-dark-strong); }
.figures + .subs { border-top: 0; }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: clamp(18px, 1.6vw, 26px) var(--gap); border-left: 1px solid var(--hair-dark); }
.figures > div:first-child { padding-left: 0; border-left: 0; }
.figures dt { font-size: 0.68rem; line-height: 1.45; letter-spacing: 0.2em; text-transform: uppercase; color: var(--iron); text-wrap: balance; }
.figures dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.figures dd small { font-family: var(--font-sans); font-size: 0.34em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--iron); }
.strip { border-block: 1px solid var(--hair); }
.strip__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip__item { padding: clamp(22px, 2.4vw, 34px) 0; padding-left: var(--gap); border-left: 1px solid var(--hair); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.9vw, 3.1rem); line-height: 1; color: var(--bone); letter-spacing: -0.02em; }
.strip__label { display: block; margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); }
.light .strip, .mist .strip { border-color: var(--hair-dark); }
.light .strip__item, .mist .strip__item { border-color: var(--hair-dark); }
.light .strip__value, .mist .strip__value { color: var(--ink); }

/* layers: interactive diagram 7/5 */
.layers { align-items: center; }
.layers__figure { grid-column: 1 / span 7; }
.layers__figure svg { width: 100%; height: auto; max-height: 820px; }
.layers__panel { grid-column: 8 / -1; }
.layers__panel h2 { font-size: var(--step-3); margin: 1rem 0 1.1rem; }
.layers__panel > p { font-size: 1.04rem; line-height: 1.65; margin-bottom: 1.8rem; }
.layers .layer { transition: opacity 0.45s var(--ease); cursor: pointer; }
.layers .layer .ln { transition: stroke 0.35s var(--ease); }
.layers.has-active .layer:not(.is-active) { opacity: 0.2; }
.layers .layer.is-active .ln { stroke: var(--amber); }
.layers .layer.is-active .fl { fill: #1f1a12; }
.anatomy__tag { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.14em; fill: var(--steel); }
.layers .layer.is-active .anatomy__tag { fill: var(--amber); }
.legend { list-style: none; border-top: 1px solid var(--hair); }
.legend li { border-bottom: 1px solid var(--hair); }
.legend__btn { width: 100%; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 14px; align-items: center; gap: 6px; padding: 14px 0; border: 0; background: none; color: var(--silver); text-align: left; cursor: pointer; }
.legend__btn .n { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--steel); }
.legend__btn .t { font-family: var(--font-display); font-size: 1.36rem; color: var(--bone); line-height: 1.2; transition: color 0.2s; }
.legend__btn .x { position: relative; width: 12px; height: 12px; }
.legend__btn .x::before, .legend__btn .x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
.legend__btn .x::after { transform: rotate(90deg); }
.legend__btn[aria-expanded="true"] .x::after { transform: rotate(0deg); }
.legend__btn[aria-expanded="true"] .t, .legend__btn:hover .t { color: var(--amber); }
.legend__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.legend__detail > div { min-height: 0; overflow: hidden; }
.legend__detail.is-open { grid-template-rows: 1fr; }
.legend__detail p { margin: 0; padding: 0 0 10px 2.6rem; font-size: 0.98rem; line-height: 1.62; }
.legend__detail .links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 2px 0 18px 2.6rem; }
.legend__detail .links a { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--bone); border-bottom: 1px solid var(--amber); padding-bottom: 2px; }
.legend__detail .links a:hover { color: var(--amber); }

/* full-bleed photograph with an oversized statement */
.bleed { position: relative; min-height: clamp(520px, 72vh, 820px); display: grid; align-items: end; overflow: hidden; background: var(--ink-deep); }
.bleed__img { position: absolute; inset: 0; }
.bleed__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0.1) 0%, rgba(17, 17, 17, 0.25) 45%, rgba(17, 17, 17, 0.9) 100%); }
.bleed__copy { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 4vw, 6rem); row-gap: 1.4rem; }
.bleed__copy h2 { grid-column: 1 / span 8; font-size: var(--step-5); line-height: 1; letter-spacing: -0.025em; }
.bleed__copy p { grid-column: 9 / -1; align-self: end; margin: 0; color: var(--bone); font-size: 1.06rem; line-height: 1.6; }
.bleed__copy .label { grid-column: 1 / -1; color: var(--silver); }
.bleed__caption { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 1.4rem; margin-top: 1rem; border-top: 1px solid var(--hair-strong); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); }
.bleed__caption a { color: var(--bone); text-decoration: none; }
.bleed__caption a:hover { color: var(--amber); }

/* oversized project index */
.pindex { list-style: none; border-top: 1px solid var(--hair-dark); }
.pindex li { border-bottom: 1px solid var(--hair-dark); }
.pindex a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: clamp(14px, 1.4vw, 22px) 0; color: var(--ink); text-decoration: none; position: relative; }
.pindex .n { grid-column: 1; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--iron); }
.pindex .t { grid-column: 2 / span 7; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.3rem); line-height: 1.05; letter-spacing: -0.02em; transition: color 0.3s, transform 0.5s var(--ease); }
.pindex .p { grid-column: 9 / span 3; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--iron); }
.pindex .a { grid-column: 12; justify-self: end; width: 22px; height: 22px; color: var(--ember); opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.pindex a:hover .t, .pindex a:focus-visible .t { color: var(--ember); transform: translateX(10px); }
.pindex a:hover .a, .pindex a:focus-visible .a { opacity: 1; transform: none; }
.pindex__thumb { display: none; }
.cursor-preview { position: fixed; z-index: 90; top: 0; left: 0; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.92); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); background: var(--ink-raised); }
.cursor-preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.cursor-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.index-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 2rem; }

/* comparison */
.tabs { display: flex; gap: 28px; margin-bottom: 1.8rem; border-bottom: 1px solid var(--hair); }
.tabs button { position: relative; padding: 0 0 14px; border: 0; background: none; color: var(--steel); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--bone); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.light .tabs, .mist .tabs { border-color: var(--hair-dark); }
.light .tabs button[aria-selected="true"], .mist .tabs button[aria-selected="true"] { color: var(--ink); }
.light .tabs button::after, .mist .tabs button::after { background: var(--ember); }
.cmp { font-size: 1rem; line-height: 1.5; table-layout: fixed; }
.cmp caption { caption-side: bottom; padding-top: 16px; text-align: left; font-size: 0.82rem; color: var(--steel); }
.cmp th, .cmp td { padding: 18px var(--gap) 18px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--hair); }
.cmp thead th { padding-bottom: 20px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.1; color: var(--bone); border-bottom-color: var(--hair-strong); vertical-align: bottom; }
.cmp thead th:first-child { width: 22%; }
.cmp tbody th { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--steel); padding-top: 22px; }
.cmp td { color: var(--silver); }
.light .cmp th, .light .cmp td, .mist .cmp th, .mist .cmp td { border-bottom-color: var(--hair-dark); }
.light .cmp thead th, .mist .cmp thead th { color: var(--ink); border-bottom-color: var(--hair-dark-strong); }
.light .cmp td, .mist .cmp td { color: var(--text-dark); }
.light .cmp tbody th, .mist .cmp tbody th { color: var(--iron); }
.cmp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: 2rem; }
.cmp-foot p { margin: 0; max-width: 52ch; font-size: 0.98rem; }
.cmp-foot nav { display: flex; flex-wrap: wrap; gap: 14px 30px; }

/* numbered process */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--hair-dark-strong); }
.process li { padding-top: 22px; position: relative; }
.process li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--ember); transition: width 1s var(--ease); }
.process li.is-in::before { width: 100%; }
.process .num { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.2rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 1rem; }
.process h3 { font-size: 1.32rem; margin-bottom: 0.6rem; }
.process p { font-size: 0.97rem; line-height: 1.6; }
.process-foot { margin-top: clamp(2rem, 1.6rem + 1.6vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.process-foot p { margin: 0; font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); line-height: 1.2; }

/* service area 5/7 */
.area { align-items: center; }
.area__copy { grid-column: 1 / span 5; }
.area__copy h2 { font-size: var(--step-4); line-height: 1.04; margin: 1rem 0 1.2rem; }
.area__map { grid-column: 6 / -1; }
.area__map svg { width: 100%; height: auto; }
.places { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 1px solid var(--hair); }
.places a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 50px; padding: 12px 0; border-bottom: 1px solid var(--hair); color: var(--bone); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.places small { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.places a:hover, .places a.is-hot { color: var(--amber); }
.map .county-line { stroke: var(--steel); stroke-dasharray: 4 6; stroke-width: 1; opacity: 0.55; }
.map .county-label { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.24em; fill: var(--steel); text-transform: uppercase; }
.map .road { stroke: rgba(247, 247, 247, 0.22); stroke-width: 1.5; fill: none; }
.map .road-label { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.16em; fill: var(--steel); }
.map .place .dot { fill: var(--ink); stroke: var(--silver); stroke-width: 1.2; transition: stroke 0.3s, fill 0.3s; }
.map .place.has-project .dot { fill: var(--amber); stroke: var(--amber); }
.map .place .halo { fill: none; stroke: var(--amber); stroke-width: 1; opacity: 0; transition: opacity 0.3s; }
.map .place text { font-family: var(--font-display); font-size: 17px; fill: var(--bone); transition: fill 0.25s; }
.map .place text.sub { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: 0.18em; fill: var(--steel); }
.map .place a:focus { outline: none; }
.map .place.is-hot .halo, .map .place a:focus-visible .halo, .map .place.is-focus .halo { opacity: 1; }
.map .place.is-hot text:not(.sub), .map .place a:hover text:not(.sub), .map .place a:focus-visible text:not(.sub), .map .place.is-focus text:not(.sub) { fill: var(--amber); }
.map-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; border: 1.2px solid var(--silver); display: inline-block; }
.map-legend i.p { background: var(--amber); border-color: var(--amber); }

/* quote treatment */
.quote-hero { text-align: center; }
.quote-hero .mark { display: block; font-family: var(--font-display); font-size: clamp(5rem, 4rem + 4vw, 8rem); line-height: 0.5; color: var(--ember); height: 0.55em; }
.quote-hero blockquote { margin: 0 auto; max-width: 1060px; }
.quote-hero blockquote p { font-family: var(--font-display); font-size: var(--step-4); line-height: 1.12; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; }
.quote-hero figcaption { margin-top: 1.8rem; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--iron); }
.quote-hero figcaption b { color: var(--ink); font-weight: 600; }
.pulls { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); }
.pulls li { padding-top: 20px; border-top: 1px solid var(--hair-dark-strong); }
.pulls p { font-family: var(--font-display); font-size: 1.36rem; line-height: 1.3; color: var(--ink); margin-bottom: 14px; text-wrap: balance; }
.pulls cite { font-style: normal; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--iron); }
.pulls cite b { color: var(--ink); font-weight: 600; }
.quote-foot { margin-top: 2.4rem; text-align: center; font-size: 0.92rem; color: var(--iron); }

/* rail layout: label rail left, content right */
.rail { row-gap: 1.6rem; }
.rail__head { grid-column: 1 / span 4; }
.rail__head h2 { font-size: var(--step-3); margin-top: 0.9rem; }
.rail__head p { margin-top: 1rem; font-size: 1rem; }
.rail__body { grid-column: 6 / -1; }
.rail--sticky .rail__head { align-self: start; position: sticky; top: calc(var(--header-h) + 28px); }

/* index rows (guides, related) */
.rows { list-style: none; border-top: 1px solid var(--hair); }
.rows li { border-bottom: 1px solid var(--hair); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 24px; padding: 20px 0; color: var(--bone); text-decoration: none; }
.rows .t { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.2; transition: color 0.25s; text-wrap: balance; }
.rows .m { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.rows .d { grid-column: 1 / -1; font-size: 0.96rem; color: var(--silver); line-height: 1.55; }
.rows a:hover .t, .rows a:focus-visible .t { color: var(--amber); }
.light .rows, .light .rows li, .mist .rows, .mist .rows li { border-color: var(--hair-dark); }
.light .rows a, .mist .rows a { color: var(--ink); }
.light .rows .d, .mist .rows .d { color: var(--text-dark); }
.light .rows a:hover .t, .mist .rows a:hover .t { color: var(--ember); }

/* consultation band: photo background, form on a bright panel */
.consult-band { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-deep); color: #fff; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.consult-band__media { position: absolute; inset: 0; z-index: -2; }
.consult-band__media img { width: 100%; height: 100%; object-fit: cover; }
.consult-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.78) 38%, rgba(10, 10, 10, 0.35) 70%, rgba(10, 10, 10, 0.25) 100%); }
.consult { align-items: center; row-gap: 2.5rem; }
.consult__intro { grid-column: 1 / span 6; }
.consult__intro .label { color: rgba(255, 255, 255, 0.8); }
.consult__intro h2 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.022em; margin: 1rem 0 1.2rem; color: #fff; }
.consult__intro .lede { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); max-width: 42ch; }
.consult__phone { display: block; margin-top: 2rem; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; }
.consult__phone small { display: block; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.consult__phone:hover { color: var(--amber); }
.consult__email { display: inline-block; margin-top: 12px; color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }
.consult__email:hover { color: var(--amber); border-color: var(--amber); }
.consult__quote { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.22); max-width: 40ch; }
.consult__quote blockquote { margin: 0; }
.consult__quote p { font-family: var(--font-display); font-size: 1.36rem; line-height: 1.3; color: #fff; }
.consult__quote figcaption { margin-top: 10px; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.consult__form { grid-column: 7 / -1; }
.consult__intro h2, .consult__intro .lede { max-width: 18ch; }
.consult__intro .lede { max-width: 44ch; }

.form-panel { position: relative; background: #fff; color: var(--text-dark); padding: clamp(22px, 2.4vw, 34px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); max-width: 520px; margin-left: auto; }
.form-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--amber); }
.form-panel__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.form-tabs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 1rem 0 1.2rem; border-bottom: 1px solid var(--line-light); }
.form-tabs li { position: relative; padding: 0 0 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #a3a3a3; }
.form-tabs li b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border: 1px solid currentColor; border-radius: 50%; font-size: 0.66rem; letter-spacing: 0; }
.form-tabs li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.form-tabs li.is-on { color: var(--ink); }
.form-tabs li.is-on b { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-tabs li.is-on::after { transform: scaleX(1); }
.fset { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.fset legend, .fld label { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 0; margin-bottom: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.fset legend small, .fld label small { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: #8a8a8a; font-size: 0.76rem; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border: 1px solid #e0e0e0; background: #fff; cursor: pointer; font-size: 0.92rem; line-height: 1.2; color: var(--ink); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { flex: none; width: 18px; height: 18px; border: 1.5px solid #bdbdbd; display: grid; place-items: center; transition: all 0.2s; }
.opt:hover { border-color: #b9b9b9; }
.opt:has(input:checked) { border-color: var(--amber); background: #fff3e4; box-shadow: inset 0 0 0 1px var(--amber); }
.opt input:checked + .opt__box { background: var(--amber); border-color: var(--amber); }
.opt input:checked + .opt__box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--ember); outline-offset: 3px; }
.form-panel .form__grid { gap: 12px; margin-bottom: 1rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: var(--mist); color: var(--ink); font-size: 1rem; transition: border-color 0.2s, background-color 0.2s; }
.fld textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23191919' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.fld input::placeholder, .fld textarea::placeholder { color: #8d8d8d; }
.fld input:hover, .fld select:hover, .fld textarea:hover { background-color: #ececec; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background-color: #fff; border-bottom-color: var(--amber); box-shadow: inset 0 0 0 1px #dedede; }
.btn--block { width: 100%; min-height: 54px; font-size: 0.84rem; }
.btn--block svg, .form-nav svg { width: 17px; height: 17px; }
.form-nav { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.form-nav .btn { min-height: 54px; font-size: 0.8rem; padding-inline: 1.2rem; }
.btn--line-dark { border-color: #cfcfcf; color: var(--ink); background: #fff; }
.btn--line-dark:hover { border-color: var(--ink); }
.form-panel__legal { margin: 12px 0 0; font-size: 0.8rem; color: #7a7a7a; text-align: center; }
.form-panel__legal a { color: #5a5a5a; }
.form-panel__legal a:hover { color: var(--ember); }
.form-panel .form__status { margin-top: 10px; color: var(--text-dark); font-size: 0.92rem; }
.form-panel .form__status:empty { display: none; }
.form-panel .form__status.is-error { color: #b3261e; }
.form-panel .form__status a { color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px var(--gap); }
.form__full { grid-column: 1 / -1; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.crumbs { padding-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--iron); }
.crumbs a { color: var(--silver); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* page hero: split title + context */
.phead { padding: clamp(2.2rem, 1.5rem + 3vw, 4.2rem) 0 clamp(2.4rem, 1.8rem + 2.6vw, 4rem); row-gap: 1.6rem; }
.phead .label { grid-column: 1 / -1; }
.phead h1 { grid-column: 1 / span 8; font-size: var(--step-5); line-height: 1; letter-spacing: -0.026em; }
.phead__aside { grid-column: 9 / -1; align-self: end; }
.phead__aside .lede { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.6rem; }
.phead__aside .actions .btn { flex: 1 1 auto; }

/* page media compositions */
.pmedia { row-gap: var(--gap); }
.pmedia__main { grid-column: 1 / span 8; overflow: hidden; background: var(--ink-raised); aspect-ratio: 16 / 10.4; }
.pmedia__side { grid-column: 9 / -1; overflow: hidden; background: var(--ink-raised); }
.pmedia__solo { grid-column: 1 / -1; overflow: hidden; background: var(--ink-raised); aspect-ratio: 21 / 9; }
.pmedia img { width: 100%; height: 100%; object-fit: cover; }
.pmedia figcaption { grid-column: 1 / -1; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.pmedia figcaption a { color: var(--silver); text-decoration: none; }
.pmedia figcaption a:hover { color: var(--amber); }

/* at-a-glance strip (variable count, equal widths) */
.glance { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-block: 1px solid var(--hair); }
.glance li { padding: 22px var(--gap) 22px 0; }
.glance li + li { padding-left: var(--gap); border-left: 1px solid var(--hair); }
.glance span { display: block; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.glance b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.24rem; line-height: 1.3; color: var(--bone); }

/* long-form content in the rail layout */
.flow { display: grid; row-gap: clamp(3rem, 2.4rem + 2.6vw, 5rem); }
.part { row-gap: 1.2rem; }
.part__head { grid-column: 1 / span 4; align-self: start; }
.part__head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.12; }
.part__head .n { display: block; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ember); margin-bottom: 0.8rem; font-weight: 600; }
.dark .part__head .n { color: var(--amber); }
.part__body { grid-column: 6 / -1; }
.part--wide .part__head { grid-column: 1 / span 8; }
.part--wide .part__body { grid-column: 1 / -1; }
.part__body > .intro { font-size: 1.08rem; margin-bottom: 1.6rem; max-width: 62ch; }
.prose p { font-size: 1.07rem; line-height: 1.78; max-width: 66ch; }
.prose h3 { font-size: var(--step-2); margin: 2rem 0 0.7rem; }

.subs { border-top: 1px solid var(--hair-dark); }
.subs__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--gap); padding: 22px 0; border-bottom: 1px solid var(--hair-dark); }
.subs__item h3 { font-size: 1.36rem; line-height: 1.22; }
.subs__item p { font-size: 1.02rem; line-height: 1.72; }
.dark .subs, .dark .subs__item { border-color: var(--hair); }

.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--hair-dark); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--hair-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--ember); }
.steps h3 { font-size: 1.32rem; line-height: 1.22; margin-bottom: 6px; }
.steps p { font-size: 1.02rem; line-height: 1.72; }
.dark .steps, .dark .steps li { border-color: var(--hair); }
.dark .steps li::before { color: var(--amber); }

.points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--hair-dark); }
.points--one { grid-template-columns: minmax(0, 1fr); }
.points li { padding: 20px 0; border-bottom: 1px solid var(--hair-dark); }
.points h3 { font-size: 1.24rem; line-height: 1.25; margin-bottom: 6px; }
.points p { font-size: 0.99rem; line-height: 1.68; }
.dark .points, .dark .points li { border-color: var(--hair); }

.note { position: relative; padding-top: 22px; border-top: 2px solid var(--ember); max-width: 66ch; }
.dark .note { border-top-color: var(--amber); }
.note__label { display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--ember); margin-bottom: 0.7rem; }
.dark .note__label { color: var(--amber); }
.note__title { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.18; margin: 0 0 0.6rem; color: var(--ink); text-wrap: balance; }
.dark .note__title { color: var(--bone); }
.note p { font-size: 1.04rem; line-height: 1.72; }

.decide { list-style: none; border-top: 1px solid var(--hair-dark-strong); }
.decide li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); padding: 18px 0; border-bottom: 1px solid var(--hair-dark); }
.decide .if { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.3; color: var(--ink); }
.decide .then { font-size: 1rem; line-height: 1.62; }
.decide .if::before, .decide .then::before { display: block; font-family: var(--font-sans); font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--iron); margin-bottom: 6px; }
.decide .if::before { content: "If"; }
.decide .then::before { content: "Then"; color: var(--ember); }
.decide .then a { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.dark .decide, .dark .decide li { border-color: var(--hair); }
.dark .decide .if { color: var(--bone); }
.dark .decide .then::before { color: var(--amber); }

.photoset { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--gap); }
.photoset a { display: block; overflow: hidden; background: var(--mist); min-height: 0; }
.photoset img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.photoset a:hover img { transform: scale(1.03); }
.photoset--1 a { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.photoset--2 { grid-template-rows: clamp(300px, 34vw, 540px); }
.photoset--2 a:nth-of-type(1) { grid-column: 1 / span 7; grid-row: 1; }
.photoset--2 a:nth-of-type(2) { grid-column: 8 / -1; grid-row: 1; }
.photoset--3 { grid-template-rows: repeat(2, clamp(170px, 19vw, 300px)); }
.photoset--3 a:nth-of-type(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.photoset--3 a:nth-of-type(2) { grid-column: 8 / -1; grid-row: 1; }
.photoset--3 a:nth-of-type(3) { grid-column: 8 / -1; grid-row: 2; }
.photoset figcaption { grid-column: 1 / -1; font-size: 0.82rem; line-height: 1.55; color: var(--iron); max-width: 72ch; }
.dark .photoset figcaption { color: var(--steel); }

.said { max-width: 34ch; margin-inline: auto; text-align: center; }
.said p { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.dark .said p { color: var(--bone); }
.said figcaption { margin-top: 1.2rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--iron); }

.outlinks { list-style: none; border-top: 1px solid var(--hair-dark); }
.outlinks li { border-bottom: 1px solid var(--hair-dark); }
.outlinks a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 20px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.outlinks strong { font-family: var(--font-display); font-weight: 500; font-size: 1.24rem; line-height: 1.28; }
.outlinks span { grid-column: 1; font-size: 0.95rem; color: var(--text-dark); line-height: 1.55; }
.outlinks svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 16px; height: 16px; color: var(--ember); }
.outlinks a:hover strong { color: var(--ember); }
.dark .outlinks, .dark .outlinks li { border-color: var(--hair); }
.dark .outlinks a { color: var(--bone); }
.dark .outlinks span { color: var(--silver); }
.dark .outlinks svg { color: var(--amber); }

.faq { border-top: 1px solid var(--hair-dark-strong); }
.faq details { border-bottom: 1px solid var(--hair-dark); }
.faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.28rem; line-height: 1.32; }
.faq .x { position: relative; width: 14px; height: 14px; }
.faq .x::before, .faq .x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ember); transition: transform 0.3s var(--ease); }
.faq .x::after { transform: rotate(90deg); }
.faq details[open] .x::after { transform: rotate(0); }
.answer { padding: 0 0 22px; font-size: 1.02rem; line-height: 1.76; max-width: 66ch; }
.dark .faq, .dark .faq details { border-color: var(--hair); }
.dark .faq .x::before, .dark .faq .x::after { background: var(--amber); }

/* feature: one project large, the rest as a list */
.feature { align-items: start; row-gap: var(--gap); }
.feature__main { grid-column: 1 / span 7; text-decoration: none; color: inherit; display: block; }
.feature__main .img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-raised); }
.feature__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature__main:hover img { transform: scale(1.03); }
.feature__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding-top: 16px; }
.feature__cap strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; color: var(--ink); }
.feature__cap span { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--iron); align-self: center; }
.feature__cap em { grid-column: 1 / -1; font-style: normal; color: var(--text-dark); }
.feature__main:hover strong { color: var(--ember); }
.feature__list { grid-column: 8 / -1; list-style: none; border-top: 1px solid var(--hair-dark-strong); }
.feature__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair-dark); text-decoration: none; color: var(--ink); }
.feature__list .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.feature__list img { width: 100%; height: 100%; object-fit: cover; }
.feature__list strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.2; }
.feature__list span { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--iron); margin-top: 4px; }
.feature__list a:hover strong { color: var(--ember); }
.feature--solo .feature__main { grid-column: 1 / span 8; }
.feature--solo .feature__aside { grid-column: 9 / -1; align-self: end; }
/* Lead photo with one or two projects stacked beside it: subgrid rows keep photo edges aligned */
.feature--stack { row-gap: 0; }
.feature--n1 { grid-template-rows: auto auto; }
.feature--n2 { grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
.feature--stack .feature__main { grid-column: 1 / span 8; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
.feature--n1 .feature__main { grid-column: 1 / span 7; }
.feature--stack .feature__main .img { grid-row: 1 / -2; }
.feature--stack .feature__main .feature__cap { grid-row: -2 / -1; align-self: start; }
.feature__stack { grid-column: 9 / -1; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; list-style: none; }
.feature--n1 .feature__stack { grid-column: 8 / -1; }
.feature__stack li, .feature__stack a { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.feature__stack a { text-decoration: none; color: inherit; }
.feature__stack .img { position: relative; overflow: hidden; background: var(--mist); }
.feature__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature__stack a:hover img { transform: scale(1.03); }
.feature__stack .feature__cap { display: block; padding: 14px 0 0; align-self: start; }
.feature__stack li:not(:last-child) .feature__cap { padding-bottom: var(--gap); }
.feature__stack .feature__cap strong { display: block; font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem); }
.feature__stack .feature__cap span { display: block; margin-top: 5px; }
.feature__stack a:hover strong { color: var(--ember); }
.dark .feature__cap strong, .dark .feature__list a, .dark .feature__stack a { color: var(--bone); }
.dark .feature__cap em { color: var(--silver); }
.dark .feature__list, .dark .feature__list a { border-color: var(--hair); }

/* closing band: statement left, actions right */
.closing { row-gap: 1.6rem; align-items: end; }
.closing h2 { grid-column: 1 / span 8; font-size: var(--step-4); line-height: 1.04; }
.closing__aside { grid-column: 9 / -1; }
.closing__aside p { margin-bottom: 1.4rem; font-size: 1.04rem; }

/* ==========================================================================
   Projects, gallery, lightbox
   ========================================================================== */
.phero-img { overflow: hidden; background: var(--ink-raised); }
.phero-img img { width: 100%; height: auto; max-height: 86vh; object-fit: cover; }
.facts { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-block: 1px solid var(--hair); }
.facts li { padding: 20px var(--gap) 20px 0; }
.facts li + li { padding-left: var(--gap); border-left: 1px solid var(--hair); }
.facts span { display: block; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.facts b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: var(--bone); line-height: 1.3; }
.facts b a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: 0.2em; }

.justified { display: flex; flex-wrap: wrap; gap: clamp(8px, 0.9vw, 12px); }
.justified a { position: relative; display: block; overflow: hidden; background: var(--ink-raised); }
.justified img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.justified a:hover img { transform: scale(1.03); }
.justified .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.8)); color: var(--bone); font-size: 0.78rem; line-height: 1.35; opacity: 0; transition: opacity 0.3s; }
.justified a:hover .cap, .justified a:focus-visible .cap { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 1.8rem; border-bottom: 1px solid var(--hair); }
.filters button { position: relative; padding: 0 0 14px; border: 0; background: none; color: var(--steel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.filters button[aria-pressed="true"] { color: var(--bone); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.filters-bar { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.filters-bar .filters { flex: 1; }
.filters-bar output { padding-bottom: 14px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12, 12, 12, 0.97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); color: var(--steel); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 6vw, 96px); min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom)); text-align: center; color: var(--silver); font-size: 0.95rem; max-width: 72ch; margin: 0 auto; }
.lightbox__cap a { color: var(--bone); }
.lightbox button { border: 0; background: none; color: var(--bone); width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { color: var(--amber); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(4px, 2vw, 28px); }
.lightbox__next { right: clamp(4px, 2vw, 28px); }

/* ==========================================================================
   Blog
   ========================================================================== */
.lead-post { align-items: end; row-gap: var(--gap); text-decoration: none; color: inherit; }
.lead-post .img { grid-column: 1 / span 7; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-raised); }
.lead-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lead-post:hover img { transform: scale(1.03); }
.lead-post .txt { grid-column: 8 / -1; }
.lead-post h2 { font-size: var(--step-3); margin: 0.9rem 0 1rem; }
.lead-post:hover h2 { color: var(--amber); }
.topics { position: sticky; top: calc(var(--header-h) + 20px); }
.topics button { display: flex; justify-content: space-between; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--silver); font-size: 1rem; text-align: left; cursor: pointer; }
.topics button span { font-size: 0.72rem; color: var(--steel); }
.topics button[aria-pressed="true"] { color: var(--amber); }
.postlist { list-style: none; border-top: 1px solid var(--hair); }
.postlist li { border-bottom: 1px solid var(--hair); }
.postlist a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 0; color: var(--bone); text-decoration: none; }
.postlist .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-raised); }
.postlist img { width: 100%; height: 100%; object-fit: cover; }
.postlist strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.25; text-wrap: balance; }
.postlist a > span:last-child > span { display: block; margin-top: 6px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.postlist a:hover strong { color: var(--amber); }

.ahead { padding: clamp(2.2rem, 1.5rem + 3vw, 4rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); row-gap: 1.4rem; }
.ahead .label { grid-column: 1 / -1; }
.ahead h1 { grid-column: 1 / span 10; font-size: var(--step-4); line-height: 1.04; }
.ahead .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.ahero { overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink-raised); }
.ahero img { width: 100%; height: 100%; object-fit: cover; }
.article { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.article__aside { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 28px); font-size: 0.92rem; }
.article__body { grid-column: 4 / span 7; color: var(--text-dark); }
.article__body h2 { font-size: var(--step-3); color: var(--ink); margin: 2.6rem 0 1rem; }
.article__body h3 { font-size: var(--step-2); color: var(--ink); margin: 2rem 0 0.8rem; }
.article__body h4 { font-size: 1.24rem; color: var(--ink); margin: 1.6rem 0 0.6rem; }
.article__body > :first-child { margin-top: 0; }
.article__body p, .article__body li { font-size: 1.1rem; line-height: 1.8; }
.article__body ul, .article__body ol { padding-left: 1.2rem; margin: 0 0 1.3em; }
.article__body li { margin-bottom: 0.4em; }
.article__body li::marker { color: var(--ember); }
.article__body ul.points-list { list-style: none; padding: 0; border-top: 1px solid var(--hair-dark); }
.article__body ul.points-list li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--hair-dark); margin: 0; position: relative; }
.article__body ul.points-list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 13px; height: 1px; background: var(--ember); }
.article__body a { color: var(--ink); text-decoration-color: var(--ember); text-underline-offset: 0.2em; }
.article__body a:hover { color: var(--ember); }
.article__body strong { color: var(--ink); font-weight: 600; }
.article__body table { margin: 1.6rem 0; font-size: 0.98rem; }
.article__body th, .article__body td { border-bottom: 1px solid var(--hair-dark); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.article__body .note { margin: 2.4rem 0; }
.toc-list { list-style: none; border-top: 1px solid var(--hair-dark); counter-reset: toc; }
.toc-list li { counter-increment: toc; border-bottom: 1px solid var(--hair-dark); }
.toc-list a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: 9px 0; text-decoration: none; color: var(--text-dark); line-height: 1.4; }
.toc-list a::before { content: counter(toc, decimal-leading-zero); font-size: 0.7rem; color: var(--iron); padding-top: 0.2em; }
.toc-list a:hover, .toc-list a.is-current { color: var(--ember); }
.byline { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--hair-dark-strong); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; }
.byline__mark { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); }
.byline__mark img { width: 30px; }
.byline p { margin: 0; font-size: 0.98rem; line-height: 1.62; }
.byline strong { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: var(--silver); }
.footer-lead { padding: clamp(3.5rem, 2.6rem + 4vw, 6rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); row-gap: 1.6rem; align-items: end; }
.footer-lead__brand { grid-column: 1 / span 5; }
.footer-lead__brand img { width: clamp(220px, 22vw, 290px); }
.footer-lead__brand p { margin-top: 1.4rem; max-width: 40ch; }
.footer-lead__contact { grid-column: 7 / -1; justify-self: stretch; display: grid; gap: 4px; text-align: right; }
.footer-lead__contact a { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 3.1rem); line-height: 1.08; color: var(--bone); text-decoration: none; letter-spacing: -0.015em; }
.footer-lead__contact a:hover { color: var(--amber); }
.footer-cols { padding: clamp(2.2rem, 1.8rem + 2vw, 3.2rem) 0; border-top: 1px solid var(--hair); }
.footer-col { grid-column: span 3; }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--steel); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; color: var(--silver); text-decoration: none; font-size: 0.97rem; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 20px 0 26px; border-top: 1px solid var(--hair); font-size: 0.84rem; color: var(--steel); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a { color: var(--steel); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* reveal */
.js .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .fade-up.is-in { opacity: 1; transform: none; }

/* Google Translate, styled to belong to the site */
#google_translate_element { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body { top: 0 !important; position: static !important; }
.skiptranslate iframe, iframe.goog-te-banner-frame, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .goog-te-spinner-pos { display: none !important; visibility: hidden !important; }
#goog-gt-tt, .goog-tooltip, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: transparent !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }
.translated-ltr .primary-nav__link { font-size: 0.72rem; letter-spacing: 0.1em; padding: 0 0.5rem; }
.translated-ltr .btn, .translated-ltr .label { letter-spacing: 0.08em; }
.translate-note { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 150; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; background: var(--ink-raised); border-top: 2px solid var(--amber); color: var(--silver); font-size: 0.9rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.translate-note button { min-height: 38px; padding: 0 14px; border: 0; background: var(--amber); color: var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .header-phone { display: none; }
  .primary-nav__link { padding: 0 0.56rem; letter-spacing: 0.14em; }
  .mega--services .mega__col { grid-column: span 4; }
  .mega--services .mega__feature { display: none; }
}

@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .primary-nav, .header-actions .btn, .header-actions .lang-toggle { display: none; }
  .menu-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--bone); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; }
  .menu-button i { display: grid; gap: 5px; width: 24px; justify-items: end; }
  .menu-button i span { display: block; height: 1px; width: 100%; background: currentColor; }
  .menu-button i span:nth-child(2) { width: 88.6%; }
  .menu-button i span:nth-child(3) { width: 70.9%; }
  .appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--appbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(17, 17, 17, 0.97); border-top: 1px solid var(--hair); }
  @supports (backdrop-filter: blur(8px)) { .appbar { background: rgba(17, 17, 17, 0.88); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); } }
  .appbar a, .appbar button { display: grid; justify-items: center; align-content: center; gap: 5px; border: 0; background: none; color: var(--silver); text-decoration: none; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .appbar svg { width: 22px; height: 22px; }
  .appbar .is-primary { color: var(--ink); background: var(--amber); }
  body { padding-bottom: calc(var(--appbar-h) + env(safe-area-inset-bottom)); }
  .translate-note { bottom: calc(var(--appbar-h) + 14px + env(safe-area-inset-bottom)); }

  .hero__copy { grid-column: 1 / -1; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 20%), linear-gradient(0deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.78) 38%, rgba(10, 10, 10, 0.2) 72%, rgba(10, 10, 10, 0) 85%); }
  .hero__lede, .hero__kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
  .hero__meta { left: var(--gutter); right: var(--gutter); grid-template-columns: 1fr auto; align-items: end; justify-items: start; text-align: left; }
  .hero__dots { justify-self: end; }
  .hero { height: calc(100svh - var(--appbar-h) - env(safe-area-inset-bottom)); }
  .head h2, .head--wide h2 { grid-column: 1 / -1; }
  .head p, .head--wide p { grid-column: 1 / span 9; }
  .layers__figure { grid-column: 1 / -1; max-width: 620px; margin: 0 auto 2rem; }
  .layers__panel { grid-column: 1 / -1; }
  .bleed__copy h2 { grid-column: 1 / -1; }
  .bleed__copy p { grid-column: 1 / span 9; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; border-top: 0; }
  .process li { border-top: 1px solid var(--hair-dark-strong); }
  .area__copy, .area__map { grid-column: 1 / -1; }
  .area__map { margin-top: 2.5rem; }
  .pulls { grid-template-columns: minmax(0, 1fr); row-gap: 1.6rem; }
  .rail__head, .rail__body { grid-column: 1 / -1; }
  .rail--sticky .rail__head { position: static; }
  .consult__intro, .consult__form { grid-column: 1 / -1; }
  .consult-band__shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 45%, rgba(10, 10, 10, 0.55) 100%); }
  .phead h1 { grid-column: 1 / -1; }
  .phead__aside { grid-column: 1 / span 9; }
  .part__head, .part__body, .part--wide .part__head { grid-column: 1 / -1; }
  .feature__main, .feature--solo .feature__main { grid-column: 1 / -1; }
  .feature__list, .feature--solo .feature__aside { grid-column: 1 / -1; }
  .feature--stack { grid-template-rows: none; row-gap: var(--gap); }
  .feature--stack .feature__main { grid-column: 1 / -1; grid-row: auto; display: block; }
  .feature__stack, .feature--n1 .feature__stack { grid-column: 1 / -1; grid-row: auto; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .feature__stack li, .feature__stack a { display: block; grid-row: auto; }
  .feature__stack .img { aspect-ratio: 4 / 3; }
  .feature__stack li:not(:last-child) .feature__cap { padding-bottom: 0; }
  .feature--n1 .feature__stack { grid-template-columns: minmax(0, 1fr); }
  .closing h2, .closing__aside { grid-column: 1 / -1; }
  .lead-post .img, .lead-post .txt { grid-column: 1 / -1; }
  .article__aside { display: none; }
  .article__body { grid-column: 1 / -1; max-width: 720px; }
  .footer-lead__brand, .footer-lead__contact { grid-column: 1 / -1; text-align: left; }
  .footer-col { grid-column: span 6; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .brand img { width: 148px; }
  .hero { min-height: 480px; }
  .hero__slide img { object-position: center 60%; }
  .hero h1 { font-size: clamp(1rem, min(8.2vw, 7.4vh), 3.6rem); }
  .hero__lede { font-size: 1.02rem; }
  .hero__caption { font-size: 1.05rem; }
  .hero__dot { width: 26px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .actions .btn { min-height: 50px; padding-inline: 0.6rem; font-size: 0.7rem; letter-spacing: 0.1em; }
  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item, .strip__item:first-child { padding: 20px 0 20px 16px; border-left: 1px solid var(--hair); }
  .strip__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .head p, .head--wide p, .bleed__copy p, .phead__aside { grid-column: 1 / -1; }
  .bleed { min-height: 560px; }
  .bleed__caption { flex-direction: column; gap: 6px; }
  .pindex a { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .pindex .n, .pindex .a { display: none; }
  .pindex__thumb { display: block; grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
  .pindex__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .pindex .t { grid-column: 2; font-size: 1.5rem; }
  .pindex .p { grid-column: 2; margin-top: 4px; }
  .pindex a:hover .t { transform: none; }
  .cursor-preview { display: none; }
  .index-foot, .cmp-foot, .process-foot { flex-direction: column; align-items: stretch; }
  .index-foot .btn, .process-foot .btn { width: 100%; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .light .cmp tr, .mist .cmp tr { border-bottom-color: var(--hair-dark); }
  .cmp tbody th { border: 0; padding: 0 0 6px; }
  .cmp td { border: 0; padding: 6px 0; display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 14px; }
  .cmp td::before { content: attr(data-label); font-family: var(--font-display); color: var(--bone); font-size: 1.04rem; line-height: 1.35; }
  .light .cmp td::before, .mist .cmp td::before { color: var(--ink); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .places { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form-panel { max-width: none; margin-inline: calc(-1 * var(--gutter) + 8px); padding: 24px 18px; }
  .opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .opt { font-size: 0.86rem; padding: 8px 10px; }
  .pmedia__main, .pmedia__side { grid-column: 1 / -1; }
  .pmedia__side { aspect-ratio: 4 / 3; }
  .pmedia__solo { aspect-ratio: 4 / 3; }
  .glance, .facts { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance li, .glance li + li, .facts li, .facts li + li { padding: 16px 12px 16px 0; border-left: 0; border-top: 1px solid var(--hair); }
  .glance li:nth-child(-n + 2), .facts li:nth-child(-n + 2) { border-top: 0; }
  .glance li:nth-child(even), .facts li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hair); }
  .subs__item, .decide li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .photoset--2, .photoset--3 { grid-template-rows: none; }
  .photoset a, .photoset--2 a:nth-of-type(n), .photoset--3 a:nth-of-type(n) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .feature__list a { grid-template-columns: 84px minmax(0, 1fr); }
  .feature__stack .feature__cap strong { font-size: 1.08rem; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figures > div, .figures > div:first-child { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-left: 0; }
  .figures > div + div { border-top: 1px solid var(--hair-dark); }
  .figures dt { text-align: right; max-width: 62%; letter-spacing: 0.14em; }
  .figures dd { font-size: 1.75rem; }
  .feature__stack .feature__cap span { letter-spacing: 0.14em; }
  .postlist a { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .footer-col { grid-column: 1 / -1; }
  .footer-cols { row-gap: 1.6rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 0; transform: none; }
}

@media (max-width: 400px) {
  .drawer__sub { grid-template-columns: minmax(0, 1fr); }
  .strip__value { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .fade-up { opacity: 1; transform: none; }
  .hero__slide.is-active img { animation: none; }
  .js .reveal .rules span { transform: none; }
  .cursor-preview { display: none; }
}

@media print {
  .site-header, .appbar, .drawer, .lightbox, .cursor-preview { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Photo spread (home) - editorial, grid-aligned
   ========================================================================== */
.spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(92px, 8.6vw, 128px); gap: var(--gap); grid-auto-flow: row dense; }
.spread__tile { position: relative; display: block; overflow: hidden; background: var(--mist); }
.spread__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.spread__tile:hover img { transform: scale(1.035); }
.spread__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 11px; background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.72)); color: var(--bone); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.spread__tile:hover .spread__cap, .spread__tile:focus-visible .spread__cap { opacity: 1; transform: none; }
.light .index-foot .label { color: var(--iron); }
@media (max-width: 1060px) {
  .spread { grid-auto-rows: clamp(80px, 11vw, 120px); }
}
@media (max-width: 760px) {
  .spread { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .spread__tile { grid-column: auto !important; grid-row: span 1 !important; }
  .spread__tile:nth-child(3n + 1) { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .spread__cap { opacity: 1; transform: none; font-size: 0.6rem; }
}
.cursor-preview img { transition: opacity 0.35s var(--ease); }

/* ==========================================================================
   Photo page headers (inner pages open on photography)
   ========================================================================== */
.phero { position: relative; height: 88vh; height: 88svh; min-height: 520px; max-height: 1000px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--ink-deep); color: #fff; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroDrift 12s ease-out both; }
.phero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0) 26%),
  linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.55) 34%, rgba(10, 10, 10, 0) 66%),
  linear-gradient(90deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 60%); }
.phero .crumbs { padding-top: calc(var(--header-h) + 20px); }
.phero .crumbs ol, .phero .crumbs a { color: rgba(255, 255, 255, 0.78); }
.phero .crumbs li + li::before { color: rgba(255, 255, 255, 0.45); }
.phero__content { align-self: center; padding-block: clamp(1.5rem, 4vh, 3rem) calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem)); row-gap: 1.8rem; align-items: end; }
.phero__copy { grid-column: 1 / span 8; }
.phero__copy .label { color: rgba(255, 255, 255, 0.82); }
.phero h1 { margin-top: 1rem; font-size: var(--step-5); line-height: 1; letter-spacing: -0.026em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.phero__h1-sub { display: block; font-size: 0.5em; line-height: 1.2; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.86); margin-top: 0.3em; }
.phero__lede { margin: 1.4rem 0 0; max-width: 56ch; font-size: var(--step-1); line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.phero__aside { grid-column: 9 / -1; justify-self: stretch; }
.phero__aside .actions { justify-content: flex-end; }
.phero__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin-bottom: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.phero__facts li { padding-top: 12px; }
.phero__facts span { display: block; font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.phero__facts b { font-family: var(--font-display); font-weight: 500; font-size: 1.24rem; }

/* featured projects hub: rows on thirds */
.pgrid { display: grid; row-gap: var(--gap); }
.pgrid__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.ptile { display: block; text-decoration: none; color: var(--ink); }
.ptile.t-12 { grid-column: 1 / -1; }
.ptile.t-8 { grid-column: span 8; }
.ptile.t-4 { grid-column: span 4; }
.ptile__img { display: block; overflow: hidden; background: var(--mist); }
.row-full .ptile__img { aspect-ratio: 21 / 8.5; }
.row-8-4 .ptile__img, .row-4-8 .ptile__img { height: clamp(300px, 34vw, 520px); }
.row-4-4-4 .ptile__img { aspect-ratio: 4 / 3.3; }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ptile:hover .ptile__img img { transform: scale(1.03); }
.ptile__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 14px 0 6px; border-bottom: 1px solid var(--hair-dark); }
.ptile__cap strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem); line-height: 1.15; }
.ptile__cap > span { align-self: center; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--iron); }
.ptile__cap em { grid-column: 1 / -1; font-style: normal; font-size: 0.92rem; color: var(--text-dark); }
.ptile:hover strong { color: var(--ember); }

/* project page */
.intro-row { row-gap: 2rem; margin-bottom: clamp(3rem, 2.4rem + 3vw, 5.5rem); align-items: start; }
.intro-row__lead { grid-column: 1 / span 7; margin: 0; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.22; letter-spacing: -0.012em; color: var(--ink); }
.intro-row__meta { grid-column: 9 / -1; }
.ticks { list-style: none; margin: 10px 0 0; border-top: 1px solid var(--hair-dark); }
.ticks li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--hair-dark); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 12px; height: 1px; background: var(--ember); }
.service-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 1.4rem; }
.service-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 0.22em; }
.service-links a:hover { color: var(--ember); }
.essay { display: grid; row-gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
.essay__item { align-items: start; }
.essay__text { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.essay__text .n { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--ember); margin-bottom: 1rem; }
.essay__text h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 0.8rem; }
.essay__text p { font-size: 1.04rem; line-height: 1.7; }
.essay__img { grid-column: 5 / -1; display: block; overflow: hidden; background: var(--mist); max-height: 86vh; }
.essay__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.essay__img:hover img { transform: scale(1.02); }

/* gallery page */
.gallery-top { padding-top: calc(var(--header-h) * 0); }
.gallery-head { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 0; }
.gallery-head h1 { grid-column: 1 / span 7; font-size: var(--step-5); line-height: 1; letter-spacing: -0.026em; }
.gallery-head p { grid-column: 9 / -1; align-self: end; margin: 0; }

@media (max-width: 1060px) {
  .phero__copy, .phero__aside { grid-column: 1 / -1; }
  .phero__aside .actions { justify-content: flex-start; }
  .phero__shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0) 24%), linear-gradient(0deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 42%, rgba(10, 10, 10, 0.1) 78%); }
  .ptile.t-8, .ptile.t-4 { grid-column: span 6; }
  .row-4-4-4 .ptile:last-child { grid-column: 1 / -1; }
  .row-4-4-4 .ptile:last-child .ptile__img { aspect-ratio: 21 / 9; }
  .intro-row__lead, .intro-row__meta { grid-column: 1 / -1; }
  .essay__text, .essay__img { grid-column: 1 / -1; position: static; }
  .essay__text { margin-bottom: 1.2rem; }
  .gallery-head h1, .gallery-head p { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .phero { height: calc(88svh - var(--appbar-h)); min-height: 460px; }
  .phero h1 { font-size: clamp(2.3rem, 9.5vw, 3.2rem); }
  .ptile.t-8, .ptile.t-4, .ptile.t-12 { grid-column: 1 / -1; }
  .pgrid__row { row-gap: var(--gap); }
  .row-full .ptile__img, .row-8-4 .ptile__img, .row-4-8 .ptile__img, .row-4-4-4 .ptile__img { height: auto; aspect-ratio: 4 / 3; }
  .intro-row__lead { font-size: 1.55rem; }
}

/* services / locations index groups */
.svc-group + .svc-group { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.head--compact { margin-bottom: 1rem; }
.pindex .svc-desc { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--text-dark); }
.dark .pindex, .dark .pindex li { border-color: var(--hair); }
.dark .pindex a { color: var(--bone); }
.dark .pindex a:hover .t { color: var(--amber); }

@media (max-height: 720px) and (max-width: 760px), (max-height: 620px) {
  .hide-short { display: none; }
}
@media (max-height: 560px) {
  .hero__kicker { display: none; }
}

/* ==========================================================================
   Blog index / article extras, legal pages, sitemap, contact hero
   ========================================================================== */
.blog-top .crumbs, .gallery-top .crumbs { padding-top: 26px; }
.label-link { color: inherit; text-decoration: none; }
.label-link:hover { color: var(--amber); }
.lead-post .txt .more { margin-top: 0.4rem; }
.topics { display: grid; gap: 0; border-top: 1px solid var(--hair-dark); }
.topics button { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--hair-dark); background: none; color: var(--text-dark); font-size: 1rem; text-align: left; cursor: pointer; transition: color 0.2s, padding 0.3s var(--ease); }
.topics button span { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--iron); }
.topics button:hover { color: var(--ember); padding-left: 6px; }
.topics button[aria-pressed="true"] { color: var(--ink); font-weight: 600; padding-left: 12px; box-shadow: inset 2px 0 0 var(--ember); }
.light .postlist, .light .postlist li { border-color: var(--hair-dark); }
.light .postlist a { color: var(--ink); }
.light .postlist a:hover strong { color: var(--ember); }
.light .postlist a > span:last-child > span { color: var(--iron); }
.post-count { margin: 0 0 1rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--iron); }
.postlist .img { display: block; }
.postlist a > span:last-child { display: block; }
.aside-cta { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--hair-dark-strong); }
.aside-cta__link { display: block; margin: 6px 0 1rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); text-decoration: none; }
.aside-cta__link:hover { color: var(--ember); }
.article__aside .toc-list { margin-top: 10px; }
.article .article__aside { grid-column: 1 / span 4; }
.article .article__body { grid-column: 5 / -1; max-width: 780px; }
.article__body .note { margin: 2.6rem 0; }
.ahead { padding-top: calc(var(--header-h) * 0 + clamp(2.2rem, 1.5rem + 3vw, 4rem)); }

.legal h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); color: var(--ink); margin: 0 0 0.8rem; }
.legal__part + .legal__part { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--hair-dark); }
.legal p, .legal li { font-size: 1.04rem; line-height: 1.75; color: var(--text-dark); max-width: 70ch; }
.legal ul { padding-left: 1.2rem; }
.legal li::marker { color: var(--ember); }
.legal a { color: var(--ink); text-decoration-color: var(--ember); text-underline-offset: 0.2em; }
.legal strong { color: var(--ink); }

.sitemap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--gap); align-items: start; }
.sitemap-group h2 { font-size: var(--step-2); color: var(--ink); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--hair-dark-strong); }
.sitemap-group ul { list-style: none; }
.sitemap-group a { display: block; padding: 7px 0; color: var(--text-dark); text-decoration: none; font-size: 0.98rem; line-height: 1.35; border-bottom: 1px solid var(--hair-dark); }
.sitemap-group a:hover { color: var(--ember); }

.pulls--dark li { border-top-color: var(--hair-strong); }
.pulls--dark p { color: var(--bone); }
.pulls--dark cite { color: var(--steel); }
.pulls--dark cite b { color: var(--bone); }

.consult-band--hero { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--header-h) + 12px) 40px; }
.consult-band--hero .crumbs { position: static; padding: 0 0 clamp(1rem, 3vh, 2rem); }
.consult-band--hero .crumbs ol, .consult-band--hero .crumbs a { color: rgba(255, 255, 255, 0.78); }
.consult-band--hero h1 { font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.026em; margin: 1rem 0 1.2rem; color: #fff; max-width: 14ch; }

@media (max-width: 1060px) {
  .article .article__aside { display: none; }
  .article .article__body { grid-column: 1 / -1; }
  .sitemap-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-band--hero { min-height: 0; padding-top: calc(var(--header-h) + 64px); }
}
@media (max-width: 760px) {
  .sitemap-cols { grid-template-columns: minmax(0, 1fr); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .consult-band--hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
}
.ahero__cap { margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }

@media (max-width: 760px) {
  .cmp caption { display: block; text-align: left; padding: 12px 0 0; }
  .area__map { display: none; }
  .said p { font-size: 1.45rem; line-height: 1.32; }
  .quote-hero blockquote p { font-size: 1.9rem; }
}
