*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* ===== Open Sans — site-wide font (self-hosted, GC Open Sans, 8 weights in
   assets/fonts/bargain-*.ttf). NOTE: this DEMO cut only contains A-Z / a-z —
   no digits or punctuation — so numbers & symbols fall back to the system sans-serif.
   Swap in the full font (same filenames) to fix that. ===== */
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-300.woff2') format('woff2'); font-weight:100; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-300.woff2') format('woff2'); font-weight:200; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-300.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Open Sans'; src:url('assets/fonts/opensans-800.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }

/* Bargain — display font, used for headings only (demo cut: A-Z a-z, no digits/punctuation) */
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-100.woff2') format('woff2'); font-weight:100; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-200.woff2') format('woff2'); font-weight:200; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-300.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Bargain'; src:url('assets/fonts/bargain-800.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }

:root{
  --la:1;                 /* line alpha — scroll fades this 1 -> 0 */
  --line-lo:rgba(255,255,255, calc(.3 * var(--la)));
  --line-hi:rgba(255,255,255, calc(.6 * var(--la)));
  --line:rgba(255,255,255, calc(.45 * var(--la)));
  --band:42px;            /* space between the letters and the outer top/bottom lines */
  --tower:22px;           /* height of each vertical "space" cell */
  --sans: 'Open Sans', sans-serif;   /* body / numbers / punctuation */
  --mono: 'Open Sans', sans-serif;          /* body / numbers / punctuation */
  --display: 'Bargain', 'Open Sans', sans-serif;  /* headings only */
  /* brand orange — single source of truth */
  --orange-rgb:244,103,24;                  /* base RGB for alpha tints */
  --orange:rgb(var(--orange-rgb));         /* #F46718 — primary brand orange */
  --orange-lt:#ff8a4a;                     /* lighter accent / hover */

  /* ===== "Espresso Luxe" tokens (for dark premium components: hero 3D,
     module cards, outcomes, footer). Light pages keep their own bg. ===== */
  --ink:#0D0B0A;         /* page base (dark) */
  --espresso:#1A1512;    /* elevated surface */
  --card:#241C17;        /* cards */
  --ember:#FF8A4A;       /* hover / glow (== --orange-lt) */
  --amber:#E9A23B;       /* premium accent, sparingly */
  --cream:#F6EFE4;       /* headings on dark */
  --sand:#CFC4B4;        /* body text on dark */
  --muted:#8A8078;       /* hints */
  --success:#57D9A3;     /* outcomes only */
  --hairline:rgba(246,239,228,0.08);        /* line on dark surfaces */
}

/* ===== Bargain display font on headings (body/numbers/punctuation stay Open Sans) ===== */
h1, h2, h3,
.pipe-title, .who-title, .build-title, .hc-title, .ph-title, .cta-title,
.section-title, .fo-quote-big, .ab-title, .val-card h3, .curr-title,
[class$="-title"]{
  font-family:var(--display) !important;
  letter-spacing:.005em;
}

/* ===== signature gradients / text treatments (utility classes) ===== */
.grad-ember{ background:radial-gradient(120% 120% at 50% 0%, rgba(244,103,24,0.22), transparent 60%); }
.text-shimmer{ background:linear-gradient(90deg, var(--cream), var(--amber), var(--cream)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ===== motion engine: scroll-progress bar (assets/js/motion.js) ===== */
.motion-progress{ position:fixed; top:0; left:0; height:3px; width:100%; transform:scaleX(0); transform-origin:0 50%; background:var(--orange); z-index:200; pointer-events:none; will-change:transform; }

/* ===== 3D tilt cards (data-tilt) + ember glow ===== */
.tilt3d{ transform-style:preserve-3d; transition:transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; will-change:transform; }
.tilt3d:hover{ box-shadow:0 30px 60px -28px rgba(var(--orange-rgb),.55), 0 10px 26px -14px rgba(0,0,0,.5); border-color:rgba(var(--orange-rgb),.5); }
@media (hover:none){ .tilt3d{ transition:box-shadow .3s ease; } }

/* ===== hero 3D box — reserves space so the Spline/poster never shifts layout ===== */
.hero3d{ position:relative; width:100%; aspect-ratio:1/1; }
.hero3d > img, .hero3d > spline-viewer, .hero3d canvas{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.hero3d .hero3d-poster{ transition:opacity .6s ease; }
.hero3d.is-live .hero3d-poster{ opacity:0; pointer-events:none; }

@media (prefers-reduced-motion:reduce){
  .motion-progress{ display:none; }
  .tilt3d{ transition:none !important; transform:none !important; }
}

body{
  background:#0c0c0c;
  font-family:var(--sans);
  overflow-x:clip;              /* stop sideways scroll WITHOUT a scroll container (keeps custom scrollbar) */
}

/* visually hidden but available to screen readers */
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* scroll-reveal — sections fade + rise as they enter the viewport */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
  will-change:opacity, transform;
}
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}
/* scramble characters during the decode "texting" effect */
.dec{ color:var(--orange); }

/* preloader — dark cover; the real ONROL logo is raised above it (exact hero place),
   so when the image loads the cover fades out and only the logo stays put */
.preloader{
  position:fixed;
  inset:0;
  z-index:150;
  background:#0c0c0c;
  transition:opacity .7s ease, visibility 0s linear .7s;   /* fade out, then hide */
}
.preloader.hidden{ opacity:0; visibility:hidden; }
body.loading .logo{ z-index:201; }    /* ONROL above the cover during loading */
body.loading{ --la:0; }               /* hide grid lines during loading (letters only) */
body.loading .tower{ opacity:0; }     /* hide the empty boxes + tagline during loading */
.pre-bar{
  position:absolute;
  left:50%;
  bottom:7vh;
  transform:translateX(-50%);
  width:160px;
  height:2px;
  background:rgba(255,255,255,.18);
  overflow:hidden;
}
.pre-bar i{
  display:block;
  height:100%;
  width:40%;
  background:var(--orange);
  animation:preload 1s ease-in-out infinite;
}
@keyframes preload{
  0%{   transform:translateX(-120%); }
  100%{ transform:translateX(320%); }
}

/* custom glassmorphic scrollbar */
html{
  scrollbar-width:thin;                               /* Firefox */
  scrollbar-color:rgba(255,255,255,.5) transparent;
  scroll-snap-type:y proximity;                       /* reels-like: snap each section into view */
  scroll-behavior:smooth;
}
/* each section is a snap point; stop on each one as you scroll */
.hero,
.panel,
.build,
.who,
.cta-section,
.footer{
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-snap-type:none; scroll-behavior:auto; }
}
::-webkit-scrollbar{ width:12px; height:12px; }
/* thin center line + 3 white junction points (top / center / bottom) */
::-webkit-scrollbar-track{
  background-color:transparent;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.28) calc(50% - 1px), rgba(255,255,255,.28) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(#fff,#fff),
    linear-gradient(#fff,#fff),
    linear-gradient(#fff,#fff);
  background-repeat:no-repeat;
  background-size:100% 100%, 8px 8px, 8px 8px, 8px 8px;
  background-position:center, 50% 2px, 50% 50%, 50% calc(100% - 2px);
}
::-webkit-scrollbar-thumb{
  border-radius:0;                                    /* sharp, no curves */
  background:rgba(255,255,255,.32);                   /* glass white */
  border:1px solid rgba(255,255,255,.55);
  background-clip:padding-box;
  box-shadow:
    0 2px 10px rgba(0,0,0,.28),                        /* shadow */
    0 0 12px rgba(255,255,255,.4),                     /* glow */
    inset 0 1px 1px rgba(255,255,255,.85);             /* inner highlight */
}
::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.5); }

/* HERO — full-screen, holds the logo over the image */
.hero{
  position:relative;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  background:#0c0c0c;
}
/* background image on its own layer so it can zoom on scroll */
.hero-bg{
  position:absolute;
  inset:0;
  background:url('bag.jpeg') center/cover no-repeat;
  transform-origin:center;
  will-change:transform;
  z-index:0;
}

/* SECTION below — grey → orange gradient */
.panel{
  position:relative;
  overflow:hidden;                       /* clip the asterisk so it never shows in the hero */
  min-height:100vh;
  background:linear-gradient(180deg, #ffffff 0%, #eef1f4 100%);
  display:flex;
  align-items:stretch;
  padding:clamp(72px,12vh,140px) 10vw;   /* vertical breathing room + left/right margin (inset past the 6vw guide lines) */
}
/* visible dark margin lines for this light section (the global white ones disappear here) */
.panel::before,
.panel::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  border-left:1px dotted rgba(0,0,0,.22);
  pointer-events:none;
}
.panel::before{ left:6vw; }
.panel::after{  right:6vw; }
.panel-content{
  position:relative;
  z-index:1;                     /* above the asterisk graphic */
  width:50%;                     /* left half */
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding-right:6vw;             /* gap before the divider */
  padding-top:22vh;              /* top margin above the text */
  padding-bottom:5vh;
  color:#16181b;
}
/* 3D asterisk graphic: up top, brought in from the left */
.panel-aster{
  position:absolute;
  top:0;
  left:15%;                          /* moved ~10% left from its earlier spot */
  transform:translate(-50%,-30%);    /* sits up top */
  height:72vh;
  width:auto;
  max-width:none;
  z-index:0;
  pointer-events:none;
}
/* divider line + glow that flows out from the line toward the edges */
.panel-content::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  width:1px;
  background:linear-gradient(180deg,
    transparent 0%,
    #BE1304 22%,
    #F64F05 50%,
    #BE1304 78%,
    transparent 100%);
  box-shadow:0 0 55px 12px rgba(246,79,5,.22);   /* glow radiates outward */
  pointer-events:none;
}
.panel-right{
  position:relative;
  z-index:1;                     /* above the asterisk graphic */
  width:50%;                     /* right half */
  padding-left:6vw;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;      /* drag the pipeline way down too */
  padding-bottom:14vh;
}
/* pipeline heading */
.pipe-eyebrow{
  font-family:var(--mono);                 /* Open Sans */
  font-size:12px;
  font-weight:500;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:18px;
}
.pipe-title{
  font-family:var(--sans);
  font-size:clamp(24px,2.4vw,38px);
  font-weight:600;
  line-height:1.12;
  color:#16181b;
  margin-bottom:clamp(26px,4vh,46px);
}

