/* ==========================================================================
   Fort Construction Limited — Design System
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }

:target { scroll-margin-top: 7rem; }


/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:          #0A0B0D;
  --ink-2:        #141619;
  --ink-3:        #1D2025;
  --paper:        #FBFAF8;
  --paper-2:      #F3F0EB;
  --paper-3:      #E8E4DD;

  --accent:       #D64B45;
  --accent-deep:  #B0352F;
  --accent-light: #F08A84;   /* accent for dark backgrounds — AA contrast */
  --accent-soft:  rgba(214, 75, 69, 0.10);

  --text:         #16181C;
  --text-muted:   #5C6169;
  --text-faint:   #8A9099;

  --on-dark:      #F5F3F0;
  --on-dark-muted:rgba(245, 243, 240, 0.62);
  --on-dark-faint:rgba(245, 243, 240, 0.38);

  --line:         rgba(10, 11, 13, 0.12);
  --line-soft:    rgba(10, 11, 13, 0.07);
  --line-dark:    rgba(245, 243, 240, 0.14);
  --line-dark-soft: rgba(245, 243, 240, 0.08);

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid scale */
  --fs-mono:   0.6875rem;
  --fs-sm:     clamp(0.8125rem, 0.78rem + 0.16vw, 0.875rem);
  --fs-base:   clamp(0.9375rem, 0.90rem + 0.19vw, 1.0625rem);
  --fs-lead:   clamp(1.0625rem, 0.98rem + 0.42vw, 1.3125rem);
  --fs-h4:     clamp(1.125rem, 1.05rem + 0.37vw, 1.375rem);
  --fs-h3:     clamp(1.375rem, 1.19rem + 0.92vw, 2rem);
  --fs-h2:     clamp(2rem, 1.50rem + 2.50vw, 3.75rem);
  --fs-h1:     clamp(2.75rem, 1.60rem + 5.75vw, 7rem);
  --fs-mega:   clamp(3.5rem, 1.20rem + 11.5vw, 11rem);

  /* Space */
  --gutter:    clamp(1.25rem, 0.80rem + 2.25vw, 3.5rem);
  --section:   clamp(4.5rem, 2.80rem + 8.50vw, 10rem);
  --maxw:      86.25rem;   /* 1380px */
  --maxw-text: 44rem;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur:       0.6s;

  --radius:    2px;
  --header-h:  5.25rem;
}


/* --- Base ----------------------------------------------------------------- */
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: 'ss01', 'cv05';
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.75rem 1.5rem;
  font: 500 var(--fs-sm)/1 var(--font-body);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }


/* --- Layout --------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide { max-width: 100rem; }

.section { padding-block: var(--section); }

.section--tight { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }


/* --- Typography ----------------------------------------------------------- */
.display-1,
.display-2,
.display-3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.display-1 { font-size: var(--fs-h1); }
.display-2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.032em; }
.display-3 { font-size: var(--fs-h3); line-height: 1.10; letter-spacing: -0.024em; font-weight: 600; }

.mega {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-mega);
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.prose { max-width: var(--maxw-text); }
.prose p + p { margin-top: 1.25em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--plain::before { display: none; }

/* Brighter accent wherever the eyebrow sits on a dark ground */
.on-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow,
.eyebrow--light { color: var(--accent-light); }

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }


/* Section header pattern */
.sec-head {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
@media (min-width: 60rem) {
  .sec-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}
.sec-head__title { margin-top: 1.25rem; }


/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.0625rem 1.875rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }
.btn:hover { color: #fff; }

.btn__arrow {
  width: 1rem; height: 1rem;
  flex: none;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent::after { background: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border: 1px solid var(--line-dark);
}
.btn--ghost-light:hover { border-color: transparent; }

.btn--sm { padding: 0.8125rem 1.375rem; }


/* Text link with animated rule */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 0.25rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease), color 0.3s var(--ease);
}
.link:hover { background-size: 100% 1px; color: var(--accent); }
.link svg { width: 0.875rem; height: 0.875rem; transition: transform 0.4s var(--ease); }
.link:hover svg { transform: translateX(3px); }


/* --- Header --------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease),
              height 0.5s var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.55), transparent);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.brand { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.brand__mark { height: 2.375rem; width: auto; transition: height 0.5s var(--ease); }

/* Two-tone logo: light knockout over imagery, full colour once the bar is solid */
.brand__mark--dark { display: none; }
.header.is-stuck .brand__mark--light { display: none; }
.header.is-stuck .brand__mark--dark  { display: block; }

