/* ==========================================================================
   dazri.tech v3 : Starboard Design System x Finsweet Client-First v2.1 x Hex.tech
   Three font families, one job each:
     --font-display : Plus Jakarta Sans (headings, buttons, nav brand)
     --font-body    : IBM Plex Sans     (body prose, list items)
     --font-mono    : IBM Plex Mono     (eyebrows, kickers, metrics, receipts, chips)
   ========================================================================== */

:root {
  /* 1. Brand : canonical Admiral / Starboard tokens */
  --admiral-navy:        #142853;
  --admiral-navy-deep:   #050066;
  --admiral-navy-black:  #030033;
  --admiral-blue:        #3360FF;
  --admiral-blue-deep:   #0A00CC;
  --admiral-indigo:      #0D00FF;
  --admiral-electric:    #0038FF;
  --admiral-violet:      #9747FF;
  --admiral-amber:       #FEC84B;
  --admiral-mint:        #D3F8DF;

  --admiral-gradient-primary:       linear-gradient(180deg, #3360FF 0%, #0A00CC 100%);
  --admiral-gradient-primary-hover: linear-gradient(180deg, #3360FF 0%, #08009E 100%);
  --admiral-gradient-hero:          linear-gradient(180deg, #00050F 0%, #002772 50%, #2C004F 100%);

  /* 2. Scales : Primary & Neutral */
  --primary-50:  #EFF4FF;
  --primary-100: #D6E3FF;
  --primary-200: #B9D9F4;
  --primary-300: #8AB3F0;
  --primary-400: #5B8DEC;
  --primary-500: #3360FF;
  --primary-600: #0038FF;
  --primary-700: #004EEB;
  --primary-800: #0C02AD;
  --primary-900: #050066;

  --neutral-25:  #FCFCFD;
  --neutral-50:  #FCFCFD;
  --neutral-100: #F4F4F4;
  --neutral-200: #E8EAED;
  --neutral-300: #D8DADF;
  --neutral-400: #D0D5DD;
  --neutral-500: #98A2B3;
  --neutral-600: #475467;
  --neutral-700: #344054;
  --neutral-800: #292932;
  --neutral-900: #0E0F11;

  --success-100: #D3F8DF;
  --success-500: #12B76A;
  --success-700: #027A48;
  --warning-100: #FEF0C7;
  --warning-500: #FEC84B;
  --warning-700: #B54708;
  --error-100:   #FEE4E2;
  --error-500:   #F04438;
  --error-700:   #B42318;

  /* 3. Semantic : Daylight & Night surfaces (WCAG 2.2 AA >= 4.5:1 verified) */
  --fg-strong:        #161616;
  --fg-default:       var(--neutral-700);
  --fg-muted:         var(--neutral-600);
  --fg-subtle:        #475467;
  --fg-on-dark:       #FFFFFF;
  --fg-on-dark-muted: #F1F2F4;

  --bg-canvas:        #FFFFFF;
  --bg-surface:       #FFFFFF;
  --bg-elevated:      #FFFFFF;
  --bg-muted:         var(--neutral-100);
  --bg-subtle:        #F1F0EE;

  --border-subtle:    var(--neutral-200);
  --border-default:   var(--neutral-300);
  --border-strong:    var(--neutral-700);
  --border-focus:     var(--primary-600);

  --night-canvas:     #04060E;
  --night-surface:    #0F1426;
  --night-raised:     #171D38;

  /* 4. Typography : Strict 3-font contract */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* 5. Radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   10px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-pill: 9999px;

  /* 6. Shadows */
  /* Hero depth scale: one declared stacking order, low number sits furthest back. */
  --z-hero-backdrop:  0;
  --z-hero-field:     1;
  --z-hero-cards:     2;
  --z-hero-content:   3;
  --z-hero-telemetry: 4;

  --shadow-xs:     0px 1px 2px rgba(20, 40, 83, 0.05);
  --shadow-sm:     0px 1px 3px rgba(20, 40, 83, 0.08), 0px 1px 2px rgba(20, 40, 83, 0.05);
  --shadow-md:     0px 4px 8px -2px rgba(20, 40, 83, 0.08), 0px 2px 4px -2px rgba(20, 40, 83, 0.05);
  --shadow-lg:     0px 12px 20px -4px rgba(20, 40, 83, 0.10), 0px 4px 6px -2px rgba(20, 40, 83, 0.04);
  --shadow-xl:     0px 20px 28px -6px rgba(20, 40, 83, 0.14), 0px 8px 10px -4px rgba(20, 40, 83, 0.04);
  --shadow-button: 0px 4px 12px rgba(0, 56, 255, 0.18);

  /* 7. Spacing : Starboard rhythm scale (16px = 1rem) */
  --size-25:   0.25rem;
  --size-50:   0.5rem;
  --size-75:   0.75rem;
  --size-100:  1rem;
  --size-125:  1.25rem;
  --size-150:  1.5rem;
  --size-200:  2rem;
  --size-250:  2.5rem;
  --size-300:  3rem;
  --size-350:  3.5rem;
  --size-400:  4rem;
  --size-450:  4.5rem;
  --size-500:  5rem;
  --size-600:  6rem;
  --size-800:  8rem;

  --space-3xs: var(--size-25);
  --space-2xs: var(--size-50);
  --space-xs:  var(--size-75);
  --space-sm:  var(--size-100);
  --space-md:  var(--size-150);
  --space-lg:  var(--size-200);
  --space-xl:  var(--size-300);
  --space-2xl: var(--size-400);
  --space-3xl: var(--size-600);
  --space-4xl: var(--size-800);

  /* 8. Motion */
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --duration-slow: 420ms;
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Isometric & technical grid patterns */
  --iso-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='36.95'%3E%3Cpath d='M0 0L64 36.95M64 0L0 36.95' stroke='%23D8DADF' stroke-width='0.75'/%3E%3C/svg%3E");
  --tech-dots: radial-gradient(circle, var(--neutral-300) 1px, transparent 1.25px);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--fg-default);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--admiral-navy);
  margin: 0;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
}

p {
  margin: 0;
}

a {
  color: var(--admiral-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--admiral-blue-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 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;
}

/* ==========================================================================
   FINSWEET CLIENT-FIRST v2.1 STRUCTURAL SPINE
   ========================================================================== */
.page-wrapper {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1 0 auto;
}

.padding-global {
  padding-left: clamp(1rem, 4vw, 3.5rem);
  padding-right: clamp(1rem, 4vw, 3.5rem);
}

.container-large {
  width: 100%;
  max-width: 78rem;
  margin-left: auto;
  margin-right: auto;
}

.padding-section-medium {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.padding-section-large {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section_header {
  margin-bottom: var(--space-xl);
  max-width: 48rem;
}

.text-style-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--admiral-blue-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.25rem 0.625rem;
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-sm);
}

.text-size-medium {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-muted);
  margin-top: var(--space-sm);
  max-width: 58ch;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.875rem 1.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-wrap: balance;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.button.is-primary {
  background: var(--admiral-gradient-primary);
  color: var(--fg-on-dark);
  box-shadow: var(--shadow-button);
}

.button.is-primary:hover {
  background: var(--admiral-gradient-primary-hover);
  color: var(--fg-on-dark);
  transform: translateY(-1px);
  box-shadow: 0px 6px 16px rgba(0, 56, 255, 0.26);
}

.button.is-secondary {
  background-color: var(--bg-surface);
  color: var(--admiral-navy);
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
}

.button.is-secondary:hover {
  background-color: var(--primary-50);
  border-color: var(--admiral-blue);
  color: var(--admiral-blue-deep);
  transform: translateY(-1px);
}

.button.is-secondary-night {
  background-color: var(--night-raised);
  color: var(--fg-on-dark);
  border-color: var(--admiral-navy);
}

.button.is-secondary-night:hover {
  background-color: var(--admiral-navy);
  border-color: var(--primary-300);
  color: var(--fg-on-dark);
  transform: translateY(-1px);
}

.button.is-nav-cta {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  background-color: var(--admiral-navy);
  color: var(--fg-on-dark);
  border-radius: var(--radius-xs);
}

.button.is-nav-cta:hover {
  background-color: var(--admiral-blue);
  color: var(--fg-on-dark);
}

/* ==========================================================================
   NAVIGATION (.nav_component) : Always Visible at top: 0
   ========================================================================== */
.nav_component {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  transform: translateY(0) !important;
}

.nav_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav_brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--admiral-navy);
  text-decoration: none;
}

