/* Alchemy Fiber LLC — v2 (full-screen panel layout) */
:root {
  --navy: #031A42;
  --navy-2: #0E1E3F;
  --ink: #0B1220;
  --gold: #D9AA4E;
  --gold-light: #F2C46B;
  --cyan: #62C9F2;
  --white: #FFFFFF;
  --text-dim: rgba(255, 255, 255, .78);
  --line-dark: rgba(255, 255, 255, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--white); background: var(--ink); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.gold { color: var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; min-height: 44px; padding: 10px 28px; border-radius: 6px;
  font: 500 .95rem/1 var(--font); letter-spacing: .01em; text-decoration: none;
  border: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 28px rgba(217, 170, 78, .28); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.btn-sm { min-width: 0; min-height: 36px; padding: 8px 16px; font-size: .875rem; }
.btn-block { width: 100%; }

/* Header: transparent over the hero, solid once scrolled */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: transparent; transition: background-color .5s ease, box-shadow .5s ease, -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease;
}
.site-header.is-solid,
.site-header.nav-open { background: var(--navy); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(232, 176, 75, .55), 0 0 18px rgba(232, 176, 75, .22); transition: transform .3s ease; }
.brand:hover img { transform: scale(1.04); }
.brand-text { font-weight: 700; font-size: 1.08rem; letter-spacing: .14em; white-space: nowrap; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 6px; text-decoration: none;
  font-size: .9rem; font-weight: 500; transition: background-color .2s ease;
}
.site-nav a:not(.btn):hover { background: rgba(255, 255, 255, .12); }
.nav-cta { margin-left: 8px; }
.header-cta { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen panels */
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; background: var(--navy);
}
.panel-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.001); will-change: transform;
}
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 10, 26, .82) 0%, rgba(3, 10, 26, .55) 45%, rgba(3, 10, 26, .9) 100%);
}
.panel-inner {
  position: relative; z-index: 1;
  width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  text-align: center; padding: calc(var(--header-h) + 10vh) var(--pad) 8vh;
}
.panel-top { max-width: 860px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.panel-bottom { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; text-wrap: balance; }
.panel h1 { font-size: clamp(3.1rem, 8vw, 6.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.panel h2 { font-size: clamp(2.75rem, 6.2vw, 5.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.sub { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 36ch; margin-inline: auto; text-wrap: balance; }
.panel-hero .sub { max-width: 28em; }
.meta { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .72); max-width: 60ch; margin-inline: auto; text-wrap: balance; }
.meta + .meta { margin-top: 6px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.panel-top .ctas { margin-top: 40px; }

/* Hero: slow Ken Burns zoom + staggered entrance */
.panel-hero::after {
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(3, 10, 26, .6), transparent 75%),
    linear-gradient(180deg, rgba(3, 10, 26, .7) 0%, rgba(3, 10, 26, .5) 50%, rgba(3, 10, 26, .92) 100%);
}
.panel-hero .panel-inner { padding-top: calc(var(--header-h) + 15vh); position: relative; z-index: 1; }
.panel-hero .panel-bg-poster { z-index: -3; transform-origin: 55% 35%; animation: kenburns 28s ease-in-out infinite alternate; }
.panel-hero.is-anim-paused .panel-bg-poster { animation-play-state: paused; }
.panel-hero .panel-bg-video {
  z-index: -2; object-fit: cover; opacity: 0;
  transform: none; animation: none;
  transition: opacity 1.1s ease;
  /* Sit back like the still photos (darkened for type) */
  filter: brightness(.62) saturate(.82) contrast(1.06);
}
.panel-hero .panel-bg-video.is-ready { opacity: 1; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate3d(-1%, 1%, 0); } }
.hero-copy > *, .hero-actions { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(2) { animation-delay: .3s; }
.hero-copy > :nth-child(3) { animation-delay: .5s; }
.hero-actions { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Side panels: text on the left over a dark left-to-right gradient */
.panel-side .panel-bg {
  object-position: 70% center;
  transform: scale(1.06) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 2.4s cubic-bezier(.2, .7, .2, 1);
}
.panel-side.in-view .panel-bg { transform: scale(1) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
#outside-plant .panel-bg { object-position: 78% center; }
#inside-plant .panel-bg { object-position: 72% 42%; }
.panel-side.in-view.is-tilting .panel-bg { transition: transform .18s ease-out; }
.panel-side::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 170, 78, .14), transparent 58%);
  transition: opacity .4s ease;
}
.panel-side.is-tilting::before { opacity: 1; }
@media (min-width: 961px) {
  .panel-side::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 26, .95) 0%, rgba(3, 10, 26, .85) 32%, rgba(3, 10, 26, .35) 65%, rgba(3, 10, 26, .2) 100%),
      linear-gradient(180deg, rgba(3, 10, 26, .5) 0%, transparent 25%, transparent 75%, rgba(3, 10, 26, .6) 100%);
  }
  .panel-side .panel-inner { align-items: flex-start; justify-content: center; text-align: left; padding-left: max(var(--pad), 7vw); gap: 44px; }
  .panel-side .panel-top { max-width: 620px; }
  .panel-side .sub, .panel-side .meta { margin-inline: 0; }
  .panel-side .sub { max-width: 42ch; }
  .panel-side .panel-bottom { align-items: flex-start; }
}

