
  /* ---------- Font: Bricolage ---------- */
  @font-face{
    font-family:"Bricolage Grotesque";
    src:url("fonts/BricolageGrotesque-VariableFont_opsz_wdth_wght.ttf") format("truetype-variations"),
        url("fonts/BricolageGrotesque-VariableFont_opsz_wdth_wght.ttf") format("truetype");
    font-weight:200 800; font-stretch:75% 100%; font-display:swap;
  }

  :root{
    --bg:           #0E0F0C;
    --bg-2:         #0A0B09;
    --ink:          #FFFFFF;
    --ink-dim:      rgba(255,255,255,.62);
    --ink-faint:    rgba(255,255,255,.40);
    --ink-ghost:    rgba(255,255,255,.16);
    --line:         rgba(255,255,255,.08);
    --line-2:       rgba(255,255,255,.14);

    /* YOUGotaGift brand magenta — used as the single accent */
    --brand:        #B800C4;
    --brand-soft:   #E07AE9;
    --brand-deep:   #7A0084;

    --tile:         #FFFFFF;          /* logo plate */
    --tile-edge:    rgba(0,0,0,.10);
    --ease:         cubic-bezier(.2,0,0,1);

    --glass:        rgba(255,255,255,.04);
    --glass-2:      rgba(255,255,255,.06);

    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-ui:      "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html,body{ margin:0; padding:0; background:var(--bg); color:var(--ink); }
  body{
    font-family:var(--font-ui);
    font-weight:400;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    overflow-x:hidden;
    min-height:100vh;
    letter-spacing:-0.005em;
  }

  /* ====================== BACKGROUND LAYERS ====================== */

  .stage{
    position:relative;
    z-index:1;
    min-height:100vh;
    isolation:isolate;
    overflow:hidden;
  }

  /* ---- Animated globe backdrop — fixed for parallax; fades out via .rings-paused
          when the hero scrolls off-screen so it never bleeds through sections below ---- */
  .hero-rings{
    position:fixed; inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
    background:transparent;
    transition: opacity 0.45s ease;
  }
  .hero-rings.rings-paused{
    opacity: 0;
    pointer-events: none;
  }
  #globeCanvas{
    position:absolute; inset:0;
    width:100%; height:100%;
    display:block;
  }
  /* paused when the hero is scrolled off-screen — globe JS checks this class */
  /* globe vignette — darken top for text legibility; let planet horizon glow through */
  .hero-rings-vignette{
    position:absolute; inset:0;
    background:
      radial-gradient(70% 52% at 50% 0%, rgba(8,7,9,.82) 0%, rgba(8,7,9,.38) 45%, transparent 72%),
      linear-gradient(180deg, rgba(8,7,9,.28) 0%, transparent 28%, transparent 72%, rgba(8,7,9,.22) 100%);
  }
  html[data-theme="light"] .hero-rings{
    background: transparent;
  }
  /* hero-rings-svg removed (replaced by canvas globe) */
  html[data-theme="light"] .hero-rings-vignette{
    /* just a very subtle top edge so text sits cleanly — no heavy colour spread */
    background: linear-gradient(180deg, rgba(250,247,242,.55) 0%, rgba(250,247,242,.15) 12%, transparent 28%);
  }
  @media (prefers-reduced-motion: reduce){
    #globeCanvas{ display: none; }
  }

  /* Base radial vignette + matte — magenta wash from below, over the shared page bg */
  .stage::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(110% 70% at 50% 115%, rgba(184,0,196,.18), transparent 55%),
      radial-gradient(70% 60% at 100% 0%, rgba(255,255,255,.03), transparent 60%),
      radial-gradient(60% 50% at 0% 0%, rgba(255,255,255,.02), transparent 60%);
    z-index:0;
  }

  @keyframes gridDrift{
    from{ background-position: 0 0, 0 0; }
    to{   background-position: 64px 64px, 64px 64px; }
  }

  @keyframes twinkle{
    from{ opacity:.4; }
    to{   opacity:.85; }
  }

  /* ====================== NAV ====================== */
  .nav-wrap{
    position:fixed; z-index:9999;
    top: 22px; left:0; right:0;
    display:flex; justify-content:center;
    padding: 0 24px;
    pointer-events:none;
    animation: navFadeIn .9s var(--ease, cubic-bezier(.2,0,0,1)) both;
    transition: top .42s cubic-bezier(.2,0,0,1);
  }
  .nav-wrap.nav-hidden{
    top: -120px;
  }
  @keyframes navFadeIn{
    from{ opacity:0; }
    to{   opacity:1; }
  }
  .nav{
    pointer-events:auto;
    display:flex; align-items:center; gap: 8px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20,21,18,.78), rgba(14,15,12,.78));
    border: 1px solid var(--line-2);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.02) inset,
      0 20px 50px -24px rgba(0,0,0,.7),
      0 0 60px -20px rgba(184,0,196,.20);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
  }
  .brand{ display:flex; align-items:center; gap:10px; }
  .brand-divider{
    width:1px; height:18px;
    background: linear-gradient(180deg, transparent, var(--line-2), transparent);
  }
  .brand-tag{
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    display:flex; align-items:center; gap:6px;
  }
  .brand-tag .slash{ color: var(--brand-soft); font-weight:600; }

  .nav-links{
    display:flex; gap: 4px; align-items:center;
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-dim);
    margin: 0 6px 0 18px;
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .nav-links a{
    color:inherit; text-decoration:none; position:relative;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color .18s ease, background .18s ease;
  }
  .nav-links a:hover{
    color:var(--ink);
    background: rgba(255,255,255,.05);
  }
  .nav-links a.has-dot{ padding-left: 22px; }
  .nav-links a.has-dot::before{
    content:""; position:absolute; left: 10px; top:50%;
    width:5px; height:5px; border-radius:50%;
    background:#3CE08F; transform:translateY(-50%);
    box-shadow: 0 0 8px rgba(60,224,143,.7);
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink{
    0%,100%{ opacity:.5; } 50%{ opacity:1; }
  }

  .nav-cta{
    display:flex; gap:6px; align-items:center;
  }

  .top-right-controls{
    position: fixed;
    top: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 6px 5px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20,21,18,.78), rgba(14,15,12,.78));
    border: 1px solid var(--line-2);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.02) inset,
      0 20px 50px -24px rgba(0,0,0,.7),
      0 0 60px -20px rgba(184,0,196,.20);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    opacity: 1;
    transition: transform .42s cubic-bezier(.2,0,0,1), opacity .42s ease;
  }
  .top-right-controls.controls-hidden{
    transform: translateY(-160px);
    opacity: 0;
    pointer-events: none;
  }
  .pill{
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink-dim);
    text-decoration:none;
    transition: all .18s ease;
    display:inline-flex; align-items:center; gap:8px;
    white-space: nowrap;
  }
  .pill:hover{ color:var(--ink); background: rgba(255,255,255,.05); }
  .pill.primary{
    background: #FFFFFF;
    color: #0E0F0C;
    border-color: rgba(255,255,255,.0);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.12),
      0 6px 18px -8px rgba(255,255,255,.25);
  }
  .pill.primary:hover{ background: #F4F4F2; color:#0E0F0C; }

  /* Status pill — MyRewards with uptime (inline inside glass cluster) */
  .status-pill{
    display:inline-flex; align-items:center; gap:9px;
    padding: 4px 8px 4px 2px;
    border-radius: 999px;
    text-decoration:none;
    transition: opacity .2s ease;
  }
  .status-pill:hover{
    opacity: .8;
  }
  .controls-divider{
    width:1px; height:22px;
    background: linear-gradient(180deg, transparent, var(--line-2), transparent);
    flex-shrink: 0;
  }
  .status-dot-lg{
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #3CE08F;
    box-shadow: 0 0 0 3px rgba(60,224,143,.18), 0 0 12px rgba(60,224,143,.7);
    animation: blink 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }
  .status-text{
    display:flex; flex-direction:column; line-height: 1.1;
  }
  .status-title{
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .status-sub{
    font-family: var(--font-ui);
    font-size: 10px;
    color: var(--ink-faint);
    letter-spacing: .01em;
    margin-top: 1px;
  }

  /* Theme toggle */
  .theme-toggle{
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink-dim);
    display:inline-flex; align-items:center; justify-content:center;
    cursor: pointer;
    transition: all .2s ease;
    padding: 0;
    flex-shrink: 0;
  }
  .theme-toggle:hover{
    color: var(--ink);
    background: rgba(255,255,255,.08);
    border-color: var(--ink-ghost);
  }
  .theme-toggle svg{
    width: 16px; height: 16px;
  }

  /* ====================== HERO ====================== */
  .hero{
    position:relative; z-index:5;
    min-height: 100vh;
    padding: 110px 48px 220px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center;
    max-width:1400px; margin:0 auto;
  }

  /* Brand logo — sits at the far left, on the same line as the centered nav pill, outside it */
  .nav-logo{
    position:absolute;
    left: max(48px, calc((100% - 1400px) / 2 + 48px));
    top: 50%;
    transform: translateY(-50%);
    pointer-events:auto;
    display:flex; align-items:center;
  }
  .nav-logo img{
    height: 42px; width:auto; display:block;
    filter: drop-shadow(0 0 14px rgba(184,0,196,.42));
    transition: transform .25s var(--ease, cubic-bezier(.2,0,0,1)), opacity .35s ease;
  }
  /* Compact: hide logo, show only the pill */
  .nav-wrap.nav-compact .nav-logo{
    opacity: 0;
    pointer-events: none;
  }
  .nav-logo:hover img{ transform: scale(1.05); }

  h1.headline{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(28px, 3.4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 28px;
    max-width: 36ch;
    text-wrap: balance;
    color: #E8E9E3;
  }
  h1.headline .line{
    display:block;
  }
  /* Unified accent — both highlighted phrases share ONE treatment now */
  h1.headline .brand-name,
  h1.headline .grad{
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip:text; background-clip:text;
    color: transparent;
    font-style: normal;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
  }
  h1.headline .grad::after{ content: none; }

  .headline .line{
    display:block;
    animation: rise 1s var(--ease, cubic-bezier(.2,0,0,1)) both;
  }
  .headline .line:nth-child(1){ animation-delay:.05s; }
  .headline .line:nth-child(2){ animation-delay:.18s; }
  .headline .line:nth-child(3){ animation-delay:.31s; }

  @keyframes rise{
    from{ opacity:0; transform: translateY(28px); filter: blur(8px); }
    to  { opacity:1; transform: translateY(0); filter: blur(0); }
  }
  @keyframes floatIn{
    from{ opacity:0; transform: translateY(10px); }
    to  { opacity:1; transform: translateY(0); }
  }

  .sub{
    font-family: var(--font-ui);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.55;
    color: var(--ink-dim);
    max-width: 42ch;
    margin: 0 auto 40px;
    font-weight: 400;
    animation: floatIn 1s .55s var(--ease, cubic-bezier(.2,0,0,1)) both;
  }

  /* ====================== STATS BAR — full-bleed metrics row ====================== */
  .stats-wrap{
    position: absolute;
    z-index: 6;
    left: 0; right: 0;
    bottom: 96px;
    padding: 0 56px;
    pointer-events: none;
    animation: floatIn 1s 1.1s var(--ease, cubic-bezier(.2,0,0,1)) both;
  }
  .stats-rule{
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.10) 10%,
      rgba(255,255,255,.18) 50%,
      rgba(255,255,255,.10) 90%,
      transparent 100%);
    margin-bottom: 36px;
  }
  .stats-row{
    pointer-events: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
  }
  .stat{
    position: relative;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .stat + .stat::before{
    content: "";
    position: absolute;
    left: 0; top: 8%;
    bottom: 8%;
    width: 1px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(255,255,255,.12) 30%,
      rgba(255,255,255,.12) 70%,
      transparent 100%);
  }
  .stat-value{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 3.6vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
  }
  .stat-value .unit{
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.42em;
    letter-spacing: -0.02em;
    color: var(--brand-soft);
    margin-left: 2px;
    text-shadow: 0 0 24px rgba(184,0,196,.45);
  }
  .stat-label{
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
  }

  /* ====================== RESPONSIVE ====================== */
  @media (max-width: 900px){
    h1.headline{ max-width: 18ch; font-size: clamp(32px, 8.5vw, 56px); }
    h1.headline .line{ display:inline; }
  }
  @media (max-width: 1100px){
    .stats-wrap{ padding: 0 32px; bottom: 84px; }
    .stat{ padding: 0 18px; }
    .stat-value{ font-size: clamp(40px, 5vw, 56px); }
  }
  /* Mid widths: the centered pill would reach the content-aligned logo, so
     left-align the pill after a reserved logo gutter instead. */
  @media (max-width: 1080px){
    .nav-wrap{ justify-content: flex-start; padding-left: 92px; }
    .nav-logo{ left: 22px; }
    .nav-logo img{ height: 38px; }
  }
  @media (max-width: 900px){
    .stats-wrap{ padding: 0 22px; bottom: 70px; }
    .stats-rule{ margin-bottom: 22px; }
    .stats-row{ grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .stat + .stat::before{ display:none; }
    .stat{ padding: 0 12px; border-left: 1px solid rgba(255,255,255,.10); }
    .stat:nth-child(2n+1){ border-left: none; }
    .stat-value{ font-size: clamp(36px, 9vw, 52px); }
    .stat-label{ font-size: 9.5px; letter-spacing: .18em; }
  }
  @media (max-width: 768px){
    .nav{ padding: 6px 6px 6px 14px; gap:4px; }
    .nav-links{ display:none; }
    .brand-divider, .brand-tag{ display:none; }
    .hero{ padding: 110px 22px 200px; }
    .nav-logo{ left: 16px; }
    .nav-logo img{ height: 34px; }
  }

  /* ====================== LIGHT THEME ====================== */
  /* Smooth crossfade when switching themes */
  body, .stage::before,
  .nav, .nav-links a, .pill, .pill.primary,
  .theme-toggle, .status-pill, .status-title, .status-sub,
  h1.headline, h1.headline .grad, .sub,
  .stats-rule, .stat + .stat::before, .stat-value, .stat-value .unit, .stat-label{
    transition:
      background-color .55s var(--ease, cubic-bezier(.2,0,0,1)),
      background .55s var(--ease, cubic-bezier(.2,0,0,1)),
      color .45s var(--ease, cubic-bezier(.2,0,0,1)),
      border-color .45s var(--ease, cubic-bezier(.2,0,0,1)),
      box-shadow .55s var(--ease, cubic-bezier(.2,0,0,1)),
      opacity .55s var(--ease, cubic-bezier(.2,0,0,1)),
      filter .55s var(--ease, cubic-bezier(.2,0,0,1));
  }

  /* Theme-toggle icon swap */
  .theme-toggle svg{
    transition: transform .5s var(--ease, cubic-bezier(.2,0,0,1)), opacity .35s ease;
  }
  .theme-toggle.swapping svg{
    transform: rotate(180deg) scale(.4);
    opacity: 0;
  }

  html[data-theme="light"]{
    --bg:           #FAF7F2;
    --bg-2:         #F2EDE6;
    --ink:          #1A0E1C;
    --ink-dim:      rgba(26,14,28,.66);
    --ink-faint:    rgba(26,14,28,.46);
    --ink-ghost:    rgba(26,14,28,.16);
    --line:         rgba(26,14,28,.08);
    --line-2:       rgba(26,14,28,.14);
    --glass:        rgba(255,255,255,.6);
    --glass-2:      rgba(255,255,255,.5);
  }
  html[data-theme="light"] body{ background: var(--bg); }

  /* Base wash: none in light — globe provides all the colour */
  html[data-theme="light"] .stage::before{ background: none; }
  /* Nav — white-glass on light */
  html[data-theme="light"] .nav{
    background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.72));
    border-color: rgba(26,14,28,.10);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.5) inset,
      0 18px 40px -22px rgba(26,14,28,.18),
      0 0 60px -20px rgba(184,0,196,.18);
  }
  html[data-theme="light"] .nav-logo img{
    filter: drop-shadow(0 0 12px rgba(184,0,196,.22));
  }
  html[data-theme="light"] .nav-links a:hover{
    background: rgba(26,14,28,.05);
    color: var(--ink);
  }
  html[data-theme="light"] .pill:hover{ background: rgba(26,14,28,.05); color: var(--ink); }
  html[data-theme="light"] .pill.primary{
    background: var(--ink);
    color: #FFFFFF;
    box-shadow: 0 0 0 1px rgba(26,14,28,.12), 0 6px 18px -8px rgba(26,14,28,.3);
  }
  html[data-theme="light"] .pill.primary:hover{ background: #000; color: #FFF; }
  html[data-theme="light"] .theme-toggle{
    background: transparent;
    border-color: transparent;
    color: var(--ink-dim);
  }
  html[data-theme="light"] .theme-toggle:hover{
    background: rgba(26,14,28,.06);
    border-color: rgba(26,14,28,.14);
    color: var(--ink);
  }

  /* Top-right controls cluster — white-glass on light, matching nav */
  html[data-theme="light"] .top-right-controls{
    background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.72));
    border-color: rgba(26,14,28,.10);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.5) inset,
      0 18px 40px -22px rgba(26,14,28,.18),
      0 0 60px -20px rgba(184,0,196,.18);
  }
  html[data-theme="light"] .controls-divider{
    background: linear-gradient(180deg, transparent, rgba(26,14,28,.14), transparent);
  }
  /* Status pill is now transparent inside the cluster */
  html[data-theme="light"] .status-pill{
    background: transparent;
    border-color: transparent;
  }
  html[data-theme="light"] .status-title{ color: var(--ink); }
  html[data-theme="light"] .status-sub{ color: var(--ink-faint); }

  /* Headline + sub */
  html[data-theme="light"] h1.headline{ color: #FFFFFF; text-shadow: none; }
  html[data-theme="light"] h1.headline .grad{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip:text; background-clip:text;
    color: transparent;
  }
  html[data-theme="light"] h1.headline .grad::after{
    background: radial-gradient(circle, #E07AE9, #7A0084 55%, transparent 75%);
    box-shadow: 0 0 24px rgba(184,0,196,.55);
  }
  html[data-theme="light"] .sub{ color: rgba(255,255,255,.80); }

  /* Stats */
  html[data-theme="light"] .stats-rule{
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.15) 10%,
      rgba(255,255,255,.25) 50%,
      rgba(255,255,255,.15) 90%,
      transparent 100%);
  }
  html[data-theme="light"] .stat + .stat::before{
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(255,255,255,.20) 30%,
      rgba(255,255,255,.20) 70%,
      transparent 100%);
  }
  html[data-theme="light"] .stat-value{ color: #FFFFFF; }
  html[data-theme="light"] .stat-value .unit{
    color: #E07AE9;
    text-shadow: none;
  }
  html[data-theme="light"] .stat-label{ color: rgba(255,255,255,.60); }

  /* ====================== STORIES SECTION ====================== */
  .stories{
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 90px 0 90px;
    overflow: hidden;
    isolation: isolate;
  }
  .stories::before{
    content:"";
    position: absolute; inset: 0;
    background:
      radial-gradient(85% 70% at 50% 48%, rgba(150,18,158,.30), transparent 62%),
      radial-gradient(95% 75% at 50% 110%, rgba(110,10,120,.22), transparent 60%),
      radial-gradient(60% 55% at 100% 100%, rgba(120,16,140,.12), transparent 64%);
    z-index: 0;
  }
  html[data-theme="light"] .stories::before{
    background:
      radial-gradient(85% 70% at 50% 48%, rgba(150,18,158,.16), transparent 62%),
      radial-gradient(95% 75% at 50% 110%, rgba(110,10,120,.12), transparent 60%),
      radial-gradient(60% 55% at 100% 100%, rgba(120,16,140,.07), transparent 64%);
  }

  .stories-inner{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }

  .stories-head{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 12px;
  }
  .stories-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .stories-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 12px rgba(184,0,196,.7);
  }
  .stories-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0;
    max-width: 18ch;
  }
  .stories-title em{
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .12em;   /* prevent italic right-edge clipping */
    display: inline-block;
  }
  html[data-theme="light"] .stories-title em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  .stories-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .filter{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--brand);
    border: 1px solid transparent;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.5);
  }
  .filter:hover{
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -6px rgba(184,0,196,.65);
  }
  html[data-theme="light"] .filter{ color: #fff; }
  html[data-theme="light"] .filter:hover{ background: var(--brand); color: #fff; box-shadow: 0 8px 30px -6px rgba(184,0,196,.55); }
  .filter.active{ color: #fff; }
  html[data-theme="light"] .filter.active{ color: #fff; }

  /* ====================== STORIES — Stage layout ====================== */
  .story-stage{
    position: relative;
    margin: 0 -48px;
    padding: 80px 48px 24px;
    height: 524px;
    overflow: hidden;
    isolation: isolate;
  }
  .story-track{
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1400px;
  }

  /* Card base */
  .story-card{
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -158px;     /* half of base width */
    width: 316px;
    height: 418px;
    border-radius: 30px;
    background: var(--card-color, #B800C4);
    background-image: linear-gradient(180deg,
      color-mix(in oklab, var(--card-color, #B800C4) 100%, white 14%) 0%,
      var(--card-color, #B800C4) 45%,
      color-mix(in oklab, var(--card-color, #B800C4) 100%, black 22%) 100%);
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 26px;
    overflow: visible;
    transition: transform .65s var(--ease, cubic-bezier(.2,0,0,1)),
                opacity .55s var(--ease, cubic-bezier(.2,0,0,1)),
                filter .55s var(--ease, cubic-bezier(.2,0,0,1)),
                box-shadow .55s var(--ease, cubic-bezier(.2,0,0,1));
    box-shadow:
      0 22px 50px -24px rgba(0,0,0,.55),
      0 0 0 1px rgba(255,255,255,.06) inset;
    will-change: transform, opacity, filter;
  }
  .story-card::before{
    content:"";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.18), transparent 55%);
    pointer-events: none;
  }

  /* Slot states */
  .story-card.is-featured{
    transform: translateX(0) scale(1) rotateY(0);
    opacity: 1;
    z-index: 5;
    filter: none;
  }
  .story-card.is-prev{
    transform: translateX(-300px) scale(.78) rotateY(8deg);
    opacity: .9;
    z-index: 3;
    filter: saturate(.45) brightness(.7);
    cursor: pointer;
  }
  .story-card.is-next{
    transform: translateX(300px) scale(.78) rotateY(-8deg);
    opacity: .9;
    z-index: 3;
    filter: saturate(.45) brightness(.7);
    cursor: pointer;
  }
  .story-card.is-hidden{
    transform: translateX(0) scale(.4) rotateY(0);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }
  .story-card.is-prev:hover,
  .story-card.is-next:hover{
    filter: saturate(.65) brightness(.85);
    opacity: 1;
  }

  /* Featured-only hover: subtle lift */
  .story-card.is-featured:hover{
    transform: translateY(-4px) scale(1.01);
    box-shadow:
      0 36px 70px -28px rgba(0,0,0,.65),
      0 0 60px -10px color-mix(in oklab, var(--card-color, #B800C4) 100%, white 8%),
      0 0 0 1px rgba(255,255,255,.10) inset;
  }

  /* Image bleed */
  .story-portrait{
    position: absolute;
    top: -60px;
    left: 8%;
    right: 8%;
    height: 62%;
    pointer-events: none;
    z-index: 2;
    transition: transform .5s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .story-portrait img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 22px 22px 60% 60% / 22px 22px 18% 18%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    display: block;
  }
  .story-card.is-featured:hover .story-portrait{
    transform: translateY(-6px) scale(1.03);
  }

  /* Card content */
  .story-info{ position: relative; z-index: 3; color: #FFFFFF; }
  .story-title-link{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    text-wrap: balance;
    text-shadow: 0 1px 12px rgba(0,0,0,.25);
  }
  .story-meta-row{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: rgba(255,255,255,.78);
  }
  .story-meta-row .meta-brand{ font-weight: 500; color: #FFFFFF; }
  .story-meta-row .meta-cat{ font-weight: 600; color: #FFE08A; }
  .story-meta-row .meta-sep{ opacity: .5; }

  .story-date{
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.22);
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
  }
  .story-author-chip{
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-family: var(--font-ui);
    font-size: 11px;
    color: rgba(255,255,255,.9);
  }
  .story-author-chip img{
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.2);
  }
  .story-author-chip .plus-badge{
    font-family: var(--font-mono);
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #FFF;
    margin-left: 2px;
  }

  /* Hide non-essential bits on side cards for visual hierarchy */
  .story-card.is-prev .story-author-chip,
  .story-card.is-next .story-author-chip,
  .story-card.is-prev .story-date,
  .story-card.is-next .story-date{ display: none; }

  /* Side label that overlays the side card */
  .side-label{
    position: absolute;
    bottom: -56px;
    left: 0; right: 0;
    text-align: center;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
  }
  .story-card.is-prev .side-label,
  .story-card.is-next .side-label{ opacity: 1; }
  .story-card.is-prev .side-eyebrow::before{ content: "Previous"; }
  .story-card.is-next .side-eyebrow::before{ content: "Next"; }
  .side-eyebrow{
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 4px;
  }
  .side-name{
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
  }

  /* CTA card mirrors featured/side classes */
  .story-card.cta{
    --card-color: #2A0F30;
    border: 1px dashed rgba(184,0,196,.5);
    box-shadow: none;
    background: linear-gradient(180deg, rgba(184,0,196,.18) 0%, rgba(184,0,196,.06) 100%);
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
  }
  .story-card.cta::before{ display: none; }
  html[data-theme="light"] .story-card.cta{
    background: linear-gradient(180deg, rgba(184,0,196,.12) 0%, rgba(184,0,196,.04) 100%);
    border-color: rgba(184,0,196,.4);
    color: var(--ink);
  }
  .cta-icon{
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(184,0,196,.22);
    border: 1px solid rgba(184,0,196,.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-soft);
    margin-bottom: 20px;
  }
  .cta-icon svg{ width: 22px; height: 22px; }
  .cta-title{
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 8px;
  }
  .cta-sub{
    font-family: var(--font-ui);
    font-size: 13.5px;
    color: var(--ink-dim);
    margin: 0 0 22px;
    line-height: 1.5;
    max-width: 22ch;
  }
  .cta-link{
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .cta-link svg{ width: 13px; height: 13px; }

  /* Session pill + controls under stage */
  .stage-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .stage-doodle{
    color: var(--brand-soft);
    opacity: .55;
    flex-shrink: 0;
  }
  .stage-doodle.flip{ transform: scaleX(-1); }
  /* doodle arrow as button */
  button.doodle-btn{
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    opacity: .55;
    transition: opacity .2s ease, transform .2s ease;
  }
  button.doodle-btn:hover{ opacity: 1; }
  button.doodle-btn.flip{ transform: scaleX(-1); }
  button.doodle-btn.flip:hover{ transform: scaleX(-1) translateX(-4px); }
  button.doodle-btn:not(.flip):hover svg{ transform: translateX(-4px); }
  button.doodle-btn svg{ transition: transform .2s ease; }
  .session-pill{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255,255,255,.04);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  html[data-theme="light"] .session-pill{
    background: rgba(26,14,28,.04);
    border-color: rgba(26,14,28,.14);
  }
  .session-pill .num{
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .session-pill .divider{
    width: 1px; height: 12px;
    background: var(--line-2);
  }
  .session-pill .read-time{ color: var(--ink-faint); }

  .stage-nav{
    display: flex;
    gap: 10px;
  }
  .carousel-btn{
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: rgba(255,255,255,.04);
    color: var(--ink-dim);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    padding: 0;
  }
  .carousel-btn:hover{
    color: var(--ink);
    background: rgba(255,255,255,.08);
    border-color: var(--ink-ghost);
  }
  html[data-theme="light"] .carousel-btn{
    background: rgba(26,14,28,.04);
    border-color: rgba(26,14,28,.14);
  }
  html[data-theme="light"] .carousel-btn:hover{
    background: rgba(26,14,28,.08);
    color: var(--ink);
  }
  .carousel-btn svg{ width: 16px; height: 16px; }

  @media (max-width: 1100px){
    .stories{ padding: 64px 0 64px; }
    .stories-inner{ padding: 0 32px; }
    .story-stage{ margin: 0 -32px; padding: 76px 32px 24px; height: 512px; }
    .story-card{ width: 296px; margin-left: -148px; height: 404px; }
    .story-card.is-prev{ transform: translateX(-256px) scale(.7) rotateY(8deg); }
    .story-card.is-next{ transform: translateX(256px) scale(.7) rotateY(-8deg); }
  }
  @media (max-width: 700px){
    .stories{ padding: 52px 0 56px; }
    .stories-inner{ padding: 0 22px; }
    .story-stage{ margin: 0 -22px; padding: 80px 22px 24px; height: 560px; }
    .story-card{ width: 280px; margin-left: -140px; height: 420px; }
    .story-card.is-prev,
    .story-card.is-next{ opacity: 0; pointer-events: none; }
    .stories-title{ font-size: clamp(30px, 7vw, 44px); }
    .stage-doodle{ display: none; }
    .stage-footer{ gap: 20px; }
  }

  /* ====================== MOBILE HAMBURGER & DRAWER ====================== */
  .mobile-menu-btn{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: var(--glass);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .mobile-menu-btn span{
    display: block;
    width: 18px; height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
  }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

  /* Drawer */
  .mobile-drawer{
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 999;
    background: var(--glass-2, rgba(14,11,18,.96));
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--line-2);
    padding: 0;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.2,0,0,1), opacity .25s ease;
  }
  html[data-theme="light"] .mobile-drawer{
    background: rgba(255,255,255,.92);
  }
  .mobile-drawer.open{
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-drawer-links{
    display: flex;
    flex-direction: column;
    padding: 16px 22px 24px;
    gap: 2px;
  }
  .mobile-drawer-links a{
    display: block;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    letter-spacing: -0.01em;
    transition: color .2s ease;
  }
  .mobile-drawer-links a:last-child{ border-bottom: none; }
  .mobile-drawer-links a:active{ color: var(--brand, #B800C4); }
  .mobile-drawer-links a.current{ display: none; }

  /* Stats bar — horizontal scroll on mobile */
  @media (max-width: 600px){
    .stats-wrap{
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 8px;
      bottom: 60px;
    }
    .stats-row{
      flex-wrap: nowrap;
      min-width: max-content;
      padding: 0 16px;
    }
    .stat{ min-width: 110px; padding: 0 18px; }
  }

  @media (max-width: 768px){
    .mobile-menu-btn{ display: flex; }
    .mobile-drawer{ display: block; }
    /* Keep theme toggle visible */
    .nav-cta .theme-toggle{ display: flex; }
    /* Tighter hero on phone */
    .hero{ padding: 100px 20px 180px; }
    h1.headline{ font-size: clamp(28px, 8.5vw, 44px); }
    .sub{ font-size: 14px; line-height: 1.6; }
  }

  @media (max-width: 480px){
    .hero{ padding: 88px 18px 160px; }
    h1.headline{ font-size: clamp(26px, 8vw, 36px); }
    .sub{ font-size: 13.5px; }

    /* Trust policy grid 1 col */
    .trust-policy-grid{ grid-template-columns: 1fr !important; }

    /* Newsroom milestones readable */
    .nm-card{ padding: 18px; }
    .nm-title{ font-size: 14px; }

    /* Culture cards full-width */
    .culture-cards{ grid-template-columns: 1fr; gap: 16px; }
    .culture-card-media{ height: 100px; }

    /* Status grid 1 col */
    .status-grid{ grid-template-columns: 1fr !important; }

    /* Careers / stack chips wrap */
    .ts-chip{ font-size: 12px; }
  }



/* ============================================ */


  /* ===== Unified page background — one continuous surface across all sections ===== */
  .page-bg{
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(120% 60% at 50% 100%, rgba(184,0,196,.07), transparent 55%),
      radial-gradient(80% 50% at 50% 0%, rgba(184,0,196,.04), transparent 60%);
    transition: background .55s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .page-bg .pg-grid{ display: none; }
  .page-bg .pg-grid.fine{ display: none; }
  .page-bg .pg-stars{
    position:absolute; inset:0;
    background-image:
      radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.5) 50%, transparent 51%),
      radial-gradient(1px 1px at 78% 32%, rgba(255,255,255,.4) 50%, transparent 51%),
      radial-gradient(1px 1px at 38% 76%, rgba(255,255,255,.45) 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 64% 12%, rgba(255,255,255,.5) 50%, transparent 51%),
      radial-gradient(1px 1px at 28% 60%, rgba(255,255,255,.35) 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 88% 72%, rgba(255,255,255,.4) 50%, transparent 51%);
    opacity:.5;
    animation: twinkle 6s ease-in-out infinite alternate;
  }
  html[data-theme="light"] .page-bg{
    background:
      radial-gradient(120% 60% at 50% 100%, rgba(184,0,196,.06), transparent 55%),
      radial-gradient(80% 50% at 50% 0%, rgba(184,0,196,.04), transparent 60%);
  }
  html[data-theme="light"] .page-bg .pg-grid{ display: none; }
  html[data-theme="light"] .page-bg .pg-stars{ opacity:0; }


/* ============================================ */


  html { scroll-behavior: auto; }


/* ============================================ */


  @keyframes smileDotBounce {
    0%,100% { transform: translateY(0);     animation-timing-function: cubic-bezier(0.42,0,1,1); }
    50%      { transform: translateY(-11px); animation-timing-function: cubic-bezier(0,0,0.58,1); }
  }
  @keyframes smileUPulse {
    0%,100% { transform: scale(1);    }
    50%      { transform: scale(1.055); }
  }
  .sl-dot-l { animation: smileDotBounce 0.88s ease-in-out infinite; }
  .sl-dot-r { animation: smileDotBounce 0.88s ease-in-out infinite 0.27s; }
  .sl-u     { animation: smileUPulse 1.55s ease-in-out infinite; transform-origin: 100px 152px; }
  .sl-dot-l.exit, .sl-dot-r.exit {
    animation: none; transform: scale(0); opacity: 0;
    transition: transform 0.18s ease-in, opacity 0.18s ease-in;
  }
  .sl-dot-r.exit { transition-delay: 0.04s; }
  .sl-u.exit { animation: none; }
  #sl-backdrop {
    position: fixed; inset: 0;
    background: rgba(14,15,12,0.55);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    z-index: 99998; pointer-events: none;
  }
  #sl-backdrop.exit {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.58s 0.22s cubic-bezier(0.2,0,0,1),
                backdrop-filter 0.58s 0.22s ease,
                -webkit-backdrop-filter 0.58s 0.22s ease;
  }
  #sl-logo-wrap {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
  }
  #sl-logo-inner { transform-origin: center center; }
  #sl-logo-inner.exit {
    transition:
      transform 0.92s cubic-bezier(0.1, 0.0, 0.08, 1.0),
      opacity   0.28s 0.80s ease-in;
    opacity: 0;
  }


/* ============================================ */


  /* Crisp square grid above each section's wash — matches the Tech Stack section,
     so the whole page shares one consistent grid surface. */
  .stories::after,
  .status::after{
    content:"";
    position:absolute; inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size:64px 64px;
    animation: none;
  }
  html[data-theme="light"] .stories::after,
  html[data-theme="light"] .status::after{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.08) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.08) 1px, transparent 1px);
  }
  html[data-theme="light"] .stories::after,
  html[data-theme="light"] .status::after{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.06) 1px, transparent 1px);
  }
  @media (prefers-reduced-motion: reduce){
    .stories::after, .status::after{ animation:none; }
  }


/* ============================================ */


  .status{
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 90px 0 90px;
    overflow: hidden;
    isolation: isolate;
  }
  .status::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(85% 70% at 50% 48%, rgba(150,18,158,.28), transparent 62%),
      radial-gradient(95% 75% at 50% 110%, rgba(110,10,120,.20), transparent 60%),
      radial-gradient(60% 55% at 100% 100%, rgba(120,16,140,.12), transparent 64%);
    z-index:0;
  }
  html[data-theme="light"] .status::before{
    background:
      radial-gradient(85% 70% at 50% 48%, rgba(150,18,158,.15), transparent 62%),
      radial-gradient(95% 75% at 50% 110%, rgba(110,10,120,.11), transparent 60%),
      radial-gradient(60% 55% at 100% 100%, rgba(120,16,140,.07), transparent 64%);
  }
  .glow-status-1{
    width: 1100px; height: 700px;
    left: 50%; top: -8%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(150,18,158,.30) 0%, rgba(110,10,120,.11) 45%, transparent 72%);
    animation: pulse 14s ease-in-out infinite;
  }
  .glow-status-2{
    width: 540px; height: 540px;
    right: -8%; bottom: -8%;
    background: radial-gradient(circle, rgba(120,16,140,.14), transparent 70%);
    animation: pulse 16s ease-in-out infinite reverse;
  }

  .status-inner{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---- Head ---- */
  .status-head{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 44px;
  }
  .status-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #3CE08F;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .status-eyebrow .dot{
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3CE08F;
    box-shadow: 0 0 0 3px rgba(60,224,143,.16), 0 0 12px rgba(60,224,143,.7);
    animation: blink 1.8s ease-in-out infinite;
  }
  .status-headline{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0;
    max-width: 20ch;
  }
  .status-headline em{
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .12em;
    display: inline-block;
  }
  html[data-theme="light"] .status-headline em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  .status-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .status-link-btn{
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: 1px solid transparent;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.5);
  }
  .status-link-btn svg{ width: 14px; height: 14px; }
  .status-link-btn:hover{ filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 30px -6px rgba(184,0,196,.65); }
  html[data-theme="light"] .status-link-btn{ color: #fff; }
  html[data-theme="light"] .status-link-btn:hover{ background: var(--brand); color: #fff; box-shadow: 0 8px 30px -6px rgba(184,0,196,.55); }
  .status-link-btn.primary{
    background: #FFFFFF; color: #0E0F0C; border-color: transparent;
    box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 18px -8px rgba(255,255,255,.25);
  }
  .status-link-btn.primary:hover{ background: #F4F4F2; color:#0E0F0C; }
  html[data-theme="light"] .status-link-btn.primary{ background: var(--ink); color:#fff; }

  /* ---- Meta line ---- */
  .status-meta{
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: .01em;
    margin: 18px 0 0;
    line-height: 1.5;
  }
  .status-meta b{ color: var(--ink); font-weight: 500; }

  /* ---- Overall uptime bar ---- */
  .status-overall{
    padding: 0 0 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
  }
  .overall-head{
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 14px;
  }
  .overall-head .lbl{
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .overall-head .val{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .overall-head .val span{ color: var(--ink-dim); font-weight: 400; font-size: 12px; font-family: var(--font-mono); margin-left: 6px; }

  .uptime-bar{
    display: flex;
    gap: 2px;
    align-items: stretch;
    height: 34px;
  }
  .uptime-bar.lg{ height: 44px; }
  .uptime-bar .bar{
    flex: 1 1 0;
    min-width: 0;
    border-radius: 2px;
    background: #3CE08F;
    opacity: .9;
    position: relative;
    transition: transform .18s ease, opacity .18s ease;
  }
  .uptime-bar .bar.op{ background: linear-gradient(180deg, #46E89A, #2BBF7C); }
  .uptime-bar .bar.deg{ background: linear-gradient(180deg, #E8C24A, #C99A18); opacity: 1; }
  .uptime-bar .bar.part{ background: linear-gradient(180deg, #E8893C, #C96918); opacity: 1; }
  .uptime-bar .bar.maj{ background: linear-gradient(180deg, #E8533C, #C92E18); opacity: 1; }
  .uptime-bar .bar:hover{ transform: scaleY(1.12); opacity: 1; }
  .uptime-bar .bar[data-tip]:hover::after{
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .04em;
    color: var(--ink);
    background: rgba(20,21,18,.96);
    border: 1px solid var(--line-2);
    padding: 5px 9px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 8px 24px -10px rgba(0,0,0,.6);
  }
  html[data-theme="light"] .uptime-bar .bar[data-tip]:hover::after{
    background: #fff; color: var(--ink);
  }
  .overall-foot{
    display: flex; justify-content: space-between;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }

  /* ---- Group grid ---- */
  .status-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
  }
  .status-card{
    border-radius: 16px;
    background: rgba(255,255,255,.018);
    border: 1px solid var(--line);
    padding: 20px 22px 16px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, background .2s ease;
  }
  html[data-theme="light"] .status-card{ background: rgba(26,14,28,.015); }
  .status-card:hover{
    border-color: var(--line-2);
    background: rgba(255,255,255,.03);
  }
  html[data-theme="light"] .status-card:hover{ background: rgba(26,14,28,.03); }
  .card-head{
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .card-name{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.015em;
    color: var(--ink);
    display: inline-flex; align-items: center; gap: 9px;
  }
  .card-name .gdot{
    width: 7px; height: 7px; border-radius: 50%;
    background: #3CE08F;
    box-shadow: 0 0 8px rgba(60,224,143,.6);
    flex-shrink: 0;
  }
  .card-count{
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    white-space: nowrap;
  }
  .status-card .uptime-bar{ height: 30px; margin-bottom: 12px; }
  .card-foot{
    display: flex; align-items: baseline; justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #3CE08F;
  }
  .card-foot b{
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: none;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }

  /* ---- Responsive ---- */
  @media (max-width: 1100px){
    .status-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px){
    .status{ padding: 60px 0 60px; }
    .status-head{ grid-template-columns: 1fr; align-items: start; }
    .status-actions{ justify-content: flex-start; }
  }
  @media (max-width: 760px){
    .status-inner{ padding: 0 22px; }
    .status-grid{ grid-template-columns: 1fr; }
  }


/* ============================================ */


/* ====================== SECTION SHELL ====================== */
  .techstack{
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 90px 0 90px;
    overflow: hidden;
    isolation: isolate;
    min-height: 100vh;
  }
  .techstack::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(85% 70% at 50% 42%, rgba(150,18,158,.30), transparent 62%),
      radial-gradient(95% 75% at 50% 112%, rgba(110,10,120,.22), transparent 60%),
      radial-gradient(60% 55% at 0% 0%, rgba(120,16,140,.12), transparent 64%);
    z-index:0;
  }
  html[data-theme="light"] .techstack::before{
    background:
      radial-gradient(85% 70% at 50% 42%, rgba(150,18,158,.15), transparent 62%),
      radial-gradient(95% 75% at 50% 112%, rgba(110,10,120,.11), transparent 60%),
      radial-gradient(60% 55% at 0% 0%, rgba(120,16,140,.07), transparent 64%);
  }

  /* base grid */
  .ts-grid{
    position:absolute; inset:-2px; z-index:0;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: none;
  }
  html[data-theme="light"] .ts-grid{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.06) 1px, transparent 1px);
  }
  @keyframes tsGridDrift{ from{ background-position:0 0; } to{ background-position:64px 64px; } }

  .ts-glow{
    position:absolute; border-radius:50%; filter:blur(80px);
    z-index:0; pointer-events:none; will-change:transform;
  }
  .ts-glow-1{
    width:1100px; height:720px; left:50%; top:-6%;
    transform:translateX(-50%);
    background: radial-gradient(circle, rgba(150,18,158,.32) 0%, rgba(110,10,120,.12) 45%, transparent 72%);
    animation: tsPulse 13s ease-in-out infinite;
  }
  .ts-glow-2{
    width:560px; height:560px; right:-8%; bottom:-10%;
    background: radial-gradient(circle, rgba(120,16,140,.16), transparent 70%);
    animation: tsPulse 16s ease-in-out infinite reverse;
  }
  @keyframes tsPulse{
    0%,100%{ opacity:.85; transform: translateX(var(--px,0)) scale(1); }
    50%    { opacity:1;   transform: translateX(var(--px,0)) scale(1.08); }
  }
  .ts-glow-1{ --px:-50%; }

  .ts-inner{
    position: relative; z-index: 5;
    max-width: 1400px; margin: 0 auto;
    padding: 0 48px;
  }

  /* ====================== SPLIT LAYOUT ====================== */
  .ts-split{
    position: relative; z-index: 5;
    display: grid;
    grid-template-columns: minmax(300px, 34%) 1fr;
    align-items: center;
    min-height: 100vh;
    gap: 24px;
    padding-left: clamp(24px, 5.5vw, 80px);
  }

  /* ---- Left: title + description only ---- */
  .ts-left{ max-width: 520px; }
  .ts-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
  }
  .ts-eyebrow .dot{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 12px rgba(184,0,196,.7);
  }
  .ts-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(40px, 4.8vw, 72px);
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin: 0 0 26px;
    max-width: 13ch;
  }
  .ts-title em{
    font-style: italic; font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .12em;
    display: inline-block;
  }
  html[data-theme="light"] .ts-title em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .ts-meta{
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-dim);
    max-width: 42ch;
    margin: 0 0 30px;
  }
  .ts-meta b{ color: var(--ink); font-weight: 600; }

  .ts-foot{
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .ts-foot .b{ width:1px; height:11px; background: var(--line-2); }
  .ts-foot b{ color: var(--ink-dim); font-weight: 500; }
  .ts-foot .pulse{
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(184,0,196,.16), 0 0 12px rgba(184,0,196,.8);
    animation: tsBlink 1.9s ease-in-out infinite;
  }
  @keyframes tsBlink{ 0%,100%{opacity:.5;} 50%{opacity:1;} }

  /* ---- Right: vertical floating columns ---- */
  /* .ts-cols = static clip frame (mask never rotates) */
  .ts-cols{
    position: relative;
    align-self: stretch;
    height: 100vh;
    overflow: hidden;
    /* soft fade on all four edges so the tilted field melts into the bg */
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%),
      linear-gradient(90deg,  transparent 0, #000 7%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%),
      linear-gradient(90deg,  transparent 0, #000 7%, #000 92%, transparent 100%);
            mask-composite: intersect;
  }
  /* .ts-stage = rotated + oversized field of columns */
  .ts-stage{
    position: absolute;
    top: 50%; left: 50%;
    width: 122%;
    height: 152%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(14px, 1.4vw, 22px);
    /* upper part leans right, lower part pulls left (clockwise) */
    transform: translate(-50%, -50%) rotate(9deg);
    transform-origin: center;
  }
  .ts-col{
    flex: 0 0 auto;
    width: clamp(184px, 13vw, 210px);
    height: 100%;
    overflow: visible;
  }
  .ts-coltrack{
    display: flex;
    flex-direction: column;
    gap: 0;
    will-change: transform;
  }
  .ts-coltrack > *{ margin-bottom: 18px; transform: rotate(-9deg); }   /* counter-rotate -> upright tiles on a tilted field */
  .ts-col.up   .ts-coltrack{ animation: tsVUp   var(--dur,40s) linear infinite; }
  .ts-col.down .ts-coltrack{ animation: tsVDown var(--dur,40s) linear infinite; }
  /* hover no longer pauses the ticker */
  @keyframes tsVUp{   from{ transform: translateY(0); }    to{ transform: translateY(-50%); } }
  @keyframes tsVDown{ from{ transform: translateY(-50%); }  to{ transform: translateY(0); } }

  /* ---- Chip ---- */
  .ts-chip{
    flex: 0 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 11px;
    padding: 9px 13px 9px 9px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(22,18,22,.72), rgba(14,12,14,.72));
    border: 1px solid var(--line-2);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.03) inset,
      0 18px 40px -26px rgba(0,0,0,.8);
    color: var(--ink);
    white-space: normal;
    transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
  }
  html[data-theme="light"] .ts-chip{
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.74));
    border-color: rgba(26,14,28,.10);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.6) inset,
      0 16px 36px -26px rgba(26,14,28,.4);
  }
  .ts-chip:hover{
    transform: rotate(-9deg) translateY(-4px) scale(1.03);
    border-color: rgba(184,0,196,.5);
    box-shadow:
      0 0 0 1px rgba(184,0,196,.25) inset,
      0 26px 50px -24px rgba(0,0,0,.85),
      0 0 50px -14px rgba(184,0,196,.5);
    z-index: 2;
  }

  .ts-logo{
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--tile);
    display: grid;
    place-items: center;
    box-shadow:
      0 0 0 1px var(--tile-edge) inset,
      0 2px 6px -2px rgba(0,0,0,.35);
    overflow: hidden;
  }
  .ts-logo img{
    width: 23px; height: 23px;
    object-fit: contain;
    display: block;
  }
  .ts-logo .mark{
    width: 23px; height: 23px;
    background-color: var(--c, #2A2A2A);
    -webkit-mask: var(--m) center / contain no-repeat;
            mask: var(--m) center / contain no-repeat;
  }
  .ts-logo.mono{
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: #1A0E1C;
    background: linear-gradient(160deg, #FFFFFF, #ECECEC);
  }
  .ts-name{
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-ui);
    font-size: 13.75px;
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* ---- Category label tile (sits in the column flow) ---- */
  .ts-cat{
    flex: 0 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    min-height: 58px;
    box-sizing: border-box;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(184,0,196,.16), rgba(184,0,196,.07));
    border: 1px solid rgba(184,0,196,.32);
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.35;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-soft);
    white-space: normal;
    word-break: break-word;
  }
  html[data-theme="light"] .ts-cat{ color: var(--brand-deep); }
  .ts-cat .cdot{
    flex: 0 0 auto;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 10px rgba(184,0,196,.8);
  }

  /* Cross-fade theme */
  body, .techstack::before, .ts-grid, .ts-glow,
  .ts-title, .ts-title em, .ts-meta, .ts-meta b,
  .ts-chip, .ts-name, .ts-cat, .ts-foot, .ts-foot b, .theme-toggle{
    transition:
      background-color .55s var(--ease), background .55s var(--ease),
      color .45s var(--ease), border-color .45s var(--ease),
      box-shadow .55s var(--ease), opacity .55s var(--ease);
  }

  /* ====================== RESPONSIVE ====================== */
  /* show fewer columns as width shrinks (4th/5th column hidden) */
  @media (max-width: 1280px){ .ts-col:nth-child(n+5){ display:none; } }
  @media (max-width: 1024px){ .ts-col:nth-child(n+4){ display:none; } }

  @media (max-width: 860px){
    .ts-split{
      grid-template-columns: 1fr;
      min-height: auto;
      align-items: start;
      gap: 0;
      padding: 96px 22px 0;
    }
    .ts-left{ max-width: none; }
    .ts-cols{
      height: 78vh;
      margin: 40px -22px 0;
      padding-right: 0;
      justify-content: center;
    }
    .ts-col:nth-child(n+4){ display:none; }       /* up to 3 on tablet/phone */
    .ts-col{ width: clamp(150px, 44vw, 200px); }
  }
  @media (max-width: 560px){
    .ts-col:nth-child(n+3){ display:none; }        /* 2 columns on phone */
    .ts-chip{ padding: 8px 15px 8px 8px; gap: 10px; }
    .ts-logo{ width: 34px; height: 34px; border-radius: 9px; }
    .ts-logo img, .ts-logo .mark{ width: 20px; height: 20px; }
    .ts-name{ font-size: 13.5px; }
    .ts-cat{ min-height: 50px; font-size: 9.5px; }
  }

  @media (prefers-reduced-motion: reduce){
    .ts-coltrack{ animation-duration: 240s !important; }
    .ts-grid, .ts-glow{ animation: none !important; }
  }


/* ============================================ */


  .culture{
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 0 132px;
  }

  /* ---- Same animated square grid the other sections use ---- */
  .culture::after{
    content:"";
    position:absolute; inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size:64px 64px;
    animation: none;
  }
  html[data-theme="light"] .culture::after{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.06) 1px, transparent 1px);
  }
  @media (prefers-reduced-motion: reduce){ .culture::after{ animation:none; } }

  .culture-inner{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---- Two-column head: copy left, photo cluster right ---- */
  .culture-head{
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(32px, 4vw, 68px);
  }
  .culture-copy{ text-align: left; }

  /* ---- Photo cluster ---- */
  .culture-gallery{
    position: relative;
    width: 100%;
    height: clamp(340px, 32vw, 440px);
  }
  .gphoto{
    position: absolute;
    margin: 0;
    padding: 7px;
    background: #0E0F0C;
    border-radius: 16px;
    overflow: hidden;
    transform: rotate(var(--r, 0deg));
    box-shadow:
      0 36px 70px -30px rgba(0,0,0,.8),
      0 0 0 1px rgba(0,0,0,.05);
    transition: transform .4s var(--ease, cubic-bezier(.2,0,0,1)),
                box-shadow .4s var(--ease, cubic-bezier(.2,0,0,1));
    will-change: transform;
  }
  html[data-theme="light"] .gphoto{
    box-shadow: 0 30px 60px -28px rgba(26,14,28,.4), 0 0 0 1px rgba(26,14,28,.06);
  }
  .gphoto img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .gphoto:hover{
    transform: rotate(var(--r, 0deg)) translateY(-8px) scale(1.035);
    z-index: 10;
    box-shadow:
      0 46px 84px -28px rgba(0,0,0,.85),
      0 0 60px -20px rgba(184,0,196,.45),
      0 0 0 1px rgba(0,0,0,.05);
  }
  .gphoto.g1{ top: 0;     right: 0;    width: 62%; height: 54%; z-index: 2; }
  .gphoto.g2{ top: 30%;   left: 0;     width: 40%; height: 42%; z-index: 3; }
  .gphoto.g3{ bottom: 0;  left: 24%;   width: 42%; height: 44%; z-index: 5; }
  .gphoto.g4{ bottom: 3%; right: 1%;   width: 42%; height: 44%; z-index: 1; }

  /* ---- Eyebrow (matches every other section head) ---- */
  .culture-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  html[data-theme="light"] .culture-eyebrow{ color: var(--brand-deep); }
  .culture-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 12px rgba(184,0,196,.7);
  }

  /* ---- Title (system pattern: light-weight Bricolage + italic gradient em) ---- */
  .culture-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(40px, 5.6vw, 86px);
    line-height: 1.0;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    max-width: 13ch;
    text-wrap: balance;
    color: var(--ink);
  }
  .culture-title .line{ display: block; }
  .culture-title em{
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .12em;
    display: inline-block;
  }
  html[data-theme="light"] .culture-title em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .culture-sub{
    font-family: var(--font-ui);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.55;
    color: var(--ink-dim);
    max-width: 34ch;
    margin: 0;
    font-weight: 400;
  }

  /* ---- Cards ---- */
  .culture-cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 78px;
    align-items: stretch;
  }
  /* ---- Reference-style cards ---- */
  .culture-card{
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(26,20,30,.95), rgba(16,12,20,.97));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.03) inset,
      0 24px 48px -20px rgba(0,0,0,.80);
    transition: transform .4s var(--ease, cubic-bezier(.2,0,0,1)),
                border-color .3s var(--ease, cubic-bezier(.2,0,0,1)),
                box-shadow .4s var(--ease, cubic-bezier(.2,0,0,1));
  }
  html[data-theme="light"] .culture-card{
    background: rgba(255,255,255,.75);
    border-color: rgba(26,14,28,.07);
    box-shadow: 0 18px 44px -20px rgba(26,14,28,.14), 0 0 0 1px rgba(255,255,255,.7) inset;
  }
  .culture-card::before{ display: none; }

  /* Image area */
  .culture-card-media{
    flex-shrink: 0;
    margin: 10px 10px 0;
    border-radius: 20px;
    overflow: hidden;
    height: 120px;
    background: rgba(255,255,255,.04);
    display: block;
  }
  .culture-card-media svg{
    width: 100%; height: 100%;
    display: block;
    transition: transform .5s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .culture-card:hover .culture-card-media svg{
    transform: scale(1.04);
  }

  /* Card body */
  .culture-card-body{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 22px 28px;
    flex: 1;
  }

  /* Title */
  .culture-card h3{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
  }

  /* Left-border description */
  .culture-card-desc{
    font-family: var(--font-ui);
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--ink-dim);
    margin: 0;
    font-weight: 400;
  }

  /* Learn more CTA */
  .culture-card-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--brand);
    border: 1px solid transparent;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    align-self: flex-start;
    cursor: pointer;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.5);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  }
  .culture-card-cta:hover{
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -6px rgba(184,0,196,.65);
  }
  html[data-theme="light"] .culture-card-cta{
    background: var(--brand);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.4);
  }
  html[data-theme="light"] .culture-card-cta:hover{
    background: rgba(184,0,196,.14);
    border-color: rgba(184,0,196,.55);
    color: var(--brand-deep);
  }

  /* ---- Entrance reveal (scoped) ---- */
  .culture .c-rise{
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    transition: opacity .75s var(--ease, cubic-bezier(.2,0,0,1)),
                transform .75s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .culture.in .c-rise{ opacity: 1; transform: none; }
  /* flat cards — simple lift entrance */
  .culture-card.c-rise{ transform: translateY(44px) scale(0.95); }
  .culture.in .culture-card.c-rise{ transform: translateY(0) scale(1); transition-delay: var(--d, 0s); }
  .culture.in .culture-card.c-rise:hover{
    transform: translateY(-6px) scale(1.01);
    transition-delay: 0s;
    z-index: 4;
    border-color: rgba(184,0,196,.38);
    box-shadow:
      0 0 0 1px rgba(184,0,196,.18) inset,
      0 32px 56px -22px rgba(0,0,0,.85),
      0 0 48px -16px rgba(184,0,196,.42);
  }
  .no-js .culture .c-rise{ opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce){
    .culture .c-rise{ opacity: 1 !important; transform: none !important; }
  }

  /* ---- Individual photo entrance — each flies in from its own direction ---- */
  .culture .gphoto{
    opacity: 0;
    transition:
      opacity .85s var(--ease, cubic-bezier(.2,0,0,1)),
      transform .85s var(--ease, cubic-bezier(.2,0,0,1)),
      box-shadow .4s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .culture .gphoto.g1{ transform: rotate(3deg)  translate( 28px, -32px) scale(.87); }
  .culture .gphoto.g2{ transform: rotate(-5deg) translate(-30px,  22px) scale(.87); }
  .culture .gphoto.g3{ transform: rotate(2deg)  translate(-10px,  38px) scale(.87); }
  .culture .gphoto.g4{ transform: rotate(5deg)  translate( 28px,  28px) scale(.87); }

  .culture.in .gphoto         { opacity: 1; }
  .culture.in .gphoto.g1      { transform: rotate(3deg);  transition-delay: .12s; }
  .culture.in .gphoto.g2      { transform: rotate(-5deg); transition-delay: .28s; }
  .culture.in .gphoto.g3      { transform: rotate(2deg);  transition-delay: .42s; }
  .culture.in .gphoto.g4      { transform: rotate(5deg);  transition-delay: .56s; }
  /* hover: straighten, lift, scale up, brighten */
  .culture.in .gphoto:hover   {
    transition-delay: 0s;
    transform: rotate(0deg) translateY(-14px) scale(1.07);
    box-shadow:
      0 24px 60px -8px rgba(0,0,0,.45),
      0 0 0 3px rgba(184,0,196,.35),
      0 0 40px -10px rgba(184,0,196,.4);
    z-index: 10;
    cursor: zoom-in;
  }
  .culture-gallery .gphoto{ cursor: default; }
  .culture-gallery .gphoto img{
    transition: filter .4s ease;
  }
  .culture.in .gphoto:hover img{
    filter: brightness(1.08) saturate(1.1);
  }

  .no-js .culture .gphoto     { opacity: 1; }
  .no-js .culture .gphoto.g1  { transform: rotate(3deg); }
  .no-js .culture .gphoto.g2  { transform: rotate(-5deg); }
  .no-js .culture .gphoto.g3  { transform: rotate(2deg); }
  .no-js .culture .gphoto.g4  { transform: rotate(5deg); }
  @media (prefers-reduced-motion: reduce){
    .culture .gphoto           { opacity: 1 !important; }
    .culture .gphoto.g1        { transform: rotate(3deg)  !important; }
    .culture .gphoto.g2        { transform: rotate(-5deg) !important; }
    .culture .gphoto.g3        { transform: rotate(2deg)  !important; }
    .culture .gphoto.g4        { transform: rotate(5deg)  !important; }
  }

  /* ---- Responsive ---- */
  @media (max-width: 1024px){
    .culture-cards{ grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  }
  @media (max-width: 960px){
    .culture-head{ grid-template-columns: 1fr; gap: 0; }
    .culture-gallery{ margin: 44px auto 0; max-width: 560px; height: clamp(300px, 60vw, 380px); }
  }
  @media (max-width: 860px){
    .culture{ padding: 90px 0 96px; }
  }
  @media (max-width: 600px){
    .culture-inner{ padding: 0 22px; }
    .culture-cards{ grid-template-columns: 1fr; margin-top: 44px; }
    .culture-card{ --y: 0px; }
    .culture-gallery{ height: clamp(270px, 80vw, 350px); }
  }


/* ============================================ */


  .trust{
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: hidden;
    isolation: isolate;
    padding: 96px 0 120px;
  }
  @media (prefers-reduced-motion: reduce){ .trust::after{ animation:none; } }

  .trust-inner{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---- Head row: copy left, CTAs right (matches .status-head pattern) ---- */
  .trust-head{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 48px;
    margin-bottom: 56px;
  }

  /* Eyebrow — mono font + glowing dot, identical to every other section */
  .trust-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
  }
  html[data-theme="light"] .trust-eyebrow{ color: var(--brand-deep); }
  .trust-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 12px rgba(184,0,196,.7);
  }

  /* Headline — weight 300, italic gradient em, matching other section titles */
  .trust-headline{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(38px, 4.8vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0 0 20px;
    max-width: 18ch;
    text-wrap: balance;
  }
  html[data-theme="light"] .trust-headline{ color: var(--foreground); }
  .trust-headline em{
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .08em;
    display: inline-block;
  }
  html[data-theme="light"] .trust-headline em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  /* Sub */
  .trust-sub{
    font-family: var(--font-ui);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.55;
    color: var(--ink-dim);
    max-width: 46ch;
    margin: 0;
    font-weight: 400;
  }
  html[data-theme="light"] .trust-sub{ color: var(--muted-foreground); }

  /* CTAs — right column of .trust-head */
  .trust-actions{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
  }

  /* Compliance chips under the sub copy */
  .trust-meta-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
  }
  .trust-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  html[data-theme="light"] .trust-chip{ color: var(--muted-foreground); border-color: var(--line-2); background: rgba(250,247,242,.85); }
  .trust-chip-dot{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 10px rgba(184,0,196,.7);
  }

  /* Trust status card — right column */
  .trust-status-card{
    flex-shrink: 0;
    width: 280px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--glass);
    backdrop-filter: blur(8px);
  }
  html[data-theme="light"] .trust-status-card{
    border-color: var(--line-2);
    background: rgba(250,247,242,.9);
    box-shadow: 0 8px 30px -12px rgba(26,14,28,.14);
  }
  .trust-status-row{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  html[data-theme="light"] .trust-status-row{ border-color: var(--line-2); }
  .trust-status-pulse{
    width: 9px; height: 9px; border-radius: 50%;
    background: #2ec28b;
    box-shadow: 0 0 0 0 rgba(46,194,139,.6);
    animation: trustPulse 2.2s infinite;
  }
  @keyframes trustPulse{
    0%{ box-shadow: 0 0 0 0 rgba(46,194,139,.55); }
    70%{ box-shadow: 0 0 0 8px rgba(46,194,139,0); }
    100%{ box-shadow: 0 0 0 0 rgba(46,194,139,0); }
  }
  @media (prefers-reduced-motion: reduce){ .trust-status-pulse{ animation: none; } }
  .trust-status-head{
    font-family: var(--font-ui);
    font-size: 14px; font-weight: 600;
    color: var(--ink);
  }
  html[data-theme="light"] .trust-status-head{ color: var(--foreground); }
  .trust-status-list{ margin: 0; display: flex; flex-direction: column; gap: 14px; }
  .trust-status-item{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .trust-status-item dt{
    font-family: var(--font-ui);
    font-size: 13px; color: var(--ink-faint); margin: 0;
  }
  html[data-theme="light"] .trust-status-item dt{ color: var(--muted-foreground); }
  .trust-status-item dd{
    font-family: var(--font-mono);
    font-size: 12.5px; letter-spacing: .02em;
    color: var(--ink); margin: 0; white-space: nowrap;
  }
  html[data-theme="light"] .trust-status-item dd{ color: var(--foreground); }

  /* Divider */
  .trust-divider{
    width: 100%;
    height: 1px;
    background: var(--line-2);
    margin-bottom: 56px;
  }
  html[data-theme="light"] .trust-divider{ background: rgba(0,0,0,.09); }

  /* Stats — 4-col bordered grid */
  .trust-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 72px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  html[data-theme="light"] .trust-stats{
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 2px 20px -6px rgba(0,0,0,.07);
  }
  .trust-stat{
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    transition: background .25s;
  }
  html[data-theme="light"] .trust-stat{ border-color: rgba(0,0,0,.08); }
  .trust-stat:last-child{ border-right: none; }
  .trust-stat:hover{ background: var(--glass); }
  html[data-theme="light"] .trust-stat:hover{ background: rgba(184,0,196,.03); }

  .trust-stat-icon{
    width: 32px; height: 32px;
    margin-bottom: 18px;
    color: var(--brand-soft);
  }
  html[data-theme="light"] .trust-stat-icon{ color: var(--brand); }

  .trust-stat-num{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 3vw, 48px);
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
  }
  html[data-theme="light"] .trust-stat-num{ color: var(--foreground); }

  .trust-stat-label{
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 14px;
  }
  html[data-theme="light"] .trust-stat-label{ color: var(--muted-foreground); }

  .trust-stat-desc{
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink-faint);
    line-height: 1.5;
  }
  html[data-theme="light"] .trust-stat-desc{ color: var(--muted-foreground); }

  /* Popular Policies header */
  .trust-policies-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  .trust-policies-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(20px, 2vw, 28px);
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0;
  }
  html[data-theme="light"] .trust-policies-title{ color: var(--foreground); }

  .trust-view-all{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-soft);
    text-decoration: none;
    transition: gap .2s, color .2s;
    white-space: nowrap;
  }
  .trust-view-all:hover{ gap: 10px; color: var(--ink); }
  html[data-theme="light"] .trust-view-all{ color: var(--brand); }

  /* Policy cards grid */
  .trust-policy-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 48px;
  }
  .trust-policy-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 16px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .25s;
    min-height: 118px;
  }
  .trust-policy-card:hover{
    background: var(--glass-2);
    border-color: rgba(184,0,196,.35);
    transform: translateY(-3px);
  }
  html[data-theme="light"] .trust-policy-card{
    background: rgba(250,247,242,0.85);
    border-color: var(--line-2);
    box-shadow: 0 2px 12px -4px rgba(26,14,28,.08);
  }
  html[data-theme="light"] .trust-policy-card:hover{
    border-color: var(--brand);
    background: rgba(255,252,250,0.96);
    box-shadow: 0 4px 20px -4px rgba(184,0,196,.14);
  }
  .trust-policy-top{
    color: var(--brand-soft);
    margin-bottom: 14px;
  }
  html[data-theme="light"] .trust-policy-top{ color: var(--brand); }
  .trust-policy-bottom{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
  }
  .trust-policy-name{
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.35;
    text-wrap: pretty;
  }
  html[data-theme="light"] .trust-policy-name{ color: var(--ink); }
  .trust-policy-arrow{
    color: var(--brand-soft);
    flex-shrink: 0;
    transition: transform .2s;
  }
  .trust-policy-card:hover .trust-policy-arrow{ transform: translateX(3px); }
  html[data-theme="light"] .trust-policy-arrow{ color: var(--brand); }

  /* Footer note */
  .trust-footer-note{
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--ink-faint);
  }
  .trust-footer-note svg{ color: var(--brand-soft); flex-shrink: 0; }
  html[data-theme="light"] .trust-footer-note{ color: var(--muted-foreground); }

  /* ---- Approach: copy + media two-col ---- */
  .trust-approach{
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
    margin-bottom: 100px;
  }
  .trust-approach-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0 0 22px;
    max-width: 16ch;
    text-wrap: balance;
  }
  html[data-theme="light"] .trust-approach-title{ color: var(--foreground); }
  .trust-approach-lead{
    font-family: var(--font-ui);
    font-size: clamp(15px,1.1vw,17px);
    line-height: 1.6;
    color: var(--ink-dim);
    max-width: 50ch;
    margin: 0 0 32px;
  }
  html[data-theme="light"] .trust-approach-lead{ color: var(--muted-foreground); }

  .trust-pillars{ display: flex; flex-direction: column; gap: 22px; }
  .trust-pillar{ display: flex; gap: 16px; align-items: flex-start; }
  .trust-pillar-icon{
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--brand-soft);
  }
  html[data-theme="light"] .trust-pillar-icon{ color: var(--brand); border-color: var(--line-2); }
  .trust-pillar-title{
    font-family: var(--font-ui);
    font-size: 15.5px; font-weight: 600;
    color: var(--ink); margin: 2px 0 5px;
  }
  html[data-theme="light"] .trust-pillar-title{ color: var(--foreground); }
  .trust-pillar-desc{
    font-family: var(--font-ui);
    font-size: 13.5px; line-height: 1.5;
    color: var(--ink-faint); margin: 0; max-width: 44ch;
  }
  html[data-theme="light"] .trust-pillar-desc{ color: var(--muted-foreground); }

  .trust-media{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  html[data-theme="light"] .trust-media{ border-color: var(--line-2); box-shadow: 0 8px 40px -12px rgba(26,14,28,.16); }
  .trust-media image-slot{ display:block; width:100%; height: clamp(360px, 42vw, 520px); }

  /* ---- Certifications band ---- */
  .trust-certs{ margin-bottom: 100px; }
  .trust-section-title{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -0.03em;
    color: var(--ink); margin: 10px 0 0;
  }
  html[data-theme="light"] .trust-section-title{ color: var(--foreground); }
  .trust-section-sub{
    font-family: var(--font-ui);
    font-size: clamp(14px,1.05vw,16px);
    line-height: 1.6; color: var(--ink-dim);
    max-width: 56ch; margin: 12px 0 0;
  }
  html[data-theme="light"] .trust-section-sub{ color: var(--muted-foreground); }
  .trust-certs-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 32px;
  }
  .trust-cert{
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--glass);
    transition: transform .25s, border-color .2s, background .2s;
  }
  .trust-cert:hover{ transform: translateY(-3px); border-color: rgba(184,0,196,.35); }
  html[data-theme="light"] .trust-cert{ background: rgba(250,247,242,.85); border-color: var(--line-2); box-shadow: 0 2px 12px -4px rgba(26,14,28,.08); }
  .trust-cert-badge{
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(184,0,196,.12);
    color: var(--brand-soft);
    margin-bottom: 16px;
  }
  html[data-theme="light"] .trust-cert-badge{ color: var(--brand); background: rgba(184,0,196,.08); }
  .trust-cert-name{
    font-family: var(--font-ui);
    font-size: 14.5px; font-weight: 600;
    color: var(--ink); margin: 0 0 5px;
  }
  html[data-theme="light"] .trust-cert-name{ color: var(--foreground); }
  .trust-cert-desc{
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: .04em;
    color: var(--ink-faint); margin: 0; line-height:1.45;
  }
  html[data-theme="light"] .trust-cert-desc{ color: var(--muted-foreground); }

  /* ---- Feature: media + copy ---- */
  .trust-feature{
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
    margin-bottom: 104px;
  }
  .trust-feature-list{ list-style:none; margin: 26px 0 0; padding:0; display:flex; flex-direction:column; gap:16px; }
  .trust-feature-list li{
    display:flex; gap:12px; align-items:flex-start;
    font-family: var(--font-ui); font-size: 14.5px; line-height:1.5; color: var(--ink-dim);
  }
  html[data-theme="light"] .trust-feature-list li{ color: var(--muted-foreground); }
  .trust-feature-list svg{ flex-shrink:0; color: var(--brand-soft); margin-top:1px; }
  html[data-theme="light"] .trust-feature-list svg{ color: var(--brand); }
  .trust-feature-list strong{ color: var(--ink); font-weight: 600; }
  html[data-theme="light"] .trust-feature-list strong{ color: var(--foreground); }

  /* ---- Policies section ---- */
  .trust-policies-intro{
    max-width: 56ch; margin: 12px 0 32px;
    font-family: var(--font-ui); font-size: clamp(14px,1.05vw,16px);
    line-height:1.6; color: var(--ink-dim);
  }
  html[data-theme="light"] .trust-policies-intro{ color: var(--muted-foreground); }

  @media (max-width: 1024px){
    .trust-approach, .trust-feature{ grid-template-columns: 1fr; }
    .trust-approach .trust-media, .trust-feature .trust-media{ order: -1; }
    .trust-certs-grid{ grid-template-columns: repeat(3,1fr); }
  }
  @media (max-width: 640px){
    .trust-certs-grid{ grid-template-columns: repeat(2,1fr); }
    .trust-media image-slot{ height: clamp(260px, 60vw, 360px); }
  }

  /* Responsive */
  @media (max-width: 1024px){
    .trust-head{ grid-template-columns: 1fr; }
    .trust-status-card{ width: 100%; }
    .trust-stats{ grid-template-columns: repeat(2, 1fr); }
    .trust-stat:nth-child(2){ border-right: none; }
    .trust-stat:nth-child(1),
    .trust-stat:nth-child(2){ border-bottom: 1px solid var(--line); }
    .trust-policy-grid{ grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px){
    .trust-inner{ padding: 0 24px; }
    .trust-stats{ grid-template-columns: 1fr; }
    .trust-stat{ border-right: none; border-bottom: 1px solid var(--line); }
    .trust-stat:last-child{ border-bottom: none; }
    .trust-policy-grid{ grid-template-columns: repeat(2, 1fr); }
  }


/* ============================================ */


  .newsroom{
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg);
    overflow: hidden;
    isolation: isolate;
    padding: 96px 0 120px;
  }
  .newsroom::after{
    content:"";
    position:absolute; inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size:64px 64px;
    animation: none;
  }
  html[data-theme="light"] .newsroom::after{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.06) 1px, transparent 1px);
  }
  @media (prefers-reduced-motion: reduce){ .newsroom::after{ animation:none; } }

  .newsroom-inner{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---- Two-column: copy left | timeline right ---- */
  .newsroom-body{
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(40px, 5vw, 80px);
  }

  /* ---- Left copy ---- */
  .newsroom-eyebrow{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  html[data-theme="light"] .newsroom-eyebrow{ color: var(--brand-deep); }
  .newsroom-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 12px rgba(184,0,196,.7);
  }

  .newsroom-headline{
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 4.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0 0 20px;
    max-width: 12ch;
    text-wrap: balance;
  }
  html[data-theme="light"] .newsroom-headline{ color: var(--foreground); }
  .newsroom-headline em{
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0BCF5 50%, #B800C4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-variation-settings: "wdth" 90;
    padding-right: .08em;
    display: inline-block;
  }
  html[data-theme="light"] .newsroom-headline em{
    background: linear-gradient(180deg, #2A0F30 0%, #B800C4 55%, #7A0084 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .newsroom-sub{
    font-family: var(--font-ui);
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.6;
    color: var(--ink-dim);
    max-width: 32ch;
    margin: 0 0 32px;
    font-weight: 400;
  }
  html[data-theme="light"] .newsroom-sub{ color: var(--muted-foreground); }

  .newsroom-cta{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--brand);
    border: 1px solid transparent;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.5);
  }
  .newsroom-cta:hover{ filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 30px -6px rgba(184,0,196,.65); }

  /* ---- Right: horizontal timeline ---- */
  .newsroom-timeline{
    position: relative;
    padding-bottom: 52px; /* room for the timeline line */
  }

  /* Cards row */
  .newsroom-milestones{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
  }

  .nm-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  .nm-year{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-soft);
    margin-bottom: 4px;
  }
  html[data-theme="light"] .nm-year{ color: var(--brand); }

  .nm-title{
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 10px;
  }
  html[data-theme="light"] .nm-title{ color: var(--foreground); }

  /* Image frame */
  .nm-img{
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--glass);
    position: relative;
    transition: transform .35s var(--ease, cubic-bezier(.2,0,0,1)), box-shadow .35s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .nm-card:hover .nm-img{
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(184,0,196,.2);
  }
  html[data-theme="light"] .nm-img{
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 4px 20px -6px rgba(0,0,0,.1);
  }
  .nm-img img{
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .nm-card:hover .nm-img img{ transform: scale(1.04); }

  /* Placeholder (no image) */
  .nm-img-placeholder{
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(184,0,196,.12), rgba(184,0,196,.04));
    color: var(--brand-soft);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  /* ---- Horizontal timeline line + dots ---- */
  .newsroom-track{
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 40px;
    pointer-events: none;
  }
  .newsroom-track-line{
    position: absolute;
    top: 14px;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
      transparent 0%,
      rgba(184,0,196,.6) 8%,
      rgba(184,0,196,.6) 92%,
      transparent 100%
    );
  }
  /* Animated dashes at the start */
  .newsroom-track-dashes{
    position: absolute;
    top: 14px; left: 0;
    width: 12%;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      rgba(184,0,196,.5) 0px,
      rgba(184,0,196,.5) 6px,
      transparent 6px,
      transparent 12px
    );
  }
  /* Dots at each milestone */
  .newsroom-track-dots{
    position: absolute;
    top: 0; left: 0; right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .newsroom-dot{
    display: flex;
    justify-content: center;
    padding-top: 8px;
  }
  .newsroom-dot::before{
    content:"";
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(184,0,196,.2), 0 0 14px rgba(184,0,196,.6);
  }
  html[data-theme="light"] .newsroom-dot::before{
    box-shadow: 0 0 0 3px rgba(184,0,196,.15), 0 0 10px rgba(184,0,196,.4);
  }

  /* Responsive */
  @media (max-width: 1024px){
    .newsroom-body{ grid-template-columns: 1fr; }
    .newsroom-headline{ max-width: none; }
    .newsroom-sub{ max-width: none; }
    .newsroom-milestones{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .newsroom-track-dots{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px){
    .newsroom-inner{ padding: 0 24px; }
    .newsroom-milestones{ grid-template-columns: 1fr; }
    .newsroom-track{ display: none; }
  }


/* ============================================ */


  /* ===== SCROLL HIGHLIGHT TEXT SECTION ===== */
  .sht-section{
    position: relative;
    z-index: 3;
    background: var(--bg);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 64px rgba(0,0,0,.65), 0 -1px 0 rgba(255,255,255,.06);
    padding: 140px 0 150px;
    overflow: hidden;
    isolation: isolate;
  }
  html[data-theme="light"] .sht-section{
    box-shadow: 0 -20px 52px rgba(26,14,28,.14), 0 -1px 0 rgba(26,14,28,.08);
  }
  /* Grid overlay — same pattern as other sections */
  .sht-section::after{
    content: "";
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: none;
  }
  html[data-theme="light"] .sht-section::after{
    background-image:
      linear-gradient(to right, rgba(26,14,28,.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(26,14,28,.06) 1px, transparent 1px);
  }
  @media (prefers-reduced-motion: reduce){ .sht-section::after{ animation: none; } }
  /* Subtle radial glow behind the text */
  .sht-section::before{
    content: "";
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(70% 80% at 50% 50%, rgba(184,0,196,.07), transparent 70%);
  }
  html[data-theme="light"] .sht-section::before{
    background: radial-gradient(70% 80% at 50% 50%, rgba(184,0,196,.05), transparent 70%);
  }
  .sht-inner{
    max-width: 960px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
    position: relative;
    z-index: 1;
  }
  .sht-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  .sht-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #B800C4;
    box-shadow: 0 0 8px rgba(184,0,196,.7);
  }
  .sht-text{
    font-family: var(--font-display);
    font-size: clamp(24px, 3.6vw, 50px);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: -0.025em;
    text-align: center;
    text-wrap: balance;
    margin: 0;
  }
  .sht-word{
    display: inline;
    color: rgba(255,255,255,.13);
  }
  html[data-theme="light"] .sht-word{
    color: rgba(26,14,28,.13);
  }
  .sht-word.lit{
    color: var(--ink);
  }
  .sht-word.accent.lit{
    color: #B800C4;
    text-shadow: 0 0 32px rgba(184,0,196,.4);
  }
  html[data-theme="light"] .sht-word.accent.lit{
    color: #8B009A;
    text-shadow: 0 0 24px rgba(184,0,196,.22);
  }
  .sht-cta{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--brand);
    border: 1px solid transparent;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 4px 20px -6px rgba(184,0,196,.5);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  }
  .sht-cta:hover{
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -6px rgba(184,0,196,.65);
  }
  .sht-cta svg{ flex-shrink: 0; }
  @media (max-width: 768px){
    .sht-section{ padding: 100px 0 110px; }
    .sht-inner{ padding: 0 24px; gap: 40px; }
  }
  @media (max-width: 480px){
    .sht-section{ padding: 80px 0 90px; }
    .sht-inner{ padding: 0 20px; gap: 32px; }
  }


/* ============================================ */


  /* Scroll-reveal: section titles slide in from the left */
  .reveal-left{
    opacity: 0;
    transform: translateX(-46px);
    transition: opacity .7s var(--ease, cubic-bezier(.2,0,0,1)),
                transform .7s var(--ease, cubic-bezier(.2,0,0,1));
  }
  .reveal-left.in{ opacity: 1; transform: none; }
  /* failsafe: if JS/observer never runs, never leave headings invisible */
  .no-js .reveal-left{ opacity: 1; transform: none; }

  .stage::before,
  .stories::before,
  .status::before,
  .techstack::before{ background: none !important; }

  .page-bg{
    background: transparent !important;
  }
  html[data-theme="light"] .page-bg{
    background: transparent !important;
  }


/* ============================================ */


  /* ===== FOOTER — card style ===== */
  .site-footer{
    position: relative;
    z-index: 4;
    background: var(--bg);
    padding: 32px 0 0;
  }
  html[data-theme="light"] .site-footer{ background: var(--bg); }

  /* Footer card */
  .footer-card{
    max-width: 100%;
    margin: 0;
    position: relative;
    background: rgba(255,255,255,.03);
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    overflow: hidden;
  }
  html[data-theme="light"] .footer-card{
    background: #fff;
    border-top-color: rgba(0,0,0,.08);
    box-shadow: none;
  }
  /* Footer globe canvas */
  #footerGlobe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
  }
  .footer-top, .footer-bar{
    position: relative;
    z-index: 2;
  }

  /* Top section: 4-col grid */
  .footer-top{
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 0 48px;
    padding: 52px 52px 48px;
    align-items: start;
  }

  /* Brand block */
  .footer-brand{ display: flex; flex-direction: column; }
  .footer-brand-logo{
    height: 40px; width: auto;
    margin-bottom: 18px;
    object-fit: contain;
    object-position: left center;
  }
  .footer-brand-tagline{
    font-family: var(--font-ui);
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.45);
    margin: 0 0 24px;
    max-width: 260px;
    letter-spacing: -0.01em;
  }
  html[data-theme="light"] .footer-brand-tagline{ color: rgba(0,0,0,.48); }

  /* Social icons row */
  .footer-social-row{
    display: flex; gap: 10px; align-items: center;
  }
  .footer-social-icon{
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
  }
  .footer-social-icon:hover{
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    color: rgba(255,255,255,.90);
  }
  html[data-theme="light"] .footer-social-icon{
    border-color: rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.50);
  }
  html[data-theme="light"] .footer-social-icon:hover{
    background: rgba(0,0,0,.07);
    color: rgba(0,0,0,.85);
  }
  .footer-social-icon svg{ width: 15px; height: 15px; fill: currentColor; }
  /* Image-based social icons */
  .footer-social-img { border: none !important; background: transparent !important; padding: 0 !important; }
  .footer-social-img img { width: 34px; height: 34px; display: block; border-radius: 8px; }

  /* Nav columns */
  .footer-col-title{
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
  }
  html[data-theme="light"] .footer-col-title{ color: #0e0f0c; }
  .footer-col-links{
    display: flex; flex-direction: column; gap: 13px;
    list-style: none; margin: 0; padding: 0;
  }
  .footer-col-links a{
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color .18s ease;
  }
  .footer-col-links a:hover{ color: rgba(255,255,255,.90); }
  html[data-theme="light"] .footer-col-links a{ color: rgba(0,0,0,.50); }
  html[data-theme="light"] .footer-col-links a:hover{ color: rgba(0,0,0,.90); }

  /* Bottom bar */
  .footer-bar{
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 52px;
    border-top: 1px solid rgba(255,255,255,.07);
    gap: 16px; flex-wrap: wrap;
  }
  html[data-theme="light"] .footer-bar{ border-top-color: rgba(0,0,0,.07); }
  .footer-bar-copy{
    font-family: var(--font-ui); font-size: 12.5px;
    color: rgba(255,255,255,.28); letter-spacing: -0.01em; margin: 0;
  }
  html[data-theme="light"] .footer-bar-copy{ color: rgba(0,0,0,.38); }
  .footer-bar-copy a{ color: inherit; text-decoration: none; transition: color .18s ease; }
  .footer-bar-copy a:hover{ color: rgba(255,255,255,.80); }
  html[data-theme="light"] .footer-bar-copy a:hover{ color: rgba(0,0,0,.80); }
  .footer-bar-links{
    display: flex; gap: 20px; align-items: center;
  }
  .footer-bar-links a{
    font-family: var(--font-ui); font-size: 12.5px;
    color: rgba(255,255,255,.38); letter-spacing: -0.01em;
    text-decoration: none;
    transition: color .18s ease;
  }
  .footer-bar-links a:hover{ color: rgba(255,255,255,.80); }
  html[data-theme="light"] .footer-bar-links a{ color: rgba(0,0,0,.40); }
  html[data-theme="light"] .footer-bar-links a:hover{ color: rgba(0,0,0,.80); }

  @media (max-width: 1100px){
    .footer-top{ padding: 44px 40px 40px; gap: 0 32px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .footer-bar{ padding: 16px 40px; }
  }
  @media (max-width: 768px){
    .footer-top{ grid-template-columns: 1fr 1fr; gap: 40px 28px; padding: 40px 28px 36px; }
    .footer-bar{ padding: 14px 28px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .site-footer{ padding: 24px 0 0; }
  }
  @media (max-width: 520px){
    .footer-top{ grid-template-columns: 1fr 1fr; gap: 32px 16px; padding: 32px 20px 28px; }
  }

  /* Large watermark below card */
  .footer-wordmark-wrap{
    position: relative;
    text-align: center;
    padding: 16px 0 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }
  .footer-wordmark{
    font-family: 'Hooskai Chamfered Square', 'Syne', var(--font-display);
    font-weight: 800;
    font-size: clamp(60px, 11vw, 160px);
    color: transparent;
    -webkit-text-stroke: none;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.01em;
    display: block;
    width: 100%;
    text-align: center;
  }
  .footer-wordmark-logo{
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    height: clamp(28px, 3vw, 44px);
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: brightness(0) saturate(100%) invert(18%) sepia(99%) saturate(4000%) hue-rotate(283deg) brightness(95%);
  }
  .footer-wordmark span{ color: rgba(255,255,255,.08); }
  .footer-wordmark .wm-brand{ color: rgba(255,255,255,.08); }
  html[data-theme="light"] .footer-wordmark span,
  html[data-theme="light"] .footer-wordmark .wm-brand{ color: rgba(184,0,196,.18); }
  html[data-theme="light"] .footer-wordmark-logo{
    filter: brightness(0) saturate(100%) invert(18%) sepia(99%) saturate(4000%) hue-rotate(283deg) brightness(95%);
    opacity: 0.55;
  }


/* ============================================ */


/* ============================================================
   MOBILE PORT — comprehensive fixes for phones (≤768px)
   ============================================================ */

/* Prevent any horizontal bleed — use clip, NOT hidden (hidden breaks position:sticky) */
html, body { overflow-x: clip; max-width: 100vw; }

/* ---- Nav ---- */
@media (max-width: 480px) {
  /* Status pill: show dot only, hide text */
  .status-pill .status-text { display: none; }
  .status-pill { padding: 8px 10px; gap: 0; min-width: 0; }
  /* Tighter nav pill */
  .nav { gap: 4px; padding: 6px 6px 6px 12px; }
}
@media (max-width: 360px) {
  /* Very small phones: hide status pill entirely */
  .status-pill { display: none; }
  .controls-divider { display: none; }
}

/* ---- Hero ---- */
@media (max-width: 768px) {
  .hero { padding: 100px 22px 190px; min-height: 100svh; }
}
@media (max-width: 480px) {
  .hero { padding: 88px 18px 180px; }
  h1.headline { font-size: clamp(26px, 8vw, 38px); letter-spacing: -0.02em; }
  .sub { font-size: 14px; max-width: none; }
}

/* ---- Stats bar ---- */
@media (max-width: 480px) {
  .stats-wrap { bottom: 28px; padding: 0 18px; }
  .stats-rule  { margin-bottom: 16px; }
  .stats-row   { display: flex; flex-wrap: nowrap; gap: 0; }
  .stat        { min-width: 108px; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.10); }
  .stat:first-child { border-left: none; padding-left: 0; }
  .stat-value  { font-size: clamp(28px, 7.5vw, 40px); }
  .stat-label  { font-size: 9px; letter-spacing: .14em; }
}

/* ---- Stories ---- */
@media (max-width: 480px) {
  .stories { padding: 48px 0 52px; }
  .stories-inner { padding: 0 18px; }
  .stories-head  { grid-template-columns: 1fr; gap: 16px; margin-bottom: 8px; }
  .stories-actions { justify-content: flex-start; }
  .stories-title { font-size: clamp(28px, 7.5vw, 42px); }
  .story-stage  { height: 490px; padding: 64px 18px 20px; margin: 0 -18px; }
  .story-card   { width: 272px; margin-left: -136px; height: 400px; }
  .stage-footer { gap: 14px; margin-top: 28px; }
}

/* ---- Status ---- */
@media (max-width: 480px) {
  .status { padding: 56px 0 56px; }
  .status-inner { padding: 0 18px; }
  .status-headline { font-size: clamp(28px, 7.5vw, 42px); }
  .status-meta { font-size: 13px; }
  .uptime-bar { height: 22px !important; }
}

/* ---- Tech Stack ---- */
@media (max-width: 480px) {
  .techstack { padding: 64px 0 64px; }
  .ts-split   { padding: 0 18px; gap: 0; }
  .ts-title   { font-size: clamp(36px, 9vw, 52px); }
  .ts-meta    { font-size: 14px; }
  .ts-cols    { height: 72vh; margin: 32px -18px 0; }
}

/* ---- Culture ---- */
@media (max-width: 768px) {
  .culture { padding: 72px 0 80px; }
  .culture-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .culture { padding: 64px 0 72px; }
  .culture-inner { padding: 0 18px; }
  .culture-title { font-size: clamp(34px, 9vw, 54px); }
  .culture-sub   { font-size: 14px; }
  .culture-gallery { height: clamp(260px, 58vw, 320px); }
  .culture-cards  { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .culture-card-media { height: 100px; }
}

/* ---- Trust ---- */
@media (max-width: 768px) {
  .trust-policy-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .trust { padding: 64px 0 72px; }
  .trust-inner  { padding: 0 18px; }
  .trust-headline { font-size: clamp(28px, 7.5vw, 42px); }
  .trust-policy-grid { grid-template-columns: 1fr !important; }
  .trust-stats  { grid-template-columns: repeat(2,1fr); }
}

/* ---- Newsroom ---- */
/* Disable sticky on mobile — can cause layout issues on mobile Safari */
@media (max-width: 768px) {
  .newsroom { position: relative; top: auto; }
}
@media (max-width: 480px) {
  .newsroom { padding: 64px 0 80px; }
  .newsroom-inner { padding: 0 18px; }
  .newsroom-headline { font-size: clamp(28px, 7.5vw, 42px); }
  .newsroom-sub { font-size: 14px; }
  .newsroom-milestones { grid-template-columns: 1fr; gap: 20px; }
  .newsroom-track { display: none; }
  .nm-title { font-size: 16px; }
  .nm-img   { aspect-ratio: 16/9; }
}

/* ---- Our Mission (sht-section) ---- */
@media (max-width: 768px) {
  .sht-section {
    border-radius: 0;
    box-shadow: none;
    padding: 80px 0 90px;
  }
}
@media (max-width: 480px) {
  .sht-section {
    padding: 64px 0 72px;
    border-radius: 0;
    box-shadow: none;
  }
  .sht-inner   { padding: 0 18px; gap: 32px; }
  .sht-text    { font-size: clamp(20px, 5.5vw, 28px); line-height: 1.35; }
}


  .footer-bar   { padding: 18px 20px !important; flex-direction: column; gap: 10px; text-align: center; }
}

/* Light theme tweaks carry through — no extra rules needed since --bg is
   already token-driven and all the sections reference it. */


/* ============================================================
   DEDICATED SUBPAGE ADDITIONS
   ============================================================ */
/* Subpages — no grid */
.subpage-section::after,
.subpage-section .ts-grid{ display: none !important; }
.subpage-section{ padding-top: 40px !important; }
.subpage-section.techstack{ min-height: auto; padding-top: 0 !important; }
.subpage-section.techstack .ts-split{ min-height: 76vh; }
/* On a standalone page the newsroom must not be sticky */
.newsroom.subpage-section{ position: relative; top: auto; }
/* The sht "Join us" section is decorative on the home page; when reused standalone
   it keeps its own padding. No change needed. */

/* Page sub-hero lead used at the top of each dedicated page nav breadcrumb */
.page-breadcrumb{
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 130px 48px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; align-items: center; gap: 10px;
}
.page-breadcrumb a{ color: var(--ink-dim); text-decoration: none; transition: color .2s ease; }
.page-breadcrumb a:hover{ color: var(--ink); }
.page-breadcrumb .sep{ opacity: .5; }
.page-breadcrumb .here{ color: var(--brand-soft); }
@media (max-width: 768px){ .page-breadcrumb{ padding: 110px 22px 0; } }

/* Active nav link highlight */
.nav-links a.current{ color: var(--ink); background: rgba(255,255,255,.06); }
html[data-theme="light"] .nav-links a.current{ background: rgba(26,14,28,.06); }
