/* ==========================================================================
   Ideal Horizons Inc. — visual system
   Type: Newsreader (editorial serif), Schibsted Grotesk (sans), IBM Plex Mono (index)
   Motif: the horizon line — a single hairline that organises each page.
   ========================================================================== */

:root {
  --ivory: #f2ede3;
  --paper: #e8e1d3;
  --bone: #ddd4c2;
  --ink: #1c1b19;
  --ink-2: #45423c;
  --ink-3: #6b675e;
  --olive: #59604a;
  --sage: #9aa186;
  --sage-pale: #c9cdb8;
  --terra: #b5532a;
  --terra-ink: #9c4420; /* text-safe terracotta */

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(16px, 4.2vw, 64px);
  --gap: clamp(12px, 1.6vw, 28px);
  --rule: 1px solid currentColor;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 72px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--ivory); }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: .6em 1em; text-decoration: none;
}
.skip:focus { top: 12px; }
.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;
}

/* ---------- Typographic primitives ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0;
}
/* Headlines stay upright and single-colour; emphasis is carried by weight and scale, not italics */
.display em, .serif em, h1 em, h2 em, h3 em, dt em, .footer-mark em { font-style: normal; font-weight: inherit; color: inherit; }
.accent { color: inherit; }
.kicker, .meta, .mono {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.lede {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-2);
}
.small { font-size: .9rem; color: var(--ink-2); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--pad); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.rule--soft { border-top-color: rgba(28, 27, 25, .18); }

/* The horizon: a hairline that draws itself in */
.horizon {
  position: relative;
  height: 1px;
  background: transparent;
}
.horizon::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  transform-origin: left center;
}
.js .horizon[data-draw]::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .horizon[data-draw].is-in::before { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-inline: var(--pad);
  transition: transform .5s var(--ease);
  view-transition-name: site-header;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}
.menu-open .site-header { transform: none; }
.site-header::after {
  content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0;
  height: 1px; background: var(--ink); opacity: 0; transition: opacity .4s;
}
.is-scrolled .site-header::after { opacity: .16; }
.header-hidden .site-header { transform: translateY(-100%); }

.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.wordmark .wm-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.wordmark .wm-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.wordmark .wm-inc { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); transform: translateY(.1em); }

.nav ul { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; text-decoration: none;
  font-size: .92rem; font-weight: 500;
  display: inline-flex; align-items: center;
  padding-block: .4rem; color: var(--ink-2); transition: color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 2px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta a { border: 1px solid var(--ink); padding: .6rem 1.1rem; color: var(--ink); transition: background .25s, color .25s; }
.nav .nav-cta a::after { display: none; }
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current="page"] { background: var(--ink); color: var(--ivory); }

.menu-toggle {
  display: none; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  align-items: center; gap: .6rem;
}
.menu-toggle .bars { width: 22px; height: 8px; position: relative; display: inline-block; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 7px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg) scaleX(.8); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg) scaleX(.8); }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--ivory);
    padding: 5vh var(--pad) var(--pad);
    display: flex; flex-direction: column; justify-content: space-between;
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .menu-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(28,27,25,.15); }
  .nav a { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; padding: 1rem 0; width: 100%; color: var(--ink); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--terra-ink); }
  .nav .nav-cta { border: 0; margin-top: 1.6rem; }
  .nav .nav-cta a { font-family: var(--sans); font-size: 1rem; justify-content: center; padding: 1rem; background: var(--ink); color: var(--ivory); }
  .nav-foot { display: block !important; font-size: .85rem; color: var(--ink-3); }
}
.nav-foot { display: none; }

/* ---------- Plates (photography) ---------- */
.plate {
  position: relative; overflow: hidden; margin: 0;
  background: var(--bone);
}
.plate img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.62) sepia(.14) contrast(1.03) brightness(.98);
  transform: scale(var(--s, 1)) translate3d(0, var(--py, 0), 0);
  will-change: transform;
  transition: filter .8s var(--ease);
}
.plate::after { /* grain: unifies the photography */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .09  0 0 0 0 .08  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.plate--tone::before { /* olive wash for quieter plates */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--olive); mix-blend-mode: soft-light; opacity: .5;
}
.caption {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  padding-top: .6rem;
}

/* ---------- Reveal motion (only with JS + motion allowed) ---------- */
.js [data-reveal="lines"] .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-reveal="lines"] .ln > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-reveal="lines"].is-in .ln > span { transform: none; }
.js [data-reveal="rise"] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="rise"].is-in { opacity: 1; transform: none; }
.js [data-reveal="curtain"] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-reveal="curtain"].is-in { clip-path: inset(0 0 0 0); }

