/* ==========================================================================
   Sentio.PI : Minimalist High-Tech Website Stylesheet
   Dial: ENERGY 2 / RHYTHM 3 / MOTION 3
   ========================================================================== */

/* Self-Hosted Fonts (GDPR / Privacy-First: No External Google Fonts Requests) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Dark Surface Tokens (Hero 000-076, Section 3 337-465, Section 4 Grid) */
  --bg-base: #080b0e;
  --text-primary: #f2f6f8;
  --text-secondary: #c0cdd4;
  --text-muted: #8b9ca7;
  --accent: #38bdf8;
  --accent-ink: #04131d;
  --border-subtle: rgba(242, 246, 248, 0.14);
  --border-strong: rgba(242, 246, 248, 0.3);
  --surface-card: rgba(10, 15, 20, 0.86);
  --surface-input: rgba(6, 10, 14, 0.92);
  /* Separate Dark and Light Gradient Scrims (Left-to-Right 90deg) */
  --scrim-dark: linear-gradient(
    90deg,
    rgba(6, 9, 13, 0.92) 0%,
    rgba(6, 9, 13, 0.68) 42%,
    rgba(6, 9, 13, 0.22) 74%,
    rgba(6, 9, 13, 0.0) 100%
  );
  --scrim-light: linear-gradient(
    90deg,
    rgba(246, 248, 250, 0.94) 0%,
    rgba(246, 248, 250, 0.72) 42%,
    rgba(246, 248, 250, 0.24) 74%,
    rgba(246, 248, 250, 0.0) 100%
  );

  --header-height: 84px;
}

/* High-Key Studio Surface Tokens (Frames 130-336) */
body[data-surface="light"] {
  --text-primary: #0b0f14;
  --text-secondary: #24303b;
  --text-muted: #475663;
  --accent: #0369a1;
  --accent-ink: #ffffff;
  --border-subtle: rgba(11, 15, 20, 0.14);
  --border-strong: rgba(11, 15, 20, 0.32);
  --surface-card: rgba(246, 248, 250, 0.9);
  --surface-input: rgba(255, 255, 255, 0.95);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.4s ease;
}

/* Visible Keyboard Focus (R-32) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #080b0e;
  color: #f2f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s;
}

.loader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(220px, 76vw);
}

.loader__diamond circle {
  fill: rgba(242, 246, 248, 0.14);
  transition: fill 0.18s ease;
}

.loader__diamond circle.is-lit {
  fill: #38bdf8;
}

.loader__bar-track {
  width: 100%;
  height: 2px;
  background: rgba(242, 246, 248, 0.14);
  overflow: hidden;
}

.loader__bar-fill {
  width: 0%;
  height: 100%;
  background: #38bdf8;
  transition: width 0.12s ease-out;
}

.loader__percent {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8b9ca7;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Fixed Dual-Canvas Visual Stage
   ========================================================================== */
.visual-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #080b0e;
  overflow: hidden;
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.stage-canvas--sequence {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-canvas--sequence.is-ready {
  opacity: 1;
}

.stage-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-scrim::before,
.stage-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Outro: wait 0.34s for text to fade out first, then smoothly fade out the gradient */
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
}

/* Dark gradient layer (Hero & Section 3) */
.stage-scrim::before {
  background: var(--scrim-dark);
}

/* Light gradient layer (Section 2) */
.stage-scrim::after {
  background: var(--scrim-light);
}

