/* =========================================================================
   URBAN DESIGN+BUILD - homepage concept
   Design language: #3 Bold Contrast (type, spacing, composition, motion ONLY)
   Palette: MONOCHROME, taken from their own logo (pure black wordmark in a
   box) and their architectural photography. They use no brand color anywhere,
   so none is invented here (GEMINI rule 29 / skill rule 17+29).
   ========================================================================= */

:root {
  /* Ink family: their logo black, deepened / stepped for band rhythm */
  --ink:        #0a0a0a;
  --ink-2:      #121212;
  --ink-3:      #1b1b1b;
  --ink-4:      #262626;

  /* Paper family: the plaster / concrete / white-oak tones in their photos */
  --paper:      #f4f3f1;
  --paper-2:    #e9e7e3;
  --paper-3:    #dcd9d4;

  /* Concrete greys */
  --grey:       #8e8c88;
  --grey-2:     #6d6b68;
  --grey-3:     #4a4947;

  /* Text */
  --text-dark:        #0a0a0a;
  --text-body:        #45443f;
  /* Contrast fixes 7/22/26: muted greys darkened / faint light raised in alpha.
     Same hue and saturation in both cases — lightness and alpha only. */
  --text-muted:       #5e5c5a;
  --text-light:       #f4f3f1;
  --text-light-muted: rgba(244,243,241,0.62);
  --text-light-faint: rgba(244,243,241,0.55);

  /* Hairlines (the drafting motif) */
  --line-dark:  rgba(10,10,10,0.16);
  --line-light: rgba(244,243,241,0.18);
  --line-faint: rgba(244,243,241,0.09);

  /* Type */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap:       min(90%, 1240px);
  --wrap-tight: min(90%, 980px);
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --nav-h:      78px;

  /* Motion (Bold Contrast: snappy) */
  --ease-pop:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-dark);
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-tight { width: var(--wrap-tight); margin-inline: auto; }

