/* Penn State Quants — site styles
   Layout and motion follow an editorial format: giant uppercase heroes,
   alternating image/text rows, hairline grids. Colors come from the logo:
   navy Q, royal-blue tail, silver background. Bid/offer/gold only appear
   on the order book. */
:root {
  --noir: #070B14;
  --noir-2: #0E1526;
  --silver: #E4E8EE;
  --silver-2: #CFD6E0;
  --chrome: #C3CAD6;
  --steel: #8A94A6;
  --ink: #0A1A3F;
  --blue: #2B4BE0;
  --blue-hi: #4563F2;
  --line-dark: rgba(195, 202, 214, .16);
  --line-light: rgba(10, 26, 63, .16);

  --bid: #4FB3E8;
  --offer: #F0A050;
  --gold: #F5D06B;
  --red: #E06666;

  --display: "Archivo", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.2, 0, 0, 1);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --pad: clamp(16px, 3.4vw, 48px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--silver);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1536px; margin: 0 auto; }
.mono { font-family: var(--mono); }
.dark { background: var(--noir); color: #fff; }
.light { background: var(--silver); color: var(--ink); }

/* ---------- Nav ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; }
.site-header .nav-bg { position: absolute; inset: 0; z-index: -1; background: var(--noir); opacity: 0; transition: opacity .18s var(--ease-standard); }
.site-header .nav-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); opacity: 0; transition: opacity .18s var(--ease-standard); }
.site-header.scrolled .nav-bg, .site-header.scrolled .nav-line, .site-header.open .nav-bg { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font: 600 17px var(--body); letter-spacing: -.03em; }
.nav-links { position: relative; display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; font-size: 14px; text-decoration: none; color: rgba(255,255,255,.62); transition: color .075s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-indicator { position: absolute; bottom: 6px; left: 0; height: 1px; background: #fff; width: 0; transition: transform .3s var(--ease-out), width .3s var(--ease-out); pointer-events: none; }
.nav-cta { margin-left: 20px; background: var(--blue); color: #fff !important; font-weight: 500; padding: 10px 16px !important; transition: background-color .075s var(--ease-out), transform .12s var(--ease-out) !important; }
.nav-cta:hover { background: var(--blue-hi); }
.nav-cta:active { transform: scale(.97); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: #fff; margin: 5px auto; transition: transform .18s var(--ease-out), opacity .18s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--noir); padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line-dark); display: none; }
  .site-header.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line-dark); }
  .nav-indicator { display: none; }
  .nav-cta { margin: 16px 0 0; text-align: center; border-bottom: 0 !important; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; position: relative;
}
.hero-row { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero h1 {
  font: 700 clamp(3.5rem, 9.5vw, 8.5rem)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.074em; max-width: 16ch;
}
.hero h1 .silver { color: var(--chrome); }
.hero .sub { max-width: 400px; text-align: right; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.62); }
.hero .sub a { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 28px; background: var(--chrome); opacity: .5; animation: scrollCue 1.8s var(--ease-standard) infinite; }
@media (max-width: 860px) {
  .hero { min-height: 78svh; padding-bottom: 56px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero .sub { text-align: left; font-size: 17px; }
  .scroll-cue { display: none; }
}

/* ---------- Motion ---------- */
@keyframes heroReveal { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.35rem); } }
.hero-reveal { animation: heroReveal .36s var(--ease-out) both; }
.hero-reveal.d1 { animation-delay: .08s; } .hero-reveal.d2 { animation-delay: .16s; }
.js [data-reveal] { opacity: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js [data-reveal="left"] { transform: translateX(-1.25rem); }
.js [data-reveal="right"] { transform: translateX(1.25rem); }
.js [data-reveal="up"] { transform: translateY(15px); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-reveal, .scroll-cue { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Split rows (image | text, alternating) ---------- */
main { overflow-x: clip; }
.split-row { display: grid; grid-template-columns: 54fr 46fr; border-bottom: 1px solid var(--line-light); }
.split-row.flip { grid-template-columns: 46fr 54fr; }
.split-row.flip .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; background: var(--noir-2); min-height: 420px; }
.split-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media.pad { display: grid; place-items: center; padding: 48px var(--pad); }
.split-media .soon-cap { margin-top: 16px; font: 500 14px var(--mono); color: var(--steel); letter-spacing: .04em; }
.split-media .soon { font: 700 clamp(2.6rem, 6vw, 5rem)/.9 var(--display); letter-spacing: -.06em; text-transform: uppercase; color: var(--chrome); }
.portrait { margin: 0; width: min(100%, 320px); }
.portrait img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 22%; }
.portrait figcaption { margin-top: 14px; font: 500 13px var(--mono); color: var(--chrome); letter-spacing: .04em; }
.split-text { padding: 56px var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.split-text h2 { font: 400 clamp(2.6rem, 5vw, 4.5rem)/1 var(--body); letter-spacing: -.055em; }
.split-text p { font-size: 18px; line-height: 1.6; max-width: 34em; }
.split-text .link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; transition: color .075s var(--ease-out); }
.split-text .link:hover { color: var(--blue); }
@media (max-width: 900px) {
  .split-row, .split-row.flip { grid-template-columns: 1fr; }
  .split-row.flip .split-media { order: 0; }
  .split-media { min-height: 0; aspect-ratio: 16 / 9; }
  .split-media.pad { aspect-ratio: auto; padding: 24px 16px; }
  .split-text { padding: 40px var(--pad) 48px; }
}

/* ---------- Big uppercase section heads + hairline grids ---------- */
.block { padding: 120px 0 128px; }
.block-title { font: 700 clamp(2.6rem, 7vw, 6rem)/.92 var(--display); text-transform: uppercase; letter-spacing: -.06em; margin-bottom: 72px; }
.block-sub { margin: -48px 0 64px; font-size: 18px; max-width: 40em; }
.dark .block-sub { color: rgba(255,255,255,.62); }
.light .block-sub { color: #4A5568; }
@media (max-width: 760px) { .block { padding: 80px 0 88px; } .block-title { margin-bottom: 44px; } .block-sub { margin: -24px 0 40px; } }

.grid { display: grid; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.light .grid { border-color: var(--line-light); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.cell { padding: 48px 40px 56px 0; border-right: 1px solid var(--line-dark); }
.cell + .cell { padding-left: 40px; }
.cell:last-child { border-right: 0; padding-right: 0; }
.light .cell { border-color: var(--line-light); }
.cell h3 { font: 400 clamp(2rem, 3.4vw, 3.25rem)/1.02 var(--body); letter-spacing: -.05em; }
.cell p { margin-top: 20px; font-size: 16px; line-height: 1.6; max-width: 30em; }
.dark .cell p { color: rgba(255,255,255,.62); }
.cell .big { font: 700 clamp(3rem, 6vw, 5.5rem)/.9 var(--display); letter-spacing: -.06em; }
.cell .meta { margin-top: 16px; font-size: 14px; color: var(--steel); }
.cell a.link { display: inline-block; margin-top: 24px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cell a.link:hover { color: var(--blue); }
.dark .cell a.link:hover { color: var(--chrome); }
@media (max-width: 860px) {
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .cell, .cell + .cell { padding: 36px 0 40px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .light .cell { border-bottom-color: var(--line-light); }
  .cell:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 500 15px/1 var(--body); text-decoration: none; padding: 15px 20px; border: 1px solid transparent; cursor: pointer; transition: background-color .075s var(--ease-out), color .075s var(--ease-out), transform .12s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hi); }
.btn-line { border-color: currentColor; }
.dark .btn-line:hover { background: #fff; color: var(--noir); }
.light .btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.person { padding: 40px 28px 48px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.person:nth-child(3n) { border-right: 0; }
.person .photo { aspect-ratio: 4 / 4.6; background: var(--silver-2); overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(.15); transition: filter .3s var(--ease-out); }
.person:hover .photo img { filter: none; }
.person h3 { margin-top: 24px; font: 400 32px/1.05 var(--body); letter-spacing: -.045em; }
.person .role { margin-top: 8px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.person .note { margin-top: 12px; color: #4A5568; font-size: 15px; }
.person.placeholder .photo { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #DCE1E8 0 10px, #D3D9E2 10px 20px); }
.person.placeholder .photo svg { width: 56px; opacity: .4; }
.person.placeholder h3 { color: var(--steel); }
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr 1fr; }
  .person, .person:nth-child(3n) { padding: 32px 14px 36px; border-right: 0; }
  .person:nth-child(odd) { border-right: 1px solid var(--line-light); }
  .person h3 { font-size: 24px; }
}
@media (max-width: 520px) {
  .people { grid-template-columns: 1fr; }
  .person:nth-child(odd), .person:nth-child(even) { padding: 28px 0 32px; border-right: 0; }
}

/* ---------- Order book (market data keeps deck colors) ---------- */
.book-card { width: 100%; max-width: 560px; background: var(--noir); border: 1px solid var(--line-dark); padding: 24px; font-family: var(--mono); color: #fff; }
.book-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.book-head b { font-size: 13px; letter-spacing: .08em; }
.book-head small { color: var(--steel); font-size: 12px; }
.book { width: 100%; border-collapse: collapse; font-size: 15px; }
.book th { font: 500 12px var(--body); color: var(--steel); text-align: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.book th:first-child { color: var(--bid); } .book th:last-child { color: var(--offer); }
.book td { text-align: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .3s; }
.book td.p-offer { color: var(--offer); } .book td.p-bid { color: var(--bid); }
.book tr.you td { color: var(--gold); font-weight: 600; }
.book tr.you td small { color: var(--gold); opacity: .8; font-size: 11px; margin-left: 4px; }
.book tr.spread-row td { border-bottom: 1px solid rgba(255,255,255,.4); }
.book tr.flash td { background: rgba(245,208,107,.16); }
.book-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.stat-chip { border: 1px solid var(--line-dark); padding: 10px; }
.stat-chip span { display: block; font: 500 11px var(--body); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.stat-chip b { font-size: 18px; }
.stat-chip b.pos { color: var(--bid); } .stat-chip b.neg { color: var(--red); }
@media (max-width: 480px) { .stat-chip b { font-size: 14px; } .book-card { padding: 16px; } }
.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book-actions button { font: 500 14px var(--body); padding: 12px; border: 0; cursor: pointer; transition: transform .12s var(--ease-out), filter .075s; }
.book-actions button:active { transform: scale(.97); }
.book-actions button:hover { filter: brightness(1.08); }
button:disabled { opacity: .4; cursor: not-allowed; }
.hit { background: var(--bid); color: var(--noir); }
.lift { background: var(--offer); color: var(--noir); }
.book-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 12px; font: 13px/1.45 var(--body); color: var(--chrome); }
.book-foot button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font: 500 12px var(--body); padding: 6px 10px; cursor: pointer; flex: none; }
.book-log { min-height: 2.9em; }

/* ---------- Aura heroes: Research and Dev (particle field in a viewfinder) ---------- */
.aura-hero {
  min-height: min(100svh, 980px); padding: calc(var(--nav-h) + 40px) 0 72px; display: flex; align-items: center;
  background: radial-gradient(700px 520px at 74% 52%, rgba(69, 99, 242, .17), transparent 70%), var(--noir);
}
.aura-hero .wrap { width: 100%; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.aura-hero h1 { font: 700 clamp(3.5rem, 8.6vw, 8rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.074em; }
.aura-hero h1 .glow { color: #8FA6FF; text-shadow: 0 0 48px rgba(69, 99, 242, .55); }
.aura-hero .sub { margin: 28px 0 32px; max-width: 420px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.62); }
@media (max-width: 960px) {
  .aura-hero { min-height: 0; }
  .aura-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

.aura { position: relative; width: 100%; }
.aura-stage { position: relative; aspect-ratio: 1.28; }
.aura canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease-out); }
.aura.ready canvas { opacity: 1; }
.aura .rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aura .rings ellipse, .aura .rings line { stroke: rgba(195, 202, 214, .12); fill: none; vector-effect: non-scaling-stroke; }
.aura .corner { position: absolute; width: 16px; height: 16px; border-color: rgba(195, 202, 214, .55); border-style: solid; border-width: 0; pointer-events: none; }
.aura .corner.tl { top: 8%; left: 3%; border-top-width: 1px; border-left-width: 1px; }
.aura .corner.tr { top: 8%; right: 3%; border-top-width: 1px; border-right-width: 1px; }
.aura .corner.bl { bottom: 8%; left: 3%; border-bottom-width: 1px; border-left-width: 1px; }
.aura .corner.br { bottom: 8%; right: 3%; border-bottom-width: 1px; border-right-width: 1px; }
.aura-bar { display: flex; align-items: center; gap: 20px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.aura-bar .count { font: 500 12px var(--mono); color: var(--steel); }
.aura-bar .count b { color: #fff; font-weight: 500; }
.aura-bar .name { font-size: 16px; color: #fff; }
.aura-bar .name.swap { animation: heroReveal .36s var(--ease-out); }
.aura-bar .arrows { margin-left: auto; display: flex; gap: 6px; }
.aura-bar button { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; transition: color .075s var(--ease-out), transform .12s var(--ease-out); }
.aura-bar button:hover { color: #fff; }
.aura-bar button:active { transform: scale(.92); }
.split-media .aura { max-width: 520px; }
.aura .hud { position: absolute; top: 8%; left: 3%; transform: translate(26px, -2px); font: 500 11px/1.6 var(--mono); letter-spacing: .03em; color: var(--steel); white-space: pre; pointer-events: none; }
@media (max-width: 520px) { .aura .hud { font-size: 10px; transform: translate(22px, -2px); } }

.status-band { background: var(--noir-2); color: var(--chrome); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.status-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.status-band .state { display: flex; align-items: center; gap: 12px; font: 500 14px var(--mono); letter-spacing: .02em; }
.status-band .dot { width: 8px; height: 8px; border-radius: 50%; background: #8FA6FF; box-shadow: 0 0 0 0 rgba(143, 166, 255, .6); animation: pulse 2.2s var(--ease-standard) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143,166,255,.55); } 70% { box-shadow: 0 0 0 10px rgba(143,166,255,0); } 100% { box-shadow: 0 0 0 0 rgba(143,166,255,0); } }
.status-band p { font-size: 15px; color: rgba(255,255,255,.62); }
@media (prefers-reduced-motion: reduce) { .status-band .dot { animation: none; } }

/* ---------- Showcase pages: Home, About, GBMs (layout and motion modeled on cluely.com) ---------- */
.c-page { background: #F6F8FB; }
.c-page main { overflow-x: clip; }
.serif { font-family: "EB Garamond", Georgia, serif; }

/* Hero: night-to-horizon sky, centered serif headline */
.c-hero {
  position: relative; color: #fff; text-align: center; display: flow-root;
  padding: calc(var(--nav-h) + 72px) var(--pad) 0;
  background:
    radial-gradient(70% 38% at 50% 100%, rgba(232, 238, 248, .75), rgba(143, 166, 255, .25) 45%, transparent 75%),
    radial-gradient(40% 30% at 82% 78%, rgba(255, 255, 255, .35), transparent 70%),
    linear-gradient(180deg, #070B14 0%, #0B1A45 38%, #1F3FC8 78%, #6F8BF5 100%);
}
.c-hero::after { /* faint horizon line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 150px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.c-hero h1 { font: 500 clamp(3.2rem, 7vw, 5.6rem)/.98 "EB Garamond", Georgia, serif; letter-spacing: -.02em; max-width: 14ch; margin: 0 auto; }
.c-hero .rule { width: min(380px, 60%); height: 1px; margin: 28px auto 24px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.c-hero .sub { max-width: 560px; margin: 0 auto; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.86); letter-spacing: -.01em; }
.c-hero .btn-row { justify-content: center; margin-top: 32px; }
.c-hero .stage { position: relative; z-index: 1; max-width: 1100px; margin: 64px auto -150px; perspective: 1400px; }
.c-hero.short .stage { max-width: 900px; }

.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-pill { border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(43, 75, 224, .9), inset 0 1px 0 rgba(255,255,255,.25); }

/* Word rise (headline) and fade-up (everything after it) */
.w { display: inline-block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; vertical-align: bottom; }
.w > span { display: inline-block; animation: wordRise .55s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wordRise { from { transform: translateY(1.25em); } to { transform: none; } }
.fade-up { animation: fadeUp .6s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js [data-reveal="rise"] { transform: translateY(20px); transition-duration: .7s; transition-timing-function: cubic-bezier(.22, 1, .36, 1); }

/* CTA heartbeat */
.pulse-cta { animation: ctaPulse 3.2s ease-in-out 1.4s infinite; }
@keyframes ctaPulse { 0%, 24%, 100% { transform: scale(1); } 9% { transform: scale(1.065); } 16% { transform: scale(1.035); } }

/* Product-style window that settles flat as it scrolls into view (--tilt set by JS) */
.c-window {
  --tilt: 1;
  border-radius: 14px; overflow: hidden; text-align: left;
  background: rgba(7, 11, 20, .92); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 120px -30px rgba(7, 11, 20, .75), 0 0 0 1px rgba(7,11,20,.4);
  transform: rotateX(calc(var(--tilt) * 14deg)) scale(calc(1 - var(--tilt) * .06)) translateY(calc(var(--tilt) * 24px));
  transform-origin: 50% 0; will-change: transform;
}
.c-window .chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.c-window .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3A4256; }
.c-window .chrome i:nth-child(1) { background: #FF5F57; } .c-window .chrome i:nth-child(2) { background: #FEBC2E; } .c-window .chrome i:nth-child(3) { background: #28C840; }
.c-window .chrome span { margin-left: 10px; font: 500 12px var(--mono); color: var(--steel); }
.c-window .body { padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.c-window .book-card { max-width: none; border: 0; padding: 0; background: none; }
.c-window .aside h3 { font: 500 26px/1.15 var(--body); letter-spacing: -.03em; color: #fff; }
.c-window .aside p { margin-top: 12px; color: rgba(255,255,255,.62); font-size: 15px; }
.c-window .big-stat { text-align: center; padding: 36px 16px; border-radius: 16px; background: radial-gradient(70% 70% at 50% 50%, rgba(69,99,242,.28), transparent 75%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.c-window .big-stat b { display: block; font: 500 clamp(3rem, 6vw, 4.6rem)/1 "EB Garamond", Georgia, serif; color: #fff; letter-spacing: -.02em; }
.c-window .big-stat span { display: block; margin-top: 12px; font: 500 13px var(--mono); color: var(--chrome); }
.c-window .aside .kbd { display: inline-flex; gap: 6px; margin-top: 20px; }
.c-window .aside .kbd span { font: 500 12px var(--mono); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 4px 8px; background: rgba(255,255,255,.05); }
@media (max-width: 860px) { .c-window .body { grid-template-columns: 1fr; padding: 18px; } .c-hero { padding-top: calc(var(--nav-h) + 48px); } }

/* Agenda window (GBMs) */
.agenda { padding: 8px 0; }
.agenda .when { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.agenda .when b { font: 500 28px/1.1 var(--body); letter-spacing: -.03em; color: #fff; }
.agenda .when span { font: 500 13px var(--mono); color: var(--steel); }
.agenda .item { display: grid; grid-template-columns: 28px 1fr auto; gap: 16px; align-items: center; padding: 18px 28px; border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; }
.agenda .item:last-child { border-bottom: 0; }
.agenda .item .n { font: 500 13px var(--mono); color: var(--steel); }
.agenda .item b { font-weight: 500; font-size: 17px; }
.agenda .item p { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 2px; }
.agenda .item .chip { font: 500 11px var(--mono); padding: 4px 8px; border-radius: 6px; background: rgba(69, 99, 242, .2); color: #AFC0FF; }

/* Sections */
.c-section { padding: 128px var(--pad); max-width: 1240px; margin: 0 auto; }
.c-section.first { padding-top: 260px; }
.c-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.c-head.left { text-align: left; margin-left: 0; }
.c-head h2 {
  display: inline-block; font: 500 clamp(2.1rem, 4.4vw, 3.5rem)/1.12 var(--body); letter-spacing: -.035em;
  background: linear-gradient(90deg, #0A1A3F, #5E6B8A); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.c-head p { margin-top: 14px; font-size: 18px; color: #6B7488; }
@media (max-width: 760px) { .c-section { padding: 88px var(--pad); } .c-section.first { padding-top: 220px; } .c-head { margin-bottom: 44px; } }

/* Cards: visual panel on top, bold lead + grey caption below */
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.c-cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .c-cards, .c-cards.two { grid-template-columns: 1fr; gap: 48px; } }
.c-card { display: block; color: inherit; }
a.c-card .panel { transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1); }
a.c-card:hover .panel { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(10,26,63,.45); }
.c-card .panel {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1.05; padding: 22px;
  background: linear-gradient(160deg, #DCE3EE 0%, #EEF1F6 60%, #E4E9F2 100%);
  border: 1px solid rgba(10, 26, 63, .06); display: grid; place-items: center;
}
.c-card .panel.night { background: radial-gradient(70% 60% at 50% 50%, rgba(69,99,242,.22), transparent 70%), #0B1226; border-color: rgba(255,255,255,.06); }
.c-card .panel.blue { background: linear-gradient(170deg, #2B4BE0 0%, #6F8BF5 100%); color: #fff; }
.c-card .panel.photo { padding: 0; }
.c-card .panel.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.c-card .cap { margin-top: 22px; font-size: 19px; line-height: 1.5; letter-spacing: -.015em; color: #7A8296; }
.c-card .cap b { color: #0A1A3F; font-weight: 500; }
.c-card .cap .role { display: block; margin-top: 4px; font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.c-card .panel .aura { width: 100%; }
.c-card .panel .aura-stage { aspect-ratio: 1.05; }

/* Mini visuals inside cards */
.mini-book { width: 86%; background: rgba(7,11,20,.9); border-radius: 14px; padding: 14px 16px; font: 500 13px var(--mono); color: #fff; box-shadow: 0 20px 50px -20px rgba(7,11,20,.6); }
.mini-book .r { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .4s; }
.mini-book .r:last-child { border-bottom: 0; }
.mini-book .r.flash { background: rgba(245, 208, 107, .16); }
.mini-book .o { color: var(--offer); } .mini-book .b { color: var(--bid); }
.mini-book .r.mid { border-bottom-color: rgba(255,255,255,.35); }
.mini-slide { width: 86%; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px -24px rgba(10,26,63,.45); overflow: hidden; }
.mini-slide .top { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #EEF1F6; }
.mini-slide .top i { width: 8px; height: 8px; border-radius: 50%; background: #D3D9E2; }
.mini-slide .content { padding: 18px 18px 22px; display: grid; gap: 10px; }
.mini-slide .bar { height: 9px; border-radius: 5px; background: #E4E8EE; }
.mini-slide .bar.t { height: 14px; width: 62%; background: #0A1A3F; opacity: .85; }
.mini-slide .bar.a { background: linear-gradient(90deg, #2B4BE0, #8FA6FF); width: 0; animation: barFill 2.8s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes barFill { 0% { width: 0; } 60%, 100% { width: 78%; } }
.mini-quote { text-align: center; color: #fff; }
.mini-quote .q { font: 500 13px var(--mono); opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.mini-quote .m { margin-top: 14px; font: 600 clamp(28px, 3.2vw, 40px)/1 var(--mono); display: flex; gap: 14px; justify-content: center; align-items: baseline; }
.mini-quote .m small { font-size: 14px; opacity: .7; font-weight: 500; }
.mini-quote .wave { display: flex; gap: 4px; justify-content: center; align-items: center; height: 56px; margin-top: 22px; }
.mini-quote .wave i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.75); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: 44px; } }

/* Stats rows */
.c-stats { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .c-stats { grid-template-columns: 1fr; gap: 24px; } }
.c-stats .rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid rgba(10,26,63,.1); }
.c-stats .rows > div:first-child { padding-top: 8px; }
.c-stats .num { font: 400 clamp(2.6rem, 4.4vw, 3.4rem)/1 var(--body); letter-spacing: -.04em; color: #0A1A3F; }
.c-stats h3 { font: 400 28px/1.15 var(--body); letter-spacing: -.03em; color: #0A1A3F; }
.c-stats p { margin-top: 10px; color: #7A8296; font-size: 16px; }
@media (max-width: 560px) { .c-stats .rows > div { grid-template-columns: 1fr; gap: 10px; } }

/* FAQ accordion */
.faq { border-top: 1px solid rgba(10,26,63,.1); }
.faq details { border-bottom: 1px solid rgba(10,26,63,.1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 20px/1.3 var(--body); letter-spacing: -.02em; color: #0A1A3F; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .3s cubic-bezier(.22,1,.36,1); color: var(--steel); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .ans { overflow: hidden; height: 0; transition: height .35s cubic-bezier(.22,1,.36,1); }
.faq .ans p { padding: 0 0 24px; max-width: 680px; color: #6B7488; font-size: 17px; }

/* Closing CTA */
.c-cta { text-align: center; padding: 120px var(--pad) 140px; background: radial-gradient(60% 80% at 50% 100%, rgba(143,166,255,.35), transparent 70%), #F6F8FB; }
.c-cta h2 { font: 500 clamp(2.4rem, 5vw, 4rem)/1.05 "EB Garamond", Georgia, serif; letter-spacing: -.02em; color: #0A1A3F; max-width: 18ch; margin: 0 auto; }
.c-cta p { margin: 18px auto 32px; color: #6B7488; font-size: 18px; max-width: 520px; }
.c-cta .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .w > span, .fade-up, .pulse-cta, .mini-slide .bar.a, .mini-quote .wave i { animation: none; }
  .c-window { transform: none; }
  .faq .ans { transition: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--noir); color: rgba(255,255,255,.58); padding: 72px 0 40px; font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.site-footer .brand img { width: 56px; height: 56px; }
.site-footer .brand span { font-size: 24px; color: #fff; }
.site-footer .tagline { margin-top: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.foot-right .handle { font-size: 18px; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.site-footer a { text-decoration: none; transition: color .075s var(--ease-out); }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-bottom a { color: #fff; }
@media (max-width: 760px) { .foot-right { align-items: flex-start; } .foot-links { justify-content: flex-start; } }