/* Fade in Dark Gradient BEFORE text transitions in on Hero (0: 80% transparency / 0.2 opacity) */
body[data-text-visible="true"][data-active-section="0"] .stage-scrim::before {
  opacity: 0.2;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

/* Fade in Dark Gradient BEFORE text transitions in on Section 3 (2) */
body[data-text-visible="true"][data-active-section="2"] .stage-scrim::before {
  opacity: 0.7;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

/* Fade in Light Gradient BEFORE text transitions in on Section 2 (1) */
body[data-text-visible="true"][data-active-section="1"] .stage-scrim::after {
  opacity: 0.7;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.stage-canvas--grid {
  opacity: 1;
  background: #06090d;
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-active-section="3"] .stage-canvas--grid {
  transform: translateX(0);
}

/* ==========================================================================
   Minimalist Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2%;
  transition: color 0.4s ease;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  text-decoration: none;
  min-height: 44px;
}

.brand-lockup__mark {
  color: var(--accent);
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-lockup__suffix {
  color: var(--text-muted);
  font-weight: 500;
}

/* Minimal 4-Bar Progress Navigation */
.section-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-nav__step {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 18px 4px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-nav__bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease, background-color 0.35s ease;
}

.section-nav__fill {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.section-nav__step.is-active .section-nav__bar {
  width: 48px;
}

.section-nav__step.is-active .section-nav__fill {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(14, 22, 32, 0.65);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(242, 246, 248, 0.24);
  color: #f2f6f8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-cta__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow:
    0 0 8px #38bdf8,
    0 0 14px rgba(56, 189, 248, 0.8);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.68);
  background: rgba(16, 28, 42, 0.85);
  color: #ffffff;
  box-shadow:
    0 6px 18px rgba(56, 189, 248, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.header-cta:hover .header-cta__dot {
  background: #bae6fd;
  box-shadow:
    0 0 10px #7dd3fc,
    0 0 18px #38bdf8;
  transform: scale(1.1);
}

.header-cta:active {
  transform: translateY(0);
}

/* Adaptive Light Studio State (Block 2) */
body[data-surface="light"] .header-cta {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(11, 15, 20, 0.18);
  color: #0b0f14;
  box-shadow:
    0 4px 12px rgba(11, 15, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body[data-surface="light"] .header-cta__dot {
  background: #0284c7;
  box-shadow:
    0 0 8px rgba(2, 132, 199, 0.65),
    0 0 14px rgba(56, 189, 248, 0.45);
}

body[data-surface="light"] .header-cta:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(2, 132, 199, 0.55);
  color: #0b0f14;
  box-shadow:
    0 6px 18px rgba(2, 132, 199, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-surface="light"] .header-cta:hover .header-cta__dot {
  background: #0ea5e9;
  box-shadow:
    0 0 10px rgba(14, 165, 233, 0.85),
    0 0 16px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   Main Stage & Editorial Blocks
   ========================================================================== */
.story-main {
  position: relative;
  z-index: 10;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.story-section {
  position: absolute;
  inset: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 24px) 5.2% 56px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Outro: fade out text immediately (0.34s) so gradient fades out after text outro */
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1) 0s, visibility 0.34s 0s;
}

.story-section.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* Intro: wait 0.26s for gradient background to fade in before text transitions in */
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.26s, visibility 0s 0s;
}

.story-section__container {
  width: 100%;
  max-width: 1440px;
  margin: auto;
}

.editorial-block {
  max-width: 560px;
  opacity: 0;
  transform: translateY(16px);
  /* Outro: text slides/fades out immediately */
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.story-section.is-active .editorial-block {
  opacity: 1;
  transform: translateY(0);
  /* Intro: text transitions in after gradient background has faded in (0.26s delay) */
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.26s;
}

.editorial-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.editorial-paragraph {
  margin: 24px 0 0;
  max-width: 470px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.62;
  color: var(--text-secondary);
  font-weight: 400;
}

.editorial-actions {
  margin-top: 38px;
}

.scroll-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Down arrow (chevron) built from two thin lines */
.scroll-trigger__line {
  position: relative;
  display: block;
  width: 24px;
  height: 9px;
  transition: transform 0.25s ease;
}

.scroll-trigger__line::before,
.scroll-trigger__line::after {
  content: '';
  position: absolute;
  top: 1px;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.scroll-trigger__line::before {
  left: 0;
  transform: translateY(-50%) rotate(30deg);
  transform-origin: left center;
}

.scroll-trigger__line::after {
  right: 0;
  transform: translateY(-50%) rotate(-30deg);
  transform-origin: right center;
}

.scroll-trigger:hover:not(:disabled) {
  color: var(--accent);
}

.scroll-trigger:hover:not(:disabled) .scroll-trigger__line {
  transform: translateY(3px);
}

/* Mid-Transition Locked State */
body[data-transitioning="true"] .section-nav__step,
body[data-transitioning="true"] .scroll-trigger {
  cursor: wait;
  opacity: 0.45;
}

/* ==========================================================================
   Section 4: Contact Split Layout (Slides in from right on top of current frame)
   ========================================================================== */
#section-contact {
  opacity: 1;
  transform: translateX(100%);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.75s;
}

#section-contact.is-active {
  transform: translateX(0);
}

#section-contact .editorial-block {
  opacity: 1;
  transform: none;
}

.story-section__container--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.contact-lead {
  max-width: 520px;
}

.contact-subtitle {
  margin: 20px 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  color: var(--text-secondary);
}

.contact-direct {
  margin-top: 32px;
}

.contact-direct__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

.contact-direct__link:hover {
  border-bottom-color: var(--accent);
}

/* NVIDIA Inception Badge */
.contact-badge {
  margin-top: 34px;
}

.contact-badge--desktop {
  display: block;
}

.contact-badge--mobile {
  display: none;
}

.contact-badge__img {
  display: block;
  width: clamp(168px, 15vw, 210px);
  height: auto;
  opacity: 0.92;
}

.contact-panel {
  background: rgba(14, 22, 32, 0.56);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(242, 246, 248, 0.18);
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 40px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.required-mark {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea,
.custom-select__trigger {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid rgba(242, 246, 248, 0.22);
  border-radius: 12px;
  background: rgba(6, 10, 15, 0.52);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__chevron {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.custom-select.is-open .custom-select__trigger {
  border-color: var(--accent);
  background: rgba(6, 10, 15, 0.82);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.custom-select.is-open .custom-select__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(10, 16, 24, 0.92);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(242, 246, 248, 0.22);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(56, 189, 248, 0.08);
  animation: selectMenuIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes selectMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-select__option:hover,
.custom-select__option.is-focused {
  background: rgba(242, 246, 248, 0.08);
  color: var(--text-primary);
}

.custom-select__option.is-selected {
  background: rgba(56, 189, 248, 0.14);
  color: var(--text-primary);
  font-weight: 500;
}

.custom-select__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select__option.is-selected .custom-select__dot {
  opacity: 1;
  transform: scale(1);
}

.form-field textarea {
  min-height: 108px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.custom-select__trigger:focus {
  border-color: var(--accent);
  background: rgba(6, 10, 15, 0.76);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #f87171;
}

.form-feedback {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.form-feedback[data-state="error"] {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.form-feedback[data-state="loading"] {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.form-feedback[data-state="success"] {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-privacy-note {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-privacy-note a,
.form-privacy-note button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.form-privacy-note a:hover,
.form-privacy-note button:hover {
  color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  background: #7dd3fc;
  border-color: #7dd3fc;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(242, 246, 248, 0.24);
  border-radius: 12px;
  background: rgba(242, 246, 248, 0.04);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Persistent Minimal Site Footer & Terms and Conditions Frosted Glass Card
   ========================================================================== */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px 4.5% 16px;
  pointer-events: none;
  font-size: 12.5px;
  color: var(--text-muted);
  transition: color 0.35s ease;
}

.site-footer__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__brand {
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  opacity: 0.85;
  transition: color 0.35s ease, opacity 0.2s ease;
}

.site-footer__brand span {
  font-weight: 400;
  color: var(--text-secondary);
}

.site-footer__links {
  pointer-events: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__sep {
  color: var(--border-strong);
}

.site-footer__credit {
  color: var(--text-muted);
  transition: color 0.35s ease;
}

.site-footer__link {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--accent);
}

/* Mobile Drawer Trigger (hidden on desktop) */
.site-footer__mobile-trigger {
  display: none;
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.site-footer__mobile-trigger:active {
  transform: scale(0.97);
}

.site-footer__mobile-icon {
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Mobile Bottom Sheet Drawer (Option 2)
   ========================================================================== */
.footer-sheet {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.footer-sheet[hidden] {
  display: none;
}

.footer-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 11, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  animation: sheetBackdropFade 0.25s ease forwards;
}

@keyframes sheetBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.footer-sheet__drawer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  pointer-events: auto;
  background: rgba(12, 19, 28, 0.94);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(242, 246, 248, 0.16);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 12px 20px 24px;
  box-shadow: 0 -16px 48px -8px rgba(0, 0, 0, 0.7);
  animation: sheetSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body[data-surface="light"] .footer-sheet__drawer {
  background: rgba(246, 248, 250, 0.95);
  border-color: rgba(26, 38, 57, 0.14);
  box-shadow: 0 -16px 40px -8px rgba(12, 19, 28, 0.22);
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0%); }
}

.footer-sheet__handle {
  width: 38px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  margin: 4px auto 14px;
}

body[data-surface="light"] .footer-sheet__handle {
  background: rgba(0, 0, 0, 0.2);
}

.footer-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-surface="light"] .footer-sheet__header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.footer-sheet__brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.01em;
}

.footer-sheet__brand span {
  color: var(--accent);
  font-weight: 500;
}

.footer-sheet__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-sheet__close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.footer-sheet__close:hover,
.footer-sheet__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.footer-sheet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-sheet__tile {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

body[data-surface="light"] .footer-sheet__tile {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.footer-sheet__tile:hover,
.footer-sheet__tile:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.4);
}

.footer-sheet__tile-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-sheet__tile-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-sheet__tile-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 6px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.footer-sheet__tile:hover .footer-sheet__tile-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-sheet__motion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 14px;
}

.footer-sheet__motion-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-sheet__motion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.footer-sheet__motion-dot.is-paused {
  background: var(--text-muted);
  box-shadow: none;
}

.footer-sheet__motion-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-sheet__motion-btn {
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-sheet__motion-btn.is-paused {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.footer-sheet__footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-sheet__footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-sheet__footer a:hover {
  color: var(--accent);
}

/* Terms Modal Overlay & Card */
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.terms-modal[hidden] {
  display: none;
}

.terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 11, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: termsFadeIn 0.2s ease;
}

.terms-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: min(80svh, 640px);
  display: flex;
  flex-direction: column;
  background: rgba(12, 19, 28, 0.88);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(242, 246, 248, 0.2);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: termsCardIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes termsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes termsCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.terms-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(242, 246, 248, 0.12);
}

.terms-modal__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #38bdf8;
  margin-bottom: 4px;
}

.terms-modal__eyebrow span {
  font-weight: 400;
  color: #c0cdd4;
}

.terms-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f2f6f8;
}

.terms-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(242, 246, 248, 0.16);
  background: rgba(242, 246, 248, 0.04);
  color: #c0cdd4;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.terms-modal__close:hover {
  border-color: #38bdf8;
  color: #f2f6f8;
  background: rgba(56, 189, 248, 0.12);
}

.terms-modal__body {
  padding: 22px 28px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #c0cdd4;
  font-size: 14px;
  line-height: 1.65;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 246, 248, 0.24) transparent;
}

.terms-modal__body::-webkit-scrollbar {
  width: 6px;
}

.terms-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.terms-modal__body::-webkit-scrollbar-thumb {
  background: rgba(242, 246, 248, 0.24);
  border-radius: 999px;
}

.terms-modal__body h3,
.terms-modal__body h4 {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #f2f6f8;
}

.terms-modal__body h3:first-child,
.terms-modal__body h4:first-child {
  margin-top: 0;
}

.terms-modal__body p {
  margin: 0 0 12px;
}

.terms-modal__body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.terms-modal__body li {
  margin-bottom: 6px;
}

.terms-modal__body code {
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(242, 246, 248, 0.08);
  color: #e2e8f0;
}

.terms-modal__divider {
  border: 0;
  border-top: 1px solid rgba(242, 246, 248, 0.14);
  margin: 20px 0 16px;
}

.terms-modal__hebrew {
  text-align: right;
  direction: rtl;
}

.terms-modal__body a {
  color: #38bdf8;
  text-decoration: none;
}

.terms-modal__body a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Cookie Consent Banner, Preferences Center & Policy Table
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 4.5%;
  right: 4.5%;
  bottom: 48px;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__card {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(10, 16, 24, 0.94);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(242, 246, 248, 0.22);
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65);
  color: #f2f6f8;
  animation: termsCardIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner__content {
  flex: 1 1 480px;
}

.cookie-banner__eyebrow {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 4px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f2f6f8;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #c0cdd4;
}

.cookie-banner__inline-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: #38bdf8;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner__inline-link:hover {
  color: #7dd3fc;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Equal visual prominence for Primary ("Accept All") and Secondary ("Reject All") */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cookie-btn--primary {
  background: #38bdf8;
  color: #04131d;
  border: 1.5px solid #38bdf8;
}

.cookie-btn--primary:hover {
  background: #7dd3fc;
  border-color: #7dd3fc;
}

.cookie-btn--secondary {
  background: rgba(242, 246, 248, 0.08);
  color: #f2f6f8;
  border: 1.5px solid #38bdf8;
}

.cookie-btn--secondary:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: #7dd3fc;
}

.cookie-btn--outline {
  background: transparent;
  color: #f2f6f8;
  border: 1.5px solid rgba(242, 246, 248, 0.34);
}

.cookie-btn--outline:hover {
  border-color: #f2f6f8;
  background: rgba(242, 246, 248, 0.06);
}

.cookie-modal__card {
  max-width: 640px;
}

.cookie-gpc-notice {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #e0f2fe;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-gpc-notice[hidden] {
  display: none !important;
}

.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.cookie-category-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(242, 246, 248, 0.04);
  border: 1px solid rgba(242, 246, 248, 0.14);
}

.cookie-category-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-category-item__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #f2f6f8;
  cursor: pointer;
}

.cookie-category-item__desc {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.55;
  color: #c0cdd4;
}

.cookie-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  background: rgba(242, 246, 248, 0.08);
  border: 1px solid rgba(242, 246, 248, 0.22);
  color: #c0cdd4;
}

.cookie-badge.is-on {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}

.cookie-badge--locked {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  color: #bae6fd;
}

.cookie-switch {
  width: 22px;
  height: 22px;
  accent-color: #38bdf8;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-switch:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 28px 20px;
  border-top: 1px solid rgba(242, 246, 248, 0.12);
}

.cookie-modal__footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-table-wrap {
  overflow-x: auto;
  margin: 10px 0 16px;
  border: 1px solid rgba(242, 246, 248, 0.14);
  border-radius: 12px;
}

.cookie-policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.cookie-policy-table caption {
  padding: 8px 12px;
  font-weight: 600;
  color: #f2f6f8;
  background: rgba(242, 246, 248, 0.04);
  border-bottom: 1px solid rgba(242, 246, 248, 0.12);
  text-align: left;
}

.cookie-policy-table th,
.cookie-policy-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(242, 246, 248, 0.1);
  vertical-align: top;
}

.cookie-policy-table th {
  font-weight: 600;
  color: #f2f6f8;
  background: rgba(242, 246, 248, 0.03);
  white-space: nowrap;
}

.cookie-policy-table tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   Responsive Breakpoints (R-03)
   ========================================================================== */
@media (max-width: 960px) {
  .story-section__container--split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-lead,
  .contact-panel {
    max-width: 600px;
    width: 100%;
  }

  /* On mobile / tablet stacked layout: hide badge from top lead, place below form */
  .contact-badge--desktop {
    display: none !important;
  }

  .contact-badge--mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .contact-badge--mobile .contact-badge__img {
    width: 180px;
  }
}



@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --scrim-dark: linear-gradient(
      90deg,
      rgba(6, 9, 13, 0.92) 0%,
      rgba(6, 9, 13, 0.72) 52%,
      rgba(6, 9, 13, 0.28) 84%,
      rgba(6, 9, 13, 0.0) 100%
    );
    --scrim-light: linear-gradient(
      90deg,
      rgba(246, 248, 250, 0.94) 0%,
      rgba(246, 248, 250, 0.76) 52%,
      rgba(246, 248, 250, 0.30) 84%,
      rgba(246, 248, 250, 0.0) 100%
    );
  }

  .site-header {
    padding: 0 5%;
  }

  .brand-lockup__name {
    font-size: 21px;
  }

  .brand-lockup__mark {
    width: 28px;
    height: 26px;
  }

  .section-nav {
    gap: 4px;
  }

  .section-nav__step {
    min-width: 32px;
    padding: 14px 2px;
  }

  .section-nav__bar {
    width: 18px;
  }

  .section-nav__step.is-active .section-nav__bar {
    width: 28px;
  }

  .header-cta {
    min-height: 36px;
    padding: 7px 14px;
    gap: 8px;
    font-size: 13px;
  }

  .story-section {
    align-items: center;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 54px;
  }

  .site-footer {
    padding: 8px 5% 12px;
    font-size: 11.5px;
  }

  .site-footer__links {
    display: none;
  }

  .site-footer__mobile-trigger {
    display: inline-flex;
  }

  .site-footer__brand {
    font-size: 12px;
  }

  .site-footer__link {
    font-size: 11.5px;
  }

  .cookie-banner {
    left: 4%;
    right: 4%;
    bottom: 58px;
  }

  .cookie-banner__card {
    padding: 16px 18px;
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1 1 auto;
  }

  .cookie-modal__footer {
    padding: 14px 20px 18px;
  }

  #section-contact {
    align-items: flex-start;
  }

  /* Stronger dark gradient scrim & text-shadow on mobile Hero so text stands out over the glowing LEDs */
  body[data-text-visible="true"][data-active-section="0"] .stage-scrim::before {
    opacity: 0.72;
  }

  #section-hero .editorial-title {
    text-shadow:
      0 2px 18px rgba(4, 7, 11, 0.92),
      0 1px 4px rgba(4, 7, 11, 0.85);
  }

  #section-hero .editorial-paragraph,
  #section-hero .scroll-trigger {
    text-shadow:
      0 2px 12px rgba(4, 7, 11, 0.95),
      0 1px 3px rgba(4, 7, 11, 0.9);
  }

  .editorial-title {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .editorial-paragraph {
    font-size: 16px;
    margin-top: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Small phones (portrait): free up header room so the CTA isn't cut off */
@media (max-width: 480px) {
  .site-header {
    gap: 10px;
  }

  /* Progress dashes move to a vertical rail on the left edge */
  .section-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 2px;
    z-index: 41;
  }

  .section-nav__step {
    min-width: 28px;
    min-height: 32px;
    padding: 2px 13px;
  }

  .section-nav__bar,
  .section-nav__step.is-active .section-nav__bar {
    width: 2px;
    height: 18px;
    transition: height 0.35s ease, background-color 0.35s ease;
  }

  .section-nav__step.is-active .section-nav__bar {
    height: 30px;
  }

  .section-nav__fill {
    width: 100%;
    height: var(--fill, 0%);
    transition: height 0.1s linear;
  }

  /* Shift text right so it clears the rail; header & footer share the same left edge */
  .site-header,
  .story-section,
  .site-footer {
    padding-left: 36px;
    padding-right: 20px;
  }

  /* Leave room at the bottom so the fixed footer never sits on top of content (e.g. the contact form buttons) */
  .story-section {
    padding-bottom: 70px;
  }

  /* Soft dark fade behind the footer so scrolling content disappears under it cleanly */
  .site-footer {
    padding-top: 14px;
    padding-bottom: 12px;
    background: linear-gradient(to top, rgba(6, 9, 13, 0.96) 0%, rgba(6, 9, 13, 0.9) 65%, rgba(6, 9, 13, 0) 100%);
  }

  body[data-surface="light"] .site-footer {
    background: linear-gradient(to top, rgba(246, 248, 250, 0.97) 0%, rgba(246, 248, 250, 0.9) 65%, rgba(246, 248, 250, 0) 100%);
  }

  .site-footer__inner {
    gap: 6px;
  }

  /* Matching dark fade behind the header so content scrolling up disappears under the logo & button */
  .site-header {
    background: linear-gradient(to bottom, rgba(6, 9, 13, 0.96) 0%, rgba(6, 9, 13, 0.9) 65%, rgba(6, 9, 13, 0) 100%);
  }

  body[data-surface="light"] .site-header {
    background: linear-gradient(to bottom, rgba(246, 248, 250, 0.97) 0%, rgba(246, 248, 250, 0.9) 65%, rgba(246, 248, 250, 0) 100%);
  }

  .brand-lockup__name {
    font-size: 19px;
  }

  .header-cta {
    padding: 7px 12px;
    font-size: 12.5px;
  }
}

/* Phones in landscape (short screens): stop the footer covering the hero text */
@media (max-height: 520px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  :root {
    --header-height: 60px;
  }

  .story-section {
    align-items: center;
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: 44px;
  }

  .editorial-title {
    font-size: clamp(28px, 7vh, 40px);
  }

  .editorial-paragraph {
    font-size: 15px;
    margin-top: 10px;
  }

  .site-footer {
    padding: 6px 4% 8px;
    font-size: 11px;
  }

  .site-footer__brand,
  .site-footer__credit {
    display: none;
  }

  .site-footer__link {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