.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;
}
.skip-link {
  position: absolute; left: 0; top: -100%; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.25rem; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------- sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--dark  { background: var(--ink);   color: var(--text-light); }
.section--dark2 { background: var(--ink-2); color: var(--text-light); }
.section--light { background: var(--paper); color: var(--text-body); }
.section--light2{ background: var(--paper-2); color: var(--text-body); }
/* Contrast 7/22/26: .arc is an ink band but was never added to these dark-band
   groups, so its headings/lede/eyebrow inherited the light-band colors —
   "Ground to finished." shipped at 1.00:1 (ink on ink). */
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--dark2 h1, .section--dark2 h2, .section--dark2 h3, .section--dark2 h4,
.arc h1, .arc h2, .arc h3, .arc h4 {
  color: var(--text-light);
}

/* Eyebrow: the drafting label. Rule + index + word. */
.eyebrow {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.6rem;
}
.eyebrow::before {
  content: ''; width: clamp(28px, 5vw, 56px); height: 1px;
  background: currentColor; opacity: 0.5; flex: none;
}
.section--dark .eyebrow, .section--dark2 .eyebrow, .arc .eyebrow, .cta .eyebrow { color: var(--text-light-muted); }

/* Display scale (Bold Contrast: extreme) */
.h-xl {
  font-size: clamp(2.6rem, 8.2vw, 7.25rem);
  font-weight: 600; line-height: 0.94; letter-spacing: -0.035em;
  text-transform: uppercase;
}
.h-lg {
  font-size: clamp(2rem, 5.4vw, 4.15rem);
  font-weight: 600; line-height: 1.0; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h-md {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.6; font-weight: 300; color: var(--text-body);
  text-wrap: pretty;
}
.section--dark .lede, .section--dark2 .lede, .arc .lede { color: var(--text-light-muted); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  min-height: 48px; cursor: pointer;
  transition: background .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn__icon {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid currentColor; opacity: 0.85;
  transition: transform .45s var(--ease-pop);
}
.btn__icon svg { width: 11px; height: 11px; display: block; }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--solid  { background: var(--paper); color: var(--ink); }
.btn--solid:hover  { background: #fff; transform: translateY(-2px); }
.btn--ghost  { background: transparent; color: var(--text-light); border-color: var(--line-light); }
.btn--ghost:hover  { border-color: var(--paper); background: rgba(244,243,241,0.07); transform: translateY(-2px); }
.btn--ink    { background: var(--ink); color: var(--paper); }
.btn--ink:hover    { background: var(--ink-3); transform: translateY(-2px); }
.btn--outline-ink { background: transparent; color: var(--ink); border-color: var(--line-dark); }
.btn--outline-ink:hover { border-color: var(--ink); background: rgba(10,10,10,0.04); transform: translateY(-2px); }

/* --------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out),
              backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-faint);
}
.nav__inner {
  width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__logo { display: block; flex: none; }
.nav__logo img {
  width: auto; height: 34px; max-width: 200px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav__link {
  font-size: 0.76rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: var(--text-light);
  opacity: 0.72; position: relative; padding-block: 0.4rem;
  transition: opacity .3s var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: currentColor; transition: width .35s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { width: 100%; }
.nav__cta { padding: 0.8rem 1.3rem; min-height: 44px; font-size: 0.74rem; }

.nav__burger {
  display: none; position: relative; z-index: 210;
  width: 46px; height: 46px; border: 1px solid var(--line-light);
  border-radius: 50%; background: rgba(10,10,10,0.35);
  cursor: pointer; padding: 0; place-items: center;
}
.nav__burger span {
  display: block; width: 17px; height: 1.5px; background: var(--paper);
  margin: 3.5px auto; transition: transform .35s var(--ease-out), opacity .25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------- mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); display: flex; flex-direction: column;
  justify-content: center; padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transform: translateY(-1.5%);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.mmenu__link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.9rem); font-weight: 600;
  letter-spacing: -0.02em; text-transform: uppercase;
  text-decoration: none; color: var(--text-light);
  padding-block: 0.55rem; display: block;
}
.mmenu__divider { height: 1px; background: var(--line-light); margin: 1.75rem 0; }
.mmenu__meta { color: var(--text-light-muted); font-size: 0.9rem; line-height: 1.9; }
.mmenu__meta a { text-decoration: none; }
.mmenu__meta a:hover { color: var(--paper); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; height: 100vh; height: 100svh;
  min-height: 620px; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--ink);
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: 0; }
.hero__media img { width: 100%; height: 116%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.30) 38%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 62%);
}
.hero__inner {
  position: relative; z-index: 2; width: var(--wrap); margin-inline: auto;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-light-muted);
  margin-bottom: clamp(1.1rem, 2.5vw, 1.9rem);
}
.hero__eyebrow::before {
  content: ''; width: clamp(28px, 5vw, 56px); height: 1px;
  background: currentColor; opacity: 0.55; flex: none;
}
.hero h1 { color: var(--paper); max-width: 15ch; }
.hero h1 .thin { font-weight: 200; }
.hero__sub {
  color: var(--text-light-muted); max-width: 46ch;
  margin: clamp(1.2rem, 2.5vw, 1.8rem) 0 clamp(1.8rem, 3.5vw, 2.6rem);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.24rem); line-height: 1.6;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero footer strip: the drafting coordinates */
.hero__strip {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-faint);
}
.hero__strip-inner {
  width: var(--wrap); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 0.9rem;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-light-faint);
}
.hero__strip-inner span:nth-child(2) { display: none; }

/* -------------------------------------------------------------- intro */
.intro__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.intro__quote {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  color: var(--text-light-faint); font-style: normal;
  border-left: 1px solid var(--line-light);
  padding-left: 1.25rem; margin-top: 2rem;
}

/* ------------------------------------------------ THE ARC (signature) */
.arc { background: var(--ink); color: var(--text-light); position: relative; }
.arc__head { padding-top: clamp(4rem, 9vw, 7.5rem); }
.arc__head .lede { max-width: 52ch; }

/* Desktop pinned stage */
.arc__stage {
  position: relative; height: 100svh; min-height: 600px;
  overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem);
}
.arc__frame { position: absolute; inset: 0; }
.arc__panel {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .7s var(--ease-out);
}
.arc__panel.is-active { opacity: 1; }
.arc__panel img { width: 100%; height: 100%; object-fit: cover; }
.arc__panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.34) 42%, rgba(10,10,10,0.93) 100%);
}
.arc__overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: var(--wrap); margin-inline: auto;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.arc__index {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(3rem, 11vw, 9rem); line-height: 0.85;
  color: var(--text-light); opacity: 0.22; letter-spacing: -0.04em;
  margin-bottom: 0.15em;
}
.arc__title {
  font-size: clamp(1.9rem, 5vw, 3.6rem); text-transform: uppercase;
  color: var(--paper); margin-bottom: 0.5rem;
}
.arc__line { color: var(--text-light-muted); max-width: 44ch; font-size: clamp(0.98rem, 0.94rem + 0.3vw, 1.15rem); }