/* ---------- Buttons / links ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .8em;
  text-decoration: none; font-size: .92rem; letter-spacing: .01em;
  padding-bottom: .3em; border-bottom: 1px solid currentColor;
  transition: gap .45s var(--ease), color .3s;
}
.link-arrow .arr { display: inline-block; transition: transform .45s var(--ease); }
.link-arrow:hover { gap: 1.3em; color: var(--terra-ink); }
.link-arrow:hover .arr { transform: translateX(2px); }

.btn {
  --h: 3.4rem;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem;
  height: var(--h); padding: 0 1.4rem;
  background: var(--ink); color: var(--ivory); border: 0; cursor: pointer;
  font-size: .92rem; letter-spacing: .01em; text-decoration: none;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--terra);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ==========================================================================
   HOME
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--olive); margin: 0 0 1.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--terra); }

/* Hero */
.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: clamp(2rem, 5vh, 4rem) var(--pad) 0;
  align-items: center;
}
.hero__text { grid-column: 1 / 7; padding-right: clamp(0rem, 2vw, 2rem); }
.hero__title { font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 400; }
.hero__lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 44ch; margin: 1.8rem 0 2.4rem; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__media { grid-column: 8 / 13; margin: 0; }
.hero__media .plate { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 16rem); width: 100%; }
.hero__facts {
  grid-column: 1 / -1; margin: clamp(2rem, 5vh, 3rem) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  border-top: 1px solid var(--ink); padding: 1.6rem 0 0;
}
.hero__facts dt { font-weight: 600; font-size: .98rem; margin-bottom: .4rem; }
.hero__facts dd { margin: 0; font-size: .9rem; color: var(--ink-2); max-width: 30ch; }
@media (max-width: 860px) {
  .hero__text, .hero__media { grid-column: 1 / -1; }
  .hero__media { margin-top: 2.6rem; }
  .hero__media .plate { aspect-ratio: 4 / 3; max-height: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
}

/* Firm introduction */
.intro { padding: clamp(5rem, 13vh, 9rem) var(--pad); }
.intro .kicker { grid-column: 1 / 3; padding-top: .6em; color: var(--olive); }
.intro__text {
  grid-column: 3 / 10;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.22; letter-spacing: -.012em; margin: 0;
}
.intro__aside { grid-column: 10 / 13; padding-top: .6em; color: var(--ink-2); font-size: .95rem; }
.intro__aside p { max-width: 34ch; }
@media (max-width: 860px) {
  .intro .kicker { grid-column: 1 / -1; margin-bottom: 1.2rem; }
  .intro__text { grid-column: 1 / -1; }
  .intro__aside { grid-column: 1 / -1; margin-top: 2rem; }
}

/* Capabilities */
.capabilities { background: var(--ink); color: var(--ivory); padding: clamp(5rem, 12vh, 8rem) var(--pad); }
.capabilities__head { align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.capabilities__head h2 { grid-column: 1 / 8; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.capabilities__head p { grid-column: 9 / 13; color: rgba(242,237,227,.72); margin: 0; max-width: 38ch; }
.cap-list { grid-column: 1 / 9; list-style: none; margin: 0; padding: 0; }
.cap-list li { border-top: 1px solid rgba(242,237,227,.2); }
.cap-list li:last-child { border-bottom: 1px solid rgba(242,237,227,.2); }
.cap-list a {
  display: grid; grid-template-columns: 3.4rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.3rem 0; text-decoration: none; transition: color .3s, padding .4s var(--ease);
}
.cap-list .n { font-size: .8rem; font-weight: 600; color: #d9774c; }
.cap-list .t { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -.01em; line-height: 1.1; }
.cap-list .d { font-size: .9rem; color: rgba(242,237,227,.62); text-align: right; }
.cap-list a:hover { padding-left: .6rem; }
.cap-list a:hover .t { color: #e8a07f; }
.cap-plate { grid-column: 10 / 13; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; margin: 0; }
.cap-plate .plate { aspect-ratio: 3 / 4; }
.cap-foot { margin-top: 2.6rem; }
@media (max-width: 860px) {
  .capabilities__head h2, .capabilities__head p { grid-column: 1 / -1; }
  .capabilities__head p { margin-top: 1.2rem; }
  .cap-list { grid-column: 1 / -1; }
  .cap-list a { grid-template-columns: 2.4rem 1fr; }
  .cap-list .d { grid-column: 2; text-align: left; }
  .cap-plate { display: none; }
}

/* Industries grid */
.sectors { padding: clamp(5rem, 13vh, 9rem) var(--pad); }
.sectors__head { margin-bottom: clamp(2.2rem, 5vh, 3.4rem); align-items: end; }
.sectors__head .kicker { grid-column: 1 / -1; color: var(--olive); margin-bottom: 1rem; }
.sectors__head h2 { grid-column: 1 / 8; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.1; }
.sectors__all { grid-column: 10 / 13; justify-self: end; }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vh, 3rem) var(--gap); }
.sector-grid a { display: block; text-decoration: none; }
.sector-grid .plate { aspect-ratio: 3 / 2; }
.sector-grid .plate img { transition: transform 1s var(--ease); }
.sector-grid a:hover .plate img { transform: scale(1.04); }
.sector-grid h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin: 1rem 0 .3rem; display: flex; justify-content: space-between; align-items: baseline; transition: color .3s; }
.sector-grid h3::after { content: "→"; font-family: var(--sans); font-size: 1rem; transition: transform .4s var(--ease); }
.sector-grid a:hover h3 { color: var(--terra-ink); }
.sector-grid a:hover h3::after { transform: translateX(4px); }
.sector-grid p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .sectors__head h2, .sectors__all { grid-column: 1 / -1; justify-self: start; }
  .sectors__all { margin-top: 1.2rem; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }

/* Statement band */
.band { position: relative; height: clamp(380px, 70vh, 720px); color: var(--ivory); overflow: hidden; }
.band .plate { position: absolute; inset: 0; }
.band .plate img { filter: saturate(.55) sepia(.12) brightness(.82); }
.band__text {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(2rem, 7vh, 4.5rem); z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.band__text blockquote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.band__note { max-width: 34ch; margin: 0; font-size: .95rem; opacity: .9; }

/* Perspectives preview */
.preview { padding: clamp(5rem, 12vh, 8rem) var(--pad); }
.preview__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-bottom: 2.2rem; flex-wrap: wrap; }
.preview__head .kicker { color: var(--olive); margin-bottom: 1rem; }
.preview__head h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.preview__grid { align-items: start; }
.story { text-decoration: none; display: block; }
.story .plate img { transition: transform 1.2s var(--ease); }
.story:hover .plate img { transform: scale(1.04); }
.story h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; margin: .7rem 0 .6rem; transition: color .3s; }
.story:hover h3 { color: var(--terra-ink); }
.story .meta { color: var(--ink-3); display: flex; gap: 1.2em; margin-top: 1rem; }
.story p { color: var(--ink-2); font-size: .95rem; }
.preview__lead { grid-column: 1 / 7; }
.preview__lead .plate { aspect-ratio: 3 / 2; }
.preview__lead h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
.preview__side { grid-column: 8 / 13; display: grid; gap: 2rem; }
.preview__side .story { display: grid; grid-template-columns: 38% 1fr; gap: 1.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(28,27,25,.15); }
.preview__side .story:last-child { border-bottom: 0; }
.preview__side .story .meta { margin-top: 0; }
.preview__side .plate { aspect-ratio: 1 / 1; }
.preview__side h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); }
@media (max-width: 860px) {
  .preview__lead, .preview__side { grid-column: 1 / -1; }
  .preview__side { margin-top: 3rem; }
}

