/* Orbit's Impreza Designs
   Palette taken from the studio front: slate hexagons, grey stone, a single brass tile. */
:root {
  --ink: #141819;
  --slate: #1d2224;
  --slate-2: #262d30;
  --stone: #5b6467;
  --stone-2: #8d9699;
  --mist: #c9cecd;
  --paper: #e6e9e7;
  --snow: #f2f3f1;
  --brass: #b8903e;
  --brass-soft: #d9b870;

  --display: "Big Shoulders Display", "Agency FB", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 68px;
  --section: clamp(64px, 9vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .94; letter-spacing: .005em; margin: 0; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass-soft); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 200; }
a.skip:focus { left: 8px; }
label.skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.tight { padding-top: 0; }
.dark { background: var(--slate); color: var(--snow); }
.paper { background: var(--paper); }

.eyebrow { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin: 0 0 18px; }
.dark .eyebrow { color: var(--brass-soft); }
.h-xl { font-size: clamp(48px, 8.5vw, 132px); }
.h-lg { font-size: clamp(40px, 6vw, 92px); }
.h-md { font-size: clamp(30px, 3.6vw, 52px); }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--stone); max-width: 60ch; }
.dark .lede { color: var(--mist); }
.muted { color: var(--stone); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row .lede { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-solid { background: var(--brass); color: var(--ink); }
.btn-solid:hover { background: var(--brass-soft); }
.btn-dark { background: var(--ink); color: var(--snow); }
.btn-dark:hover { background: var(--slate-2); }
.btn-line { border-color: currentColor; background: none; }
.btn-line:hover { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.dark .btn-line:hover, .hero .btn-line:hover { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 3px; white-space: nowrap; }
.link-arrow:hover { color: var(--brass); }
.dark .link-arrow:hover { color: var(--brass-soft); }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: var(--ink); background: rgba(242,243,241,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(20,24,25,.08); transition: background .3s, color .3s, box-shadow .3s; }
.nav-in { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
body.has-hero .nav:not(.is-solid) { background: transparent; color: var(--snow); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body:not(.has-hero) main { padding-top: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }
.brand span { font: 700 23px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.brand b { font-weight: 500; margin-left: .22em; color: var(--brass); }
body.has-hero .nav:not(.is-solid) .brand b { color: var(--brass-soft); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brass); }
body.has-hero .nav:not(.is-solid) .nav-links a[aria-current="page"] { color: var(--brass-soft); }
.nav-cta { border: 1px solid currentColor; padding: 9px 18px !important; border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--snow) !important; border-color: var(--ink); }
body.has-hero .nav:not(.is-solid) .nav-cta:hover { background: var(--snow); color: var(--ink) !important; border-color: var(--snow); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 500; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--snow); overflow: hidden; background: var(--slate); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides img.is-on { opacity: 1; animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: none; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,25,.6) 0%, rgba(20,24,25,.08) 28%, rgba(20,24,25,.28) 55%, rgba(20,24,25,.9) 100%); }
.hero-body { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(88px, 12vh, 132px); }
.hero .eyebrow { color: var(--mist); }
.hero h1 { font-size: clamp(52px, 10vw, 160px); max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--brass-soft); }
.hero-sub { max-width: 48ch; font-size: clamp(17px, 1.4vw, 20px); margin: 26px 0 32px; color: #e4e7e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-line { color: var(--snow); border-color: rgba(242,243,241,.6); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-foot-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero-caption { font: 400 12px var(--mono); letter-spacing: .08em; color: var(--mist); text-decoration: none; }
.hero-caption:hover { color: var(--brass-soft); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 20px; border: 0; background: none; padding: 0; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(242,243,241,.35); }
.hero-dots button[aria-current="true"]::before { background: var(--brass-soft); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(56px, 10vw, 150px); }
.page-head .lede { margin-top: 24px; }
.crumbs { font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs span[aria-hidden] { color: var(--mist); }

/* ---------- Intro / statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.statement p.big { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.35; font-weight: 400; letter-spacing: -.005em; }
.statement p + p { margin-top: 20px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--mist); margin-top: clamp(40px, 5vw, 72px); }
.facts-row div { padding: 22px 20px 0 0; }
.facts-row strong { display: block; font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); }
.facts-row span { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }

/* ---------- Sector tiles ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.sector { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--snow); text-decoration: none; background: var(--slate); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,25,0) 40%, rgba(20,24,25,.85)); }
.sector-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2vw, 28px); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sector h3 { font-size: clamp(30px, 3vw, 44px); }
.sector-n { font: 500 12px var(--mono); color: var(--brass-soft); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sector:hover img { transform: scale(1.05); }

/* ---------- Project grid ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.card { grid-column: span 4; min-width: 0; }
.card.is-wide { grid-column: span 8; }
.card.is-full { grid-column: 1 / -1; }
.card[hidden] { display: none; }
.card a { display: block; text-decoration: none; }
.card a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card.is-wide .card-img { aspect-ratio: 16 / 9.1; }
.card.is-full .card-img { aspect-ratio: 21 / 8; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card a:hover .card-img img { transform: scale(1.04); }
.card-count { position: absolute; right: 10px; bottom: 10px; font: 500 11px var(--mono); background: rgba(20,24,25,.72); color: var(--snow); padding: 4px 8px; border-radius: 3px; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.card h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; }
.card a:hover h3 { color: var(--brass); }
.card-place { font-size: 14px; color: var(--stone); margin-top: 4px; }
.card-tag { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.card-fact { font: 500 12px var(--mono); color: var(--brass); margin-top: 6px; }

/* ---------- Projects toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); margin-bottom: 20px; position: sticky; top: var(--nav-h); background: var(--snow); z-index: 20; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: none; border: 1px solid var(--mist); border-radius: 999px; padding: 10px 16px; font-size: 15px; font-weight: 500; line-height: 1; }
.filter span { font: 400 12px var(--mono); color: var(--stone); margin-left: 4px; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--snow); }
.filter[aria-pressed="true"] span { color: var(--brass-soft); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.field-inline { position: relative; }
.field-inline input, .field-inline select { height: 42px; border: 1px solid var(--mist); background: #fff; border-radius: 999px; padding: 0 16px; font-size: 15px; min-width: 0; }
.field-inline input { width: 230px; padding-left: 38px; }
.field-inline select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field-inline svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--stone); fill: none; stroke-width: 2; pointer-events: none; }
.field-inline input:focus, .field-inline select:focus { outline: none; border-color: var(--ink); }
.result-line { font: 400 13px var(--mono); color: var(--stone); margin-bottom: clamp(24px, 3vw, 40px); }
.empty { padding: 32px 0 48px; }
.empty p { color: var(--stone); margin: 10px 0 20px; }

/* ---------- Altitude (signature) ---------- */
.section-fig { margin: 0; }
.section-fig figcaption { font: 400 12px/1.5 var(--mono); color: var(--stone-2); margin-top: 14px; }
#ridge { width: 100%; height: auto; display: block; overflow: visible; }
#ridge .grid-line { stroke: rgba(201,206,205,.12); stroke-width: 1; }
#ridge .grid-label { fill: var(--stone-2); font: 400 11px var(--mono); }
#ridge .ground { fill: url(#ridgeFill); }
#ridge .ridge-line { fill: none; stroke: var(--mist); stroke-width: 1.5; stroke-linejoin: round; }
#ridge .station { cursor: pointer; outline: none; }
#ridge .station line { stroke: rgba(201,206,205,.35); stroke-dasharray: 2 4; }
#ridge .station circle { fill: var(--slate); stroke: var(--brass-soft); stroke-width: 2; transition: r .2s, fill .2s; }
#ridge .station .s-name { fill: var(--snow); font: 700 17px var(--display); text-transform: uppercase; letter-spacing: .04em; }
#ridge .station .s-alt { fill: var(--mist); font: 400 11px var(--mono); }
#ridge .station .s-n { fill: var(--brass-soft); font: 500 11px var(--mono); }
#ridge .station:hover circle, #ridge .station.is-on circle, #ridge .station:focus-visible circle { fill: var(--brass); r: 9; }
#ridge .station:focus-visible .s-name { fill: var(--brass-soft); }
.station-panel { margin-top: 40px; border-top: 1px solid rgba(201,206,205,.18); padding-top: 28px; min-height: 180px; }
.station-panel h3 { font-size: clamp(30px, 3.4vw, 48px); }
.sp-alt { font: 400 13px var(--mono); color: var(--brass-soft); margin: 8px 0 22px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.sp-list a { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.sp-list img { width: 88px; height: 66px; object-fit: cover; }
.sp-list strong { display: block; font: 700 20px/1 var(--display); text-transform: uppercase; }
.sp-list span { font-size: 13px; color: var(--mist); }
.sp-list a:hover strong { color: var(--brass-soft); }

/* ---------- Clients ---------- */
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.client-list li { font: 700 clamp(22px, 2.6vw, 38px)/1.3 var(--display); text-transform: uppercase; }
.client-list li:not(:last-child)::after { content: "/"; color: var(--brass); font-weight: 500; margin: 0 .45em; }
.client-list a { text-decoration: none; }
.client-list a:hover { color: var(--brass); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { font-size: clamp(44px, 7vw, 110px); max-width: 12ch; }
.cta-band p { color: var(--mist); max-width: 44ch; margin-top: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-line { color: var(--snow); }

/* ---------- Project detail ---------- */
.p-hero { position: relative; height: min(78vh, 820px); min-height: 360px; background: var(--slate); overflow: hidden; }
.p-hero img { width: 100%; height: 100%; object-fit: cover; }
.p-hero button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.p-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 100px); padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.p-intro h1 { font-size: clamp(52px, 8vw, 128px); }
.p-place { font-size: clamp(18px, 1.5vw, 22px); color: var(--stone); margin-top: 16px; }
.p-summary { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; margin-top: 28px; max-width: 40ch; }
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mist); }
.spec dt { font: 500 12px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.spec dd { margin: 0; }
.spec a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 4px; }
.spec a:hover { color: var(--brass); }
.p-gallery { columns: 3 280px; column-gap: clamp(10px, 1.4vw, 18px); }
.p-gallery button { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 clamp(10px, 1.4vw, 18px); background: var(--mist); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.p-gallery img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.p-gallery button:hover img { transform: scale(1.03); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--mist); }
.pager a { display: flex; align-items: center; gap: 18px; padding: 28px 0; text-decoration: none; min-width: 0; }
.pager a + a { justify-content: flex-end; text-align: right; border-left: 1px solid var(--mist); padding-left: 24px; }
.pager img { width: 96px; height: 72px; object-fit: cover; flex-shrink: 0; }
.pager small { display: block; font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.pager strong { display: block; font: 700 clamp(22px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; margin-top: 6px; }
.pager a:hover strong { color: var(--brass); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split-text p + p { margin-top: 18px; }
.split-text .h-md, .split-text .h-lg { margin-bottom: 26px; }
.frame { margin: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame figcaption { font: 400 12px var(--mono); color: var(--stone); margin-top: 10px; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(201,206,205,.2); }
.principles li { padding: 28px 28px 8px 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid rgba(201,206,205,.2); }
.principles h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.principles p { color: var(--mist); }
.services { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.services li { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--mist); padding: 9px 13px; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--mist); align-items: baseline; }
.timeline strong { font: 800 34px/1 var(--display); }
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; background: #fff; }
.person h2 { font-size: clamp(48px, 6vw, 92px); }
.person .role { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 14px 0 26px; display: block; }
.person p + p { margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-list { margin: 0; display: grid; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-top: 1px solid var(--mist); padding: 16px 0; }
.contact-list dt { font: 500 12px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.contact-list dd { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--brass); text-underline-offset: 4px; }
.contact-list a:hover { color: var(--brass); }
.form { background: #fff; padding: clamp(24px, 3.4vw, 48px); }
.form h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 10px; }
.form > p { color: var(--stone); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--stone-2); }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--mist); background: transparent; padding: 10px 0; font-size: 17px; border-radius: 0; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field .err { font-size: 13px; color: #a3371f; }
.field .err:empty { display: none; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #a3371f; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.form-actions p { font-size: 13px; color: var(--stone); flex-basis: 100%; }
.map { margin-top: clamp(40px, 5vw, 72px); border: 0; width: 100%; height: clamp(300px, 40vw, 460px); filter: grayscale(1) contrast(1.05); display: block; background: var(--paper); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--mist); padding: clamp(56px, 7vw, 96px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot .brand span { color: var(--snow); }
.foot-tag { margin-top: 18px; max-width: 34ch; color: var(--stone-2); font-size: 15px; }
.foot h2 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--brass-soft); }
.foot address { font-style: normal; font-size: 15px; line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid rgba(201,206,205,.14); font: 400 12px var(--mono); color: var(--stone-2); }

/* ---------- Lightbox ---------- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,24,25,.97); color: var(--snow); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgba(20,24,25,.9); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.lb-title { font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.lb-count { font: 400 12px var(--mono); color: var(--mist); margin-left: 12px; }
.lb-close { background: none; border: 1px solid rgba(242,243,241,.35); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.lb-close:hover { background: var(--snow); color: var(--ink); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(8px, 6vw, 88px); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(242,243,241,.35); background: rgba(20,24,25,.55); font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb-nav:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gutter) 16px; scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 72px; height: 54px; border: 0; padding: 0; background: none; opacity: .45; transition: opacity .2s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--brass); outline-offset: -2px; }
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.is-locked { overflow: hidden; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-content: center; }
.nf p { margin: 20px 0 32px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .card, .card.is-wide, .card.is-full { grid-column: span 6; }
  .card.is-wide .card-img, .card.is-full .card-img { aspect-ratio: 4 / 3; }
  .statement, .split, .person, .contact-grid, .p-intro { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row div { padding-bottom: 22px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 26px 0 22px; border-left: 0; border-bottom: 1px solid rgba(201,206,205,.2); }
  .person img { max-width: 520px; }
  .toolbar { position: static; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--snow); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(20,24,25,.14); display: none; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--mist); font-size: 18px; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--brass) !important; }
  .nav-cta { border: 0 !important; border-radius: 0; padding: 16px 0 !important; }
  .nav-cta:hover { background: none !important; color: var(--brass) !important; }
  body.has-hero .nav.menu-open, .nav.menu-open { background: var(--snow); color: var(--ink); box-shadow: 0 1px 0 rgba(20,24,25,.08); }
  .nav.menu-open .brand b { color: var(--brass) !important; }
  .sectors { grid-template-columns: 1fr; }
  .sector { aspect-ratio: 16 / 10; }
  .tools { width: 100%; }
  .field-inline { flex: 1 1 200px; }
  .field-inline input, .field-inline select { width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .card, .card.is-wide, .card.is-full { grid-column: 1 / -1; }
  .hero-caption { display: none; }
  .hero-foot-in { justify-content: flex-end; }
  .contact-list div, .spec div, .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--mist); padding-left: 0; }
  .pager img { width: 72px; height: 54px; }
  .lb-nav { width: 42px; height: 42px; font-size: 22px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .lb-stage { padding: 0 4px; }
  .btn { padding: 14px 20px; }
  .cta-actions, .hero-actions, .form-actions { width: 100%; }
  .cta-actions .btn, .hero-actions .btn, .form-actions .btn { flex: 1 1 auto; justify-content: center; }
  .brand span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
