/* =====================================================================
   HIBCO ROOF LLC — main stylesheet
   ===================================================================== */

@font-face {
  font-family: 'Inter Tight Variable';
  src: url('/assets/fonts/inter-tight-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Variable';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f0ea;
  --bg-2: #e9e6de;
  --ink: #2a2a28;
  --text: #5c5b56;
  --muted: #6e6b63;
  --line: rgba(42, 42, 40, 0.12);
  --line-strong: rgba(42, 42, 40, 0.28);
  --dark: #1d212b;
  --dark-2: #14171f;
  --on-dark: #ece8df;
  --on-dark-muted: #a3a7b2;
  --accent: #c44c37;
  --accent-hover: #ab3f2c;
  --dot: #e0654f;
  --accent-text: #a8402e;
  --error: #a8321f;

  --font-display: 'Inter Tight Variable', 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4.6vw, 72px);
  --gap: clamp(14px, 1.8vw, 28px);
  --nav-h: 76px;
  --section: clamp(88px, 11vw, 168px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.097 28.9%, 1.025 37.1%, 1.002 41.7%, 0.993 46.4%, 1 61.4%, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.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 {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--bg); padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 4px;
  font-size: 13px; transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Type ---------- */
.h1, .h2, .hero__title, .hero__headline, .craft__title, .footer__word, .svc__title, .apps__title, .card__title, .step__title {
  font-family: var(--font-display);
  color: var(--ink);
  font-optical-sizing: auto;
}
.h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.04; font-weight: 400; letter-spacing: -0.032em; }
.h2 { font-size: clamp(28px, 2.95vw, 44px); line-height: 1.12; font-weight: 400; letter-spacing: -0.026em; text-wrap: balance; }
.eyebrow {
  font: 600 10.5px/1.4 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.eyebrow--dark { color: var(--on-dark-muted); }
.note { font-size: 13px; color: var(--muted); max-width: 62ch; }
.dot { color: inherit; }

/* Split lines (GSAP SplitText adds wrappers) */
.split-line { display: block; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 46px; padding: 0 26px;
  font: 600 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg);
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--accent { --btn-bg: var(--accent); color: #fff; }
.btn--accent::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--accent-hover);
  transform: translateY(101%); border-radius: inherit;
  transition: transform 0.55s var(--ease-out);
}
.btn--accent:hover::before { transform: translateY(0); }
.btn--square { border-radius: 3px; }
.btn--ghost { border-color: currentColor; min-height: 38px; padding: 0 18px; font-size: 10px; }
.btn--ghost::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s var(--ease-out);
}
.btn--ghost:hover { color: #fff; border-color: var(--accent); }
.btn--ghost:hover::before { transform: scaleX(1); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px;
  font: 600 10.5px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); padding-block: 10px;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 11px; height: 1px;
  background: currentColor; opacity: 0.35; transform-origin: right; transition: transform 0.5s var(--ease-out), opacity 0.3s;
}
.link:hover::after { opacity: 1; animation: linkLine 0.7s var(--ease-out); }
.link .arrow { transition: transform 0.45s var(--ease-out); }
.link--light { color: #fff; }
@keyframes linkLine { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--nav-h);
  color: var(--ink);
  background: rgba(242, 240, 234, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.nav__inner {
  height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { font: 700 19px/1 var(--font-display); letter-spacing: -0.035em; white-space: nowrap; padding-block: 13px; display: inline-flex; align-items: center; min-height: 44px; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav__link {
  position: relative; font: 600 10.5px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
  padding-block: 14px; opacity: 0.86; transition: opacity 0.3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current='page'] { opacity: 1; }
.nav__toggle { display: none; }

.nav.nav--dark { color: #fff; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.nav--dark .nav__cta { border-color: rgba(255, 255, 255, 0.55); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--dark-2); color: var(--on-dark);
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  visibility: hidden;
}
.menu[hidden] { display: flex; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-in-out), visibility 0s; }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; flex: 1; }
.menu__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; }
.menu__list a {
  display: block; padding: 14px 0;
  font: 400 clamp(28px, 8vw, 40px)/1.15 var(--font-display); letter-spacing: -0.03em;
  transform: translateY(105%); transition: transform 0.7s var(--ease-out);
}
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0.2s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: 0.25s; }
.menu__contact { display: grid; gap: 6px; }
.menu__contact a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--on-dark-muted); font-size: 15px; }
.menu__contact svg { width: 18px; height: 18px; flex: none; color: var(--on-dark); }