/* Solid panel (no photo) */
.panel-solid { background: radial-gradient(ellipse 80% 60% at 50% 40%, #0a2a5e 0%, var(--navy) 55%, #020f28 100%); }
.panel-solid::after { display: none; }
.panel-center { justify-content: center; }
.fiber-trace { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fiber-trace span {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 170, 78, .22) 20%, rgba(98, 201, 242, .18) 80%, transparent);
  overflow: hidden;
}
.fiber-trace span:nth-child(1) { top: 14%; }
.fiber-trace span:nth-child(2) { top: 86%; }
.fiber-trace span:nth-child(3) { top: 90%; opacity: .6; }
.fiber-trace span::after {
  content: ""; position: absolute; top: -1px; left: -20%; width: 18%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 196, 107, .9), transparent);
  animation: pulse-run 7s linear infinite;
}
.fiber-trace span:nth-child(2)::after { animation-duration: 9s; animation-delay: -3s; background: linear-gradient(90deg, transparent, rgba(98, 201, 242, .8), transparent); }
.fiber-trace span:nth-child(3)::after { animation-duration: 11s; animation-delay: -6s; }
@keyframes pulse-run { from { transform: translateX(0); } to { transform: translateX(680%); } }

/* Scroll cue */
.scroll-cue { display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; transition: border-color .3s ease; }
.scroll-cue:hover { border-color: var(--gold); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Scroll-progress fiber line (desktop) */
.fiber-progress { display: none; }
@media (min-width: 961px) {
  .fiber-progress {
    display: block; position: fixed; top: 0; bottom: 0; left: 14px; z-index: 90;
    pointer-events: none; padding: calc(var(--header-h) + 18px) 0 28px;
  }
  .fiber-progress-track {
    position: relative; width: 1px; height: 100%;
    background: rgba(255, 255, 255, .14); border-radius: 1px;
  }
  .fiber-progress-fill {
    position: absolute; left: 50%; top: 0; width: 2px;
    height: calc(var(--scroll-progress, 0) * 100%);
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 45%, var(--cyan) 100%);
    box-shadow: 0 0 6px rgba(217, 170, 78, .45), 0 0 14px rgba(98, 201, 242, .22);
    border-radius: 2px;
  }
  .fiber-progress-fill::after {
    content: ""; position: absolute; left: 50%; bottom: -3px; width: 7px; height: 7px;
    transform: translateX(-50%); border-radius: 50%; background: var(--gold-light);
    box-shadow: 0 0 8px 2px rgba(217, 170, 78, .65), 0 0 16px rgba(98, 201, 242, .3);
  }
}


