/* ============================================================
   DELTA DESIGN & CONSTRUCTION — "Blueprint at Dusk"
   Design system: charcoal + blueprint-ink blue + dusk warmth
   ============================================================ */

:root {
  /* Color tokens */
  --ink-950: #0D0D0F;      /* page base */
  --ink-900: #121218;      /* deep section */
  --ink-800: #17171F;      /* raised surface */
  --ink-700: #1E1E28;      /* card */
  --line: rgba(122, 138, 255, 0.14);        /* thin blueprint borders */
  --line-strong: rgba(122, 138, 255, 0.30);
  --blue-core: #2B3990;    /* brand royal (logo) */
  --blue-bright: #4A5FD9;  /* electric variant for dark bg */
  --blue-glow: #7A8AFF;    /* glow / linework highlight */
  --paper: #F2F0EB;        /* light editorial sections */
  --paper-ink: #17171F;    /* text on paper */
  --txt-hi: rgba(245, 245, 250, 0.94);
  --txt-md: rgba(200, 202, 214, 0.78);
  --txt-lo: rgba(170, 173, 190, 0.55);

  /* Type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-pad: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 4px;

  /* Cursor (set by JS) */
  --mx: 50vw;
  --my: 40vh;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-950);
  color: var(--txt-hi);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: var(--txt-lo);
}

/* ============================================================
   SIGNATURE FX — blueprint reveal + cursor torch
   ============================================================ */
.fx-blueprint,
.fx-torch {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* Blueprint linework revealed inside the torch radius */
.fx-blueprint {
  background-image:
    repeating-linear-gradient(0deg,  rgba(122,138,255,0.20) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(122,138,255,0.20) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg,  rgba(122,138,255,0.07) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(122,138,255,0.07) 0 1px, transparent 1px 16px);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,0.9) 0%, transparent 68%);
          mask-image: radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,0.9) 0%, transparent 68%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Soft blue torchlight */
.fx-torch {
  background: radial-gradient(circle 340px at var(--mx) var(--my),
              rgba(74, 95, 217, 0.10), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fx-on .fx-blueprint,
body.fx-on .fx-torch { opacity: 1; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .fx-blueprint, .fx-torch { display: none; }
}

/* ============================================================
   TYPE SCALE
   ============================================================ */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue-glow);
}
.section--light .h2 em { color: var(--blue-core); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--blue-glow);
  margin-bottom: 1.5rem;
}

.section-intro {
  color: var(--txt-md);
  max-width: 46ch;
  margin-bottom: 3rem;
}