.nav_brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admiral-navy);
}

.nav_badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  background-color: var(--neutral-100);
  border: 1px solid var(--border-default);
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-xs);
}

.nav_badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success-500);
}

.nav_menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav_link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--admiral-navy);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav_link:hover {
  color: var(--admiral-blue);
}

.nav_link-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--admiral-blue-deep);
}

/* ==========================================================================
   1. HERO (.section_hero) : Isometric Field + Hybrid Telemetry Receipt Cards
   ========================================================================== */
.section_hero {
  position: relative;
  min-height: 100svh;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-default);
  overflow: hidden;
}

.hero_grid-backdrop {
  position: absolute;
  inset: 0;
  background-image: var(--iso-grid);
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 46%, transparent 22%, #000 82%);
  mask-image: radial-gradient(ellipse 68% 60% at 50% 46%, transparent 22%, #000 82%);
}

.hero_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-hero-field);
  pointer-events: none;
}

.hero_cards-layer {
  position: absolute;
  inset: 4rem 0 4.25rem 0;
  z-index: var(--z-hero-cards);
  pointer-events: none;
  overflow: hidden;
}

.hero_receipt-card {
  position: absolute;
  width: 11.75rem;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-default);
  border-top: 2px solid var(--admiral-blue);
  border-radius: var(--radius-xs);
  padding: 0.625rem 0.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hero_card-id {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--admiral-blue-deep);
}