/* Recent work — cinematic expanding gallery */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.recent-work {
  scroll-margin-top: var(--header-h);
  background: #020f28;
  border-top: 1px solid var(--line-dark);
  position: relative;
  overflow: visible;
}
.recent-work::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(217, 170, 78, .08), transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 70%, rgba(8, 30, 70, .6), transparent 70%);
  pointer-events: none;
}
.work-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad) clamp(56px, 8vw, 96px);
  text-align: center;
}
.recent-work .eyebrow { margin-bottom: 14px; }
.recent-work h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 clamp(32px, 5vw, 52px);
}

.work-gallery {
  --gallery-ease: cubic-bezier(.77, 0, .175, 1);
  --gallery-ms: .8s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  height: 540px;
  margin: 0 auto;
  text-align: left;
  min-width: 0;
}
.work-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  color: var(--white);
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background: #071428;
  box-shadow: inset 0 0 0 1px rgba(217, 170, 78, .16);
  -webkit-tap-highlight-color: transparent;
  transition:
    flex-grow var(--gallery-ms) var(--gallery-ease),
    flex-basis var(--gallery-ms) var(--gallery-ease),
    box-shadow var(--gallery-ms) var(--gallery-ease);
}
.work-panel.is-open {
  flex-grow: 5.4;
  box-shadow: inset 0 0 0 1px rgba(217, 170, 78, .42);
}
.work-panel:focus { outline: none; }
.work-panel:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  z-index: 2;
}
.work-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  transform: scale(1.14);
  -webkit-filter: grayscale(1) brightness(.58);
  filter: grayscale(1) brightness(.58);
  transition:
    transform var(--gallery-ms) var(--gallery-ease),
    -webkit-filter var(--gallery-ms) var(--gallery-ease),
    filter var(--gallery-ms) var(--gallery-ease);
}
.work-panel.is-open img {
  transform: scale(1);
  -webkit-filter: none;
  filter: none;
}
.work-panel--closet img { object-position: 50% 58%; }
.work-panel--lanscape img { object-position: 38% 42%; }
.work-panel--faceplate img { object-position: 48% 52%; }
.work-panel--ductbank img { object-position: 66% 42%; }
.work-panel--conduit img { object-position: 40% 72%; }

.work-panel-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 42, .18) 28%, rgba(3, 16, 42, .86) 100%);
  opacity: .42;
  transition: opacity var(--gallery-ms) var(--gallery-ease);
}
.work-panel.is-open .work-panel-shade {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(3, 16, 42, 0) 42%, rgba(3, 16, 42, .88) 100%);
}

.work-panel-idle {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s ease;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.work-panel.is-open .work-panel-idle { opacity: 0; }

.work-panel-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px 28px 26px;
  pointer-events: none;
}
.work-panel-num,
.work-panel-cat,
.work-panel-rule,
.work-panel-cap {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
  transition-delay: 0s;
}
.work-panel-num {
  display: block;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  margin: 0 0 10px;
}
.work-panel-cat {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.work-panel-rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 0 14px;
  background: var(--gold);
}
.work-panel-cap {
  display: block;
  max-width: 34ch;
  margin: 0;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  text-wrap: pretty;
}
.work-panel.is-open .work-panel-num { opacity: 1; transform: none; transition-delay: .18s; }
.work-panel.is-open .work-panel-cat { opacity: 1; transform: none; transition-delay: .3s; }
.work-panel.is-open .work-panel-rule { opacity: 1; transform: none; transition-delay: .42s; }
.work-panel.is-open .work-panel-cap { opacity: 1; transform: none; transition-delay: .54s; }