/* ---------- Intro (first visit per session) ---------- */
.intro { display: none; }
html.has-intro .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #05070b;
  clip-path: inset(0 0 0 0);
  animation: introFailsafe 0.4s 3.4s forwards;
}
html.has-intro body { overflow: hidden; }
.intro__light {
  position: absolute; width: min(120vw, 1180px); aspect-ratio: 1.75;
  background: radial-gradient(closest-side, rgba(128, 146, 184, 0.9), rgba(70, 86, 120, 0.6) 42%, rgba(26, 32, 48, 0.25) 72%, rgba(5, 7, 11, 0) 100%);
  opacity: 0; transform: scale(0.7);
}
.intro__logo { position: relative; width: min(78vw, 560px); opacity: 0; transform: scale(0.94); filter: blur(8px); }
.intro__logo img { width: 100%; height: auto; }
.intro__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 62%) 130% 0 / 260% 100% no-repeat;
  -webkit-mask: url('/assets/img/logo-900.webp') center / 100% 100% no-repeat;
  mask: url('/assets/img/logo-900.webp') center / 100% 100% no-repeat;
  mix-blend-mode: screen; opacity: 0.85;
}
html.has-intro .intro.is-ready { animation: introOut 0.42s cubic-bezier(0.76, 0, 0.24, 1) 0.72s forwards, introFailsafe 0.4s 3.4s forwards; }
.intro.is-ready .intro__light { animation: introLight 0.7s var(--ease-out) forwards; }
.intro.is-ready .intro__logo { animation: introLogo 0.62s var(--ease-out) forwards, introLogoOut 0.32s ease-in 0.7s forwards; }
.intro.is-ready .intro__sheen { animation: introSheen 0.65s cubic-bezier(0.45, 0, 0.2, 1) 0.22s forwards; }
@keyframes introLight { to { opacity: 1; transform: scale(1); } }
@keyframes introLogo { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes introLogoOut { from { opacity: 1; transform: scale(1); filter: blur(0); } to { opacity: 0; transform: translateY(-26px) scale(1.015); filter: blur(0); } }
@keyframes introSheen { to { background-position: -30% 0; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Page transition overlay ---------- */
.pt {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  display: grid; grid-template-columns: repeat(var(--cols, 10), 1fr); grid-auto-rows: 1fr;
}
.pt__cell { background: var(--bg); transform: scale(0); will-change: transform; }
html.is-entering .pt { background: var(--bg); animation: ptFailsafe 0.3s 2.6s forwards; }
html.is-leaving .pt { pointer-events: all; }
@keyframes ptFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Floating contact button ---------- */
@property --fab-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.fab {
  position: fixed; z-index: 80;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: inline-flex; isolation: isolate; border-radius: 999px;
  opacity: 0; transform: translateY(22px) scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.fab.is-in { opacity: 1; transform: none; }
.fab.is-in.is-hidden { opacity: 0; transform: translateY(16px) scale(0.94); pointer-events: none; transition: opacity 0.3s, transform 0.45s var(--ease-out); }
html:not(.js) .fab { opacity: 1; transform: none; }
.fab__glow {
  position: absolute; inset: 12px 16px -6px; z-index: 0; border-radius: 999px;
  background: #e2664c; filter: blur(18px); opacity: 0.4;
  animation: fabBreath 3.8s ease-in-out infinite;
}
.fab__pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 28px 0 8px; border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d6573e 0%, #c5472f 50%, #ad3b26 100%);
  box-shadow: 0 22px 42px -20px rgba(130, 40, 22, 0.9), 0 6px 14px -6px rgba(24, 12, 9, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.7s var(--spring), box-shadow 0.5s var(--ease-out);
}
.fab__pill::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.24) 48%, rgba(255, 255, 255, 0) 66%) -160% 0 / 260% 100% no-repeat;
}
.fab__border {
  position: absolute; inset: -2px; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--fab-a), rgba(255, 238, 218, 0) 0deg, rgba(255, 238, 218, 0) 200deg, rgba(255, 241, 224, 0.95) 295deg, rgba(255, 238, 218, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7; animation: fabBorder 4.6s linear infinite;
}
.fab__icon {
  position: relative; z-index: 1; flex: none;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transition: transform 0.6s var(--ease-out), background-color 0.4s;
}
.fab__icon svg { width: 18px; height: 18px; }
.fab__text { position: relative; z-index: 1; font: 650 12px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab__pill { transform: scale(1.045); box-shadow: 0 28px 50px -20px rgba(150, 44, 24, 0.95), 0 8px 18px -8px rgba(24, 12, 9, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(0, 0, 0, 0.18); }
  .fab:hover .fab__pill::after { background-position: 160% 0; transition: background-position 1.1s var(--ease-out); }
  .fab:hover .fab__glow { animation-name: fabBreathHover; }
  .fab:hover .fab__border { opacity: 1; animation-duration: 2.2s; }
  .fab:hover .fab__icon { transform: rotate(-12deg); background-color: rgba(255, 255, 255, 0.24); }
}
.fab.is-pressed .fab__pill { transform: scale(0.96); transition-duration: 0.2s; }
.fab.is-pressed .fab__border { opacity: 1; animation-duration: 1.6s; }
.fab:focus-visible { outline: none; }
.fab:focus-visible .fab__pill { outline: 2px solid #f1c597; outline-offset: 4px; }
@keyframes fabBorder { to { --fab-a: 360deg; } }
@keyframes fabBreath { 0%, 100% { opacity: 0.3; transform: scale(0.95); } 50% { opacity: 0.52; transform: scale(1.02); } }
@keyframes fabBreathHover { 0%, 100% { opacity: 0.62; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero { position: relative; background: #0b0d12; color: #fff; }
.hero__scene { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media > picture { width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.hero__img--aerial { object-position: 50% 50%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.6) 0%, rgba(8, 10, 14, 0) 24%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.5) 30%, rgba(8, 10, 14, 0) 62%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.32) 0%, rgba(8, 10, 14, 0) 55%);
}
.hero__shade--aerial {
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0) 24%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.55) 34%, rgba(8, 10, 14, 0) 66%);
}

.hero__content { position: absolute; inset: 0; z-index: 2; padding-top: var(--nav-h); }
.hero__layout {
  height: 100%;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  grid-template-rows: auto 1fr auto auto auto;
  padding-top: clamp(26px, 4.6vh, 54px);
  /* keeps the content clear of the floating contact button in the corner */
  padding-bottom: calc(22px + 58px + clamp(26px, 4vh, 40px) + env(safe-area-inset-bottom));
}
.hero__kicker {
  grid-column: 1 / 9; grid-row: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font: 600 10.5px/1.4 var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.84);
}
.hero__kicker i { width: 4px; height: 4px; border-radius: 50%; background: var(--dot); }
.hero__title {
  grid-column: 1 / -1; grid-row: 3; align-self: end;
  color: #fff; font-weight: 500;
  font-size: clamp(56px, 11.2vw, 186px); line-height: 0.84; letter-spacing: -0.056em;
  white-space: nowrap; overflow: hidden; padding: 0.06em 0.04em 0.07em 0; margin-left: -0.045em;
}
.hero__title .dot { color: var(--dot); }
.hero__rule {
  grid-column: 1 / -1; grid-row: 4; height: 1px; margin-top: clamp(16px, 2.4vh, 28px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16));
  transform-origin: left center;
}
.hero__meta {
  grid-column: 1 / -1; grid-row: 5;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding-top: clamp(20px, 3vh, 32px);
}
.hero__sub { grid-column: 1 / 4; font: 600 10.5px/1.5 var(--font-body); letter-spacing: 0.32em; text-transform: uppercase; color: #fff; }
.hero__lead { grid-column: 4 / 9; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 44ch; }
.hero__actions { grid-column: 9 / 13; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 26px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 11.5px; letter-spacing: 0.22em; }
.hero__cta { box-shadow: 0 18px 38px -18px rgba(196, 76, 55, 0.9); }
.hero__call {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 44px;
  font: 500 14px/1.2 var(--font-body); color: #fff; letter-spacing: 0.01em; white-space: nowrap;
}
.hero__call small { font: 600 9.5px/1 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.hero__call::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.hero__call:hover::after { transform: scaleX(1); transform-origin: left; }

.hero__content--2 .hero__kicker { grid-row: 2; align-self: end; margin-bottom: clamp(16px, 2.4vh, 26px); }
.hero__headline {
  grid-column: 1 / 11; grid-row: 3;
  color: #fff; font-weight: 450;
  font-size: clamp(38px, 5.6vw, 92px); line-height: 0.98; letter-spacing: -0.042em;
}
.hero__headline .line { display: block; overflow: hidden; padding-bottom: 0.07em; }
.hero__headline .line > span { display: block; }
.hero__points {
  grid-column: 1 / -1; grid-row: 5;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 12px;
  padding-top: clamp(20px, 3vh, 32px);
}
.hero__points li { display: flex; align-items: baseline; gap: 14px; font: 600 10.5px/1.4 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.hero__points li span { color: var(--dot); letter-spacing: 0.08em; }
.hero__progress { display: none; }

/* Story mode (JS + motion allowed) */
.hero--story .hero__stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hero--story .hero__scene { position: absolute; inset: 0; height: auto; min-height: 0; }
.hero--story .hero__scene--2 { opacity: 0; }
.hero--story .hero__progress {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right;
  font: 600 9.5px/1.5 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86);
}
.hero__label { max-width: 9em; }
.hero__bar { position: relative; width: 1px; height: 96px; background: rgba(255, 255, 255, 0.25); margin-top: 6px; }
.hero__bar i { position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: top; }
.js .hero--story .hero__content--2 { visibility: hidden; }

/* =====================================================================
   Sections
   ===================================================================== */
.shead { align-items: start; row-gap: 18px; margin-bottom: clamp(40px, 5vw, 76px); }
.shead__eyebrow { grid-column: 1 / 4; padding-top: 0.9em; }
.shead__title { grid-column: 4 / 10; }
.shead__aside { grid-column: 10 / 13; font-size: 13.5px; line-height: 1.6; color: var(--muted); padding-top: 0.5em; }
.shead__aside .link { margin-top: 10px; }

/* Services intro + cards */
.services-intro { background: var(--bg); z-index: 2; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(14px, 1.6vw, 24px); }
.card { display: block; color: inherit; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card__img, .card__media picture { width: 100%; height: 100%; object-fit: cover; }
.card__img { transform: scale(1.001); transition: transform 1.6s var(--ease-out); }
.card:hover .card__img { transform: scale(1.03); }
.card__body { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding-top: 18px; }
.card__n { font: 500 11px/1.9 var(--font-body); letter-spacing: 0.08em; color: var(--muted); }
.card__title { font-size: 17px; line-height: 1.35; font-weight: 450; letter-spacing: -0.01em; display: inline-flex; gap: 8px; align-items: baseline; }
.card__arrow { display: inline-block; font-size: 14px; color: var(--accent); opacity: 0; transform: translate(-6px, 4px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.card:hover .card__arrow, .card:focus-visible .card__arrow { opacity: 1; transform: none; }
.card__text { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* About */
.about__eyebrow { grid-column: 1 / 4; padding-top: 0.9em; }
.about__title { grid-column: 4 / 9; }
.about__text { grid-column: 9 / 13; display: grid; gap: 16px; font-size: 14px; line-height: 1.7; color: var(--text); padding-top: 0.4em; }
.about__rule { display: block; width: 44px; height: 1px; background: var(--ink); opacity: 0.4; margin-top: 8px; }

/* Craft band */
.craft { position: relative; color: #fff; }
.craft__frame { position: relative; height: clamp(520px, 58vw, 860px); overflow: hidden; background: #111; }
.craft__media { position: absolute; inset: 0; }
.craft__media picture, .craft__img { width: 100%; height: 100%; object-fit: cover; }
.craft__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 16, 0.15) 0%, rgba(10, 12, 16, 0) 35%, rgba(10, 12, 16, 0.72) 100%), linear-gradient(90deg, rgba(10, 12, 16, 0.45), rgba(10, 12, 16, 0) 60%); }
.craft__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: clamp(36px, 5vw, 72px);
}
.craft__title { color: #fff; font-size: clamp(32px, 3.6vw, 54px); font-weight: 450; letter-spacing: -0.03em; line-height: 1.05; margin-top: 14px; }
.craft__text { margin-top: 14px; max-width: 46ch; color: rgba(255, 255, 255, 0.84); font-size: 14px; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex; align-items: center; white-space: nowrap;
  font: 600 10.5px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.marquee__list li::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--dot); margin-inline: clamp(28px, 4vw, 60px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Applications slider */
.apps { background: var(--bg); }
.apps__viewport { position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 2.35 / 1; background: var(--bg-2); }
.apps__viewport::-webkit-scrollbar { display: none; }
.apps__slide { scroll-snap-align: start; }
.apps--pinned .apps__viewport { overflow: hidden; scroll-snap-type: none; }
.apps__track { display: flex; height: 100%; will-change: transform; }
.apps__slide { flex: 0 0 100%; height: 100%; }
.apps__slide picture, .apps__img { width: 100%; height: 100%; object-fit: cover; }
.apps__counter {
  position: absolute; right: 18px; bottom: 16px; z-index: 2;
  font: 600 10px/1 var(--font-body); letter-spacing: 0.2em; color: #fff;
  background: rgba(12, 14, 19, 0.62); padding: 7px 10px; border-radius: 999px;
}
.apps__caption { display: grid; margin-top: 22px; min-height: 64px; }
.apps__cap {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); pointer-events: none;
}
.apps__cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.apps__cap .eyebrow { grid-column: 1 / 4; }
.apps__title { grid-column: 4 / 8; font-size: 17px; font-weight: 450; letter-spacing: -0.01em; line-height: 1.3; }
.apps__text { grid-column: 8 / 13; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.apps__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 34px; }
.apps__tab {
  position: relative; display: flex; gap: 12px; align-items: baseline; text-align: left;
  background: none; border: 0; padding: 18px 0 6px; cursor: pointer; min-height: 44px;
  font-size: 12.5px; color: var(--muted); transition: color 0.3s;
}
.apps__tab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.apps__tab-bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.apps__tab.is-active { color: var(--ink); }
.apps__tab:hover { color: var(--ink); }
.apps__tab-n { font-size: 10.5px; letter-spacing: 0.08em; }
.apps__note { margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.apps--pinned { padding-block: clamp(56px, 7vw, 110px); }
.apps--pinned .shead { margin-bottom: clamp(22px, 3.6vh, 48px); }
.apps--pinned .apps__viewport { aspect-ratio: auto; height: min(50vh, calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 2.35)); }
.apps--pinned .apps__caption { margin-top: 18px; }
.apps--pinned .apps__tabs { margin-top: 18px; }
.apps__stage { position: relative; }

/* FAQ */
.faq-section__head { grid-column: 1 / 5; }
.faq-section__head .h2 { margin-top: 14px; }
.faq { grid-column: 5 / 13; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: 0; padding: 22px 0; min-height: 44px; cursor: pointer; text-align: left;
  font: 450 15px/1.45 var(--font-body); color: var(--ink);
}
.faq__icon { position: relative; flex: none; width: 12px; height: 12px; transition: transform 0.5s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.js .faq__item:not(.is-open) .faq__a { height: 0; }
.faq__inner p { padding: 0 48px 24px 0; max-width: 68ch; font-size: 14px; line-height: 1.7; color: var(--text); }
.faq__inner a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact__intro { grid-column: 1 / 5; }
.contact__intro .h2 { margin-top: 14px; max-width: 12ch; }
.contact__lead { margin-top: 18px; font-size: 14px; max-width: 34ch; }
.contact__direct { margin-top: 36px; display: grid; gap: 4px; }
.contact__direct a { display: flex; align-items: center; gap: 14px; min-height: 52px; color: var(--ink); transition: color 0.3s; }
.contact__direct a:hover { color: var(--accent); }
.contact__direct svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.contact__direct span { display: grid; font-size: 14px; line-height: 1.35; }
.contact__direct small { font: 600 9.5px/1.4 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.form { grid-column: 6 / 13; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 10px/1.4 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field .opt { letter-spacing: 0.1em; }
.field input, .field select, .field textarea {
  width: 100%; margin-top: 8px; padding: 10px 0 12px;
  font: 400 15px/1.4 var(--font-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9b988f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field--select select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%232a2a28' stroke-width='1.2'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 22px; cursor: pointer; }
.field select:invalid { color: #8c897f; }
.field input[type='date'] { min-height: 44px; }
.field__error { min-height: 16px; margin-top: 6px; font-size: 12px; line-height: 1.3; color: var(--error); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--error); }
.field__meta { display: flex; justify-content: space-between; gap: 16px; }
.field__count { margin-top: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.form__note { font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
.form__status:empty { display: none; }
.form__status { margin-top: 22px; padding: 16px 18px; border-left: 2px solid var(--accent); background: var(--bg-2); font-size: 13.5px; color: var(--ink); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--dark); color: var(--on-dark); z-index: 2; }
.footer__media { position: relative; height: clamp(220px, 32vw, 500px); overflow: hidden; }
.footer__media picture, .footer__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.footer__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 33, 43, 0) 30%, rgba(29, 33, 43, 0.6) 70%, var(--dark) 100%); }
.footer__body { padding-top: clamp(40px, 5vw, 72px); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.footer__brand { grid-column: 1 / 6; }
.footer__logo { font: 700 19px/1 var(--font-display); letter-spacing: -0.035em; color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.footer__brand p { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-muted); max-width: 34ch; }
.footer__contact { grid-column: 6 / 10; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__contact .eyebrow { margin-bottom: 8px; }
.footer__contact a, .footer__links a { font-size: 13.5px; color: var(--on-dark-muted); min-height: 32px; display: inline-flex; align-items: center; transition: color 0.3s; }
.footer__contact a:hover, .footer__links a:hover { color: var(--on-dark); }
.footer__links { grid-column: 10 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__rule { height: 1px; background: rgba(236, 232, 223, 0.14); margin-top: clamp(56px, 7vw, 100px); }
.footer__word {
  margin-top: clamp(28px, 4vw, 56px);
  color: var(--on-dark); font-weight: 500;
  font-size: clamp(54px, 12.6vw, 196px); line-height: 0.86; letter-spacing: -0.055em;
  white-space: nowrap; overflow: hidden; padding-bottom: 0.06em;
}
.footer__word .dot { color: var(--dot); display: inline-block; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 0 calc(40px + env(safe-area-inset-bottom));
  font: 600 10px/1.5 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted);
}

/* ---------- Services page ---------- */
.svc-hero { padding-top: calc(var(--nav-h) + clamp(64px, 9vw, 140px)); padding-bottom: clamp(48px, 6vw, 84px); }
.svc-hero .shead { margin-bottom: 0; }
.svc-hero .shead__title { font-size: clamp(32px, 3.5vw, 52px); grid-column: 4 / 11; }
.svc-hero__lead { margin-left: calc((100% + var(--gap)) * 3 / 12); margin-top: 22px; max-width: 46ch; font-size: 14.5px; }
.svc-banner__frame { position: relative; height: clamp(340px, 60vw, 820px); max-height: 86vh; overflow: hidden; background: #ddd; }
.svc-banner__inner { position: absolute; inset: 0; }
.svc-banner__inner picture, .svc-banner__img { width: 100%; height: 100%; object-fit: cover; }
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding-block: clamp(36px, 5vw, 64px); scroll-margin-top: calc(var(--nav-h) + 20px); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc__n { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 8px; }
.svc__n span { font: 300 clamp(26px, 2.4vw, 34px)/1 var(--font-display); color: var(--accent-text); letter-spacing: -0.02em; }
.svc__n small { font: 600 9.5px/1.4 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.svc__media { grid-column: 3 / 8; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.svc__media picture, .svc__img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { grid-column: 8 / 13; }
.svc__title { font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.svc__body > p { margin-top: 14px; font-size: 14px; max-width: 48ch; }
.svc__body .link { margin-top: 10px; }
.svc__bullets { margin-top: 22px; display: grid; gap: 9px; }
.svc__bullets li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.svc__bullets li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: 0.55; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step__n { font: 500 11px/1 var(--font-body); letter-spacing: 0.08em; color: var(--accent-text); }
.step__title { margin-top: 18px; font-size: 16px; font-weight: 450; letter-spacing: -0.01em; line-height: 1.3; }
.step p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 30ch; }

/* CTA */
.cta { border-top: 1px solid var(--line); }
.cta__title { grid-column: 1 / 7; font-size: clamp(30px, 3.4vw, 50px); }
.cta__side { grid-column: 8 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 0.5em; }
.cta__side p { font-size: 14px; max-width: 38ch; }

/* Sub page hero */
.subhero { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(24px, 4vw, 48px); }
.subhero__grid { align-items: end; }
.subhero__text { grid-column: 1 / 6; padding-bottom: 4px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0; }
.crumbs li { font: 600 9.5px/1.4 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin-inline: 10px; opacity: 0.6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; transition: color 0.3s; }
.crumbs a:hover { color: var(--ink); }
.subhero .h1 { margin-top: 18px; }
.subhero__lead { margin-top: 20px; max-width: 40ch; font-size: 14.5px; }
.subhero .btn { margin-top: 30px; }
.subhero__media { grid-column: 6 / 13; aspect-ratio: 1.3; overflow: hidden; background: var(--bg-2); }
.subhero__img-wrap, .subhero__img-wrap picture, .subhero__img { width: 100%; height: 100%; object-fit: cover; }

/* Split list */
.split-list__head { grid-column: 1 / 6; }
.split-list__head .h2 { margin-top: 14px; }
.split-list__head > p:last-child { margin-top: 18px; font-size: 14px; max-width: 40ch; }
.split-list__body { grid-column: 7 / 13; }
.nlist li { display: grid; grid-template-columns: 52px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.nlist li:first-child { border-top: 1px solid var(--line); }
.nlist__n { font: 500 11px/1.9 var(--font-body); letter-spacing: 0.08em; color: var(--muted); }
.nlist__t { font-size: 15px; color: var(--ink); line-height: 1.5; }
.nlist__t small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.split-list .note { margin-top: 26px; }

/* Materials */
.materials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.material__media { aspect-ratio: 9 / 11; overflow: hidden; background: var(--bg-2); }
.material__media picture, .material__img { width: 100%; height: 100%; object-fit: cover; }
.material figcaption { display: grid; grid-template-columns: 36px 1fr; padding-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.material__n { font-size: 11px; letter-spacing: 0.08em; line-height: 2; }
.material strong { display: block; font-weight: 500; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.materials__note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }

/* Bleed image */
.bleed__frame { position: relative; height: clamp(320px, 52vw, 760px); overflow: hidden; background: #222; }
.bleed__inner { position: absolute; inset: 0; }
.bleed__inner picture, .bleed__img { width: 100%; height: 100%; object-fit: cover; }

/* Details + Enough */
.details__title { grid-column: 1 / 7; }
.details__text { grid-column: 8 / 13; font-size: 14px; max-width: 46ch; padding-top: 0.5em; }
.enough { padding-top: 0; }
.enough__eyebrow { grid-column: 1 / 4; padding-top: 0.9em; }
.enough__body { grid-column: 4 / 10; }
.enough__body > p { margin-top: 18px; font-size: 14px; max-width: 56ch; }
.enough__body .link { margin-top: 14px; }

/* 404 */
.nf { min-height: 82vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.nf .h1 { margin-top: 18px; max-width: 16ch; }
.nf p { margin-top: 18px; }
.nf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }

/* =====================================================================
   Motion helpers
   ===================================================================== */
.js-motion [data-fade] { opacity: 0; }
.js-motion [data-reveal='image'] { opacity: 0; transform: translate3d(0, 36px, 0); }
.js-motion [data-split] { opacity: 0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .shead__eyebrow { grid-column: 1 / -1; padding-top: 0; }
  .shead__title { grid-column: 1 / 10; }
  .shead__aside { grid-column: 1 / 9; padding-top: 0; }
  .svc-hero .shead__title { grid-column: 1 / 11; }
  .svc-hero__lead { margin-left: 0; }
  .about__eyebrow { grid-column: 1 / -1; padding-top: 0; margin-bottom: 14px; }
  .about__title { grid-column: 1 / 7; }
  .about__text { grid-column: 7 / 13; }
  .faq-section__head { grid-column: 1 / -1; margin-bottom: 32px; }
  .faq { grid-column: 1 / -1; }
  .contact__intro { grid-column: 1 / -1; margin-bottom: 44px; }
  .contact__intro .h2 { max-width: 16ch; }
  .contact__direct { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
  .form { grid-column: 1 / -1; }
  .enough__eyebrow { grid-column: 1 / -1; padding-top: 0; margin-bottom: 14px; }
  .enough__body { grid-column: 1 / 11; }
  .hero__lead { grid-column: 4 / -1; }
  .hero__actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 28px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px;
    background: none; border: 0; cursor: pointer;
    font: 600 10.5px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: inherit;
  }
  .nav__toggle-lines { position: relative; width: 22px; height: 10px; }
  .nav__toggle-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out); }
  .nav__toggle-lines i:first-child { top: 1px; }
  .nav__toggle-lines i:last-child { top: 7.5px; }
  .nav__toggle[aria-expanded='true'] .nav__toggle-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
  .nav__toggle[aria-expanded='true'] .nav__toggle-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }
  .menu-open .nav { color: var(--on-dark); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .subhero__text { grid-column: 1 / -1; order: 2; margin-top: 36px; }
  .subhero__media { grid-column: 1 / -1; order: 1; }
  .subhero__grid { align-items: start; }
  .svc__n { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 14px; margin-bottom: 18px; }
  .svc__media { grid-column: 1 / -1; }
  .svc__body { grid-column: 1 / -1; margin-top: 24px; }
  .split-list__head { grid-column: 1 / -1; margin-bottom: 36px; }
  .split-list__body { grid-column: 1 / -1; }
  .details__title, .details__text, .cta__title, .cta__side { grid-column: 1 / -1; }
  .details__text, .cta__side { margin-top: 18px; padding-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .apps__cap .eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
  .apps__title { grid-column: 1 / -1; }
  .apps__text { grid-column: 1 / -1; margin-top: 6px; }
  .apps__caption { min-height: 112px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / 7; }
  .footer__links { grid-column: 7 / 13; }
  .hero--story .hero__progress {
    top: calc(var(--nav-h) + clamp(26px, 4.6vh, 54px)); transform: none;
    flex-direction: row; align-items: center; gap: 12px; text-align: right;
  }
  .hero--story .hero__progress .hero__label { display: none; }
  .hero__bar { width: 64px; height: 1px; margin-top: 0; order: 3; }
  .hero__bar i { transform: scaleX(0); transform-origin: left; }
  .hero__label { max-width: none; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .footer__contact a, .footer__links a, .crumbs a { min-height: 44px; min-width: 44px; }
  .footer__contact, .footer__links { gap: 0; }
  .cards { grid-template-columns: 1fr; }
  .shead__title, .shead__aside { grid-column: 1 / -1; }
  .about__title, .about__text { grid-column: 1 / -1; }
  .about__text { margin-top: 24px; }
  .craft__content { flex-direction: column; align-items: flex-start; gap: 18px; }
  .apps__viewport { aspect-ratio: 4 / 3.1; }
  .apps__tabs { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .apps__tab { padding: 14px 0; }
  .materials__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .material__media { aspect-ratio: 4 / 4.4; }
  .form__grid { grid-template-columns: 1fr; gap: 20px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; min-height: 52px; }
  .contact__direct { grid-template-columns: 1fr; }
  .faq__inner p { padding-right: 0; }
  .footer__contact, .footer__links { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 6px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .svc-hero .shead__title { grid-column: 1 / -1; }
  .enough__body { grid-column: 1 / -1; }
  .hero__layout { padding-bottom: calc(14px + 52px + 22px + env(safe-area-inset-bottom)); }
  .hero__kicker { grid-column: 1 / -1; grid-row: 2; align-self: end; margin-bottom: 16px; font-size: 9.5px; letter-spacing: 0.22em; gap: 8px 12px; }
  .hero__img { object-position: 64% 50%; }
  .hero__title { font-size: min(13.4vw, 120px); }
  .hero__meta { grid-template-columns: 1fr; row-gap: 12px; }
  .hero__sub, .hero__lead, .hero__actions { grid-column: 1 / -1; }
  .hero__lead { font-size: 14.5px; max-width: 38ch; }
  .hero__actions { margin-top: 14px; gap: 12px 22px; }
  .hero__headline { grid-column: 1 / -1; font-size: min(10.6vw, 64px); }
  .hero__points { grid-template-columns: 1fr; }
  .fab { right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .fab__pill { height: 52px; gap: 11px; padding: 0 22px 0 6px; }
  .fab__icon { width: 40px; height: 40px; }
  .fab__icon svg { width: 17px; height: 17px; }
  .fab__text { font-size: 11px; letter-spacing: 0.2em; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .hero__cta { min-height: 52px; padding: 0 24px; }
}

/* =====================================================================
   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; }
  html.has-intro .intro { animation: introFadeOut 0.3s ease 0.75s forwards !important; clip-path: none; }
  html.has-intro .intro.is-ready .intro__logo, html.has-intro .intro.is-ready .intro__light { animation: introFadeIn 0.25s ease forwards !important; transform: none; filter: none; }
  .intro__sheen { display: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden='true'] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .fab__border, .fab__glow { animation: none !important; }
  .fab__border { background: linear-gradient(135deg, rgba(255, 241, 224, 0.7), rgba(255, 241, 224, 0.1)); }
}
@keyframes introFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes introFadeOut { to { opacity: 0; visibility: hidden; } }