/* 4-step pipeline */
.pipeline{ list-style:none; }
/* each step is a frosted rectangle; earlier ones fall ON TOP of later ones */
.pipeline li{
  position:relative;
  display:flex;
  flex-direction:column;                      /* header row on top, detail drops below */
  padding:clamp(30px, 5vh, 60px) 32px;        /* tile height */
  border:1px solid rgba(0,0,0,.18);
  background:rgba(255,255,255,.5);
  backdrop-filter:blur(6px) saturate(140%);
  -webkit-backdrop-filter:blur(6px) saturate(140%);
  box-shadow:0 12px 22px rgba(0,0,0,.13);    /* casts onto the rectangle below */
  margin-top:-14px;                          /* slight overlap — more of each tile shows */
  transition:transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
/* clickable header row: number · label · toggle */
.step-head{
  display:flex;
  align-items:center;
  gap:20px;
  cursor:pointer;
}
.pipeline li:first-child{ margin-top:0; }
.pipeline li:nth-child(1){ z-index:4; }      /* first sits on top of second... */
.pipeline li:nth-child(2){ z-index:3; }
.pipeline li:nth-child(3){ z-index:2; }
.pipeline li:nth-child(4){ z-index:1; }
.pipeline li:hover{
  transform:translateY(18px) scale(1.01);    /* slides DOWN, staying under the tile above */
  background:rgba(255,255,255,.92);
  border-color:rgba(0,0,0,.3);
  box-shadow:0 18px 34px rgba(0,0,0,.22);
}
/* open (expanded) tile — clear, calm highlight */
.pipeline li.is-open{
  background:rgba(255,255,255,.97);
  border-color:rgba(var(--orange-rgb),.5);
  box-shadow:0 22px 46px rgba(0,0,0,.18);
}
.pipeline li.is-open::after{         /* thin orange accent bar on the left edge */
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background:var(--orange);
  z-index:2;
}
.pipeline li.is-open .step-num{
  box-shadow:
    0 6px 16px rgba(var(--orange-rgb),.22),
    inset 0 0 0 1px rgba(var(--orange-rgb),.45);
}
.step-num{
  position:relative;
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:0;              /* sharp, no curves */
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-family:var(--mono);
  font-size:16px;
  color:#16181b;
  z-index:1;
  /* liquid glass */
  border:1px solid rgba(255,255,255,.7);
  background:linear-gradient(145deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.25) 100%);
  backdrop-filter:blur(8px) saturate(150%);
  -webkit-backdrop-filter:blur(8px) saturate(150%);
  /* lighting: depth shadow + soft glow + inner highlights */
  box-shadow:
    0 6px 16px rgba(20,24,30,.16),
    0 0 18px rgba(255,255,255,.45),
    inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 -2px 5px rgba(255,255,255,.35);
}
/* specular sheen */
.step-num::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(150deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 48%);
  pointer-events:none;
}
/* per-phase button */
.step-btn{
  margin-left:auto;             /* push to the right of the card */
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--mono);
  font-size:24px;
  line-height:1;
  color:#16181b;
  background:rgba(255,255,255,.45);
  border:1px solid rgba(0,0,0,.28);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  cursor:pointer;
  transition:background .2s, color .2s, transform .2s, border-color .2s;
}
.step-btn:hover{
  background:var(--orange);
  color:#fff;
  border-color:var(--orange);
  transform:translateY(-2px);
}
/* dropdown chevron inside the toggle */
.step-btn .chev{
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:2.4;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .3s ease;
}
/* open state: flip the chevron up and lock the orange fill */
.step-btn.open{
  background:var(--orange);
  color:#fff;
  border-color:var(--orange);
}
.step-btn.open .chev{ transform:rotate(45deg); }

/* inline collapsible phase detail (replaces the popup) */
.step-detail{
  display:grid;
  grid-template-rows:0fr;                      /* collapsed */
  transition:grid-template-rows .38s cubic-bezier(.4,0,.2,1);
}
.step-detail.open{ grid-template-rows:1fr; }   /* expanded — animates to content height */
/* content fades + slides in once the panel has opened */
.step-detail .sd-inner{ overflow:hidden; opacity:0; transform:translateY(-6px); transition:opacity .25s ease, transform .25s ease; }
.step-detail.open .sd-inner{ opacity:1; transform:none; transition:opacity .4s ease .12s, transform .4s ease .12s; }
.step-detail .sd-eyebrow{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--orange);
  margin:0 0 8px;
  padding-top:20px;
  margin-left:68px;                            /* align under the label, past the number */
  border-top:1px solid rgba(0,0,0,.12);
}
.step-detail .sd-text{
  font-size:15px;
  line-height:1.72;
  color:#41454b;
  margin:0 0 6px 68px;                         /* aligns under the title, past the number */
  padding-top:16px;
  border-top:1px solid rgba(0,0,0,.1);         /* clean divider between the subtitle and the detail */
}
@media(max-width:900px){
  .step-detail .sd-eyebrow,
  .step-detail .sd-text{ margin-left:0; }
}

/* phase popup */
.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(40,44,50,.35);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  animation:modalFade .28s ease;             /* backdrop fades in */
}
.modal[hidden]{ display:none; }
.modal-card{
  position:relative;
  width:min(92vw,440px);
  padding:40px 34px 36px;
  color:#16181b;                              /* light theme: dark text */
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.95);
  backdrop-filter:blur(26px) saturate(150%);
  -webkit-backdrop-filter:blur(26px) saturate(150%);
  box-shadow:0 30px 64px rgba(0,0,0,.25), inset 0 1px 1px rgba(255,255,255,.9);
  animation:modalPop .34s cubic-bezier(.2,.85,.3,1);   /* card pops in */
}
@keyframes modalFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes modalPop{
  from{ opacity:0; transform:translateY(16px) scale(.96); }
  to{   opacity:1; transform:none; }
}
.modal-x{
  position:absolute;
  top:12px;
  right:14px;
  background:none;
  border:none;
  color:#16181b;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  opacity:.55;
}

.modal-x:hover{ opacity:1; }
.modal-eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:14px;
}
.modal-text{ font-size:17px; line-height:1.6; color:#33363b; }

.step-text h3{
  font-family:var(--sans);
  font-size:clamp(22px,2.1vw,32px);
  font-weight:600;
  color:#16181b;
  line-height:1.1;
}
.step-text p{
  margin-top:7px;
  font-family:var(--mono);
  font-size:clamp(14px,1vw,16px);
  color:#5a5e64;
}
.panel-content h1{
  font-size:clamp(30px,3.4vw,56px);
  font-weight:600;
  line-height:1.12;
  letter-spacing:-.01em;
}
.panel-content h1 span{ color:var(--orange); }   /* "ONROL teaches execution." */
.panel-content p{
  margin-top:22px;
  max-width:48ch;
  font-size:clamp(15px,1.15vw,19px);
  line-height:1.6;
  color:#41454b;
}
.panel-content .cta{
  margin-top:34px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.panel-content .btn{
  display:inline-block;
  padding:14px 30px;
  font-family:var(--mono);
  font-size:13px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:1px;
  text-decoration:none;
  transition:opacity .2s, transform .2s;
}
.panel-content .btn.primary{ background:var(--orange); color:#fff; }
.panel-content .btn.secondary{
  background:transparent;
  color:#16181b;
  border:1px solid rgba(0,0,0,.35);
}
.panel-content .btn:hover{ opacity:.85; }

/* ---------- SECTION 3 — video + about (top), 2 blocks (bottom) ---------- */
.build{
  position:relative;
  color:#16181b;
  background:#fff;
  padding:clamp(70px,11vh,130px) 6vw;
}
.build-inner{
  max-width:1080px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:clamp(18px,3vh,32px);
}
/* reusable box-theme frame: hairline border + orange junction dots */
.boxframe{
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.16);
}
.boxframe::before,
.boxframe::after{
  content:""; position:absolute; width:7px; height:7px;
  background:var(--orange); z-index:6; pointer-events:none;
}
.boxframe::before{ top:0; left:0; transform:translate(-50%,-50%); }
.boxframe::after{ bottom:0; right:0; transform:translate(50%,50%); }

/* row 1 — video | about text */
.build-lead{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  grid-auto-rows:minmax(clamp(320px,44vh,460px), auto);
  align-items:stretch;
}
.build-lead .build-text{ border-left:1px solid rgba(0,0,0,.16); }

/* cells sit above the background */
.build-video,
.build-text{ position:relative; z-index:1; overflow:hidden; }
/* corner brackets (no full border) inside the video only */
.build-video::before{
  content:"";
  position:absolute;
  inset:10px;
  z-index:5;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85)),
    linear-gradient(rgba(var(--orange-rgb),.85),rgba(var(--orange-rgb),.85));
  background-repeat:no-repeat;
  background-size:
    36px 1.5px, 1.5px 36px,
    36px 1.5px, 1.5px 36px,
    36px 1.5px, 1.5px 36px,
    36px 1.5px, 1.5px 36px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
}
.build-video{
  position:relative;
  background:#000;
  overflow:hidden;               /* fills its grid cell */
}
/* custom video controls (no native player) — bottom-right */
.vid-controls{
  position:absolute;
  right:14px;
  bottom:14px;
  display:flex;
  gap:8px;
  z-index:3;
}
.vid-btn{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:pointer;
  color:#fff;
  background:rgba(0,0,0,.4);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:background .2s ease, border-color .2s ease;
}
.vid-btn:hover{ background:rgba(var(--orange-rgb),.7); border-color:rgba(var(--orange-rgb),.9); }
.vid-btn .ic{ width:19px; height:19px; display:none; }
.build-video:not(.is-playing) .ic-play{ display:block; }
.build-video.is-playing .ic-pause{ display:block; }
.build-video.is-muted .ic-muted{ display:block; }
.build-video:not(.is-muted) .ic-sound{ display:block; }
/* text thumbnail (custom poster) shown until first play */
.vid-poster{
  position:absolute;
  inset:0;
  z-index:2;
  background:#fff;
  display:flex;
  flex-direction:column;  
  justify-content:center;
  padding:7% 6%;
  font-family:var(--sans);
  font-weight:700;
  text-transform:lowercase;
  letter-spacing:-.02em;
  line-height:1;
  color:#0a0a0a;
}
.vid-poster span{
  display:block;
  font-size:clamp(26px,7vw,86px);
  border-bottom:1px solid var(--orange);
  padding-bottom:.05em;
  margin-bottom:.12em;
}
.vid-poster .r{ text-align:right; }
.build-video.started .vid-poster{ display:none; }
.build-video video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.build-text{
  display:flex;
  flex-direction:column;
  justify-content:center;        /* text vertically centered, cell fills the row */
  padding:clamp(26px,3.4vw,54px);
  background:#fff;
}
.build-title{
  font-family:var(--sans);
  font-size:clamp(26px,2.8vw,44px);
  font-weight:600;
  line-height:1.14;
  margin:12px 0 18px;
}
.build-desc{
  font-family:var(--mono);
  font-size:15px;
  line-height:1.7;
  color:#41454b;
  max-width:48ch;
}
/* row 2 — programs banner (big statement | copy + CTA) */
.build-banner{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:clamp(22px,3vw,52px);
  align-items:center;
  padding:clamp(30px,4vw,54px);
  text-decoration:none; color:inherit;
  transition:background .25s ease;
}
.build-banner:hover{ background:#fff7f2; }
.build-banner h3{
  font-family:var(--sans);
  font-size:clamp(28px,3.6vw,52px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.015em;
  color:#16181b;
  margin:0;
}
.build-banner .bb-right{
  display:flex; flex-direction:column; align-items:flex-start;
  gap:20px;
  border-left:1px solid rgba(0,0,0,.14);
  padding-left:clamp(22px,3vw,44px);
}
.build-banner p{
  font-family:var(--mono);
  font-size:clamp(14px,1.05vw,16px);
  line-height:1.7;
  color:#5a5e64;
  margin:0;
}
.bb-cta{
  display:inline-flex; align-items:center; gap:9px;
  padding:14px 28px;
  font-family:var(--mono); font-size:12px; letter-spacing:1.2px; text-transform:uppercase;
  color:#fff; background:var(--orange);
  transition:background .2s ease, transform .2s ease;
}
.bb-cta span{ transition:transform .2s ease; }
.build-banner:hover .bb-cta{ background:var(--orange-lt); }
.build-banner:hover .bb-cta span{ transform:translateX(4px); }
@media (max-width:760px){
  .build-banner{ grid-template-columns:1fr; gap:22px; }
  .build-banner .bb-right{ border-left:none; padding-left:0; }
}

/* ---------- SECTION — who it's for (12 personas) ---------- */
.who{
  position:relative;
  color:#1a120c;
  padding:clamp(80px,13vh,150px) 0;   /* no side padding -> carousel is full-bleed */
  background:#f7f2ec;                  /* warm cream */
  overflow:hidden;
}
.who-head{
  max-width:840px;
  margin:0 auto clamp(46px,6vh,74px);
  padding:0 24px;
  text-align:center;
}
.who-title{
  font-family:var(--sans);                 /* Open Sans */
  font-size:clamp(30px,4.6vw,58px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-.02em;
  color:#16181b;
  margin:0 0 22px;
  text-wrap:balance;                        /* even, balanced line breaks — premium */
}
.who-sub{
  font-family:var(--mono);                 /* Open Sans */
  font-size:clamp(14px,1.15vw,16px);
  line-height:1.7;
  color:#6a6157;
  max-width:560px;
  margin:0 auto;
  text-wrap:balance;
}

/* ---------- WHO IT'S FOR — image-card grid (greyscale, colour + zoom on hover) ---------- */
.who-grid{
  width:min(1520px, 84vw);                 /* scales with the screen -> proportional side spacing on any monitor (no huge empty margins on 24") */
  margin:0 auto;                           /* stay centered (unchanged) */
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);    /* 4 x 3 = 12, perfectly even rows */
  gap:clamp(20px, 2vw, 32px);              /* gap between cards unchanged */
}
@media (max-width:1000px){ .who-grid{ grid-template-columns:repeat(3, 1fr); } }  /* 4 rows */
.who-card{
  position:relative;
  aspect-ratio:16 / 10;
  border-radius:0;              /* sharp/square corners */
  overflow:hidden;
  background:#141414;
  isolation:isolate;
}
.who-card-img{
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center;   /* full-COLOUR layer (revealed on hover) */
}
/* greyscale overlay of the same image; its opacity cross-fades out on hover =
   buttery-smooth, reliable colour transition (GPU opacity, not a choppy filter change) */
.who-card-img::before{
  content:""; position:absolute; inset:0;
  background-image:inherit; background-size:cover; background-position:center;
  filter:grayscale(1) brightness(1.04);     /* PURE black & white (fully desaturated), lightened so it's not dark */
  opacity:1;                                 /* full opacity -> no colour bleeds through at rest */
  transition:opacity .6s cubic-bezier(.22,1,.36,1);
  will-change:opacity;
}
.who-card:hover .who-card-img::before{ opacity:0; }   /* fade greyscale away -> colour */
@media (prefers-reduced-motion:reduce){ .who-card-img::before{ transition:none; } }
.who-card::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(160deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 46%, rgba(0,0,0,.34) 100%);
}
/* "bare" card shows the image as-is (this photo already has its label baked in) */
.who-card--bare::after{ display:none; }
.who-card-txt{ position:absolute; top:15px; left:16px; right:14px; z-index:2; }
.who-card-name{
  display:flex; align-items:center; gap:8px;
  color:#fff; font-family:var(--sans); font-weight:700; font-size:15.5px; letter-spacing:.2px;
  line-height:1.15;
}
.who-card-name svg{
  width:17px; height:17px; flex:0 0 auto;
  fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
.who-card-sub{
  margin-top:5px;
  color:rgba(255,255,255,.72); font-family:var(--sans); font-size:12px; line-height:1.4;
}
@media (max-width:560px){
  .who-grid{ grid-template-columns:repeat(2, 1fr); gap:16px; margin:0 20px; }
  .who-card-name{ font-size:13.5px; }
  .who-card-sub{ font-size:11px; }
}

/* ---------- WHO showcase — one focused feature card + tab strip (legacy, unused) ---------- */
.who-show{
  position:relative;
  max-width:1060px;
  margin:0 auto;
  padding:0 clamp(40px,5vw,64px);
}

/* the feature card: image | content */
.ws-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);
  min-height:clamp(360px,50vh,440px);
  background:#fff;
  border:1px solid rgba(0,0,0,.16);
  box-shadow:0 40px 90px -55px rgba(0,0,0,.5);
}
/* orange junction dots — box-theme signature */
.ws-card::before,
.ws-card::after{ content:""; position:absolute; width:7px; height:7px; background:var(--orange); z-index:5; }
.ws-card::before{ top:0; left:0; transform:translate(-50%,-50%); }
.ws-card::after{ bottom:0; right:0; transform:translate(50%,50%); }