/* Scrolled state */
.header.is-stuck {
  height: 4.375rem;
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-stuck::before { opacity: 0; }
.header.is-stuck .brand__mark { height: 2rem; }

/* Nav */
.nav { display: none; }
@media (min-width: 62rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 0.5rem + 1.6vw, 2.5rem);
  }
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 450;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  padding-block: 0.375rem;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link:hover { color: #fff; }
.nav__link[aria-current='page'] { color: #fff; }

.header.is-stuck .nav__link { color: var(--text-muted); }
.header.is-stuck .nav__link:hover,
.header.is-stuck .nav__link[aria-current='page'] { color: var(--text); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 1rem; }

.header__cta { display: none; }
@media (min-width: 62rem) { .header__cta { display: inline-flex; } }

.header .btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.header.is-stuck .btn--ghost-light { color: var(--text); border-color: var(--line); }

/* Burger */
.burger {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.5rem;
  border-radius: var(--radius);
}
@media (min-width: 62rem) { .burger { display: none; } }

.burger__box { position: relative; width: 1.375rem; height: 0.75rem; }
.burger__bar {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: #fff;
  transition: transform 0.45s var(--ease), opacity 0.25s var(--ease), background-color 0.4s var(--ease);
}
.burger__bar:nth-child(1) { top: 0; }
.burger__bar:nth-child(2) { top: 50%; margin-top: -0.75px; width: 70%; }
.burger__bar:nth-child(3) { bottom: 0; }

.header.is-stuck .burger__bar { background: var(--text); }

.burger[aria-expanded='true'] .burger__bar { background: var(--on-dark); }
.burger[aria-expanded='true'] .burger__bar:nth-child(1) { transform: translateY(0.375rem) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded='true'] .burger__bar:nth-child(3) { transform: translateY(-0.375rem) rotate(-45deg); }


/* --- Mobile menu ---------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease);
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }

.menu__list { display: grid; gap: 0.25rem; }

.menu__item {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__item { opacity: 1; transform: none; }
.menu.is-open .menu__item:nth-child(1) { transition-delay: 0.16s; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: 0.22s; }
.menu.is-open .menu__item:nth-child(3) { transition-delay: 0.28s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: 0.34s; }
.menu.is-open .menu__item:nth-child(5) { transition-delay: 0.40s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: 0.46s; }

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: color 0.3s var(--ease);
}
.menu__link:hover { color: var(--accent); }
.menu__link span {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  color: var(--on-dark-faint);
}

.menu__foot {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a:hover { color: var(--accent); }


/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease-io) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1.4%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.55) 38%, rgba(10, 11, 13, 0.18) 68%, rgba(10, 11, 13, 0.42) 100%),
    linear-gradient(to right, rgba(10, 11, 13, 0.45), transparent 65%);
}

.hero__body { position: relative; }

.hero__title {
  margin-top: 1.5rem;
  max-width: 16ch;
  text-wrap: balance;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp 1.1s var(--ease) forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }

.hero__meta {
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  display: grid;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  align-items: end;
}
@media (min-width: 56rem) {
  .hero__meta { grid-template-columns: minmax(0, 1fr) auto; }
}

.hero__sub {
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(245, 243, 240, 0.78);
  text-wrap: pretty;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero .btn--accent::after { background: #fff; }
.hero .btn--accent:hover { color: var(--ink); }
.hero .btn--ghost-light:hover { color: var(--ink); }
.hero .btn--ghost-light::after { background: var(--on-dark); }

/* Entrance stagger */
.hero__eyebrow,
.hero__sub,
.hero__actions,
.hero__scroll {
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards;
}
.hero__eyebrow { animation-delay: 0.15s; }
.hero__sub     { animation-delay: 0.85s; }
.hero__actions { animation-delay: 1s; }
.hero__scroll  { animation-delay: 1.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: none; }
}

/* Hero bottom bar */
.hero__bar {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 56rem) {
  .hero__bar { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
}
.hero__stat { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.hero__stat:nth-child(1) { animation-delay: 1.15s; }
.hero__stat:nth-child(2) { animation-delay: 1.25s; }
.hero__stat:nth-child(3) { animation-delay: 1.35s; }
.hero__stat:nth-child(4) { animation-delay: 1.45s; }

.hero__stat dt {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.5);
  margin-bottom: 0.375rem;
}
.hero__stat dd {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}


/* --- Ticker --------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(1rem, 0.7rem + 1vw, 1.5rem);
  overflow: hidden;
  border-block: 1px solid var(--line-dark-soft);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerRun 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerRun { to { transform: translateX(-50%); } }

.ticker__group { display: flex; flex: none; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
  padding-inline: clamp(0.875rem, 0.5rem + 1vw, 1.5rem);
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--on-dark-muted);
}
.ticker__item::after {
  content: '';
  width: 0.3125rem; height: 0.3125rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}


/* --- Intro / statement ---------------------------------------------------- */
.intro { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 64rem) {
  .intro { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}

.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.5rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--text);
}
.intro__statement em {
  font-style: normal;
  color: var(--accent);
}

.intro__aside { display: grid; gap: 2rem; }

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
@media (min-width: 52rem) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: background-color 0.45s var(--ease);
}
.stat:hover { background: var(--paper-2); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.0625rem;
}
.stat__num sup {
  font-size: 0.4em;
  font-weight: 600;
  color: var(--accent);
  top: -0.9em;
  letter-spacing: 0;
}
.stat__label {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.45;
}