/* Closing CTA — shared across pages */
.closing { background: var(--olive); color: var(--ivory); padding: clamp(4.5rem, 11vh, 7rem) var(--pad); }
.closing .grid { align-items: end; }
.closing h2 { grid-column: 1 / 8; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; }
.closing__body { grid-column: 9 / 13; }
.closing__body p { color: rgba(242,237,227,.85); max-width: 38ch; margin-bottom: 1.8rem; }
.closing .btn { background: var(--ivory); color: var(--ink); }
.closing .btn:hover { color: var(--ivory); }
@media (max-width: 860px) { .closing h2, .closing__body { grid-column: 1 / -1; } .closing__body { margin-top: 2rem; } }

/* ==========================================================================
   PAGE HEADERS (inner pages) — each page varies the composition
   ========================================================================== */
.page-head { padding: clamp(3rem, 10vh, 7rem) var(--pad) clamp(3rem, 8vh, 5rem); }
.page-head .kicker { color: var(--ink-3); }
.page-head__title { font-size: clamp(3rem, 9vw, 10rem); }

/* ---------- ABOUT ---------- */
.about-head { padding-bottom: 0; }
.about-head .kicker { grid-column: 1 / 4; }
.about-head h1 { grid-column: 1 / -1; margin-top: 2rem; font-size: clamp(2.4rem, 4.8vw, 5rem); }
.about-head h1 .inline-plate { display: inline-block; width: 1.9em; height: .74em; vertical-align: baseline; overflow: hidden; margin-right: .1em; }
.about-head h1 .inline-plate img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) sepia(.12); }