.hero_card-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--admiral-navy);
  letter-spacing: -0.02em;
}

.hero_card-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

/* Two deterministic gutter columns. --hero-gutter-x parks a card just outside the
   48rem content box, so a card can never cross the headline at any viewport.
   Content half-width 24rem + 1.75rem gap + 11.75rem card = 37.5rem. */
.hero_cards-layer {
  --hero-gutter-x: max(1.5rem, calc(50% - 37.5rem));
  --hero-gutter-x-far: max(0.75rem, calc(50% - 38.75rem));
}

.hero_receipt-card[data-slot="0"] { top: 3%;  left:  var(--hero-gutter-x); }
.hero_receipt-card[data-slot="2"] { top: 27%; left:  var(--hero-gutter-x-far); }
.hero_receipt-card[data-slot="4"] { top: 51%; left:  var(--hero-gutter-x); }
.hero_receipt-card[data-slot="6"] { top: 75%; left:  var(--hero-gutter-x-far); }
.hero_receipt-card[data-slot="1"] { top: 15%; right: var(--hero-gutter-x); }
.hero_receipt-card[data-slot="3"] { top: 39%; right: var(--hero-gutter-x-far); }
.hero_receipt-card[data-slot="5"] { top: 63%; right: var(--hero-gutter-x); }
.hero_receipt-card[data-slot="7"] { top: 87%; right: var(--hero-gutter-x-far); }

/* Depth physics: the far column sits back, so the two columns read as two planes
   rather than eight equal stickers. --px/--py are written by main.js on pointer move. */
.hero_receipt-card {
  --px: 0px;
  --py: 0px;
  transform: translate3d(var(--px), var(--py), 0) scale(var(--card-scale, 1));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero_receipt-card[data-slot="2"],
.hero_receipt-card[data-slot="3"],
.hero_receipt-card[data-slot="6"],
.hero_receipt-card[data-slot="7"] {
  --card-scale: 0.92;
  opacity: 0.88;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 40, 83, 0.06));
}

.hero_center-wrap {
  position: relative;
  z-index: var(--z-hero-content);
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.hero_content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.hero_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--admiral-navy);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-md);
}

.hero_eyebrow-code {
  color: var(--admiral-blue-deep);
  padding-right: var(--space-2xs);
  border-right: 1px solid var(--primary-200);
}

.hero_headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.4vw, 6.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
  color: var(--admiral-navy);
  margin-bottom: var(--space-md);
}

.wr {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
}

.wr > span {
  display: inline-block;
}

.anim .wr > span {
  transform: translateY(105%);
}

.anim .tag,
.anim .sub,
.anim .live {
  opacity: 0;
}

.hero_tag {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--admiral-navy);
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.hero_sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--fg-muted);
  margin-top: var(--space-xs);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.hero_actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

/* Bottom 3-cell Hex.tech exposed hairline bar */
.hero_telemetry-bar {
  position: relative;
  z-index: var(--z-hero-telemetry);
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border-default);
}

.telemetry_grid {
  display: grid;
  grid-template-columns: 1.25fr 1.45fr auto;
  gap: 1px;
  background-color: var(--border-default);
  border-left: 1px solid var(--border-default);
  border-right: 1px solid var(--border-default);
}

.telemetry_cell {
  background-color: var(--bg-surface);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
}

.telemetry_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success-500);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18);
  flex-shrink: 0;
  animation: status-pulse 2.4s infinite;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); }
}

.telemetry_key {
  font-weight: 600;
  color: var(--admiral-blue-deep);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.125rem 0.4375rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.telemetry_val {
  color: var(--fg-default);
  font-weight: 500;
}

.telemetry_link {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--admiral-blue-deep);
}

.telemetry_link:hover {
  color: var(--admiral-electric);
  text-decoration: underline;
}

/* ==========================================================================
   2. PROOF (.section_proof) : 4-Cell Hairline Matrix + Stack Credential Bar
   ========================================================================== */
.section_proof {
  background-color: var(--bg-muted);
  border-bottom: 1px solid var(--border-default);
}

.proof_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
}

.proof_cell {
  background-color: var(--bg-surface);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof_cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.proof_cell-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.proof_cell-pip {
  width: 6px;
  height: 6px;
  background-color: var(--admiral-blue);
}

.proof_number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--admiral-navy);
}