/* --- Figure / image treatments -------------------------------------------- */
.figure { position: relative; overflow: hidden; background: var(--paper-3); }
.figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1 / 1; }

.figure__cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* --- Services ------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 44rem) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(20rem, 16rem + 14vw, 27rem);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--paper);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.55s var(--ease);
}

.svc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
/* At rest the photo sits back as a pale, desaturated wash so the card reads as
   composed rather than empty; hover brings it forward full-bleed. */
.svc__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.06);
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 1.2s var(--ease);
}

/* Rest: paper wash keeps dark type legible over the muted photo */
.svc__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    var(--paper) 6%,
    rgba(251, 250, 248, 0.86) 34%,
    rgba(251, 250, 248, 0.38) 72%,
    rgba(251, 250, 248, 0.10));
  transition: opacity 0.6s var(--ease);
}

/* Hover: dark scrim takes over for the knocked-out state */
.svc__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.92), rgba(10, 11, 13, 0.55) 55%, rgba(10, 11, 13, 0.30));
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.svc:hover { color: var(--on-dark); }
.svc:hover .svc__bg img { opacity: 1; filter: grayscale(0) contrast(1); transform: scale(1); }
.svc:hover .svc__bg::before { opacity: 0; }
.svc:hover .svc__bg::after { opacity: 1; }

.svc__index {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  color: var(--text-faint);
  transition: color 0.55s var(--ease);
}
.svc:hover .svc__index { color: var(--accent); }

.svc__title {
  margin-top: auto;
  padding-top: 3rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  text-wrap: balance;
}

.svc__text {
  margin-top: 0.875rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34ch;
  transition: color 0.55s var(--ease);
}
.svc:hover .svc__text { color: rgba(245, 243, 240, 0.75); }

.svc__more {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.svc:hover .svc__more { opacity: 1; transform: none; }
.svc__more svg { width: 0.8125rem; height: 0.8125rem; }

/* Static (non-link) service chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.chip {
  padding: 0.5rem 0.9375rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }


/* --- Dark section --------------------------------------------------------- */
.on-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.on-dark .lead,
.on-dark .text-muted { color: var(--on-dark-muted); }
.on-dark .link:hover { color: var(--accent); }


/* --- Specialties (hover image reveal) ------------------------------------- */
.spec { position: relative; }

.spec__list { border-top: 1px solid var(--line-dark); }

.spec__row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.75rem;
  align-items: center;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--line-dark);
  transition: padding-inline 0.55s var(--ease);
}
@media (min-width: 64rem) {
  .spec__row {
    grid-template-columns: auto minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
    gap: 2.5rem;
  }
  .spec__row:hover { padding-inline: 1.25rem; }
}

.spec__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink-2);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.spec__row:hover::before { transform: scaleY(1); transform-origin: top; }

.spec__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  color: var(--on-dark-faint);
  transition: color 0.45s var(--ease);
}
.spec__row:hover .spec__num { color: var(--accent); }

.spec__name {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: transform 0.55s var(--ease);
}

.spec__desc {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--on-dark-muted);
  grid-column: 1 / -1;
  max-width: 56ch;
}
@media (min-width: 64rem) { .spec__desc { grid-column: auto; max-width: none; } }