/* Progress rail */
.arc__rail {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-faint);
}
.arc__rail-inner {
  width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.arc__tick {
  padding: 1rem 0 1.1rem; position: relative;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light-faint);
  transition: color .45s var(--ease-out);
  background: none; border: 0; text-align: left; font-family: var(--font-display);
  cursor: pointer;
}
.arc__tick::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 2px;
  background: var(--paper); transition: width .5s var(--ease-out);
}
.arc__tick.is-done::before { width: 100%; }
.arc__tick.is-active { color: var(--paper); }
.arc__tick.is-active::before { width: 100%; }
.arc__tick:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }

/* Mobile fallback: stacked cards */
.arc__stack { display: none; margin-top: 2.5rem; }
.arc__card { margin-bottom: 2rem; }
.arc__card:last-child { margin-bottom: 0; }
.arc__card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.arc__card-media img { width: 100%; height: 100%; object-fit: cover; }
.arc__card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.8) 100%);
}
.arc__card-idx {
  position: absolute; z-index: 2; left: 1rem; bottom: 0.65rem;
  font-family: var(--font-display); font-weight: 200; font-size: 2.6rem;
  line-height: 1; color: var(--paper); opacity: 0.5;
}
.arc__card-body { padding-top: 1.1rem; border-top: 1px solid var(--line-light); margin-top: 1rem; }
.arc__card-body h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.arc__card-body p { color: var(--text-light-muted); font-size: 0.98rem; }

/* ----------------------------------------------------------- services */
.svc {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
}
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.svc:hover .svc__media img { transform: scale(1.035); }
.svc__body {
  padding: clamp(2rem, 5vw, 4rem) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.svc__num {
  font-family: var(--font-display); font-weight: 200; font-size: 0.95rem;
  letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 1rem;
}
.svc__body h3 { margin-bottom: 0.9rem; }
.svc__list {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
}
.svc__list li {
  padding: 0.72rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.7rem;
}
.svc__list li svg { width: 13px; height: 13px; flex: none; color: var(--grey); }

/* ------------------------------------------------------------- band */
.band { position: relative; height: clamp(320px, 52vh, 560px); overflow: hidden; }
.band img { width: 100%; height: 112%; object-fit: cover; }
.band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 50%, rgba(10,10,10,0.45) 100%);
}

/* ------------------------------------------------------------- work */
.work__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.work__item { position: relative; overflow: hidden; background: var(--ink-3); }
.work__item-media { aspect-ratio: 4 / 3; overflow: hidden; }
.work__item-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
}
.work__item:hover .work__item-media img { transform: scale(1.04); }
.work__item-cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0 0;
}
.work__item-cap h3 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text-light);
}
.work__item-cap span {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light-faint); flex: none;
}
.work__note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem; color: var(--text-light-faint);
}

/* ---------------------------------------------------------- process */
.proc {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-dark);
}
.proc__item { padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--line-dark); }
.proc__item h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 0.55rem; }
.proc__item p { font-size: 0.96rem; color: var(--text-muted); }
.proc__num {
  font-family: var(--font-display); font-weight: 200; font-size: 0.85rem;
  letter-spacing: 0.2em; color: var(--grey); margin-bottom: 0.9rem;
}