@media (max-width: 767px) {
  .work-gallery {
    flex-direction: column;
    height: auto;
    gap: 8px;
    container-type: inline-size;
    container-name: work-gallery;
  }
  .work-panel {
    /* width / height of the photo, so an open panel sizes to the full image */
    --work-ratio: 1.3333;
    flex: 0 0 auto;
    width: 100%;
    height: 68px;
    border-radius: 12px;
    transition:
      height var(--gallery-ms) var(--gallery-ease),
      box-shadow var(--gallery-ms) var(--gallery-ease);
  }
  .work-panel.is-open {
    flex-grow: 0;
    /* Full-width 4:3 image, no extra caption bar, capped at 80svh if a future photo is very tall. */
    height: min(100cqw / var(--work-ratio), 80svh);
    min-height: 0;
    background: #071428;
  }
  .work-panel.is-open img {
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
    background: #071428;
  }
  .work-panel.is-open .work-panel-shade {
    top: 0;
    bottom: 0;
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(0, 10, 30, 0) 42%, rgba(0, 10, 30, .85) 100%);
  }
  .work-panel-idle {
    left: 22px;
    bottom: auto;
    top: 50%;
    font-size: .95rem;
    letter-spacing: .16em;
    transform: translateY(-50%);
  }
  .work-panel-copy { padding: 20px 18px 16px; }
  .work-panel-num { font-size: 1.45rem; }
  .work-panel-cap { font-size: .85rem; }
  .work-panel.is-open .work-panel-copy {
    top: auto;
    bottom: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0;
    padding: 20px 18px 16px;
    background: none;
    box-shadow: none;
  }
  .work-panel.is-open .work-panel-num {
    font-size: 1.45rem;
    margin: 0 0 6px;
  }
  .work-panel.is-open .work-panel-cat {
    margin: 0 0 8px;
  }
  .work-panel.is-open .work-panel-rule {
    display: block;
    margin: 0 0 10px;
  }
  .work-panel.is-open .work-panel-cap {
    flex: 0 1 auto;
    max-width: none;
    margin: 0;
    font-size: .85rem;
  }
  .work-panel {
    scroll-margin-top: calc(var(--header-h) + 10px);
    scroll-margin-bottom: 96px;
  }
  .recent-work .work-inner { padding-bottom: calc(56px + 88px); }
}

@media (prefers-reduced-motion: reduce) {
  .work-panel,
  .work-panel img,
  .work-panel-shade,
  .work-panel-idle,
  .work-panel-num,
  .work-panel-cat,
  .work-panel-rule,
  .work-panel-cap {
    transition: none;
    transform: none;
  }
  .work-panel img {
    transform: none;
    -webkit-filter: grayscale(1) brightness(.58);
    filter: grayscale(1) brightness(.58);
  }
  .work-panel.is-open img {
    -webkit-filter: none;
    filter: none;
  }
  .work-panel-idle { transform: translateX(-50%) rotate(-90deg); }
  .work-panel.is-open .work-panel-num,
  .work-panel.is-open .work-panel-cat,
  .work-panel.is-open .work-panel-rule,
  .work-panel.is-open .work-panel-cap {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .work-panel-idle { transform: translateY(-50%); }
}

/* How we work */
.how-we-work {
  --how-gap: 28px;
  scroll-margin-top: var(--header-h);
  background: #020f28;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.how-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) var(--pad);
  text-align: center;
}
.how-we-work .eyebrow { margin-bottom: 14px; }
.how-we-work h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.03em;
  margin: 0 0 clamp(48px, 7vw, 80px);
}
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--how-gap);
  text-align: center;
}
.how-steps li {
  position: relative;
  padding: 8px 8px 4px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .how-steps li:hover {
    border-color: rgba(217, 170, 78, .3);
    background: rgba(255, 255, 255, .03);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28), 0 0 32px rgba(217, 170, 78, .16);
  }
}
.how-node {
  position: relative; z-index: 1;
  width: 48px; height: 48px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .7);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  background: #020f28;
  transition: border-color .6s ease, color .6s ease, box-shadow .6s ease;
}
.how-steps li.is-on .how-node {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 170, 78, .12), 0 0 22px rgba(217, 170, 78, .22);
}
.how-steps li:not(:last-child)::before,
.how-steps li:not(:last-child)::after {
  content: ""; position: absolute; z-index: 0;
  top: 32px; /* 8px pad + 24px node center */
  left: calc(50% + 24px);
  width: calc(100% + var(--how-gap) - 48px);
  height: 1px;
}
.how-steps li:not(:last-child)::before { background: rgba(255, 255, 255, .16); }
.how-steps li:not(:last-child)::after {
  background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 0 6px rgba(217, 170, 78, .28);
}
.how-steps li.is-on:not(:last-child)::after { transform: scaleX(1); }
.how-copy h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.how-copy p {
  margin: 0 auto; max-width: 28ch; font-size: .95rem; line-height: 1.5;
  color: var(--text-dim); text-wrap: balance;
}