.textlink {
  color: var(--blue-glow);
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.textlink:hover { border-color: var(--blue-glow); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: color 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.btn--solid {
  background: var(--blue-core);
  color: #fff;
  z-index: 0; /* own stacking context so the sweep stays behind the label */
}
.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
  z-index: -1; /* above the button background, below its text */
}
.btn--solid:hover::before { transform: translateX(0); }
.btn--solid:hover { box-shadow: 0 0 28px rgba(74, 95, 217, 0.45); }
.btn--outline {
  border: 1px solid var(--line-strong);
  color: var(--txt-hi);
}
.btn--outline:hover {
  border-color: var(--blue-glow);
  box-shadow: 0 0 22px rgba(74, 95, 217, 0.3), inset 0 0 22px rgba(74, 95, 217, 0.08);
}
.btn--full { width: 100%; text-align: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav--scrolled {
  background: rgba(13, 13, 15, 0.78);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
/* Light badge so the blue logo reads on dark backgrounds */
.logo-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 6px;
  flex-shrink: 0;
}
.logo-badge__img { width: 100%; height: 100%; object-fit: contain; }
.logo-badge__mark { display: none; width: 100%; height: 100%; }
.logo-badge--fallback .logo-badge__mark { display: block; }
.nav__wordmark { line-height: 1.15; }
.nav__wordmark strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  color: #FFFFFF;
}
.nav__wordmark small {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: rgba(220, 222, 235, 0.75);
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--txt-md);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--blue-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--txt-hi); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { flex-shrink: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  margin-left: auto;
}
.nav__burger span {
  width: 22px; height: 1.5px;
  background: var(--txt-hi);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem var(--gutter) 2rem;
  background: rgba(13, 13, 15, 0.97);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  padding: 0.85rem 0;
  font-size: 1.05rem;
  color: var(--txt-md);
  border-bottom: 1px solid rgba(122,138,255,0.07);
}
.mobile-menu .btn { margin-top: 1.2rem; text-align: center; border-bottom: none; color:#fff; }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 28s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.09) translate(-1.2%, -1%); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13,13,15,0.92) 18%, rgba(13,13,15,0.55) 52%, rgba(19,19,26,0.35) 100%),
    linear-gradient(to top, var(--ink-950) 0%, transparent 32%);
}
.hero__content {
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 8rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin-bottom: 1.6rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue-glow);
}
.hero__sub {
  color: var(--txt-md);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 44ch;
  margin-bottom: 2.6rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Subtle scroll chevron */
.hero__chevron {
  position: absolute;
  left: 50%;
  bottom: 6.5rem;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  opacity: 0.6;
  animation: chevronfloat 2.6s ease-in-out infinite;
  transition: opacity 0.3s;
}
.hero__chevron:hover { opacity: 1; }
.hero__chevron svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue-glow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes chevronfloat {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ============================================================
   STAT BAR — floating card overlapping hero
   ============================================================ */
.statbar {
  position: relative;
  z-index: 4;
  margin-top: -4.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.stat {
  padding: 2.1rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  color: var(--txt-hi);
  line-height: 1.1;
}
.stat__num--word { color: var(--blue-glow); }
.stat__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--txt-lo);
  text-transform: uppercase;
  display: block;
  margin-top: 0.5rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: var(--sec-pad); position: relative; }
.section--dark {
  background:
    /* faint static blueprint grid — brightened by the torch layer */
    repeating-linear-gradient(0deg,  rgba(122,138,255,0.025) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(122,138,255,0.025) 0 1px, transparent 1px 64px),
    var(--ink-950);
}
/* subtle grain */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > .container { position: relative; z-index: 1; }

.section--light {
  background: var(--paper);
  color: var(--paper-ink);
}
.section--light .section-intro { color: rgba(23, 23, 31, 0.65); }

/* Sheet labels — drawing-sheet annotations */
.sheet-label {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.6rem;
}
.sheet-label .mono { color: var(--blue-glow); font-size: 0.68rem; }
.sheet-label__rule {
  flex: 0 1 120px;
  height: 1px;
  background: var(--line-strong);
}
.sheet-label--onlight .mono { color: var(--blue-core); }
.sheet-label--onlight .sheet-label__rule { background: rgba(43, 57, 144, 0.3); }

/* ============================================================
   OUR STORY
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.story__text p {
  color: var(--txt-md);
  margin-bottom: 1.2rem;
  max-width: 54ch;
}
.story__quote {
  margin-top: 2.4rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--blue-bright);
}
.story__quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--txt-hi);
}
.signature {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--blue-glow);
  font-size: 1.02rem;
}
.story__media { position: relative; }
.frame-offset {
  position: relative;
  border-radius: var(--radius);
}
.frame-offset::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid var(--blue-bright);
  border-radius: var(--radius);
  z-index: -1;
}
.frame-offset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9) contrast(1.04);
}
.story__media-caption {
  margin-top: 1.6rem;
  text-align: right;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

/* Cinematic image service cards (clickable) */
.scard {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.scard:hover {
  border-color: rgba(122, 138, 255, 0.5);
  box-shadow: 0 0 34px rgba(74, 95, 217, 0.18);
  transform: translateY(-4px);
}
.scard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.scard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 0.7s var(--ease);
}
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.scard__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
}
.scard__body p {
  font-size: 0.88rem;
  color: var(--txt-md);
  line-height: 1.6;
  flex: 1;
}
.scard__link {
  color: var(--blue-glow);
  font-size: 0.64rem;
  margin-top: 0.4rem;
  transition: letter-spacing 0.3s var(--ease);
}
.scard:hover .scard__link { letter-spacing: 0.26em; }
.card {
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.card:hover {
  border-color: rgba(122, 138, 255, 0.5);
  box-shadow: 0 0 34px rgba(74, 95, 217, 0.18), inset 0 0 24px rgba(74, 95, 217, 0.05);
  transform: translateY(-4px);
}
.card__icon {
  width: 38px;
  height: 38px;
  stroke: var(--blue-glow);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.2rem;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.card p {
  font-size: 0.87rem;
  color: var(--txt-md);
  line-height: 1.6;
}

/* ============================================================
   PROCESS (light section)
   ============================================================ */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
  counter-reset: step;
}
/* connecting line */
.process::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(43, 57, 144, 0.25);
}
.process__step { position: relative; padding-top: 4rem; }
.process__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--blue-core);
  color: var(--blue-core);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.process__step:hover .process__num {
  background: var(--blue-core);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 57, 144, 0.35);
}
.process__step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.process__step p {
  font-size: 0.88rem;
  color: rgba(23, 23, 31, 0.62);
  line-height: 1.6;
}