.proof_label {
  display: block;
  margin-top: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.45;
}

.proof_creds-bar {
  margin-top: -1px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.proof_badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

.proof_badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--admiral-navy);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-xs);
}

.proof_badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--admiral-blue);
}

.proof_badge-dot.is-amber {
  background-color: var(--warning-700);
}

.proof_stack-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.proof_stack-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.625rem;
  background-color: var(--neutral-100);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.proof_stack-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.proof_stack-name {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--admiral-navy);
}

/* ==========================================================================
   3. WORK & CAPABILITIES (.section_work) : 3x2 Hex.tech Exposed-Hairline Grid
   ========================================================================== */
.section_work {
  position: relative;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-default);
}

.capability_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
}

.capability_card {
  background-color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.capability_card:hover {
  background-color: var(--neutral-25);
}

.capability_cell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  background-color: var(--neutral-100);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.capability_cell-id {
  color: var(--admiral-navy);
}

.capability_cell-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--fg-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.capability_status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success-500);
}

.capability_stage {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0.75rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.capability_svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity var(--duration-base) var(--ease-out);
}

.capability_lottie {
  position: absolute;
  inset: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.capability_lottie svg,
.capability_lottie canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.capability_stage:has(.capability_lottie > *) .capability_svg,
.capability_stage.is-lottie-ready .capability_svg {
  opacity: 0;
}

.capability_body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.capability_body h3 {
  margin-bottom: 0.5rem;
}

.capability_body > p {
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--fg-default);
  margin-bottom: 1.25rem;
}

.capability_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.capability_chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--admiral-navy);
  background-color: var(--neutral-100);
  border: 1px solid var(--border-default);
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-xs);
}

.capability_receipt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--admiral-blue-deep);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   4. STATEMENT (.section_statement) : Starboard Night Rest Band
   ========================================================================== */
.section_statement {
  position: relative;
  background-color: var(--night-canvas);
  color: var(--fg-on-dark);
  border-bottom: 1px solid var(--admiral-navy);
  overflow: hidden;
}

.section_statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 40, 83, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 40, 83, 0.45) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
}

.section_statement::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -10rem;
  top: -14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 96, 255, 0.32) 0%, transparent 68%);
  pointer-events: none;
}

.statement_component {
  position: relative;
  z-index: 1;
  background-color: rgba(15, 20, 38, 0.82);
  border: 1px solid var(--admiral-navy);
  border-left: 3px solid var(--admiral-blue);
  padding: clamp(2rem, 5vw, 4rem);
}

.statement_eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-200);
  margin-bottom: var(--space-sm);
}

.statement_display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-md);
}

.statement_lede {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--primary-200);
  max-width: 56ch;
}

/* ==========================================================================
   5. STORY (.section_story) : Sticky Scrubber + 7 Hex Notebook Cells
   ========================================================================== */
.section_story {
  position: relative;
  background-color: var(--bg-muted);
  border-bottom: 1px solid var(--border-default);
}

.story_component {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2rem;
  align-items: start;
}

/* pinned by ScrollTrigger on desktop (sticky cannot work inside smoothed content) */
.story_scrubber {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
}

.scrubber_header {
  padding: 0.875rem 1rem;
  background-color: var(--neutral-100);
  border-bottom: 1px solid var(--border-default);
}

.scrubber_label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--admiral-navy);
  margin-bottom: 0.5rem;
}

.scrubber_progress {
  width: 100%;
  height: 3px;
  background-color: var(--border-default);
  overflow: hidden;
}

.scrubber_progress-bar {
  height: 100%;
  width: var(--prog, 14%);
  background-color: var(--admiral-blue);
  transition: width 150ms linear;
}

.scrubber_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scrubber_item + .scrubber_item {
  border-top: 1px solid var(--border-subtle);
}

.scrubber_link {
  display: block;
  padding: 0.6875rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-left: 3px solid transparent;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.scrubber_link:hover,
.scrubber_link.is-active,
.scrubber_link.active {
  background-color: var(--primary-50);
  color: var(--admiral-blue-deep);
  border-left-color: var(--admiral-blue);
  font-weight: 600;
}

.story_list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story_card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.story_card.active,
.story_card.is-active {
  border-color: var(--admiral-blue);
  box-shadow: var(--shadow-md);
}

.story_cell-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--neutral-100);
  border-bottom: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.story_cell-id {
  font-weight: 600;
  color: var(--admiral-blue-deep);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-xs);
}

.story_cell-years {
  font-weight: 600;
  color: var(--admiral-navy);
}

.story_cell-place {
  font-weight: 500;
  color: var(--fg-muted);
}