.spec__arrow {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  place-items: center;
  flex: none;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
@media (min-width: 64rem) { .spec__arrow { display: grid; } }
.spec__arrow svg { width: 0.9375rem; height: 0.9375rem; transition: transform 0.45s var(--ease); }
.spec__row:hover .spec__arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(0deg);
}
.spec__row:hover .spec__arrow svg { transform: translate(2px, -2px); }

/* Floating preview */
.spec__preview {
  position: fixed;
  top: 0; left: 0;
  width: clamp(15rem, 20vw, 21rem);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  overflow: hidden;
  display: none;
}
@media (min-width: 64rem) and (hover: hover) { .spec__preview { display: block; } }
.spec__preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.spec__preview img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.spec__preview img.is-active { opacity: 1; }

/* Mobile thumbnail inside row */
.spec__thumb {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 0.25rem;
}
@media (min-width: 64rem) { .spec__thumb { display: none; } }
.spec__thumb img { width: 100%; height: 100%; object-fit: cover; }


/* --- Pillars / values ----------------------------------------------------- */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 56rem) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--paper);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.pillar:hover::after { transform: scaleX(1); }

.pillar__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pillar__icon svg { width: 1.125rem; height: 1.125rem; }

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pillar__text { font-size: var(--fs-sm); line-height: 1.65; color: var(--text-muted); }


/* --- Work / projects ------------------------------------------------------ */
.work-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.25rem, 0.8rem + 1.6vw, 2rem); }
@media (min-width: 48rem) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-grid--feature { grid-template-columns: 1fr; }
@media (min-width: 60rem) {
  .work-grid--feature { grid-template-columns: repeat(2, 1fr); }
  .work-grid--feature > :first-child { grid-column: 1 / -1; }
  .work-grid--feature > :first-child .work__media { aspect-ratio: 21 / 9; }
}

.work { display: block; }

.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease), filter 0.7s var(--ease);
}
.work:hover .work__media img { transform: scale(1.05); }

.work__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4375rem 0.8125rem;
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.work__body { padding-top: 1.25rem; }

.work__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.work__meta span:not(:last-child)::after {
  content: '/';
  margin-left: 0.625rem;
  color: var(--line);
}

.work__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  text-wrap: balance;
  transition: color 0.35s var(--ease);
}
.work:hover .work__title { color: var(--accent); }

.work__text {
  margin-top: 0.625rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

.on-dark .work__title { color: var(--on-dark); }
.on-dark .work:hover .work__title { color: var(--accent); }
.on-dark .work__text { color: var(--on-dark-muted); }
.on-dark .work__meta { color: var(--on-dark-faint); }


/* --- Innovation feature --------------------------------------------------- */
.feature {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .feature--flip > :first-child { order: 2; }
}

.feature__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }

.feature__badge {
  position: absolute;
  right: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature__body { display: grid; gap: 1.5rem; align-content: start; }

.feature__list { display: grid; gap: 0.875rem; margin-top: 0.5rem; }
.feature__list li {
  display: flex;
  gap: 0.875rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.feature__list li::before {
  content: '';
  flex: none;
  width: 0.375rem; height: 0.375rem;
  margin-top: 0.625rem;
  background: var(--accent);
  border-radius: 50%;
}


/* --- CTA band ------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, 0.78);
}
.cta__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding-block: clamp(4.5rem, 3rem + 7vw, 9rem);
}
.cta__title { max-width: 18ch; }
.cta__sub { max-width: 52ch; color: rgba(245, 243, 240, 0.72); }
.cta .btn--accent::after { background: #fff; }
.cta .btn--accent:hover { color: var(--ink); }
.cta .btn--ghost-light::after { background: var(--on-dark); }
.cta .btn--ghost-light:hover { color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; }


/* --- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
@media (min-width: 64rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info {
  display: grid;
  gap: 0.375rem;
  padding-block: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 40rem) {
  .info { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
}
.info__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.info__value { font-size: var(--fs-base); line-height: 1.55; }
.info__value a { transition: color 0.3s var(--ease); }
.info__value a:hover { color: var(--accent); }
.info__value .muted { color: var(--text-muted); font-size: var(--fs-sm); display: block; margin-top: 0.125rem; }

/* Form */
.form { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9375rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  color: var(--text);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235C6169' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
}

.form__note { font-size: var(--fs-sm); color: var(--text-muted); }
.form__status {
  font-size: var(--fs-sm);
  padding: 0.875rem 1rem;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: none;
}
.form__status.is-shown { display: block; }

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease);
}
.map-frame:hover { filter: grayscale(0); }