/* ============================================================
   PROJECTS — asymmetric grid
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.1rem;
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.project:hover img { transform: scale(1.05); filter: saturate(1.05); }
.project__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(13, 13, 15, 0.88) 0%, transparent 55%);
  opacity: 0.92;
  transition: opacity 0.35s;
}
.project__loc {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}
.project__type {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-top: 0.25rem;
}
.project__arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 1.15rem;
  color: var(--blue-glow);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.project:hover .project__arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.tcard {
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.tcard:hover {
  border-color: rgba(122, 138, 255, 0.45);
  box-shadow: 0 0 30px rgba(74, 95, 217, 0.15);
}
.tcard__stars {
  color: var(--blue-glow);
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.tcard p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--txt-hi);
  margin-bottom: 1.2rem;
}
.tcard footer {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--txt-lo);
}

/* ============================================================
   TRUST ROW
   ============================================================ */
.section--trust { padding-block: 3rem; border-block: 1px solid var(--line); }
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}
.trust__item {
  font-size: 0.7rem;
  color: var(--txt-lo);
  transition: color 0.3s, text-shadow 0.3s;
  cursor: default;
}
.trust__item:hover {
  color: var(--blue-glow);
  text-shadow: 0 0 18px rgba(122, 138, 255, 0.5);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  align-items: stretch;
}
.contact__panel {
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3.2rem);
}
.contact__panel .sheet-label { margin-bottom: 1.8rem; }
.form { margin-top: 2.2rem; }
.form__row { margin-bottom: 1.2rem; }
.form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-lo);
  margin-bottom: 0.45rem;
}
.form input,
.form textarea {
  width: 100%;
  background: rgba(13, 13, 15, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--txt-hi);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(170, 173, 190, 0.35); }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(74, 95, 217, 0.18);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { margin-top: 0.4rem; }
.form__alt {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--txt-lo);
  text-align: center;
}
.form__alt a { color: var(--blue-glow); }

.contact__map {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact__map iframe {
  flex: 1;
  min-height: 320px;
  width: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.92) contrast(0.9) hue-rotate(190deg);
}
.contact__details {
  padding: 1.5rem 1.7rem;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.contact__details p {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-size: 0.92rem;
}
.contact__details .mono { width: 3.4rem; flex-shrink: 0; color: var(--blue-glow); }
.contact__details a:hover { color: var(--blue-glow); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line-strong);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}
.footer__brand p {
  margin-top: 1.2rem;
  color: var(--txt-lo);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col h4 {
  color: var(--blue-glow);
  font-size: 0.68rem;
  margin-bottom: 0.5rem;
}
.footer__col a, .footer__col span {
  font-size: 0.9rem;
  color: var(--txt-md);
  font-weight: 300;
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--txt-hi); }
.footer__social {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.8rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.footer__social a:hover {
  border-color: var(--blue-glow);
  box-shadow: 0 0 16px rgba(74, 95, 217, 0.3);
}
.footer__social svg {
  width: 16px; height: 16px;
  stroke: var(--txt-md);
  stroke-width: 1.5;
  fill: none;
}
.footer__bar {
  border-top: 1px solid var(--line);
  padding: 1.4rem var(--gutter);
  text-align: center;
}
.footer__bar p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--txt-lo);
}