.story_cell-receipt {
  margin-left: auto;
  max-width: 100%;
  text-align: right;
  text-wrap: balance;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--admiral-blue-deep);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-xs);
}

.story_cell-receipt.is-muted {
  color: var(--fg-muted);
  background-color: var(--bg-surface);
  border-color: var(--border-default);
}

.story_cell-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1px;
  background-color: var(--border-subtle);
}

.story_narrative {
  background-color: var(--bg-surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story_narrative h3 {
  margin-bottom: 0.75rem;
}

.story_body {
  color: var(--fg-default);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 60ch;
}

.story_principle {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-left: 3px solid var(--admiral-blue);
  border-radius: var(--radius-xs);
}

.story_principle-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--admiral-blue-deep);
  margin-bottom: 0.375rem;
}

.story_principle-text {
  font-family: var(--font-display);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--admiral-navy);
}

.story_visual-col {
  background-color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story_stage {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0.875rem;
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

.story_svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity var(--duration-base) var(--ease-out);
}

.story_lottie {
  position: absolute;
  inset: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.story_lottie svg,
.story_lottie canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.story_stage:has(.story_lottie > *) .story_svg,
.story_stage.is-lottie-ready .story_svg {
  opacity: 0;
}

/* Docked archival evidence drawer : NEVER overlapping the illustration */
.story_evidence {
  margin: 0;
  padding: 0.75rem 1.125rem;
  background-color: var(--neutral-100);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.story_evidence-img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-default);
  flex-shrink: 0;
  transform: none;
  filter: none;
}

.story_evidence-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.story_evidence-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--admiral-blue-deep);
}

.story_evidence-cap {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-default);
}

/* ==========================================================================
   6. CONTACT & 90-DAY PLAN (.section_contact)
   ========================================================================== */
.section_contact {
  background-color: var(--bg-canvas);
}

.contact_quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--admiral-navy);
  max-width: 24ch;
}

.contact_quote::before {
  content: "“";
  color: var(--admiral-blue);
}

.contact_quote::after {
  content: "”";
  color: var(--admiral-blue);
}

/* 30 / 60 / 90-day Operator Execution Matrix */
.plan_matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
  margin-bottom: var(--space-lg);
}

.plan_cell {
  background-color: var(--bg-surface);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.plan_cell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.plan_window {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--admiral-blue-deep);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
}

.plan_phase {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}

.plan_title {
  margin-bottom: 0.625rem;
}

.plan_desc {
  font-family: var(--font-body);
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--fg-default);
}

/* 2-Column Spec Grid */
.contact_spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
  margin-bottom: var(--space-lg);
}

.contact_spec-cell {
  background-color: var(--bg-surface);
  padding: 1.75rem;
}

.contact_spec-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admiral-navy);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec_code {
  color: var(--admiral-blue-deep);
}

.contact_spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact_spec-item {
  position: relative;
  padding: 0.6875rem 0 0.6875rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.96875rem;
  color: var(--fg-default);
}

.contact_spec-item::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 1.15rem;
  width: 0.65rem;
  height: 0.375rem;
  border-left: 2px solid var(--admiral-blue);
  border-bottom: 2px solid var(--admiral-blue);
  transform: rotate(-45deg);
}

/* 4-Column Facts Grid */
.contact_facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
  margin-bottom: var(--space-xl);
}

.contact_fact-cell {
  background-color: var(--neutral-50);
  padding: 1.5rem;
}

.contact_fact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admiral-navy);
  margin-bottom: 0.625rem;
}

.fact_code {
  color: var(--admiral-blue-deep);
}

.contact_fact-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--fg-default);
}

/* High-contrast Night Surface Conversion Console */
.contact_cta-panel {
  background-color: var(--night-surface);
  color: var(--fg-on-dark);
  border: 1px solid var(--admiral-navy);
  border-left: 3px solid var(--admiral-blue);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.contact_avatar {
  /* 9 Nov 2026: enlarged from 4rem so an employer can actually see the face */
  width: 7rem;
  height: 7rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--admiral-blue);
  flex-shrink: 0;
}

@media (max-width: 30rem) {
  .contact_avatar { width: 5.5rem; height: 5.5rem; }
}

.contact_cta-copy {
  margin-right: auto;
}

.contact_name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg-on-dark);
}

.contact_location {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-200);
  margin-top: 0.25rem;
}

.contact_cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

/* ==========================================================================
   FOOTER (.footer_component)
   ========================================================================== */