.philosophy { padding: clamp(5rem, 14vh, 10rem) var(--pad); align-items: start; }
.philosophy__label { grid-column: 1 / 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.philosophy__label .kicker { color: var(--ink-3); display: block; margin-bottom: 1rem; }
.philosophy__label .plate { aspect-ratio: 3 / 4; width: 78%; margin-top: 2rem; }
.philosophy__body { grid-column: 5 / 12; }
.philosophy__body .lede { margin-bottom: 2.4rem; }
.philosophy__body .cols { columns: 2; column-gap: var(--gap); color: var(--ink-2); }
.philosophy__body .cols p { break-inside: avoid; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-weight: 400; font-size: 4.6em; line-height: .8;
  padding: .06em .08em 0 0; color: var(--terra-ink);
}
@media (max-width: 860px) {
  .philosophy__label { grid-column: 1 / -1; position: static; margin-bottom: 2.5rem; }
  .philosophy__label .plate { width: 60%; }
  .philosophy__body { grid-column: 1 / -1; }
  .philosophy__body .cols { columns: 1; }
}

.approach { background: var(--paper); padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.approach__head { margin-bottom: clamp(3rem, 9vh, 6rem); }
.approach__head h2 { grid-column: 1 / 8; font-size: clamp(2rem, 3.6vw, 3.6rem); }
.approach__head p { grid-column: 9 / 13; align-self: end; color: var(--ink-2); margin: 0; }
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-top: 2.6rem; list-style: none; margin: 0; padding-left: 0; }
.steps-wrap > .horizon { position: absolute; top: 0; left: 0; right: 0; color: var(--ink); }
.steps li { position: relative; padding-right: 1rem; --off: 0rem; margin-top: var(--off); }
.steps li::before { content: ""; position: absolute; z-index: 1; top: calc(-2.6rem - 4px - var(--off)); left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.steps li::after { content: ""; position: absolute; top: calc(-2.6rem - var(--off)); left: 4px; width: 1px; height: calc(2.6rem + var(--off) - .8rem); background: rgba(28,27,25,.25); }
.steps li:last-child::before { background: var(--terra); border-color: var(--terra); }
.steps .n { font-family: var(--mono); font-size: .68rem; color: var(--ink-3); letter-spacing: .08em; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.6rem); letter-spacing: -.02em; margin: .6rem 0 1rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }
.steps li:nth-child(2) { --off: 3rem; }
.steps li:nth-child(3) { --off: 6rem; }
.steps li:nth-child(4) { --off: 9rem; }
@media (max-width: 860px) {
  .approach__head h2, .approach__head p { grid-column: 1 / -1; }
  .approach__head p { margin-top: 1.2rem; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 1.6rem; gap: 2.4rem; }
  .steps-wrap > .horizon { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .js .steps-wrap > .horizon[data-draw]::before { transform: scaleY(0); transform-origin: top; }
  .js .steps-wrap > .horizon[data-draw].is-in::before { transform: scaleY(1); }
  .steps li:nth-child(n) { --off: 0rem; }
  .steps li::before { top: .2rem; left: calc(-1.6rem); }
  .steps li::after { display: none; }
}

.values { padding: clamp(5rem, 14vh, 10rem) var(--pad); }
.values__head { margin-bottom: 3rem; }
.values__head .kicker { grid-column: 1 / 4; color: var(--ink-3); }
.values__head h2 { grid-column: 4 / 12; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.values dl { margin: 0; }
.value { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--ink); padding: 1.6rem 0 2.2rem; align-items: baseline; }
.value:last-child { border-bottom: 1px solid var(--ink); }
.value dt { grid-column: 1 / 7; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -.02em; transition: transform .6s var(--ease), color .3s; }
.value dd { grid-column: 8 / 12; margin: 0; color: var(--ink-2); }
.value:hover dt { transform: translateX(.3em); color: var(--terra-ink); }
@media (max-width: 860px) {
  .values__head .kicker, .values__head h2 { grid-column: 1 / -1; }
  .values__head h2 { margin-top: 1rem; }
  .value dt, .value dd { grid-column: 1 / -1; }
  .value dd { margin-top: 1rem; }
}

.pull { position: relative; padding: 0 var(--pad); }
.pull .plate { height: clamp(380px, 86vh, 900px); margin-inline: calc(var(--pad) * -1); }
.pull figcaption.quote {
  position: absolute; left: calc(var(--pad) * 2); top: clamp(2rem, 9vh, 6rem); width: min(520px, 70%); z-index: 2;
  background: var(--ivory); padding: clamp(1.4rem, 3vw, 2.6rem);
}
.pull .quote p { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.3vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; margin-bottom: 1.2rem; }
.pull .quote .meta { color: var(--ink-3); }
.pull .caption { padding-inline: 0; }

/* ---------- SERVICES ---------- */
.services-head { padding-bottom: clamp(3rem, 8vh, 6rem); }
.services-head h1 { grid-column: 1 / 8; font-size: clamp(2.4rem, 4.8vw, 5rem); }
.services-head .side { grid-column: 9 / 13; grid-row: 2; align-self: end; margin: 0; color: var(--ink-2); }
.services-head .kicker { grid-column: 1 / -1; margin-bottom: 2rem; }
@media (max-width: 860px) { .services-head h1, .services-head .side { grid-column: 1 / -1; } .services-head .side { grid-row: auto; margin-top: 1.6rem; } }

.svc-wrap { padding: 0 var(--pad) clamp(4rem, 10vh, 8rem); align-items: start; }
.svc-stage { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 1.5rem); height: calc(100svh - var(--header-h) - 3rem); }
.svc-stage .plate { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.svc-stage .plate.on { opacity: 1; }
.svc-stage .plate img { transform: scale(1.06); transition: transform 2.4s var(--ease), filter .8s; }
.svc-stage .plate.on img { transform: scale(1); }
.svc-stage__label { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; color: var(--ivory); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; mix-blend-mode: difference; }
.svc-list { grid-column: 7 / 13; }
.svc { padding: clamp(3rem, 10vh, 7rem) 0; border-top: 1px solid var(--ink); min-height: 70vh; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc .n { font-family: var(--mono); font-size: .7rem; color: var(--terra-ink); letter-spacing: .08em; }
.svc h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.018em; margin: .8rem 0 1.6rem; }
.svc .lede { margin-bottom: 1.6rem; }
.svc p { color: var(--ink-2); }
.svc .qs { margin-top: 2rem; }
.svc .qs h3 { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.svc .qs ul { list-style: none; margin: 0; padding: 0; }
.svc .qs li { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; line-height: 1.3; padding: .7rem 0; border-top: 1px solid rgba(28,27,25,.15); }
.svc .mobile-plate { display: none; }
@media (max-width: 860px) {
  .svc-stage { display: none; }
  .svc-list { grid-column: 1 / -1; }
  .svc { min-height: 0; }
  .svc .mobile-plate { display: block; aspect-ratio: 16 / 10; margin-bottom: 1.6rem; }
}

.formats { background: var(--ink); color: var(--ivory); padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.formats .kicker { color: rgba(242,237,227,.6); grid-column: 1 / 4; }
.formats h2 { grid-column: 4 / 12; font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: 1.04; margin-bottom: clamp(3rem, 8vh, 5rem); }
.formats table { grid-column: 1 / -1; width: 100%; border-collapse: collapse; }
.formats th, .formats td { text-align: left; vertical-align: top; padding: 1.6rem 1rem 1.8rem 0; border-top: 1px solid rgba(242,237,227,.22); }
.formats thead th { font-family: var(--mono); font-weight: 400; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,237,227,.55); padding-top: 0; border-top: 0; }
.formats tbody th { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.5rem); letter-spacing: -.02em; width: 28%; line-height: 1.05; }
.formats tbody th em { color: #e4895f; }
.formats td { color: rgba(242,237,227,.75); font-size: .95rem; }
@media (max-width: 860px) {
  .formats .kicker, .formats h2 { grid-column: 1 / -1; }
  .formats h2 { margin-top: 1rem; }
  .formats thead { display: none; }
  .formats tr { display: block; border-top: 1px solid rgba(242,237,227,.22); padding: 1.4rem 0; }
  .formats th, .formats td { display: block; border: 0; padding: .3rem 0; width: auto !important; }
  .formats td::before { content: attr(data-label) " — "; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,237,227,.5); }
}

/* ---------- INDUSTRIES ---------- */
.ind-head { padding-bottom: clamp(2rem, 6vh, 4rem); }
.ind-head .kicker { grid-column: 1 / -1; margin-bottom: 1.6rem; }
.ind-head h1 { grid-column: 1 / 10; font-size: clamp(2.4rem, 4.8vw, 5rem); }
.ind-head p { grid-column: 1 / 7; margin-top: 2.4rem; color: var(--ink-2); }
@media (max-width: 860px) { .ind-head h1, .ind-head p { grid-column: 1 / -1; } }

.ind-index { padding: 0 var(--pad) clamp(4rem, 10vh, 7rem); }
.ind-index nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 2rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 1rem 0; }
.ind-index a { text-decoration: none; font-size: .9rem; display: inline-flex; gap: .5em; align-items: baseline; }
.ind-index a .n { font-family: var(--mono); font-size: .64rem; color: var(--ink-3); }
.ind-index a:hover { color: var(--terra-ink); }

.sector { padding: clamp(3rem, 9vh, 7rem) var(--pad); align-items: center; scroll-margin-top: var(--header-h); }
.sector .plate { aspect-ratio: 4 / 5; }
.sector__n { font-family: var(--mono); font-size: .7rem; color: var(--terra-ink); letter-spacing: .08em; }
.sector h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -.015em; line-height: 1.05; margin: .7rem 0 1.4rem; }
.sector p { color: var(--ink-2); max-width: 44ch; }
.sector .focus { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sector .focus li::before { content: "— "; color: var(--sage); }
/* six distinct placements */
.sector--a .sector__fig { grid-column: 1 / 6; }
.sector--a .sector__txt { grid-column: 7 / 12; }
.sector--b .sector__fig { grid-column: 8 / 13; grid-row: 1; margin-right: calc(var(--pad) * -1); }
.sector--b .sector__txt { grid-column: 2 / 7; grid-row: 1; }
.sector--b .plate { aspect-ratio: 5 / 6; }
.sector--c { background: var(--paper); }
.sector--c .sector__fig { grid-column: 4 / 10; }
.sector--c .plate { aspect-ratio: 16 / 9; }
.sector--c .sector__txt { grid-column: 4 / 10; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.sector--c .sector__txt h2 { margin-top: 0; }
.sector--d .sector__fig { grid-column: 1 / 8; margin-left: calc(var(--pad) * -1); }
.sector--d .plate { aspect-ratio: 4 / 3; }
.sector--d .sector__txt { grid-column: 9 / 13; align-self: end; }
.sector--e .sector__fig { grid-column: 7 / 11; }
.sector--e .sector__txt { grid-column: 1 / 6; grid-row: 1; text-align: right; }
.sector--e .sector__txt p { margin-left: auto; }
.sector--e .focus { justify-content: flex-end; }
.sector--f { background: var(--ink); color: var(--ivory); }
.sector--f p, .sector--f .focus { color: rgba(242,237,227,.72); }
.sector--f .sector__n { color: #e4895f; }
.sector--f .sector__fig { grid-column: 2 / 6; }
.sector--f .plate { aspect-ratio: 3 / 4; }
.sector--f .sector__txt { grid-column: 7 / 12; }
@media (max-width: 860px) {
  .sector .sector__fig, .sector .sector__txt { grid-column: 1 / -1 !important; grid-row: auto !important; margin: 0 !important; text-align: left !important; }
  .sector .sector__txt { margin-top: 1.8rem !important; display: block !important; }
  .sector--e .sector__txt p { margin-left: 0; }
  .sector--e .focus { justify-content: flex-start; }
}

/* ---------- PERSPECTIVES ---------- */
.journal-head { padding: clamp(2rem, 6vh, 4rem) var(--pad) 0; }
.journal-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .8rem; color: var(--ink-2); flex-wrap: wrap; }
.journal-head h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1; margin: .6rem 0 0; }
.journal-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: 1rem; }
.filters { display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.filters button { background: none; border: 0; padding: .2rem 0; cursor: pointer; font-size: .86rem; position: relative; color: var(--ink-3); transition: color .3s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--terra); }