/* left — feature image */
.ws-media{
  position:relative;
  background-size:cover; background-position:center;
  border-right:1px solid rgba(0,0,0,.14);
  min-height:210px;
  transition:opacity .3s ease;
}
.ws-count{
  position:absolute; top:16px; left:16px;
  font-family:var(--mono); font-size:12px; letter-spacing:1.5px; color:#7a5b45;
  background:rgba(255,255,255,.72); padding:5px 10px;
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
}
.ws-chip{
  position:absolute; left:22px; bottom:22px;
  display:grid; place-items:center; width:62px; height:62px;
  background:rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.95);
  box-shadow:0 16px 32px -18px rgba(0,0,0,.6);
}
.ws-chip svg{ width:32px; height:32px; stroke:var(--orange); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }

/* right — content */
.ws-body{
  display:flex; flex-direction:column; justify-content:center;
  padding:clamp(28px,4vw,52px);
  transition:opacity .3s ease;
}
.ws-eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:1.6px;
  text-transform:uppercase; color:var(--orange); margin-bottom:14px;
}
.ws-title{
  font-family:var(--sans);
  font-size:clamp(28px,3.6vw,46px); font-weight:700; letter-spacing:-.02em;
  line-height:1.04; color:#16181b; margin:0 0 22px;
}
.ws-build{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--mono); font-size:11px; letter-spacing:2px; text-transform:uppercase;
  color:#8a8f96; margin-bottom:12px;
}
.ws-build::before{ content:""; width:22px; height:1px; background:var(--orange); }
.ws-desc{
  font-family:var(--mono); font-size:clamp(13px,1.05vw,15.5px); line-height:1.75;
  color:#5a5e64; margin:0; max-width:44ch;
}
/* fade during content swap */
.ws-card.is-swapping .ws-media,
.ws-card.is-swapping .ws-body{ opacity:0; }

/* arrows — poke into the side gutters */
.ws-arrow{
  position:absolute; top:50%; margin-top:-26px; z-index:6;
  width:clamp(44px,4vw,52px); height:clamp(44px,4vw,52px);
  display:grid; place-items:center;
  background:#fff; border:1px solid rgba(0,0,0,.14); color:#16181b; cursor:pointer;
  box-shadow:0 12px 26px -16px rgba(0,0,0,.5);
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.ws-prev{ left:-24px; }
.ws-next{ right:-24px; }
.ws-arrow:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }
.ws-arrow:active{ transform:scale(.93); }
.ws-arrow svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* tab strip — visualise all twelve */
.ws-tabs{
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px;
  margin-top:clamp(22px,3.5vh,34px);
}
.ws-tab{
  font-family:var(--mono); font-size:12px; letter-spacing:.5px;
  padding:9px 14px; min-width:44px;
  background:#fff; border:1px solid rgba(0,0,0,.16); color:#5a5e64;
  cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.ws-tab:hover{ border-color:var(--orange); color:var(--orange); }
.ws-tab.is-on{ background:var(--orange); border-color:var(--orange); color:#fff; }

.ws-data{ display:none; }

@media (max-width:820px){
  .who-show{ padding:0 clamp(16px,4vw,28px); }
  .ws-card{ grid-template-columns:1fr; }
  .ws-media{ min-height:220px; border-right:none; border-bottom:1px solid rgba(0,0,0,.14); }
  .ws-arrow{ top:110px; margin-top:0; }
  .ws-prev{ left:6px; }
  .ws-next{ right:6px; }
}
@media (max-width:520px){
  .ws-tab{ min-width:40px; padding:8px 11px; font-size:11px; }
}

/* ---------- SECTION 4 — closing CTA (light) ---------- */
.cta-section{
  position:relative;
  overflow:hidden;
  min-height:62vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:16px;
  padding:clamp(84px,13vh,140px) 6vw;
  background:#f6f1ea;           /* warm light fallback */
  color:#16181b;
}
/* generated warm-gradient image, drifting slowly for subtle life (gif-like) */
.cta-section::before{
  content:"";
  position:absolute;
  inset:-5%;
  z-index:0;
  pointer-events:none;
  background:url('cta-bg.jpg') center / cover no-repeat;
  animation:ctaDrift 22s ease-in-out infinite alternate;
}
@keyframes ctaDrift{
  from{ transform:scale(1.03) translate(0,0); }
  to{   transform:scale(1.11) translate(1.6%,-1.2%); }
}
/* centre light wash + box-grid motif so the dark text stays crisp */
.cta-section::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(56% 52% at 50% 46%, rgba(255,255,255,.58), rgba(255,255,255,0) 72%),
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size:auto, 46px 46px, 46px 46px;
  background-position:center;
}
@media (prefers-reduced-motion:reduce){ .cta-section::before{ animation:none; } }
.cta-section > *{ position:relative; z-index:1; }
.cta-eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--orange);
}
.cta-title{
  font-family:var(--sans);
  font-size:clamp(32px,5vw,68px);
  font-weight:700;
  line-height:1.04;
  letter-spacing:-.015em;
  color:#16181b;
  margin:0;
}
.cta-title span{ color:var(--orange); }
.cta-sub{
  font-family:var(--mono);
  font-size:clamp(14px,1.3vw,17px);
  line-height:1.65;
  color:#5a5e64;
  max-width:46ch;
}
.cta-actions{
  margin-top:26px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}