.footer_component {
  background-color: var(--night-canvas);
  color: var(--primary-200);
  border-top: 1px solid var(--admiral-navy);
  padding: 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* ==========================================================================
   SCROLL REVEAL STATE
   ========================================================================== */
.anim .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (991px, 767px, 479px)
   ========================================================================== */
@media (max-width: 1279px) {
  .hero_receipt-card {
    display: none;
  }
}

@media (max-width: 991px) {
  .telemetry_grid {
    grid-template-columns: 1fr;
  }

  .proof_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story_component {
    grid-template-columns: 1fr;
  }

  .story_scrubber {
    position: relative;
    top: 0;
    /* A grid item defaults to the minimum width of its content, so the chapter list
       stretched the whole page sideways instead of scrolling inside itself. */
    min-width: 0;
  }

  .scrubber_list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    min-width: 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .scrubber_item + .scrubber_item {
    border-top: 0;
    border-left: 1px solid var(--border-subtle);
  }

  .scrubber_link {
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .scrubber_link:hover,
  .scrubber_link.is-active,
  .scrubber_link.active {
    border-bottom-color: var(--admiral-blue);
  }

  .story_cell-grid {
    grid-template-columns: 1fr;
  }

  .plan_matrix {
    grid-template-columns: 1fr;
  }

  .contact_facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav_menu {
    display: none;
  }

  /* Phone hero: the telemetry bar stacks to three rows, which pushed the hero past
     the viewport. Tighten the vertical rhythm so the whole hero lands above the fold. */
  .hero_center-wrap {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .hero_content {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }

  .hero_actions {
    margin-top: var(--space-md);
  }

  .telemetry_cell {
    padding: 0.625rem 1rem;
  }

  .padding-section-large {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .capability_grid,
  .contact_spec-grid,
  .contact_facts-grid {
    grid-template-columns: 1fr;
  }

  .story_cell-receipt {
    margin-left: 0;
  }

  .story_narrative {
    padding: 1.5rem;
  }

  .contact_cta-panel {
    padding: 1.5rem;
  }
}

@media (max-width: 479px) {
  .nav_badge {
    display: none;
  }

  .proof_grid {
    grid-template-columns: 1fr;
  }

  .hero_actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero_actions .button,
  .contact_cta-actions,
  .contact_cta-actions .button {
    width: 100%;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .wr > span {
    transform: none !important;
  }

  .tag,
  .sub,
  .live,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero_canvas {
    display: none !important;
  }
}


/* ==========================================================================
   V4 : HIERARCHY, DEPTH, GUIDED SCROLL, ENLARGE
   Order on the page: proof, how I work (night), story (grey), work (tint), hello.
   Each section gets its own surface so no two neighbours read as the same plane.
   ========================================================================== */
.section_work {
  background: linear-gradient(180deg, var(--primary-50) 0%, #FFFFFF 60%);
}

.section_proof { position: relative; z-index: 2; box-shadow: 0 -1px 0 var(--border-default), 0 18px 40px -28px rgba(20, 40, 83, 0.35); }

.section_header { max-width: 52rem; margin-bottom: var(--space-xl); }
.section_header h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section_header .kicker,
.statement_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.section_header .kicker::before,
.statement_eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--admiral-blue);
  transform-origin: left center;
}

/* depth: scattered iso blocks drift at different speeds behind the content */
.section_story, .section_work, .section_contact, .section_statement { position: relative; overflow: clip; }
.section_story > .padding-global, .section_work > .padding-global, .section_contact > .padding-global { position: relative; z-index: 1; }
.depth_block {
  position: absolute;
  width: var(--s, 5rem);
  height: var(--s, 5rem);
  z-index: 0;
  pointer-events: none;
  opacity: var(--o, 0.9);
}
.section_statement .depth_block { opacity: 0.55; }

/* progress hairline + section rail: the eye's map of how deep we are */
.scroll_progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--admiral-blue), var(--admiral-blue-deep));
  transform-origin: left center; transform: scaleX(0); pointer-events: none;
}
.scroll_rail {
  position: fixed; right: 1.25rem; top: 50%; z-index: 45;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.scroll_rail-link {
  position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 0.625rem;
  height: 1.5rem; padding: 0 0.25rem; text-decoration: none;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--admiral-navy);
}
.scroll_rail-label {
  opacity: 0; transform: translateX(0.5rem); transition: opacity .25s, transform .25s;
  background: #fff; border: 1px solid var(--border-default); padding: 0.125rem 0.5rem; border-radius: var(--radius-xs); white-space: nowrap;
}
.scroll_rail-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--neutral-300, #C9CDD6); border: 1px solid var(--admiral-navy);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.scroll_rail-link:hover .scroll_rail-label,
.scroll_rail-link:focus-visible .scroll_rail-label,
.scroll_rail-link.is-active .scroll_rail-label { opacity: 1; transform: none; }
.scroll_rail-link.is-active .scroll_rail-dot { background: var(--admiral-blue); transform: scale(1.6); }
.on-dark .scroll_rail-dot { border-color: #fff; }

/* guided next-step cue at the foot of each section */
.next_cue {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  margin: var(--space-xl) auto 0; width: fit-content; max-width: 100%;
  padding: 0.625rem 1.125rem; border-radius: 999px; text-decoration: none; text-align: center;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--admiral-navy); background: #fff; border: 1px solid var(--border-default); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.next_cue:hover { transform: translateY(2px); border-color: var(--admiral-blue); }
.next_cue-arrow { display: inline-block; animation: cue-bob 1.8s ease-in-out infinite; }
.section_statement .next_cue { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
@keyframes cue-bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* hero scroll cue */
.hero_cue {
  position: absolute; left: 50%; bottom: 5.25rem; z-index: var(--z-hero-content);
  transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--admiral-navy); text-decoration: none;
}
.hero_cue-line { position: relative; width: 1px; height: 2.25rem; background: var(--border-default); overflow: hidden; }
.hero_cue-line::after { content: ""; position: absolute; inset: 0; background: var(--admiral-blue); transform: translateY(-100%); animation: cue-run 2s var(--ease-out) infinite; }
@keyframes cue-run { 0% { transform: translateY(-100%); } 70%,100% { transform: translateY(100%); } }

/* enlarge: illustrations and photographs */
[data-zoom] { cursor: zoom-in; }
.story_stage, .capability_stage { transition: box-shadow .3s var(--ease-out); }
.story_stage::after, .capability_stage::after {
  content: "Enlarge"; position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--admiral-navy); padding: 0.25rem 0.625rem; border-radius: 999px;
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.story_stage:hover::after, .capability_stage:hover::after,
.story_stage:focus-visible::after, .capability_stage:focus-visible::after { opacity: 1; transform: none; }
.story_stage:hover, .capability_stage:hover { box-shadow: inset 0 0 0 1px var(--admiral-blue); }
.story_evidence-btn { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-xs); flex-shrink: 0; line-height: 0; }
.story_evidence-img { width: 6rem; height: 6rem; transition: transform .35s var(--ease-out), box-shadow .35s; }
.story_evidence-btn:hover .story_evidence-img { transform: scale(1.06); box-shadow: var(--shadow-md); }
.story_evidence-hint { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--fg-muted); margin-top: 0.25rem; }
.story_evidence { align-items: center; }