.journal { padding: clamp(2.5rem, 6vh, 4rem) var(--pad) clamp(5rem, 12vh, 8rem); }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); text-decoration: none; padding-bottom: clamp(3rem, 8vh, 5rem); border-bottom: 1px solid var(--ink); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.feature .plate { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.feature .plate img { transition: transform 1.4s var(--ease), filter .8s; }
.feature:hover .plate img { transform: scale(1.035); }
.feature__txt { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: space-between; padding-left: clamp(0rem, 1.5vw, 1.5rem); }
.feature h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.018em; margin: 1rem 0 1.4rem; transition: color .3s; }
.feature:hover h2 { color: var(--terra-ink); }
.feature p { color: var(--ink-2); }
.feature .meta { color: var(--ink-3); }
@media (max-width: 860px) { .feature .plate, .feature__txt { grid-column: 1 / -1; } .feature__txt { padding: 1.4rem 0 0; } }

.entries { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(3rem, 7vh, 5rem); align-items: start; }
.entry { text-decoration: none; display: block; }
.entry .plate img { transition: transform 1.2s var(--ease); }
.entry:hover .plate img { transform: scale(1.04); }
.entry .meta { color: var(--ink-3); display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--ink); margin-top: 1rem; }
.entry h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -.018em; margin: .8rem 0 .7rem; transition: color .3s; }
.entry:hover h3 { color: var(--terra-ink); }
.entry p { color: var(--ink-2); font-size: .95rem; }
.entry--1 { grid-column: 1 / 5; }
.entry--1 .plate { aspect-ratio: 4 / 5; }
.entry--2 { grid-column: 6 / 9; margin-top: 6rem; }
.entry--2 .plate { aspect-ratio: 1; }
.entry--3 { grid-column: 10 / 13; }
.entry--3 .plate { aspect-ratio: 3 / 4; }
.entry--4 { grid-column: 2 / 7; }
.entry--4 .plate { aspect-ratio: 16 / 10; }
.entry--5 { grid-column: 8 / 13; margin-top: 4rem; }
.entry--5 .plate { aspect-ratio: 4 / 3; }
.entry--text { padding: 1.6rem; background: var(--sage-pale); }
.entry--text .meta { margin-top: 0; border-top: 0; padding-top: 0; }
.entry[hidden] { display: none; }
.entries.is-filtered .entry { grid-column: span 4; margin-top: 0; }
.journal-empty { grid-column: 1 / -1; color: var(--ink-3); }
@media (max-width: 860px) {
  .entries .entry, .entries.is-filtered .entry { grid-column: 1 / -1; margin-top: 0; }
}

.notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--ink); padding-top: 1.4rem; margin-top: clamp(2rem, 5vh, 3rem); }
.notes > .kicker { grid-column: 1 / 4; color: var(--ink-3); }
.notes ol { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap); }
.notes li { break-inside: avoid; padding: 0 0 1.6rem; }
.notes li .meta { color: var(--terra-ink); }
.notes li p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; font-weight: 400; margin: .4rem 0 0; }
@media (max-width: 860px) { .notes > .kicker, .notes ol { grid-column: 1 / -1; } .notes ol { columns: 1; margin-top: 1.4rem; } }

/* Article */
.article-head { padding: clamp(2.5rem, 8vh, 5rem) var(--pad) clamp(2rem, 5vh, 3rem); }
.article-head .back { grid-column: 1 / 4; }
.article-head .meta { grid-column: 1 / 4; color: var(--ink-3); margin-top: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.article-head h1 { grid-column: 4 / 12; grid-row: 1 / 3; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.06; letter-spacing: -.02em; }
.article-head .dek { grid-column: 4 / 10; margin-top: 2rem; }
@media (max-width: 860px) { .article-head > * { grid-column: 1 / -1 !important; grid-row: auto !important; } .article-head h1 { margin-top: 1.6rem; } }
.article-plate { padding: 0 var(--pad); }
.article-plate .plate { height: clamp(320px, 70vh, 760px); }
.article-body { padding: clamp(3rem, 9vh, 6rem) var(--pad); }
.article-body .prose { grid-column: 4 / 10; font-family: var(--serif); font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.6; font-weight: 360; }
.article-body .prose p:first-child::first-letter { float: left; font-weight: 400; font-size: 4.4em; line-height: .8; padding: .06em .08em 0 0; color: var(--terra-ink); }
.article-body .prose h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin: 2.6rem 0 1rem; font-weight: 500; }
.article-body .prose blockquote { margin: 2.4rem -10% 2.4rem 0; padding-left: 1.4rem; border-left: 2px solid var(--terra); font-size: 1.6em; line-height: 1.15; font-weight: 400; letter-spacing: -.015em; }
.article-body aside { grid-column: 10 / 13; padding-left: var(--gap); font-size: .86rem; color: var(--ink-3); }
.article-body aside .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.article-body aside p { margin-bottom: 1.4rem; }
@media (max-width: 860px) { .article-body .prose, .article-body aside { grid-column: 1 / -1; padding: 0; } .article-body .prose blockquote { margin-right: 0; } .article-body aside { margin-top: 2rem; } }
.article-next { padding: 0 var(--pad) clamp(4rem, 10vh, 7rem); }
.article-next a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); text-decoration: none; border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.article-next .kicker { grid-column: 1 / 4; color: var(--ink-3); }
.article-next .t { grid-column: 4 / 12; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.018em; transition: color .3s; }
.article-next a:hover .t { color: var(--terra-ink); }
@media (max-width: 860px) { .article-next .kicker, .article-next .t { grid-column: 1 / -1; } .article-next .t { margin-top: .8rem; } }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(2.5rem, 7vh, 5rem) var(--pad) clamp(5rem, 12vh, 8rem); align-items: start; }
.contact__intro { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 2rem); }
.contact__intro h1 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.contact__intro .lede { margin: 2rem 0 2.6rem; max-width: 24ch; }
.contact__intro .plate { aspect-ratio: 5 / 4; width: 70%; margin-left: 30%; }
.form-col { grid-column: 7 / 13; }
@media (max-width: 860px) { .contact__intro, .form-col { grid-column: 1 / -1; position: static; } .form-col { margin-top: 3rem; } .contact__intro .plate { width: 80%; margin-left: 20%; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem var(--gap); }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .2rem; }
.field label .opt { color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0;
  padding: .5rem 0 .6rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 400;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; padding-right: 1.6rem; }
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.4; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field .err:not(:empty) { margin-top: .4rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field .err { display: block; font-size: .78rem; color: #a3321b; min-height: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-bottom-color: #a3321b; }
.field.invalid label { color: #a3321b; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.2rem 0; border-top: 1px solid rgba(28,27,25,.18); position: relative; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent .box { width: 22px; height: 22px; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .3s, border-color .3s; margin-top: .1rem; }
.consent .box svg { width: 13px; height: 13px; stroke: var(--ivory); stroke-width: 2; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease) .05s; }
.consent input:checked + .box { background: var(--terra); border-color: var(--terra); }
.consent input:checked + .box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .box { outline: 2px solid var(--terra); outline-offset: 3px; }
.consent label { font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consent .err { grid-column: 2; font-size: .78rem; color: #a3321b; }
.consent.invalid .box { border-color: #a3321b; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--ink-3); max-width: 38ch; margin: 0; }
.form-summary { grid-column: 1 / -1; color: #a3321b; font-size: .9rem; margin: 0; }
.form-summary:empty { display: none; }
.confirm { display: none; padding: clamp(2rem, 5vh, 3rem) 0; border-top: 1px solid var(--ink); }
.confirm.on { display: block; }
.confirm h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); margin: 1rem 0 1.4rem; }
.confirm p { color: var(--ink-2); max-width: 44ch; }
.confirm .notice { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--paper); border-left: 2px solid var(--terra); font-size: .88rem; color: var(--ink-2); }
.confirm dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.4rem; margin: 2rem 0; font-size: .9rem; }
.confirm dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: .2rem; }
.confirm dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Legal / 404 ---------- */
.legal { padding: clamp(3rem, 9vh, 6rem) var(--pad) clamp(5rem, 12vh, 8rem); }
.legal h1 { grid-column: 1 / 8; font-size: clamp(2.8rem, 6vw, 6.4rem); }
.legal .kicker { grid-column: 1 / -1; color: var(--ink-3); margin-bottom: 1.6rem; }
.legal .prose { grid-column: 5 / 11; margin-top: clamp(2.5rem, 7vh, 5rem); color: var(--ink-2); }
.legal .prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); margin: 2.4rem 0 .8rem; letter-spacing: -.01em; }
.legal .notice { padding: 1rem 1.2rem; background: var(--paper); border-left: 2px solid var(--terra); font-size: .9rem; }
@media (max-width: 860px) { .legal h1, .legal .prose { grid-column: 1 / -1; } }