/* ============================================================
   FLOATING CALL PILL
   ============================================================ */
.callpill {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(23, 23, 31, 0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7rem 1.4rem 0.7rem 1rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.callpill:hover {
  border-color: var(--blue-glow);
  box-shadow: 0 0 30px rgba(74, 95, 217, 0.35);
  transform: translateY(-2px);
}
.callpill svg {
  width: 20px; height: 20px;
  stroke: var(--blue-glow);
  stroke-width: 1.6;
  fill: none;
  stroke-linejoin: round;
}
.callpill small {
  display: block;
  font-size: 0.55rem;
  color: var(--txt-lo);
}
.callpill strong {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
/* stagger within grids */
.services-grid .reveal:nth-child(2), .testimonials .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3), .testimonials .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.06s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.14s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.22s; }
.services-grid .reveal:nth-child(8) { transition-delay: 0.30s; }
.projects-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.projects-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.projects-grid .reveal:nth-child(5) { transition-delay: 0.08s; }
.projects-grid .reveal:nth-child(6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__video { animation: none; }
  .hero__scrollline { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .process::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { background: rgba(13, 13, 15, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

  .statbar { grid-template-columns: repeat(2, 1fr); margin-top: -3rem; }
  .stat { padding: 1.5rem 1rem; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(odd)::after {
    content: "";
    position: absolute;
    bottom: 0; left: 12%;
    width: 76%; height: 1px;
    background: var(--line);
  }
  .stat:nth-child(3)::after, .stat:nth-child(4)::after { display: none; }

  .story { grid-template-columns: 1fr; }
  .story__media { order: -1; max-width: 420px; }

  .contact { grid-template-columns: 1fr; }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .project--wide { grid-column: span 2; }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .project--wide { grid-column: span 1; }
  .project--tall { grid-row: span 1; }
  .form__row--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__scrollhint { display: none; }
  .callpill { padding: 0.65rem 1.1rem 0.65rem 0.9rem; }
  .callpill small { display: none; }
}

/* ============================================================
   V2 ADDITIONS — light story, scroll-scrub timeline, service pages
   ============================================================ */

/* ---------- Our Story on light background ---------- */
.section--light .story__text p { color: rgba(23, 23, 31, 0.72); }
.section--light .story__quote { border-left-color: var(--blue-core); }
.section--light .story__quote blockquote { color: var(--paper-ink); }
.section--light .signature { color: var(--blue-core); }
.section--light .story__media-caption { color: rgba(23, 23, 31, 0.45); }
.section--light .frame-offset::before { border-color: var(--blue-core); }

/* ---------- Scroll-scrubbed build timeline ---------- */
.scrub { position: relative; }
.scrub__spacer { height: 400vh; }
.scrub__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scrub__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 13, 15, 0.88) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(13, 13, 15, 0.5) 0%, transparent 22%);
}
.scrub__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 4rem);
  pointer-events: none;
}
.scrub__eyebrow {
  position: absolute;
  top: clamp(4.5rem, 8vw, 5.5rem);
  right: clamp(1.5rem, 5vw, 4rem);
  color: rgba(220, 222, 235, 0.8);
  text-align: right;
}
.scrub__caption {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.scrub__stagenum {
  color: var(--blue-glow);
  font-size: 1rem;
}
.scrub__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  color: #fff;
  max-width: 14ch;
}
.scrub__bar {
  display: flex;
  gap: 6px;
  max-width: 720px;
}
.scrub__seg {
  flex: 1;
  height: 3px;
  background: rgba(122, 138, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.scrub__seg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-glow);
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
}

/* Fallback stage cards — shown when scrubbing is unavailable */
.scrub__fallback { display: none; padding-block: var(--sec-pad); }
.scrub--fallback .scrub__spacer { display: none; }
.scrub--fallback .scrub__fallback { display: block; }
.stagecards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.stagecard {
  display: grid;
  grid-template-rows: auto 1fr;
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stagecard img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9);
}
.stagecard > div { padding: 1.4rem 1.5rem 1.6rem; }
.stagecard .mono { color: var(--blue-glow); }
.stagecard h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0.35rem 0 0.4rem;
}
.stagecard p { font-size: 0.88rem; color: var(--txt-md); line-height: 1.6; }