.hover_preview {
  position: fixed; z-index: 90; pointer-events: none; width: min(22rem, 40vw);
  border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--border-default);
  box-shadow: 0 24px 60px -12px rgba(20, 40, 83, 0.45); opacity: 0; transform: scale(.96); transition: opacity .2s, transform .2s;
}
.hover_preview.is-on { opacity: 1; transform: none; }
.hover_preview img { display: block; width: 100%; height: auto; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(9, 14, 28, 0.86); backdrop-filter: blur(6px); }
.lightbox_figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.875rem; max-width: 92vw; }
.lightbox_img { max-width: 92vw; max-height: 78vh; width: auto; height: auto; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lb-in .35s var(--ease-out); }
.lightbox_cap { color: #fff; font-family: var(--font-body); font-size: 1rem; text-align: center; max-width: 60ch; }
.lightbox_close {
  position: fixed; top: 1.25rem; right: 1.25rem; padding: 0.625rem 1.125rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fff; color: var(--admiral-navy); border: 0;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.plan_heading { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; color: var(--admiral-navy); margin: var(--space-xl) 0 var(--space-md); }

@media (max-width: 1100px) { .scroll_rail { display: none; } }
@media (max-width: 767px) { .hero_cue { display: none; } .story_evidence-img { width: 5rem; height: 5rem; } .next_cue { width: 100%; } }
@media (hover: none) { .hover_preview { display: none; } .story_stage::after, .capability_stage::after { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .next_cue-arrow, .hero_cue-line::after { animation: none; } .depth_block { transform: none !important; } }

.capability_stage.is-lottie-ready .capability_svg { opacity: 0; }

/* How I work: three principles inside the night band */
.how_list { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); }
.how_item { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; background: rgba(15, 20, 38, 0.92); }
.how_num { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--primary-200); }
.how_text { font-family: var(--font-display); font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.contact_spec-grid.is-single { grid-template-columns: minmax(0, 44rem); }
@media (max-width: 991px) { .how_list { grid-template-columns: 1fr; } }

/* even rows across cards, no orphaned last words */
.capability_body { flex: 1; display: flex; flex-direction: column; }
.capability_chips { margin-top: auto; padding-top: 1rem; }
p, .how_text, .capability_body p { text-wrap: pretty; }
.contact_spec-grid.is-single { grid-template-columns: 1fr; }
.contact_spec-grid.is-single .contact_spec-list { columns: 2; column-gap: 2.5rem; }
.contact_spec-grid.is-single .contact_spec-item { break-inside: avoid; }
@media (max-width: 767px) { .contact_spec-grid.is-single .contact_spec-list { columns: 1; } }


/* ==========================================================================
   NEXT-STEP CUE : Client-First spacing strategy
   The cue is its own component with its own vertical rhythm. The section above it
   hands over a smaller bottom padding (space-lg), the cue adds space-md on top,
   a guide line (space-xl) leads the eye in, and space-2xl sits below before the
   section edge. All values come from the spacing scale, none are one-off margins.
   ========================================================================== */
.padding-section-large:has(+ .next_component),
.padding-section-medium:has(+ .next_component) { padding-bottom: var(--space-lg); }

.next_component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  padding-bottom: var(--space-2xl);
}
.next_line {
  width: 1px;
  height: var(--space-xl);
  background: linear-gradient(to bottom, transparent, var(--admiral-blue));
}
.next_component .next_cue { margin: 0; padding: 0.875rem 1.5rem; gap: var(--space-xs); }
.section_statement .next_line { background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7)); }
@media (max-width: 767px) {
  .next_component { padding-bottom: var(--space-xl); }
  .next_component .next_cue { width: 100%; max-width: 22rem; }
}