.lost { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 0 var(--pad); align-items: center; }
.lost__txt { grid-column: 1 / 7; }
.lost__txt h1 { font-size: clamp(2.4rem, 5vw, 5rem); margin: 1rem 0 1.6rem; }
.lost__txt p { color: var(--ink-2); max-width: 36ch; margin-bottom: 2rem; }
.lost .plate { grid-column: 8 / 13; aspect-ratio: 3 / 4; margin-right: calc(var(--pad) * -1); }
@media (max-width: 860px) { .lost__txt, .lost .plate { grid-column: 1 / -1; } .lost .plate { margin: 2rem 0 3rem; aspect-ratio: 16/10; } .lost__txt { padding-top: 3rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: clamp(4rem, 10vh, 7rem) var(--pad) 1.6rem; position: relative; overflow: hidden; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #e4895f; }
.footer-top { row-gap: 2.6rem; }
.footer-statement { grid-column: 1 / 6; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.12; letter-spacing: -.015em; }
.footer-col { font-size: .9rem; }
.footer-col .kicker { color: rgba(242,237,227,.5); display: block; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-col .ph { color: rgba(242,237,227,.6); }
.footer-col--nav { grid-column: 7 / 9; }
.footer-col--legal { grid-column: 11 / 13; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; border-top: 1px solid rgba(242,237,227,.2); padding-top: 1rem; margin-top: 1.2rem; font-size: .8rem; color: rgba(242,237,227,.55); }
@media (max-width: 860px) {
  .footer-statement { grid-column: 1 / -1; }
  .footer-col--nav { grid-column: 1 / 7; }
  .footer-col--legal { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .plate img { transform: none !important; }
}

/* Footer brand row */
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-top: clamp(3rem, 8vh, 5rem); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.footer-brand svg { width: 34px; height: 34px; color: var(--ivory); }