/* ---------- Service detail pages ---------- */
.svc-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.svc-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}
.svc-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink-950) 2%, rgba(13,13,15,0.55) 45%, rgba(13,13,15,0.35) 100%);
}
.svc-hero__content { padding-block: 7.5rem 3.5rem; }
.svc-hero__content .eyebrow { margin-bottom: 1rem; }
.svc-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.06;
}
.svc-hero__title em { font-style: italic; font-weight: 500; color: var(--blue-glow); }

.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--txt-lo);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--txt-lo); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--blue-glow); }

.svc-intro {
  max-width: 62ch;
  color: var(--txt-md);
  font-size: 1.05rem;
}
.svc-intro p + p { margin-top: 1rem; }

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.8rem;
}
.svc-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
}
.svc-step .mono { color: var(--blue-glow); }
.svc-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0.5rem 0 0.45rem;
}
.svc-step p { font-size: 0.87rem; color: var(--txt-md); line-height: 1.6; }

.svc-deliver {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.svc-deliver p { color: var(--txt-md); margin-bottom: 1rem; }

.svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.svc-gallery figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s var(--ease);
}
.svc-gallery figure:hover img { transform: scale(1.05); }
.svc-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(230, 232, 245, 0.85);
  background: linear-gradient(to top, rgba(13, 13, 15, 0.85), transparent);
}

.cta-band {
  text-align: center;
  border-block: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-band .h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--txt-md); margin-bottom: 2rem; }

/* ---------- V2 responsive ---------- */
@media (max-width: 1024px) {
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-deliver { grid-template-columns: 1fr; }
  .stagecards { grid-template-columns: 1fr; }
  .logo-badge { width: 48px; height: 48px; }
  .nav__wordmark strong { font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-gallery { grid-template-columns: 1fr; }
  .hero__chevron { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chevron { animation: none; }
}

/* ============================================================
   SCROLL-EXPANSION HERO (.xhero)
   --xp: 0 = small centered card, 1 = full viewport.
   JS removes .xhero--static on capable desktops and drives --xp.
   ============================================================ */
.xhero { position: relative; --xp: 0; }
.xhero__spacer { height: 200vh; }
.xhero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--ink-950);
}

/* soft ambient blue glow behind the small card, fades as it expands */
.xhero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 52%,
              rgba(74, 95, 217, 0.14), transparent 70%);
  opacity: calc(1 - var(--xp));
}

.xhero__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(360px + (100vw - 360px) * var(--xp));
  height: calc(460px + (100vh - 460px) * var(--xp));
  max-width: 100vw;
  max-height: 100vh;
  border-radius: calc(14px * (1 - var(--xp)));
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, calc(0.55 * (1 - var(--xp)))),
    0 0 60px rgba(74, 95, 217, calc(0.22 * (1 - var(--xp))));
}
.xhero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* dark veil on the small card that lifts while expanding, plus a scrim
   for text legibility once expanded */
.xhero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 13, 15, calc(0.85 * var(--xp))) 0%, transparent 45%),
    rgba(13, 13, 15, calc(0.38 - 0.28 * var(--xp)));
}

.xhero__title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42vh;
  pointer-events: none;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.xhero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue-glow);
}
.xhero__t {
  display: block;
  opacity: calc(1 - var(--xp) * 1.6);
}
.xhero__t--left  { transform: translateX(calc(var(--xp) * -55vw)); }
.xhero__t--right { transform: translateX(calc(var(--xp) *  55vw)); }

.xhero__hint {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  color: var(--blue-glow);
  letter-spacing: 0.34em;
  opacity: calc(0.75 - var(--xp) * 3);
}