/* ==========================================================================
   V5 : HERO SPLIT, LOGO STRIP, BENTO SECTION SURFACES
   ========================================================================== */
.hero_cards-layer, .hero_canvas { display: none; }
.hero_split {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: var(--space-xl);
  align-items: center;
}
.hero_split .hero_content { text-align: left; margin: 0; max-width: none; padding: 0; }
.hero_split .hero_tag, .hero_split .hero_sub { margin-left: 0; margin-right: 0; }
.hero_split .hero_headline { font-size: clamp(2.75rem, 5.6vw, 5.25rem); }
.hero_split .hero_tag { max-width: 30ch; }
.hero_split .hero_actions { justify-content: flex-start; gap: var(--space-xs); }
.hero_visual { position: relative; min-width: 0; }
.hero_visual-label { font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 var(--space-xs); }
.arch_stage { position: relative; width: 100%; aspect-ratio: 5 / 4; min-height: 18rem; }
.arch_stage svg { width: 100%; height: 100%; display: block; }
.button.is-tertiary { background: transparent; color: var(--admiral-navy); border-color: transparent; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--primary-200); }
.button.is-tertiary:hover { text-decoration-color: var(--admiral-blue); transform: none; box-shadow: none; }
.button_play { display: inline-block; width: 0; height: 0; margin-right: .5rem; border-left: .55rem solid currentColor; border-top: .4rem solid transparent; border-bottom: .4rem solid transparent; vertical-align: -1px; }
.section_hero { min-height: 100svh; }
.hero_cue { bottom: 5.25rem; }

/* logo strip */
.section_logos { background: var(--bg-canvas); border-bottom: 1px solid var(--border-default); padding: var(--space-md) 0; overflow: clip; }
.logos_label { font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 var(--space-sm); }
.logos_marquee { position: relative; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos_track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-xl); flex-shrink: 0; padding-right: var(--space-xl); animation: logos-run 48s linear infinite; }
.logos_marquee:hover .logos_track { animation-play-state: paused; }
.logos_item { display: inline-flex; align-items: center; gap: .625rem; color: var(--admiral-navy); font-family: var(--font-display); font-weight: 600; font-size: .9375rem; white-space: nowrap; opacity: .85; }
.logos_mark { display: none; }
.logos_img { width: 1.375rem; height: 1.375rem; display: block; }
@keyframes logos-run { to { transform: translateX(-100%); } }

/* bento section surface: faint blue tint so it reads as its own plane under the hero */
.section_bento { background: linear-gradient(180deg, var(--primary-50) 0%, #FFFFFF 70%); border-bottom: 1px solid var(--border-default); position: relative; overflow: clip; }
.section_bento > .padding-global { position: relative; z-index: 1; }

@media (max-width: 991px) {
  .hero_split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero_split .hero_content { text-align: center; }
  .hero_split .hero_tag, .hero_split .hero_sub { margin-left: auto; margin-right: auto; }
  .hero_split .hero_actions { justify-content: center; }
  .hero_visual { max-width: 36rem; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  .section_hero { min-height: auto; padding-bottom: var(--space-md); }
  .hero_split .hero_actions .button { width: 100%; }
  .logos_track { gap: var(--space-lg); animation-duration: 36s; }
}
@media (prefers-reduced-motion: reduce) { .logos_track { animation: none; } .logos_marquee { overflow-x: auto; mask-image: none; } }