/* --- Page hero (interior pages) ------------------------------------------- */
.page-hero {
  position: relative;
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 7rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.94), rgba(10, 11, 13, 0.62));
}
.page-hero__title { margin-top: 1.25rem; max-width: 18ch; }
.page-hero__sub { margin-top: 1.5rem; max-width: 52ch; color: rgba(245, 243, 240, 0.72); }

.crumbs {
  display: flex;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.5);
}
.crumbs a:hover { color: var(--accent); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.625rem; }
.crumbs [aria-current] { color: var(--on-dark); }


/* --- Detail list (service pages) ------------------------------------------ */
.detail-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.detail {
  background: var(--paper);
  display: grid;
  gap: 1rem;
  padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  padding-inline: clamp(0rem, -1rem + 3vw, 1.5rem);
  align-items: start;
}
@media (min-width: 56rem) {
  .detail { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; }
}
.detail__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 0.375rem;
}
.detail__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  text-wrap: balance;
}
.detail__text { color: var(--text-muted); line-height: 1.7; }


/* --- Footer --------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  padding-bottom: 2rem;
}

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  padding-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 60rem) {
  .footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr); }
}

.footer__mark { height: 2.5rem; width: auto; }

.footer__blurb {
  margin-top: 1.5rem;
  max-width: 38ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--on-dark-muted);
}

.footer__cols {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3vw, 3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 48rem) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.footer__h {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.25rem;
}

.footer__list { display: grid; gap: 0.75rem; font-size: var(--fs-sm); }
.footer__list a,
.footer__list address {
  color: var(--on-dark-muted);
  font-style: normal;
  line-height: 1.6;
  transition: color 0.3s var(--ease);
}
.footer__list a:hover { color: var(--accent); }

.footer__bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  color: var(--on-dark-faint);
}
.footer__bottom a:hover { color: var(--accent); }

/* Big footer wordmark */
.footer__wordmark {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 0.5rem + 12.5vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 243, 240, 0.16);
  text-align: center;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}


/* --- Back to top ---------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  z-index: 60;
  width: 2.875rem; height: 2.875rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              visibility 0.45s, background-color 0.35s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 1rem; height: 1rem; }


/* --- Scroll reveal -------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal='clip'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal='clip'].is-in { clip-path: inset(0 0 0 0); }

[data-reveal='scale'] { opacity: 0; transform: scale(0.97); }
[data-reveal='scale'].is-in { opacity: 1; transform: none; }


/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__title .word > span { transform: none; }
  .hero__eyebrow, .hero__sub, .hero__actions, .hero__scroll, .hero__stat { opacity: 1; }
  .ticker__track { animation: none; }
  .hero__media img { animation: none; transform: scale(1.02); }
}


/* --- Contrast pass -------------------------------------------------------- *
   The brand coral (#D64B45) sits at 4.27:1 on white — just short of AA for
   normal-size text. These overrides keep the identity while clearing 4.5:1:
     · --accent-fill  #C4413B on white ....... 5.07:1
     · --accent-deep  #B0352F on paper ....... 6.01:1
     · --accent-light #F08A84 on ink ......... 8.08:1
   Large display type and non-text fills keep the pure brand coral.
   -------------------------------------------------------------------------- */
:root { --accent-fill: #C4413B; }

/* Small text on light grounds */
.eyebrow,
.detail__num,
.svc:hover .svc__more { color: var(--accent-deep); }

/* Small text on dark grounds */
.on-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow,
.eyebrow--light,
.svc:hover .svc__index,
.svc__more,
.spec__row:hover .spec__num,
.menu__link:hover,
.menu__foot a:hover,
.footer__list a:hover,
.footer__bottom a:hover,
.crumbs a:hover,
.on-dark .link:hover,
.on-dark .work:hover .work__title { color: var(--accent-light); }

/* Solid fills carrying white text */
.btn--accent { --btn-bg: var(--accent-fill); }
.feature__badge { background: var(--accent-fill); }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .header, .menu, .to-top, .ticker, .cta, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; }
  .hero__media, .hero__scrim { display: none; }
}