/* -------------------------------------------------------------- CTA */
.cta { background: var(--ink); color: var(--text-light); position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(244,243,241,0.10) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 78% 12%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 78% 12%, #000 0%, transparent 62%);
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 { color: var(--paper); max-width: 18ch; }
.cta__sub { color: var(--text-light-muted); max-width: 48ch; margin: 1.4rem 0 2.4rem; }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cta__meta {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-faint);
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.cta__meta-item span {
  display: block; font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-light-faint); margin-bottom: 0.45rem;
}
.cta__meta-item a, .cta__meta-item p {
  font-size: 1.02rem; color: var(--text-light); text-decoration: none;
}
.cta__meta-item a {
  display: inline-block; padding-block: 0.7rem; line-height: 1.4;
}
.cta__meta-item a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----------------------------------------------------------- footer */
.footer { background: var(--ink-2); color: var(--text-light-muted); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__top {
  display: grid; grid-template-columns: 1fr; gap: 2.25rem;
  padding-bottom: 2.25rem; border-bottom: 1px solid var(--line-faint);
}
.footer__logo img {
  width: auto; height: 34px; max-width: 190px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.footer__tag { margin-top: 1rem; font-size: 0.9rem; max-width: 34ch; }
.footer__col h4 {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-light-faint); margin-bottom: 1rem; font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 0.15rem; }
.footer__col a {
  text-decoration: none; font-size: 0.94rem; display: inline-block;
  padding-block: 0.65rem; transition: color .3s var(--ease-out);
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-light-faint);
}

/* ----------------------------------------------------------- 404 */
.error {
  min-height: 100vh; min-height: 100svh; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  position: relative; overflow: hidden;
}
.error::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(244,243,241,0.10) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%);
}
.error__inner { position: relative; z-index: 1; max-width: 620px; }
.error__code {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(6rem, 26vw, 15rem); line-height: 0.82;
  color: rgba(244,243,241,0.14); letter-spacing: -0.05em; margin-bottom: 0.15em;
}
.error__title { color: var(--paper); margin-bottom: 1.2rem; }
.error__body { color: var(--text-light-muted); margin-bottom: 2.2rem; }

/* ----------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ======================================================== breakpoints */
@media (min-width: 700px) {
  .svc__list { grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
  .cta__meta { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
  .hero__strip-inner span:nth-child(2) { display: block; }
  .work__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .proc { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
}

@media (min-width: 980px) {
  .intro__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 7vw, 6rem); }
  .svc {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
  }
  .svc__media { aspect-ratio: 5 / 4; }
  .svc--flip .svc__media { order: 2; }
  .svc--flip .svc__body { order: 1; }
  .work__grid { grid-template-columns: repeat(3, 1fr); }
  .work__item--wide { grid-column: span 2; }
  .work__item--wide .work__item-media { aspect-ratio: 16 / 9; }
  .proc { grid-template-columns: repeat(4, 1fr); column-gap: clamp(1.5rem, 3vw, 2.5rem); }
}

/* Mobile: hero grows, arc degrades to stack */
@media (max-width: 899px) {
  .arc__stage { display: none; }
  .arc__stack { display: block; }
  .arc { padding-bottom: clamp(4rem, 9vw, 7.5rem); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
}

@media (max-width: 768px) {
  .hero {
    height: auto; min-height: 100svh;
    padding-top: calc(var(--nav-h) + 2rem);
  }
  .hero__inner { padding-bottom: 4.5rem; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 480px) {
  :root { --nav-h: 70px; }
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .btn { padding: 0.95rem 1.35rem; font-size: 0.76rem; }
  .arc__rail-inner { grid-template-columns: repeat(4, 1fr); }
  .arc__tick { font-size: 0.58rem; letter-spacing: 0.12em; }
}

/* --------------------------------------------------- reduced motion */
@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