.cta-section .btn{
  display:inline-block;
  padding:18px 46px;
  font-family:var(--mono);
  font-size:14px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:1px;
  text-decoration:none;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.cta-section .btn.primary{ background:var(--orange); color:#fff; box-shadow:0 16px 32px -12px rgba(var(--orange-rgb),.7); }
.cta-section .btn.primary:hover{ background:var(--orange-lt); }
.cta-section .btn.ghost{ background:#fff; color:#16181b; border:1px solid rgba(0,0,0,.18); }
.cta-section .btn.ghost:hover{ border-color:var(--orange); color:var(--orange); }
.cta-section .btn:hover{ transform:translateY(-2px); }

/* image-based CTA banner (footer.jpeg — headline + buttons baked in) */
.cta-section.cta-img{ min-height:0; padding:0; background:#080503; display:block; overflow:hidden; }
.cta-section.cta-img::before,
.cta-section.cta-img::after{ display:none; }        /* drop the CSS glow when using the image */
.cta-figure{ position:relative; max-width:1000px; margin:0 auto; }
.cta-figure img{ display:block; width:100%; height:auto; }
/* transparent, clickable hotspots sitting exactly over the two baked-in buttons */
.cta-zone{ position:absolute; z-index:2; cursor:pointer; }
.cta-zone.z-apply{ left:18.5%; top:62.5%; width:27.5%; height:8.5%; }
.cta-zone.z-book{ left:46.5%; top:62.5%; width:35.5%; height:8.5%; }

/* highlight word in pipeline title ("earning") */
.pipe-title span{
  color:var(--orange);
}

/* who-section icons (infographic per group) */
.who-ic{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:12px;
  background:rgba(var(--orange-rgb),.10);
  color:var(--orange);
  margin-bottom:18px;
}
.who-ic svg{
  width:25px; height:25px;
  stroke:currentColor; fill:none;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
.who-card:hover .who-ic{ background:var(--orange); color:#fff; }

/* newsletter confirmation */
.f-news-msg{
  margin-top:12px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.5px;
  color:var(--orange-lt);
}

/* ===== friction-free lead modal ===== */
.lead-modal{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  background:rgba(6,4,2,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:leadFade .25s ease;
}
.lead-modal[hidden]{ display:none; }
@keyframes leadFade{ from{ opacity:0; } to{ opacity:1; } }
.lead-card{
  position:relative;
  width:min(94vw,440px);
  padding:38px 34px 30px;
  background:linear-gradient(180deg, #16110d, #0e0a07);
  border:1px solid rgba(var(--orange-rgb),.35);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.8);
  color:#fff;
  animation:leadPop .3s cubic-bezier(.2,.85,.3,1);
}
@keyframes leadPop{ from{ opacity:0; transform:translateY(14px) scale(.97); } to{ opacity:1; transform:none; } }
.lead-x{
  position:absolute; top:12px; right:14px;
  background:none; border:none; color:#fff; opacity:.6;
  font-size:26px; line-height:1; cursor:pointer;
}
.lead-x:hover{ opacity:1; }
.lead-eyebrow{
  font-family:var(--mono); font-size:11px; letter-spacing:2px; text-transform:uppercase;
  color:var(--orange-lt); margin-bottom:10px;
}
.lead-card h3{
  font-family:var(--sans);
  font-size:26px; font-weight:600; line-height:1.15; margin-bottom:8px; color:#fff;
}
.lead-sub{ font-family:var(--mono); font-size:13px; line-height:1.6; color:#bdb5ad; margin-bottom:22px; }
.lead-form{ display:grid; gap:12px; }
.lead-form input{
  width:100%; padding:14px 16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  color:#fff; font-family:var(--mono); font-size:14px;
}
.lead-form input::placeholder{ color:#8a827a; }
.lead-form input:focus{ outline:none; border-color:var(--orange); }
.lead-submit{
  margin-top:4px; padding:16px;
  background:var(--orange); color:#fff; border:none; cursor:pointer;
  font-family:var(--mono); font-size:14px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase;
  transition:background .2s ease, transform .2s ease;
}
.lead-submit:hover{ background:var(--orange-lt); transform:translateY(-2px); }
.lead-fine{ margin-top:14px; font-family:var(--mono); font-size:11px; letter-spacing:.3px; color:#8a827a; text-align:center; }

/* ============================================================
   SHARED BOX THEME — bordered white cells, hairline lines,
   orange junction dots (the home "who-grid" look). Light only.
   Use: <div class="boxgrid c2"><div class="box">…</div>…</div>
   ============================================================ */
.boxgrid{ display:grid; gap:1px; background:rgba(0,0,0,.16); border:1px solid rgba(0,0,0,.16); margin:26px 0; }
.boxgrid.c1{ grid-template-columns:1fr; }
.boxgrid.c2{ grid-template-columns:repeat(2,1fr); }
.boxgrid.c3{ grid-template-columns:repeat(3,1fr); }
.boxgrid .box{ position:relative; background:#fff; padding:clamp(22px,2.8vw,32px); display:flex; flex-direction:column; transition:background .25s ease, box-shadow .25s ease; }
.boxgrid .box:hover{ background:#fff7f2; z-index:5; box-shadow:0 14px 32px rgba(0,0,0,.10); }
.boxgrid .box::before,.boxgrid .box::after{ content:""; position:absolute; width:6px; height:6px; background:var(--orange); z-index:3; pointer-events:none; }
.boxgrid .box::before{ top:0; left:0; transform:translate(-50%,-50%); }
.boxgrid .box::after{ bottom:0; right:0; transform:translate(50%,50%); }
.boxgrid .box .b-num{ font-family:var(--mono); font-size:clamp(24px,2.6vw,38px); font-weight:500; color:var(--orange); line-height:1; margin-bottom:14px; }
.boxgrid .box .b-k{ display:block; font-family:var(--mono); font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.boxgrid .box h3{ font-family:var(--sans); font-size:19px; font-weight:600; color:#16181b; line-height:1.2; margin-bottom:8px; }
.boxgrid .box p{ font-size:14.5px; line-height:1.65; color:#5a5e64; margin:0; max-width:none; }
.boxgrid .box p + p{ margin-top:10px; }
.boxgrid .box ul{ list-style:none; margin:8px 0 0; padding:0; display:grid; gap:8px; }
.boxgrid .box ul li{ position:relative; padding-left:20px; font-size:14px; line-height:1.55; color:#41454b; }
.boxgrid .box ul li::before{ content:"\2192"; position:absolute; left:0; color:var(--orange); }
.boxgrid .box .b-go{ margin-top:auto; align-self:flex-start; padding-top:18px; display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12px; letter-spacing:1.2px; text-transform:uppercase; text-decoration:none; color:var(--orange); }
.boxgrid .box .b-go span{ transition:transform .2s ease; }
.boxgrid .box .b-go:hover span{ transform:translateX(4px); }
@media(max-width:720px){ .boxgrid.c2, .boxgrid.c3{ grid-template-columns:1fr; } }

/* ---------- FOOTER ---------- */
.footer{
  background:linear-gradient(180deg, #18110b 0%, #120c08 100%);
  color:#fff;
  border-top:1px solid rgba(var(--orange-rgb),.32);
  padding:clamp(60px,9vh,110px) 8vw clamp(34px,4vh,50px);
  font-family:var(--mono);
  font-weight:300;                 /* thin */
  text-transform:uppercase;        /* all footer text in caps */
}
.footer-grid{
  display:grid;
  grid-template-columns:1.9fr 1fr 1.3fr 1fr 1.4fr;
  gap:clamp(28px,3vw,52px);
}
.f-brand h3{
  font-family:var(--sans);
  font-size:24px;
  font-weight:500;
  margin-bottom:12px;
}
.f-tag{
  font-size:13px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:14px;
}
.f-desc{
  font-size:13px;
  line-height:1.65;
  color:#fff;
  max-width:36ch;
  margin-bottom:18px;
}
.f-contact a{
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  margin-bottom:5px;
}
.f-contact a:hover{ color:var(--orange); }
.f-col h4,
.f-news h4{
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--orange-lt);
  margin-bottom:16px;
}
.f-col ul{ list-style:none; }
.f-col li{ margin-bottom:11px; }
.f-col a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  transition:color .2s;
}
.f-col a:hover{ color:var(--orange-lt); }
.f-news p{
  font-size:13px;
  line-height:1.65;
  color:#fff;
  margin-bottom:16px;
}
.f-form{ display:flex; }
.f-form input{
  flex:1;
  min-width:0;
  padding:11px 12px;
  font-family:var(--mono);
  font-size:12px;
  color:#fff;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.2);
}
.f-form input::placeholder{ color:rgba(255,255,255,.4); }
.f-form button{
  padding:11px 16px;
  font-family:var(--mono);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#fff;
  background:var(--orange);
  border:none;
  cursor:pointer;
  transition:background .2s;
}
.f-form button:hover{ background:var(--orange-lt); }
.footer .dec{ color:var(--orange-lt); }     /* scrambling chars during decode */
.footer-bottom{
  margin-top:clamp(40px,6vh,72px);
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:12px;
  color:rgba(255,255,255,.85);
  text-align:center;
}


/* site-wide margin guide lines (left & right) — fixed across all sections */
body::before,
body::after{
  content:"";
  position:fixed;
  top:0;
  height:100vh;
  border-left:1px solid var(--line);
  z-index:40;
  animation:pulseBorder 4s ease-in-out infinite;
  pointer-events:none;
}
body::before{ left:6vw; }
body::after{  right:6vw; }
/* landing pages (.page) have their own full self-contained design — no guide lines */
body:has(.page)::before,
body:has(.page)::after{ display:none; }
/* light sub-pages (about, contact, programs, …): keep the guide lines white and frame a
   subtle graph-paper grid BETWEEN them — plain-white margins outside the lines.
   (`html body` + :has out-specifies the page's inline `body{background:#fff}`.) */
html body:has(.pagehero){
  --line:rgba(255,255,255,.9);   /* white guide lines, crisp on the grid edge */
  --line-lo:rgba(255,255,255,.7);
  --line-hi:rgba(255,255,255,1);
  background-color:#fff;
  background-image:
    linear-gradient(#fff, #fff),                                    /* left margin cover  */
    linear-gradient(#fff, #fff),                                    /* right margin cover */
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px),   /* vertical grid      */
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px);          /* horizontal grid    */
  background-size:6vw 100%, 6vw 100%, 44px 44px, 44px 44px;
  background-position:left top, right top, 6vw top, 6vw top;
  background-repeat:no-repeat, no-repeat, repeat, repeat;
  background-attachment:fixed;
}
@media (max-width:900px){
  /* no guide frame on mobile (matches home) */
  html body:has(.pagehero){ background-image:none; }
}

/* home page: subtle graph-paper grid BEHIND content (shows only in empty areas —
   content/cards/images sit on top and cover it). Dark theme -> faint white lines.
   The left/right border guide lines are the site-wide body::before/::after already
   active on the home page. */
body.home{
  background-color:#0c0c0c;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:44px 44px, 44px 44px;
  background-position:6vw top, 6vw top;
  background-attachment:fixed;
}
@media (max-width:900px){ body.home{ background-image:none; } }

/* NAVBAR — sharp, centered, 5 items with separators */
/* NAV — full-width top bar: logo far left (the fixed .site-logo mark), links
   left-aligned next to it, and a white CTA button pushed to the far right. */
/* NAV — floating glass pill (centered capsule; logo keeps its own top-left corner) */
.nav{
  position:fixed;
  top:16px; left:50%;
  transform:translateX(-50%);
  z-index:50;
  display:flex;
  align-items:center;
  gap:4px;
  padding:7px 8px 7px 14px;
  border-radius:999px;
  background:rgba(12,11,13,.72);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  transition:transform .4s cubic-bezier(.2,.7,.2,1), background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* nav hides on scroll-down / reveals on scroll-up (as before). The logo stays put. */
body.nav-up .nav{ transform:translateX(-50%) translateY(-180%); }
.nav-links{ display:flex; align-items:center; gap:2px; width:auto; }
.nav a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-family:var(--sans);
  font-size:14.5px; font-weight:500;
  letter-spacing:.2px;
  white-space:nowrap;
  padding:9px 17px;
  border-radius:999px;
  transition:color .2s ease, background .2s ease;
}
.nav a:hover{ color:#fff; background:rgba(255,255,255,.1); }
.nav a.is-active{ color:#fff; }                  /* current page (script adds .is-active) */
.nav .sep{ display:none; }
.nav-toggle{ display:none; }

/* gradient Apply pill on the right end of the capsule */
.nav-apply{
  margin-left:6px;
  background:linear-gradient(135deg,#ff9152,#f4671a);
  color:#fff !important;
  font-family:var(--sans);
  font-weight:600; font-size:14px;
  text-transform:none; letter-spacing:.2px;
  padding:10px 22px !important;
  border-radius:999px;
  box-shadow:0 8px 20px -8px rgba(244,103,24,.6);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.nav-apply:hover{ transform:translateY(-1px); filter:brightness(1.06); box-shadow:0 12px 26px -8px rgba(244,103,24,.78); opacity:1 !important; }
@media (max-width:900px){
  .nav-apply{ margin:8px 0 0; padding:12px 30px !important; justify-content:center; }
}

/* site logo — the ONROL mark, exactly as before (no wordmark, colour-adapts, stays put on scroll) */
.site-logo{
  position:fixed;
  top:15px; left:clamp(12px,1.6vw,22px);        /* pulled into the top-left corner */
  z-index:60;
  display:block;
  line-height:0;
  transition:transform .2s ease;
}
.site-logo:hover{ transform:translateY(-1px); }
.site-logo img{ height:42px; width:auto; display:block; transition:filter .5s ease; }
/* over dark sections -> mark turns white; over light -> stays orange (both read on the dark bar) */
.site-logo.on-dark img{ filter:brightness(0) invert(1); }
@media(max-width:900px){ .site-logo{ top:12px; left:16px; } .site-logo img{ height:34px; } }

/* LOGO — connected grid: top band / letter row / bottom band */
.logo{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4, 11vw 3vw) 11vw;   /* letter / narrow space / ... */
  grid-template-rows:var(--band) 11vw var(--band);
  /* container draws the top + left lines; cells draw right + bottom -> one clean,
     fully connected grid (verticals run through the bands to the outer lines) */
  border-top:1px dotted var(--line);
  border-left:1px dotted var(--line);
  transform:translateY(16vh);                       /* sit lower on the page */
  animation:pulseBorder 4s ease-in-out infinite;
  z-index:2;                                         /* above the background layer */
}

/* extend the top & bottom line PAIRS full-width across the screen (dotted) */
.logo::before,
.logo::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  height:var(--band);
  border-top:1px dotted var(--line);
  border-bottom:1px dotted var(--line);
  z-index:5;
  animation:pulseBorder 4s ease-in-out infinite;
}
.logo::before{ top:0; }      /* outer top line + band line below */
.logo::after{  bottom:0; }   /* band line above + outer bottom line */

/* VERTICAL GRID BOX — empty "spaces" stacking up & down, spanning junction 3 -> 6 */
.tower{
  position:absolute;
  left:17vw;                       /* one space-column (3vw) in from N's left edge */
  width:33vw;                      /* 1 space less on each side, still centered */
  display:grid;
  grid-template-columns:33vw;
  grid-auto-rows:var(--tower);
  border:1px dotted var(--line);   /* outline only */
  animation:pulseBorder 4s ease-in-out infinite;
  transition:opacity .6s ease;     /* fades in after loading */
}
.tower .cell{ border:0; }          /* no lines in between the box */
/* tagline sitting inside the bottom box */
.tower.down .tagline{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-family:var(--mono);
  font-size:clamp(9px,1.1vw,15px);
  font-weight:300;
  letter-spacing:.36em;
  text-indent:.36em;               /* balance the trailing letter-spacing */
  white-space:nowrap;
  pointer-events:none;
}
.tower.up{   bottom:100%; }        /* directly above the logo */
.tower.down{ top:100%; }           /* directly below the logo */

/* GRID CELLS */
.cell{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  border-right:1px dotted var(--line);
  border-bottom:1px dotted var(--line);
  animation:pulseBorder 4s ease-in-out infinite;
}

/* LETTERS — each glyph is stretched to fill its cell (zero gaps, no overflow) */
.cell .glyph{
  display:block;
  width:100%;
  height:100%;
  user-select:none;
}
.cell .glyph text{
  fill:#fff;
  font-family:var(--sans);
  font-weight:500;
  font-size:100px;          /* arbitrary: the JS viewBox normalises it to the cell */
}

/* JUNCTION HIGHLIGHTS — placed by JS at every line intersection */
.node{
  position:absolute;
  width:6px;
  height:6px;
  background:rgba(255,255,255, var(--la));   /* fades with the grid lines */
  transform:translate(-50%,-50%);
  z-index:20;
}

/* pulse the borders and the full-width lines together */
@keyframes pulseBorder{
  0%,100%{ border-color:var(--line-lo); }
  50%{     border-color:var(--line-hi); }
}

/* accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- responsive ---------- */
@media(max-width:900px){
  :root{ --band:22px; --tower:13px; }   /* scale the grid bands down on small screens */
  html{ scroll-snap-type:none; }        /* free scrolling on mobile (no snap) */

  /* nav: floating rounded bar; hamburger on the right, links drop down below it */
  .nav{ top:10px; left:12px; right:12px; transform:none; width:auto; height:54px; border-radius:16px; padding:0 10px 0 60px; justify-content:flex-end; }
  body.nav-up .nav{ transform:translateY(-170%); }
  .nav-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    width:34px;
    height:30px;
    padding:0;
    background:transparent;
    border:0;
    cursor:pointer;
  }
  .nav-toggle span{
    display:block;
    width:21px;
    height:2px;
    margin:0 auto;
    background:#fff;
    transition:transform .25s ease, opacity .2s ease;
  }
  .nav.open .nav-toggle span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2){ opacity:0; }
  .nav.open .nav-toggle span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
  .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    left:auto;
    height:auto;
    flex-direction:column;
    align-items:stretch;
    min-width:220px;
    padding:8px;
    gap:2px;
    border-radius:16px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 22px 50px -18px rgba(20,16,12,.4);
    backdrop-filter:blur(24px) saturate(180%);
    -webkit-backdrop-filter:blur(24px) saturate(180%);
  }
  .nav.open .nav-links{ display:flex; }
  .nav-links a{ padding:13px 16px; font-size:14px; letter-spacing:.2px; justify-content:center; border-radius:10px; }
  .nav-apply{ margin:6px 0 0 !important; }
  .nav-links .sep{ display:none; }

  /* ONROL grid centered in the hero + bigger letters */
  .logo{ grid-template-columns:repeat(4, 16vw 4vw) 16vw; grid-template-rows:var(--band) 16vw var(--band); }
  .node{ width:3px; height:3px; }       /* smaller junctions on mobile */
  body::before, body::after{ display:none; }            /* no margin lines on mobile */
  .panel::before, .panel::after{ display:none; }         /* no section-2 margin lines on mobile */
  .tower.up{ display:none; }                                       /* no top empty box on mobile */
  /* align the tagline box to the mobile grid: from N's left line (20vw) to the 2nd O's right line (76vw) */
  .tower{ left:20vw; width:56vw; grid-template-columns:56vw; }
  .tower.down .tagline{ letter-spacing:.22em; text-indent:.22em; font-size:clamp(12px,3.2vw,16px); }   /* a bit bigger */

  /* second section stacks into one column */
  .panel{ flex-direction:column; padding:13vh 7vw 9vh; }
  .panel-content{ width:100%; padding-right:0; padding-top:0; }   /* no doubled top margin on mobile */
  .panel-aster{ top:auto; bottom:0; left:0; transform:translate(-28%,28%); height:46vh; }   /* down-left corner on mobile */
  .panel-content::after{ display:none; }
  .panel-content h1{ font-size:clamp(26px,7vw,40px); }
  .panel-content p{ font-size:15px; max-width:none; }
  .panel-right{ width:100%; padding-left:0; padding-top:46px; }

  /* pipeline */
  .pipe-title{ font-size:clamp(22px,6vw,30px); }
  .pipeline li{ padding:48px 18px; }   /* taller pipeline boxes on mobile */
  .step-num{ width:36px; height:36px; font-size:13px; }

  /* build section stacks into one column on mobile */
  .build{ padding:64px 6vw; }
  .build-lead{ grid-template-columns:1fr; grid-auto-rows:auto; }
  .build-video{ aspect-ratio:16/10; }
  .build-text{ padding:26px 22px; border-left:none; border-top:1px solid rgba(0,0,0,.16); order:1; }
  .build-title{ font-size:clamp(28px,7vw,40px); }
  .build-desc{ font-size:clamp(15px,4vw,18px); max-width:none; }

  /* who section: tighter padding */
  .who{ padding:72px 7vw; }
  .who-card{ padding:26px 22px; }
  .who-title{ font-size:clamp(26px,7vw,40px); }

  /* closing CTA: stack buttons full-width */
  .cta-section{ padding:12vh 7vw; }
  .cta-title{ font-size:clamp(26px,7.5vw,42px); }
  .cta-actions{ width:100%; gap:12px; }
  .cta-section .btn{ flex:1 1 100%; text-align:center; padding:22px 20px; }
  .panel-content .btn{ padding:20px 22px; }   /* taller buttons on mobile */

  /* footer collapses */
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  .f-brand, .f-news{ grid-column:1 / -1; }
}

@media(max-width:460px){
  .footer-grid{ grid-template-columns:1fr; }
}

@media(max-width:430px){
  .panel-content .cta{ gap:12px; }
  .panel-content .btn{ flex:1 1 auto; text-align:center; padding:20px 16px; }
}

/* ============================================================
   SHARED SUB-PAGE HERO BAND
   A consistent, branded hero header for every sub-page — light
   ground, subtle dotted grid-line motif, warm orange glow, mono
   eyebrow, Space-Grotesk title. Each page fills in its own
   eyebrow / title / subtitle.
   ============================================================ */
.pagehero{
  position:relative;
  isolation:isolate;
  background:transparent;           /* let the page-wide graph-paper grid run through the hero */
  color:#16181b;
  padding:clamp(122px,17vh,188px) 24px clamp(50px,8vh,82px);
  overflow:hidden;
  /* no opaque bg / border-bottom: the grid must continue seamlessly into the page below */
}
/* warm orange glow bleeding down from the top */
.pagehero::after{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  left:50%; top:-12%; transform:translateX(-50%);
  width:min(88vw,1100px); height:70%;
  background:radial-gradient(52% 62% at 50% 0%, rgba(var(--orange-rgb),.12), transparent 72%);
}
.pagehero-inner{
  position:relative;
  max-width:960px;
  margin:0 auto;
}
.pagehero .ph-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:12px; letter-spacing:2px; text-transform:uppercase;
  color:var(--orange); margin-bottom:18px;
}
.pagehero .ph-eyebrow::before{
  content:""; width:28px; height:1px; background:var(--orange); flex:0 0 auto;
}
.pagehero .ph-title{
  font-family:var(--sans);
  font-size:clamp(34px,6vw,62px); font-weight:700; letter-spacing:-.02em; line-height:1.04;
  color:#16181b; margin:0; max-width:18ch;
}
.pagehero .ph-title span{ color:var(--orange); }
.pagehero .ph-sub{
  font-size:clamp(16px,1.6vw,19px); line-height:1.7; color:#5a5e64;
  max-width:660px; margin:18px 0 0;
}
@media (max-width:640px){
  .pagehero .ph-title{ max-width:none; }
}

/* ---- programs hero: the illustration is split into MANY small vector boxes.
   The boxes have no gap (so the picture reads seamlessly when flat) but each one
   flips on its own in a diagonal ripple to reveal a slice of the ONROL brand —
   the scene flips box-by-box, NOT the whole thing as one card. Tiles are built by
   the inline script in programs.html; cols/rows drive the slicing math. ---- */
.vgrid{
  display:grid;
  grid-template-columns:repeat(var(--cols,9),1fr);
  grid-template-rows:repeat(var(--rows,6),1fr);
  gap:0;
  width:100%;
  aspect-ratio:3/2;
  perspective:1400px;
  background:url('prog-hero.jpg') center/cover no-repeat;   /* fallback if JS is off */
}
.vtile{ position:relative; }
.vt-in{
  position:absolute; inset:0;
  transform-style:preserve-3d;
  animation:vflip 6s ease-in-out infinite;
  animation-delay:var(--d,0s);
  will-change:transform;
}
.vf{
  position:absolute; inset:0;
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
  background-size:calc(var(--cols,9) * 100%) calc(var(--rows,6) * 100%);
  background-position:var(--px) var(--py);
  background-repeat:no-repeat;
}
.vf.front{ background-image:url('prog-hero.jpg'); background-color:#f6efe4; }
.vf.back{ background-image:url('prog-hero-back.png'); background-color:#120f0d; transform:rotateY(180deg); }
@keyframes vflip{
  0%,45%   { transform:rotateY(0deg); }     /* illustration */
  52%,80%  { transform:rotateY(180deg); }   /* ONROL brand */
  88%,100% { transform:rotateY(0deg); }
}

/* ============================================================
   PROGRAMS hero — the flip-tile mosaic sits on the empty right side.
   Right edge pinned to the right guide line (6vw) so it never crosses
   the border; the hero text keeps its position on the left.
   ============================================================ */
.prog-hero .pagehero-inner{ position:relative; z-index:2; }
.prog-hero-art{
  position:absolute; top:50%; right:6vw;      /* right edge sits exactly on the right guide */
  transform:translateY(-50%);
  width:clamp(340px, 34vw, 500px);            /* larger than a card, still inside the guide */
  z-index:1;
}
/* not enough room below ~1120px -> hide the art (text stays put, nothing crosses the guide) */
@media (max-width:1120px){ .prog-hero-art{ display:none; } }
@media (prefers-reduced-motion:reduce){ .vt-in{ animation:none; } }

/* unify every sub-page's content container: same width + gutters on all pages,
   aligned to the hero's 960px inner (1008 - 2x24 = 960). Two-class rule so it
   overrides each page's own inline .subpage max-width/padding. */
.subpage.has-hero{
  max-width:1008px;
  margin-left:auto; margin-right:auto;
  padding-top:clamp(44px,6vh,64px);
  padding-left:24px;
  padding-right:24px;
}

/* ============ HOME ENHANCEMENTS ============ */

/* cohort urgency note near the top CTA */
.cohort-note{
  display:flex; align-items:center; gap:10px;
  margin-top:20px;
  font-family:var(--mono); font-size:13px; letter-spacing:.3px; color:#5a5e64;
}
.cohort-note b{ color:#16181b; }
.pulse-dot{
  width:9px; height:9px; flex:0 0 auto; border-radius:50%;
  background:var(--orange); box-shadow:0 0 0 0 rgba(var(--orange-rgb),.6);
  animation:pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot{
  0%{ box-shadow:0 0 0 0 rgba(var(--orange-rgb),.55); }
  70%{ box-shadow:0 0 0 10px rgba(var(--orange-rgb),0); }
  100%{ box-shadow:0 0 0 0 rgba(var(--orange-rgb),0); }
}
@media (prefers-reduced-motion:reduce){ .pulse-dot{ animation:none; } }

/* proof section — stats + testimonials (light, box theme) */
.proof{ position:relative; background:#fff; padding:clamp(70px,11vh,124px) 6vw; }
.proof-inner{ max-width:1008px; margin:0 auto; }
.proof-eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:2px; text-transform:uppercase;
  color:var(--orange); text-align:center; margin-bottom:8px;
}
.stat-band{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(0,0,0,.16); border:1px solid rgba(0,0,0,.16); margin-top:22px; }
.stat{ position:relative; background:#fff; padding:clamp(28px,3.4vw,40px) 16px; text-align:center; }
.stat::before,.stat::after{ content:""; position:absolute; width:6px; height:6px; background:var(--orange); z-index:2; }
.stat::before{ top:0; left:0; transform:translate(-50%,-50%); }
.stat::after{ bottom:0; right:0; transform:translate(50%,50%); }
.stat-n{ font-family:var(--sans); font-size:clamp(30px,4vw,52px); font-weight:700; color:#16181b; letter-spacing:-.02em; line-height:1; }
.stat-n span{ color:var(--orange); }
.stat-l{ font-family:var(--mono); font-size:11px; letter-spacing:1.2px; text-transform:uppercase; color:#8a8f96; margin-top:12px; }

.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(0,0,0,.16); border:1px solid rgba(0,0,0,.16); margin-top:16px; }
.quote{ position:relative; background:#fff; margin:0; padding:30px 26px; display:flex; flex-direction:column; gap:14px; transition:background .25s ease; }
.quote:hover{ background:#fff7f2; }
.quote::before{ content:"\201C"; font-family:Georgia,serif; font-size:52px; line-height:.4; color:var(--orange); height:20px; }
.quote blockquote{ margin:0; font-size:15px; line-height:1.6; color:#33363b; flex:1; }
.quote figcaption{ font-family:var(--mono); font-size:12px; letter-spacing:.3px; color:#8a8f96; }
.quote figcaption b{ color:#16181b; }
@media(max-width:760px){ .stat-band{ grid-template-columns:repeat(2,1fr); } .quotes{ grid-template-columns:1fr; } }

/* scroll-progress bar (top of viewport) */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0;
  background:linear-gradient(90deg, var(--orange), var(--orange-lt));
  z-index:120; pointer-events:none; transition:width .1s linear;
}

/* ============ ACCESSIBILITY — visible focus ring ============ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
  border-radius:1px;
}
.cta-section .btn:focus-visible, .btn:focus-visible, .nav-apply:focus-visible{ outline-offset:4px; }

/* =====================================================================
   WHITE THEME (site-wide) — pure-white backgrounds, dark text, orange
   accent kept, thin GREY side guide-lines, subtly-rounded cards.
   Appended last so it overrides the previous dark/cream design.
   ===================================================================== */

/* 1) all backgrounds -> white, no tints / patterns / images */
html, body, body.home, body.loading, main, section, header, footer, article,
.hero, .hero-bg, .panel, .panel-right, .who, .who-head, .who-show,
.cta-section, .cta-section.cta-img, .footer, .footer-inner,
.pricing, .pricing-grid, .pagehero, .subpage, .preloader{
  background:#fff !important;
}
html body:has(.pagehero), body.home{ background-image:none !important; }
.hero-bg, .pagehero::before, .pagehero::after, .cta-section::before,
.footer::before, .hero::before, .hero::after{ background:none !important; background-image:none !important; }

/* 2) side guide-lines: thin grey, steady, top -> bottom, on every page */
body::before, body::after{
  content:"" !important; display:block !important;
  position:fixed !important; top:0 !important; height:100vh !important;
  border-left:2px solid rgba(0,0,0,.32) !important;      /* bigger + darker side borders */
  animation:none !important; z-index:6 !important; pointer-events:none !important;
}
body::before{ left:6vw !important; }
body::after{  right:6vw !important; }

/* 3) text -> dark in the (formerly dark) sections */
.hero, .hero h1, .hero h2, .hero h3, .hero p, .hero span, .hero li,
.panel, .panel h1, .panel h2, .panel p, .panel-right, .pipe-title,
.cta-section, .cta-title, .cta-section p,
.footer, .footer h3, .footer h4, .footer p, .footer span, .footer li,
.pricing, .pricing h2, .pricing h3, .pricing p, .pricing li, .pricing span,
.who, .who-title, .who-sub{ color:#16181b; }
.footer p, .footer li, .footer a, .who-sub, .cta-section p, .pricing p,
.hero-copy, .panel p, .tagline{ color:#5a5e64 !important; }

/* keep the orange accents */
.gradient-text, .who-title span, .cta-title span, .pipe-title span,
.pipe-eyebrow, .cta-eyebrow, .ph-eyebrow, .who .pipe-eyebrow,
[class$="-eyebrow"], [class*="eyebrow"]{ color:var(--orange) !important; }

/* ONROL hero glyphs -> dark on white */
.logo text, .logo .glyph text, .glyph text{ fill:#16181b !important; }

/* 4) NAV — premium floating GLASS PILL. Light frosted glass over white sections;
      turns to dark glass over the hero (stays visible, not transparent). */
.nav{
  background:rgba(255,255,255,.66) !important;
  border:1px solid rgba(255,255,255,.6) !important;
  box-shadow:0 18px 44px -20px rgba(20,16,12,.42), inset 0 1px 0 rgba(255,255,255,.75) !important;
  backdrop-filter:blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter:blur(24px) saturate(180%) !important;
  transition:background .35s ease, box-shadow .35s ease, border-color .35s ease, transform .4s cubic-bezier(.2,.7,.2,1) !important;
}
.nav.on-dark{                                            /* over the dark hero -> dark glass */
  background:rgba(20,17,22,.42) !important;
  border-color:rgba(255,255,255,.14) !important;
  box-shadow:0 18px 44px -22px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1) !important;
}
.nav a{ color:#2b2f34 !important; }
.nav.on-dark a{ color:rgba(255,255,255,.88) !important; }
.nav a:hover{ color:var(--orange) !important; background:rgba(244,103,24,.1) !important; }
.nav.on-dark a:hover{ color:#fff !important; background:rgba(255,255,255,.14) !important; }
.nav a.is-active{ color:var(--orange) !important; background:rgba(244,103,24,.1) !important; }
.nav.on-dark a.is-active{ color:#fff !important; background:rgba(255,255,255,.16) !important; }
/* pill design -> drop the old underline */
.nav-links a:not(.nav-apply)::after{ display:none !important; }
/* gradient Apply pill */
.nav-apply{
  background:linear-gradient(135deg,#ff9152,#f4671a) !important; color:#fff !important;
  border-radius:999px !important;
  box-shadow:0 8px 20px -8px rgba(244,103,24,.6) !important;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.nav-apply:hover{ transform:translateY(-1px) !important; filter:brightness(1.06); box-shadow:0 12px 26px -8px rgba(244,103,24,.78) !important; }
.nav-apply::after{ display:none !important; }            /* no underline on the button */
/* logo colour-adapts: WHITE over the dark hero, orange over the white sections */
.site-logo img{ filter:none; }                           /* natural (orange) mark by default */
.site-logo.on-dark img{ filter:brightness(0) invert(1) !important; }   /* white over hero */
@media(max-width:900px){ .nav-toggle span{ background:#16181b !important; } .nav.on-dark .nav-toggle span{ background:#fff !important; } }

/* 5) buttons keep their own fills (re-assert after the text-dark rules) */
.btn.primary, .button, .button.orange, .btn-apply, .nav-apply,
.cta-section .btn.primary, .form-card, .form-card *{ color:#fff !important; }
.btn.secondary, .button.light{ color:#16181b !important; }

/* 6) cards -> subtle curve (a little, not sharp, not too round) */
.who-card, .build-card, .audience-card, .pcard, .module, .form-card, .cohort-card,
.portfolio-media, .cert-frame, .flipcard-face, .vf, .ws-card, .outcome-item,
.compare-col, .faq-item, .quote, .stat, .panel, .ptab, .pt-ic{ border-radius:4px !important; }

/* ---- KEEP THE HOME HERO UNCHANGED — dark section + bag.jpeg image + white ONROL
        (overrides the white theme above; only the hero stays dark) ---- */
section.hero{ background:#0c0c0c !important; }
.hero-bg{ background:url('bag.jpeg') center/cover no-repeat !important; }
.logo text, .glyph text, .hero .glyph text{ fill:#fff !important; }
.hero .tagline, .tagline{ color:rgba(255,255,255,.72) !important; }

/* ============================================================
   LARGER + MORE VISIBLE SECONDARY TEXT (site-wide, per request)
   the "sub" text was small (12-15px) and faint grey (#5a5e64);
   this bumps the size a notch and darkens the grey so every
   subtitle, label and detail line reads clearly. Appended last
   so it wins the cascade. Text on dark/orange surfaces excluded.
   ============================================================ */
/* subtitles & description paragraphs */
.hero-copy, .panel-content p, .panel p, .panel-sub, .build-desc,
.who-sub, .cta-sub, .cta-section p, .pricing p, .f-desc, .f-news p,
.section-desc, .pagehero .ph-sub, .panel-right .pipe-title + p{
  font-size:clamp(16px, 1.35vw, 19px) !important;
  line-height:1.65 !important;
  color:#33383c !important;
}
/* small uppercase labels / eyebrows -> a touch bigger + tighter tracking so they read */
.eyebrow, .kicker, .pipe-eyebrow, .cta-eyebrow, .ph-eyebrow, .pagehero .ph-eyebrow,
.sd-eyebrow, .tag, .pcard-tag, .f-tag, .cohort-note, .pipe-eyebrow{
  font-size:13.5px !important;
  letter-spacing:1.4px !important;
}
/* card / list detail text */
.pcard p{ font-size:16px !important; line-height:1.55 !important; color:#33383c !important; }
.pcard-chips span{ font-size:13px !important; }
.who-card-sub{ font-size:13px !important; }
.stat span, .cohort-row span{ font-size:13.5px !important; }
.f-col li, .f-col a, .footer li, .footer a{ font-size:14.5px !important; }
.f-col a, .footer a{ color:#41454b !important; }
/* the apply-modal subtext sits on the orange card -> enlarge only, keep its light colour */
.lead-sub{ font-size:15px !important; }

/* ---- SUB-PAGES (about, faq, contact, mentors, blog, glossary, masterclass,
        quiz, why-ai, programs, terms, privacy...): their own bespoke text
        classes were tiny (10.5-13px) -> enlarge + strengthen the same way. ---- */
.subpage p{ font-size:15px !important; line-height:1.65 !important; }
.subpage li{ font-size:14.5px !important; line-height:1.6 !important; }
/* keep the little uppercase labels compact, just a notch bigger than the old tiny sizes */
.subpage .kicker, .subpage .eyebrow, .subpage .t-k, .subpage .f-k, .subpage .k,
.subpage .l, .subpage .ci-k, .subpage .fh-sub, .subpage .flip-hint, .subpage .back,
.subpage .brand, .subpage .muted, .subpage .resp-note, .subpage .updated,
.subpage .pcard-tag, .subpage .role, .subpage .ff-n, .subpage .ff-more,
.subpage .pcard-go, .subpage .module-index, .subpage .cm-label{
  font-size:12.5px !important; letter-spacing:1.1px !important;
}
/* darken the faint grey captions so they read (orange brand labels left untouched) */
.subpage .lead, .subpage .sec-sub, .subpage .panel-sub, .subpage .help,
.subpage .t p, .subpage .copy, .subpage .t-cta .lead, .subpage .ci-sub,
.subpage .pcard p{ color:#33383c !important; }

/* ============================================================
   RESPONSIVE POLISH — elegant, consistent scaling on every device
   (phones -> tablets -> laptops -> large monitors). Additive & safe.
   ============================================================ */
/* media never overflows its column; nothing pushes a sideways scrollbar */
img, video, canvas{ max-width:100%; }
html{ overflow-x:clip; scroll-padding-top:92px; }   /* in-page anchors clear the floating nav */

/* large monitors (24"+): gentle type bump so the design never feels small */
@media (min-width:1720px){ body{ font-size:17px; } }

/* tablets & small laptops: keep the 'Who it's for' grid tidy, not over-stretched */
@media (max-width:1024px) and (min-width:601px){ .who-grid{ width:min(760px, 92vw); } }

/* phones: cleaner frame — drop the side guide-lines, comfy even gutters */
@media (max-width:600px){
  body::before, body::after{ display:none !important; }   /* guide lines crowd small screens */
  .who-grid{ margin:0 16px !important; padding:0 !important; }
  html{ scroll-padding-top:78px; }
}

/* small phones: floating nav pill + logo fit edge-to-edge, no overflow */
@media (max-width:380px){
  .nav{ left:8px; right:8px; }
  .nav-apply{ padding:11px 15px !important; }
  .site-logo img{ height:30px !important; }
}

/* ============================================================
   FOOTER — dark, bordered, reference-style: brand + copyright +
   social icons | link columns | bordered newsletter row.
   Appended last (high specificity + !important) so it wins over
   the white-theme footer override above.
   ============================================================ */
.footer{
  background:#0b0a0c !important;
  color:#fff !important;
  border-top:1px solid rgba(var(--orange-rgb),.30) !important;
  padding:clamp(48px,7vh,86px) 6vw clamp(30px,4vh,44px) !important;
  font-family:var(--sans) !important;
  font-weight:400 !important;
  text-transform:none !important;
}
.footer *{ text-transform:none !important; }
.footer .footer-grid, .footer .footer-bottom{ display:none !important; }   /* old structure gone */

/* bordered top box: brand | link columns */
.footer .footer-top{
  display:grid;
  grid-template-columns:1.15fr 2.2fr;
  gap:clamp(30px,5vw,80px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:clamp(28px,3.4vw,44px);
}
.footer .f-brand{ display:flex; flex-direction:column; gap:16px; }
/* footer brand lockup: orange mark + ONROL + AI EXECUTION SCHOOL (white, for the dark footer) */
.footer .f-logo{ display:inline-flex; align-items:center; gap:13px; text-decoration:none; }
.footer .f-logo img{ width:46px; height:46px; flex:0 0 auto; object-fit:contain; display:block; }
.footer .f-logo-tx{ display:flex; flex-direction:column; line-height:1; }
.footer .f-logo-tx b{ font-family:var(--sans); font-size:28px; font-weight:800; letter-spacing:.4px; color:#fff !important; line-height:1; }
.footer .f-logo-tx small{ font-family:var(--sans); font-size:9.5px; font-weight:600; letter-spacing:2.1px; text-transform:uppercase; color:rgba(255,255,255,.62) !important; margin-top:6px; }
.footer .f-logo:hover img{ transform:scale(1.05); }
.footer .f-logo img{ transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.footer .f-copy{ font-size:14px !important; line-height:1.6; color:rgba(255,255,255,.5) !important; margin:0; max-width:34ch; }
.footer .f-socials{ display:flex; gap:10px; margin-top:auto; }
.footer .f-socials a{ width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.16); border-radius:11px; color:#fff !important; transition:background .2s ease, border-color .2s ease, transform .2s ease; }
.footer .f-socials a:hover{ background:var(--orange); border-color:var(--orange); color:#fff !important; transform:translateY(-2px); }
.footer .f-socials svg{ width:19px; height:19px; fill:none; stroke:#fff !important; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.footer .f-socials a:hover svg{ stroke:#fff !important; }   /* stay white on the orange hover */

/* link columns */
.footer .f-cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(22px,3vw,46px); }
.footer .f-col h4{ font-size:13px !important; letter-spacing:1.6px !important; text-transform:uppercase !important; color:#fff !important; font-weight:600; margin:0 0 18px !important; }
.footer .f-col ul{ list-style:none; margin:0; padding:0; }
.footer .f-col li{ margin-bottom:13px !important; }
.footer .f-col a{ font-size:15px !important; color:rgba(255,255,255,.6) !important; text-decoration:none; transition:color .2s ease; }
.footer .f-col a:hover{ color:var(--orange-lt) !important; }

/* newsletter row */
.footer .footer-news{
  display:flex; align-items:center; justify-content:space-between;
  gap:clamp(20px,4vw,56px); flex-wrap:wrap;
  border:1px solid rgba(255,255,255,.12); border-radius:16px;
  padding:clamp(24px,3vw,36px);
  margin-top:16px;
}
.footer .f-news-text h4{ font-size:20px !important; color:#fff !important; margin:0 0 6px !important; font-weight:700; letter-spacing:0 !important; text-transform:none !important; }
.footer .f-news-text p{ font-size:14.5px !important; color:rgba(255,255,255,.55) !important; margin:0; }
.footer .f-form{ display:flex; flex:1; min-width:280px; max-width:520px; border-radius:11px; overflow:hidden; border:1px solid rgba(255,255,255,.18); }
.footer .f-form input{ flex:1; min-width:0; padding:16px 18px; font-family:var(--sans); font-size:15px; color:#fff !important; background:rgba(255,255,255,.04); border:0; }
.footer .f-form input::placeholder{ color:rgba(255,255,255,.4); }
.footer .f-form button{ padding:0 30px; font-family:var(--sans); font-size:15px; font-weight:600; color:#fff !important; background:var(--orange) !important; border:0; cursor:pointer; transition:background .2s ease; white-space:nowrap; }
.footer .f-form button:hover{ background:var(--orange-lt) !important; }
.footer .f-news-msg{ margin:14px 0 0 !important; font-size:14px !important; color:var(--orange-lt) !important; }

@media (max-width:860px){
  .footer .footer-top{ grid-template-columns:1fr; gap:32px; }
  .footer .footer-news{ flex-direction:column; align-items:stretch; }
  .footer .f-form{ max-width:none; }
}
@media (max-width:520px){
  .footer .f-cols{ grid-template-columns:1fr 1fr; gap:22px 18px; }
}

/* ============================================================
   PANEL — left-column trust strip: fills the empty space under
   the CTA and balances the "learning to earning" pipeline.
   ============================================================ */
.panel-trust{
  margin-top:clamp(28px,4.5vh,54px);
  padding-top:clamp(20px,3vh,28px);
  border-top:1px solid rgba(0,0,0,.1);
  display:flex; flex-direction:column;
  max-width:460px;
}
.pt-item{ display:flex; align-items:center; gap:16px; padding:14px 0; }
.pt-item + .pt-item{ border-top:1px solid rgba(0,0,0,.06); }
.pt-ic{
  flex:0 0 auto; width:48px; height:48px; display:grid; place-items:center;
  border-radius:13px; background:rgba(var(--orange-rgb),.10);
  color:var(--orange); transition:background .25s ease, transform .25s ease;
}
.pt-item:hover .pt-ic{ background:var(--orange); color:#fff; transform:translateY(-2px); }
.pt-ic svg{ width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pt-tx{ display:flex; flex-direction:column; gap:3px; }
.pt-tx strong{ font-size:16.5px !important; font-weight:700; color:#16181b !important; line-height:1.2; }
.pt-tx span{ font-size:14px !important; color:#5a5e64 !important; line-height:1.3; }
@media (max-width:900px){ .panel-trust{ max-width:none; } }

/* ============================================================
   MOBILE POLISH — final site-wide refinements so phones feel
   as clean and easy to use as desktop.
   ============================================================ */
@media (max-width:600px){
  /* never zoom the page when a field is focused (iOS) */
  input, select, textarea{ font-size:16px !important; }
  /* thumb-friendly tap targets on every real button/CTA */
  .btn, .button, .cta, .cta.ghost, .nav-apply, .ab-btn, .lead-submit,
  .form-card button, .f-form button, .btn-apply{ min-height:48px !important; }
  /* comfortable, consistent side gutters on the shared sub-page frame */
  .subpage{ padding-left:20px !important; padding-right:20px !important; }
  /* tighten oversized vertical whitespace so content isn't buried */
  .panel{ padding-top:11vh !important; }
  .who{ padding-top:58px !important; }
  .cta-section{ padding-top:10vh !important; }
  /* the left-column trust strip: a touch tighter, full width */
  .panel-trust{ margin-top:26px; }
  .pt-item{ padding:12px 0; gap:14px; }
  .pt-ic{ width:44px; height:44px; }
  /* footer newsletter + columns breathe better */
  .footer{ padding-left:7vw !important; padding-right:7vw !important; }
  /* modal (Apply) fits small screens with room to scroll */
  .lead-card{ width:calc(100% - 28px) !important; max-height:88vh; overflow:auto; padding:26px 20px !important; }
  .lead-form input{ font-size:16px !important; }
}
/* very small phones: keep the biggest headings from overflowing */
@media (max-width:360px){
  .panel-content h1, .who-title, .cta-title, .build-title, .ph-title{ letter-spacing:-.015em; }
  .subpage{ padding-left:16px !important; padding-right:16px !important; }
}

/* ==================================================================
   SHARP PREMIUM SYSTEM  —  one consistent box language site-wide.
   Every content box/card/input/button gets crisp 90° corners so the
   whole site matches the brand grid (ONROL mark, step badges).
   Round ACCENTS are deliberately left alone: the floating nav pill,
   status dots, icon chips and true circles keep their shape.
   ================================================================== */
.panel, .pcard, .prog-grid, .ptab, .stat, .faq-item, .compare-col, .quote,
.box, .boxgrid .box, .card, .card-grid .card, .who-card, .who-card--bare,
.build-lead, .build-banner, .build-card, .lead-card, .ab-stat, .role-card,
.racc, .racc-item, .val-card, .tl-item, .chip-card, .pcard-tag, .pcard-chips span,
.portfolio-media, .roles-list, .rr-row, .compare-table, .step-num, .step-btn,
.btn, .button, .btn-apply, .lead-submit,
.f-form, .f-form input, .f-form button,
.hc-form input, .hc-form button, .field input, .lead-form input,
input[type="text"], input[type="email"], input[type="tel"], textarea, select{
  border-radius:0 !important;
}

/* crisp, consistent 1px hairline on the flat content cards + a refined,
   unified hover (subtle lift · orange edge · layered shadow) so nothing
   reads as a plain grey box. Cards with their own richer hover keep it. */
.faq-item, .compare-col, .quote, .box, .card, .card-grid .card,
.chip-card, .who-card{
  border:1px solid rgba(0,0,0,.11);
  transition:transform .34s cubic-bezier(.2,.7,.2,1),
             box-shadow .34s ease, border-color .34s ease;
}
.faq-item:hover, .compare-col:hover, .quote:hover, .box:hover, .card:hover,
.card-grid .card:hover, .chip-card:hover, .who-card:hover{
  transform:translateY(-5px);
  border-color:rgba(var(--orange-rgb),.5);
  box-shadow:0 26px 50px -30px rgba(0,0,0,.32);
}
@media (prefers-reduced-motion:reduce){
  .faq-item, .compare-col, .quote, .box, .card, .card-grid .card,
  .chip-card, .who-card{ transition:none; }
  .faq-item:hover, .compare-col:hover, .quote:hover, .box:hover, .card:hover,
  .card-grid .card:hover, .chip-card:hover, .who-card:hover{ transform:none; }
}

/* ==================================================================
   NAV LOGIN — premium portal switcher (v2)
   ================================================================== */
.nav-login{ position:relative; display:flex; align-items:center; }
.nav-login-btn{ display:inline-flex; align-items:center; gap:6px; background:transparent; border:0; cursor:pointer;
  font-family:var(--sans); font-size:14.5px; font-weight:500; letter-spacing:.2px; color:#2b2f34;
  padding:9px 15px; border-radius:999px; white-space:nowrap; transition:color .2s ease, background .2s ease; }
.nav.on-dark .nav-login-btn{ color:rgba(255,255,255,.88); }
.nav-login-btn:hover, .nav-login.open .nav-login-btn{ color:var(--orange); background:rgba(244,103,24,.1); }
.nav.on-dark .nav-login-btn:hover, .nav.on-dark .nav-login.open .nav-login-btn{ color:#fff; background:rgba(255,255,255,.14); }
.nl-chev{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s ease; }
.nav-login:hover .nl-chev, .nav-login.open .nl-chev{ transform:rotate(180deg); }

.login-menu{ position:absolute; top:calc(100% + 16px); right:0; width:330px; padding:8px;
  background:#fff; border:1px solid rgba(0,0,0,.09);
  box-shadow:0 40px 80px -30px rgba(20,16,12,.5), 0 8px 22px -12px rgba(20,16,12,.28);
  z-index:90; opacity:0; visibility:hidden; transform:translateY(-12px) scale(.98); transform-origin:top right;
  transition:opacity .26s cubic-bezier(.2,.7,.2,1), transform .26s cubic-bezier(.2,.7,.2,1), visibility .26s; }
.login-menu::before{ content:""; position:absolute; top:-16px; left:0; right:0; height:16px; }
.login-menu::after{ content:""; position:absolute; top:-7px; right:26px; width:13px; height:13px; background:#fff;
  border-left:1px solid rgba(0,0,0,.09); border-top:1px solid rgba(0,0,0,.09); transform:rotate(45deg); }
.nav-login:hover .login-menu, .nav-login:focus-within .login-menu, .nav-login.open .login-menu{
  opacity:1; visibility:visible; transform:none; }

.lm-head{ padding:12px 14px 12px; }
.lm-eyebrow{ display:block; font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange); }
.lm-title{ display:block; font-family:var(--sans); font-size:15px; font-weight:700; color:#16181b; margin-top:4px; }

.login-card{ position:relative; display:flex; align-items:center; gap:14px; padding:13px 14px; text-decoration:none;
  background:#fff; border:1px solid transparent; overflow:hidden; transition:border-color .24s ease; }
.login-card + .login-card{ margin-top:2px; }
.login-card::before{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(244,103,24,.12), rgba(244,103,24,0) 72%); opacity:0; transition:opacity .28s ease; }
.login-card:hover{ border-color:rgba(244,103,24,.35); }
.login-card:hover::before{ opacity:1; }
.lc-ic{ position:relative; z-index:1; width:44px; height:44px; flex:0 0 auto; display:grid; place-items:center;
  background:linear-gradient(145deg, rgba(244,103,24,.16), rgba(244,103,24,.07)); color:var(--orange);
  transition:transform .28s cubic-bezier(.2,.7,.2,1), background .24s ease, color .24s ease; }
.login-card:hover .lc-ic{ background:linear-gradient(145deg,#ff9152,#f4671a); color:#fff; transform:scale(1.06) rotate(-3deg); }
.lc-ic svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.lc-tx{ position:relative; z-index:1; display:flex; flex-direction:column; line-height:1.25; min-width:0; }
.lc-tx b{ font-family:var(--display); font-size:16px; font-weight:800; letter-spacing:.005em; color:#16181b; }
.lc-tx small{ font-family:var(--mono); font-size:11.5px; color:#8a8f96; margin-top:2px; }
.lc-arrow{ position:relative; z-index:1; margin-left:auto; width:30px; height:30px; flex:0 0 auto; display:grid; place-items:center;
  border:1px solid rgba(0,0,0,.14); color:#9a9089; transition:background .24s ease, border-color .24s ease, color .24s ease; }
.lc-arrow svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .24s ease; }
.login-card:hover .lc-arrow{ background:var(--orange); border-color:var(--orange); color:#fff; }
.login-card:hover .lc-arrow svg{ transform:translateX(2px); }

.lm-foot{ padding:11px 14px 8px; margin-top:6px; border-top:1px solid rgba(0,0,0,.07); font-family:var(--mono); font-size:11.5px; color:#9a9089; text-align:center; }
.lm-foot a{ color:var(--orange); text-decoration:none; font-weight:600; }
.lm-foot a:hover{ text-decoration:underline; }

/* staggered card entrance when the menu opens */
.login-menu .login-card{ opacity:0; transform:translateX(8px); }
.nav-login:hover .login-card, .nav-login:focus-within .login-card, .nav-login.open .login-card{ opacity:1; transform:none; transition:opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.nav-login:hover .login-card:nth-of-type(2), .nav-login.open .login-card:nth-of-type(2){ transition-delay:.05s; }
.nav-login:hover .login-card:nth-of-type(3), .nav-login.open .login-card:nth-of-type(3){ transition-delay:.10s; }

/* login cards are <a> inside .nav — beat the generic .nav a rules (some !important) */
.nav .login-menu .login-card{ display:flex !important; align-items:center !important; gap:14px !important;
  padding:13px 14px !important; border-radius:0 !important; background:#fff !important; }
.nav .login-menu .lc-tx b{ color:#16181b !important; font-family:var(--display) !important; font-weight:800 !important; }
.nav .login-menu .lc-tx small{ color:#8a8f96 !important; }

@media(max-width:900px){
  .login-menu{ position:static; width:100%; right:auto; box-shadow:none; border:0; padding:4px 0 2px;
    opacity:1; visibility:visible; transform:none; display:none; }
  .login-menu::after{ display:none; }
  .nav-login.open .login-menu{ display:block; }
  .nav-login{ flex-direction:column; align-items:stretch; }
  .nav-login-btn{ justify-content:center; }
  .login-menu .login-card{ opacity:1; transform:none; }
}