/* eyebrow + sub + CTAs fade in over the expanded video */
.xhero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) clamp(3.5rem, 8vh, 6rem);
  max-width: var(--container);
  margin-inline: auto;
  opacity: calc((var(--xp) - 0.72) / 0.28);
  transform: translateY(calc((1 - var(--xp)) * 30px));
  pointer-events: none;
}
.xhero:not(.xhero--static) .xhero__content { visibility: hidden; }
.xhero:not(.xhero--static).xhero--open .xhero__content {
  visibility: visible;
  pointer-events: auto;
}
.xhero__content .hero__sub { margin-bottom: 2rem; }

/* ---------- Static hero (mobile / reduced-motion / no-JS) ---------- */
.xhero--static .xhero__spacer { height: auto; }
.xhero--static .xhero__stage {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.xhero--static .xhero__glow,
.xhero--static .xhero__hint { display: none; }
.xhero--static .xhero__card {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}
.xhero--static .xhero__shade {
  background:
    linear-gradient(100deg, rgba(13,13,15,0.92) 18%, rgba(13,13,15,0.55) 52%, rgba(19,19,26,0.35) 100%),
    linear-gradient(to top, var(--ink-950) 0%, transparent 32%);
}
.xhero--static .xhero__title {
  position: relative;
  top: auto;
  transform: none;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  pointer-events: auto;
}
.xhero--static .xhero__t { opacity: 1; transform: none; }
.xhero--static .xhero__content {
  position: relative;
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  padding-bottom: 7rem;
  padding-top: 1.6rem;
  width: 100%;
}
.xhero--static .xhero__content .eyebrow { display: none; }

@media (prefers-reduced-motion: reduce) {
  .xhero__card, .xhero__t, .xhero__content { transition: none; }
}

/* ============================================================
   REFINEMENT PASS — logo scale, hero legibility, stats, projects
   ============================================================ */

/* ---------- 1. Logo: larger and legible on dark ---------- */
.logo-badge {
  width: 76px;
  height: 76px;
  padding: 7px;
  border-radius: 5px;
}
.nav__logo { gap: 0.95rem; }
.nav__wordmark strong {
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  line-height: 1;
}
.nav__wordmark small {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(226, 228, 240, 0.82);
  margin-top: 0.28rem;
  display: block;
}
.nav__inner { padding-block: 0.75rem; }

/* Footer mark reads a touch larger still */
.footer__brand .logo-badge { width: 86px; height: 86px; }
.footer__brand .nav__wordmark strong { font-size: 1.7rem; }
.footer__brand .nav__wordmark small { font-size: 0.7rem; }

/* Keep the vector mark crisp rather than letting it blur when scaled */
.logo-badge__img, .logo-badge__mark { image-rendering: auto; }

/* ---------- 2. Hero subtext legibility ---------- */
.xhero__content {
  /* soft scrim so the copy never floats on bright video frames */
  background: linear-gradient(to top, rgba(9, 9, 12, 0.82) 12%, rgba(9, 9, 12, 0.45) 60%, transparent 100%);
  padding-top: 4.5rem;
}
.xhero__content .hero__sub,
.hero__sub {
  color: rgba(248, 249, 255, 0.96);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  max-width: 52ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75);
}
.xhero__content .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }

/* ---------- 3. Stat bar ---------- */
.stat__num--word {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--blue-glow);
  line-height: 1.15;
}
.stat__label { color: rgba(196, 200, 216, 0.82); }

/* ---------- 4. Project fact strip ---------- */
.prj-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.prj-facts > div {
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prj-facts .mono { color: var(--blue-glow); font-size: 0.62rem; }
.prj-facts strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--txt-hi);
}

@media (max-width: 860px) {
  .logo-badge { width: 58px; height: 58px; }
  .nav__wordmark strong { font-size: 1.2rem; }
  .nav__wordmark small { font-size: 0.56rem; }
  .footer__brand .logo-badge { width: 68px; height: 68px; }
  .footer__brand .nav__wordmark strong { font-size: 1.35rem; }
  .prj-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .logo-badge { width: 50px; height: 50px; }
  .nav__wordmark strong { font-size: 1.05rem; letter-spacing: 0.12em; }
  .nav__wordmark small { font-size: 0.5rem; letter-spacing: 0.16em; }
  .prj-facts { grid-template-columns: 1fr; }
}