/* Credentials proof row */
.proof { background: #020f28; border-bottom: 1px solid var(--line-dark); }
.proof-list {
  list-style: none; margin: 0 auto; padding: 22px var(--pad);
  max-width: 1100px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: baseline; gap: 8px 0;
  text-align: center; font-size: .92rem; font-weight: 500;
  color: rgba(255, 255, 255, .86);
}
.proof-list li { padding: 0 22px; }
.proof-list li + li { border-left: 1px solid rgba(217, 170, 78, .45); }

/* Contact */
.panel-contact::after { background: linear-gradient(180deg, rgba(3, 10, 26, .9), rgba(3, 10, 26, .78) 50%, rgba(3, 10, 26, .92)); }
.contact-layout {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center; text-align: left; padding-top: calc(var(--header-h) + 6vh); padding-bottom: 6vh;
}
.contact-info .sub { margin-inline: 0; }
.panel-contact h2 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; font-size: 1.15rem; font-weight: 500; }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.contact-list a:hover { border-color: var(--gold); }
.contact-list address { font-style: normal; color: var(--text-dim); font-size: 1rem; font-weight: 400; }
.copy-link {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.copy-link:hover, .copy-link:focus-visible { border-color: var(--gold); outline: none; }
.copy-link.is-copied { color: var(--gold); }
.contact-downloads { margin-top: 28px; }
.contact-downloads .btn { text-decoration: none; }
.contact-creds { margin-top: 28px; font-size: .9rem; line-height: 1.6; color: var(--text-dim); }

.contact-form {
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: clamp(20px, 3vw, 32px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: .8rem; font-weight: 500; color: var(--text-dim); }
.field .opt { font-weight: 400; opacity: .7; font-size: .9em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--white); background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; padding: 11px 12px; width: 100%;
  transition: border-color .2s ease;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 104px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cf-turnstile { margin: 4px 0 16px; }
.form-status { margin-top: 12px; min-height: 1.4em; font-size: .9rem; color: var(--text-dim); }
.form-status.is-success { color: #d8ecff; }
.form-status.is-error { color: #f3c6c6; }

/* Footer */
.site-footer {
  background: #020d22;
  color: var(--text-dim);
  font-size: .92rem;
  border-top: 1px solid var(--line-dark);
}
.site-footer a { text-decoration: none; color: inherit; }
.site-footer a:hover { color: var(--white); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px var(--pad) 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 56px;
  max-width: 820px;
  align-items: start;
}
.footer-cols { display: contents; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.footer-logo img {
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(232, 176, 75, .55), 0 0 18px rgba(232, 176, 75, .22);
}
.footer-tagline {
  margin-top: 16px;
  max-width: 34ch;
  line-height: 1.55;
  color: var(--text-dim);
}
.footer-heading {
  margin: 4px 0 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: pretty;
  color: var(--gold);
}
.footer-col ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a { border-bottom: 1px solid transparent; }
.footer-contact a:hover { border-bottom-color: var(--gold); color: var(--white); }
.footer-bar {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.footer-copy,
.footer-note {
  margin: 0;
  font-size: .75rem;
  color: rgba(221, 230, 245, .48);
}
.footer-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-note a:hover { color: var(--white); }
@media (max-width: 960px) {
  .footer-inner { padding-top: 44px; }
  .footer-grid { gap: 28px 40px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-inner { padding-top: 36px; padding-bottom: 24px; }
  .footer-tagline { max-width: none; }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
    gap: 8px;
  }
}
.small { font-size: .78rem; }

/* Reveal on scroll (JS adds .reveal only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.panel-bottom.reveal, .contact-form.reveal { transition-delay: .18s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .panel-side::after { background: linear-gradient(180deg, rgba(3, 10, 26, .9) 0%, rgba(3, 10, 26, .7) 45%, rgba(3, 10, 26, .55) 70%, rgba(3, 10, 26, .9) 100%); }
  .nav-toggle { display: block; }
  .header-cta { display: inline-flex; margin-left: auto; flex: none; }
  .brand { margin-right: 8px; }
  .nav-cta { display: none; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--navy); border-top: 1px solid var(--line-dark);
    padding: 12px var(--pad) 24px; display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 14px 8px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 44px; }
  .contact-layout { grid-template-columns: 1fr; align-items: start; }
  .how-steps { grid-template-columns: 1fr; gap: 0; text-align: left; max-width: 520px; margin: 0 auto; }
  .how-steps li {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; row-gap: 0;
    padding: 0 0 36px; align-items: start;
  }
  .how-steps li:last-child { padding-bottom: 0; }
  .how-node { margin: 0; }
  .how-copy { padding-top: 8px; }
  .how-copy p { margin-inline: 0; }
  .how-steps li:not(:last-child)::before,
  .how-steps li:not(:last-child)::after {
    top: 48px; left: 23px; width: 1px; height: calc(100% - 48px);
  }
  .how-steps li:not(:last-child)::after {
    transform: scaleY(0); transform-origin: top center;
  }
  .how-steps li.is-on:not(:last-child)::after { transform: scaleY(1); }
  .proof-list { flex-direction: column; gap: 10px; padding: 20px var(--pad); }
  .proof-list li { padding: 0; }
  .proof-list li + li { border-left: 0; }
}
@media (max-width: 560px) {
  .panel-inner { padding-bottom: 5vh; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .btn:not(.btn-sm) { min-width: 0; width: 100%; }
  .panel-bottom { width: 100%; }
  .eyebrow { letter-spacing: .14em; font-size: .72rem; }
  .panel-inner { padding-top: calc(var(--header-h) + 8vh); }
  .panel-hero .panel-inner { padding-top: calc(var(--header-h) + 12vh); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Sticky mobile contact bar */
.mobile-cta-bar { display: none; }
@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    gap: 10px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 16, 42, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-cta-bar .btn {
    flex: 1; width: 100%; min-height: 48px; justify-content: center; align-items: center;
    text-align: center; text-decoration: none; gap: 8px;
  }
  .mobile-cta-bar .phone-icon { flex: none; display: block; }
  .mobile-cta-bar.is-hidden {
    transform: translateY(110%); opacity: 0; pointer-events: none;
  }
  .site-footer { padding-bottom: 88px; }
  .panel .panel-inner { padding-bottom: calc(6vh + 76px); }
  .panel-contact .contact-layout { padding-bottom: 6vh; }
  .proof { padding-bottom: 88px; }
}
@media (max-width: 960px) {
  .brand img { width: 46px; height: 46px; }
  .brand-text { font-size: .9rem; letter-spacing: .12em; }
}
@media (max-width: 420px) {
  .brand-text { font-size: .82rem; letter-spacing: .1em; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text { font-size: .74rem; letter-spacing: .06em; }
  .header-cta { padding-left: 10px; padding-right: 10px; }
}
/* header CTA label */
.cta-short { display: none; }
@media (max-width: 480px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-inner { gap: 10px; }
  .header-cta { padding-left: 12px; padding-right: 12px; }
  .brand { min-width: 0; margin-right: 0; }
}
@media (max-width: 340px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .panel-bg, .panel-side .panel-bg { transform: none !important; }
  .fiber-trace span::after { display: none; }
  .panel-hero .panel-bg-video { display: none !important; }
  .how-steps li { transform: none !important; }
  .how-steps li:not(:last-child)::after { transform: scaleX(1); }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) {
  .how-steps li:not(:last-child)::after { transform: scaleY(1); }
}
.contact-creds span { white-space: nowrap; }

/* phones: header CTA + sticky call bar are enough */
@media (max-width: 767px)  { .hero-actions .ctas { display: none; } }
