/* ════════════════════════════════════════════════════════════════════════════
   LATTICE — index.css
   Stylesheet for the landing page (root).
   Built on the Liquid Glass design system. See assets/css/tokens.css.
   ════════════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────
   TOKENS — Color, type, layout, and Liquid Glass tokens
   ────────────────────────────────────────────────────────────────── */
:root {
    --bg:        #0a0908;
    --bg-soft:   #12100e;
    --bg-card:   #161310;
    --ink:       #f5f1eb;
    --ink-soft:  #a8a29a;
    --ink-mute:  #9b9489;
    --line:      rgba(245, 241, 235, 0.08);
    --line-strong: rgba(245, 241, 235, 0.18);
    --accent:    #c4f542;
    --accent-deep: #9bc62a;
    --accent-glow: rgba(196, 245, 66, 0.35);
    --warn:      #ff7849;

    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans:  'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --mono:  'JetBrains Mono', ui-monospace, monospace;

    --maxw: 1320px;
    --gutter: clamp(1.25rem, 3vw, 2.5rem);

    /* ====== Liquid Glass tokens (Apple-style) ====== */
    --lg-radius-sm:    10px;
    --lg-radius:       18px;
    --lg-radius-lg:    26px;
    --lg-radius-pill:  999px;

    --lg-bg:           rgba(20, 17, 15, 0.42);
    --lg-bg-light:     rgba(245, 241, 235, 0.05);
    --lg-bg-strong:    rgba(20, 17, 15, 0.62);
    --lg-border:       rgba(245, 241, 235, 0.14);
    --lg-border-strong: rgba(245, 241, 235, 0.24);

    --lg-blur:         blur(20px) saturate(180%);
    --lg-blur-lg:      blur(28px) saturate(200%);

    /* Two-part shadow: top inner highlight (specular) + outer lift */
    --lg-shadow:
      inset 0 1px 0 rgba(245, 241, 235, 0.10),
      inset 0 -1px 0 rgba(0, 0, 0, 0.20),
      0 8px 32px rgba(0, 0, 0, 0.40);
    --lg-shadow-lg:
      inset 0 1px 0 rgba(245, 241, 235, 0.12),
      inset 0 -1px 0 rgba(0, 0, 0, 0.25),
      0 18px 50px rgba(0, 0, 0, 0.50);
    --lg-accent-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15),
      0 6px 22px rgba(196, 245, 66, 0.28);
    --lg-accent-shadow-hover:
      inset 0 1px 0 rgba(255, 255, 255, 0.30),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15),
      0 14px 44px rgba(196, 245, 66, 0.45);
  }

/* ──────────────────────────────────────────────────────────────────
   RESET — Universal box-sizing / margin / padding
   ────────────────────────────────────────────────────────────────── */
  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    overflow-x: hidden;
    cursor: none;
  }
  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none; z-index: 100;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  }
  body::after {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    background: radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 45%, rgba(10, 9, 8, 0.85) 100%);
  }

/* ──────────────────────────────────────────────────────────────────
   SELECTION — Lime selection over warm-black
   ────────────────────────────────────────────────────────────────── */
  ::selection { background: var(--accent); color: var(--bg); }

  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: none; cursor: none; }

  /* ============ CUSTOM CURSOR ============ */
  .cursor-dot, .cursor-ring {
    position: fixed; pointer-events: none; z-index: 9999;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
  }
  .cursor-dot {
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid rgba(245, 241, 235, 0.4);
    border-radius: 50%;
    transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
  }
  .cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--accent);
    background: rgba(196, 245, 66, 0.06);
  }

  /* ============ NAV — floating liquid glass pill ============ */

/* ──────────────────────────────────────────────────────────────────
   NAVIGATION — Floating Liquid Glass pill nav
   ────────────────────────────────────────────────────────────────── */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; justify-content: center;
    padding: 1rem var(--gutter);
    pointer-events: none;
  }
  .nav-pill {
    pointer-events: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    width: 100%; max-width: 1100px;
    padding: 0.55rem 0.7rem 0.55rem 1.4rem;
    background: var(--lg-bg);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius-pill);
    box-shadow: var(--lg-shadow);
    transition: padding 0.35s cubic-bezier(.2,.7,.2,1), background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.4s;
  }
  .nav.scrolled .nav-pill {
    padding-top: 0.45rem; padding-bottom: 0.45rem;
    background: var(--lg-bg-strong);
    border-color: var(--lg-border-strong);
    box-shadow: var(--lg-shadow-lg);
    transform: translateY(-2px);
  }

  .nav-brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    text-transform: uppercase;
  }
  .nav-mark {
    width: 22px; height: 22px;
    position: relative;
  }
  .nav-mark::before, .nav-mark::after {
    content: ""; position: absolute; inset: 0;
    border: 1.5px solid var(--ink);
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1), border-color 0.3s;
  }
  .nav-mark::after {
    transform: rotate(45deg) scale(0.7);
    border-color: var(--accent);
  }
  .nav-brand:hover .nav-mark::before { transform: rotate(45deg); }
  .nav-brand:hover .nav-mark::after { transform: rotate(0deg) scale(1); }

  .nav-links {
    display: flex; gap: 2.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-soft);
  }
  .nav-link {
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s;
  }
  .nav-link::after {
    content: ""; position: absolute;
    bottom: 0; left: 0;
    height: 1px; width: 100%;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
  }
  .nav-link:hover { color: var(--ink); }
  .nav-link:hover::after { transform: scaleX(1); }

  .nav-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1.05rem;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    border: 1px solid rgba(196, 245, 66, 0.5);
    border-radius: 999px;
    box-shadow: var(--lg-accent-shadow);
    transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.4s;
    position: relative; overflow: hidden;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--lg-accent-shadow-hover);
  }
  .nav-cta-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  .nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }

  @media (max-width: 720px) {
    .nav-links { display: none; }
  }

  /* ============ HERO ============ */

/* ──────────────────────────────────────────────────────────────────
   HERO — 3D canvas slot, veil, headline, eyebrow, sub
   ────────────────────────────────────────────────────────────────── */
  .hero {
    position: relative;
    min-height: 100vh;
    padding: clamp(7rem, 12vh, 10rem) var(--gutter) 4rem;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
  }

  #hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
  }

  .hero-vignette {
    position: absolute; inset: 0; z-index: 1;
    background:
      radial-gradient(ellipse at 30% 50%, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0) 55%),
      linear-gradient(180deg, rgba(10,9,8,0) 0%, rgba(10,9,8,0.4) 100%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative; z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.55rem 0.95rem 0.55rem 0.85rem;
    background: var(--lg-bg);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius-pill);
    box-shadow: var(--lg-shadow);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 2.2rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.2s cubic-bezier(.2,.7,.2,1) forwards;
    width: fit-content;
  }
  .hero-eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--accent-glow);
    animation: pulse 2.4s ease-in-out infinite;
  }
  .hero-eyebrow .pipe {
    width: 1px; height: 12px;
    background: var(--ink-mute);
  }

  .hero-headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 9vw, 8.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 13ch;
    color: var(--ink);
  }
  .hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero-headline .word:nth-child(1) { animation-delay: 0.35s; }
  .hero-headline .word:nth-child(2) { animation-delay: 0.45s; }
  .hero-headline .word:nth-child(3) { animation-delay: 0.55s; }
  .hero-headline .word:nth-child(4) { animation-delay: 0.65s; }
  .hero-headline .word:nth-child(5) { animation-delay: 0.75s; }
  .hero-headline .word:nth-child(6) { animation-delay: 0.85s; }

  .hero-headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    font-feature-settings: "ss01", "ss02";
    position: relative;
  }

  .hero-sub {
    margin-top: 2.5rem;
    max-width: 44ch;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.55;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s 1s cubic-bezier(.2,.7,.2,1) forwards;
  }

  .hero-actions {
    margin-top: 2.5rem;
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center;
    opacity: 0;
    animation: fadeUp 1s 1.15s cubic-bezier(.2,.7,.2,1) forwards;
  }

/* ──────────────────────────────────────────────────────────────────
   BUTTONS — Lime pill primary CTA + variants
   ────────────────────────────────────────────────────────────────── */
  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 1.05rem 1.7rem;
    background: var(--accent);
    color: var(--bg);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(196, 245, 66, 0.5);
    border-radius: var(--lg-radius-pill);
    box-shadow: var(--lg-accent-shadow);
    position: relative; overflow: hidden;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
  }
  .btn-primary:hover {
    box-shadow: var(--lg-accent-shadow-hover);
    transform: translateY(-2px);
  }
  .btn-primary svg { transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
  .btn-primary:hover svg { transform: translate(4px, -4px); }

  .btn-ghost {
    display: inline-flex; align-items: center; gap: 0.7rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 1.05rem 0;
    position: relative;
  }
  .btn-ghost::before {
    content: "";
    position: absolute;
    bottom: 0.85rem; left: 0; right: 0;
    height: 1px;
    background: var(--ink-mute);
    transform: scaleX(1); transform-origin: right;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  }
  .btn-ghost:hover::before {
    transform: scaleX(0); transform-origin: right;
  }
  .btn-ghost::after {
    content: "";
    position: absolute;
    bottom: 0.85rem; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s 0.1s cubic-bezier(.2,.7,.2,1);
  }
  .btn-ghost:hover::after {
    transform: scaleX(1); transform-origin: left;
  }

  /* hero meta strip */

/* ──────────────────────────────────────────────────────────────────
   HERO META — Mono editorial signature line at the bottom
   ────────────────────────────────────────────────────────────────── */
  .hero-meta {
    position: absolute;
    left: var(--gutter); right: var(--gutter); bottom: 2.2rem;
    z-index: 2;
    display: flex; justify-content: space-between; align-items: flex-end;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    opacity: 0;
    animation: fadeUp 1.2s 1.5s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero-meta .scroll {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  }
  .scroll-line {
    width: 1px; height: 28px;
    background: linear-gradient(to bottom, transparent, var(--ink-mute) 50%, transparent);
    background-size: 100% 200%;
    animation: scrollPulse 2s ease-in-out infinite;
  }

/* ──────────────────────────────────────────────────────────────────
   KEYFRAMES — Animation definitions
   ────────────────────────────────────────────────────────────────── */
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }
  @keyframes scrollPulse {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ============ MARQUEE ============ */
  .marquee {
    position: relative; z-index: 5;
    background: var(--lg-bg-light);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border-top: 1px solid var(--lg-border);
    border-bottom: 1px solid var(--lg-border);
    box-shadow: inset 0 1px 0 rgba(245, 241, 235, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 1.4rem 0;
  }
  .marquee-track {
    display: flex; gap: 4rem;
    width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    align-items: center;
  }
  .marquee-track span { display: inline-flex; align-items: center; gap: 4rem; }
  .marquee-track .star {
    color: var(--accent);
    font-size: 0.6rem;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ============ SECTIONS ============ */
  section { position: relative; z-index: 5; }

/* ──────────────────────────────────────────────────────────────────
   LAYOUT — Container max-width and gutter
   ────────────────────────────────────────────────────────────────── */
  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  .section {
    padding: clamp(5rem, 12vh, 9rem) 0;
  }

  .section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    flex-wrap: wrap; gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .section-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .section-label::before {
    content: "§ ";
    color: var(--accent);
  }
  .section-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    letter-spacing: -0.02em;
    line-height: 1;
    max-width: 14ch;
  }
  .section-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 300;
  }
  .section-aside {
    max-width: 38ch;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* ============ CURRICULUM ============ */
  .curriculum-list {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--line);
  }
  .track {
    display: grid;
    grid-template-columns: 80px 1fr 2fr 80px;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    position: relative;
    transition: padding 0.5s cubic-bezier(.2,.7,.2,1);
  }
  .track::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 245, 66, 0.04) 50%, transparent);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }
  .track:hover::before { opacity: 1; }
  .track:hover { padding-left: 1.2rem; padding-right: 1.2rem; }

  .track-num {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
  }
  .track-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color 0.4s, transform 0.5s cubic-bezier(.2,.7,.2,1);
  }
  .track:hover .track-name { color: var(--accent); }
  .track-desc {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 50ch;
  }
  .track-arrow {
    justify-self: end;
    color: var(--ink-mute);
    transition: color 0.4s, transform 0.5s cubic-bezier(.2,.7,.2,1);
  }
  .track:hover .track-arrow {
    color: var(--accent);
    transform: translate(8px, -8px);
  }

  @media (max-width: 820px) {
    .track {
      grid-template-columns: 50px 1fr 40px;
    }
    .track-desc { grid-column: 2 / 3; }
  }

  /* ============ FACULTY ============ */
  .faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  @media (max-width: 900px) {
    .faculty-grid { grid-template-columns: 1fr; }
  }
  .faculty-card {
    border: 1px solid var(--lg-border);
    background: var(--lg-bg-light);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border-radius: var(--lg-radius);
    box-shadow: var(--lg-shadow);
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s, transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s, background 0.4s;
  }
  .faculty-card:hover {
    border-color: rgba(196, 245, 66, 0.35);
    background: rgba(196, 245, 66, 0.04);
    transform: translateY(-6px);
    box-shadow: var(--lg-shadow-lg);
  }
  .faculty-portrait {
    border-radius: var(--lg-radius-sm);
  }
  .faculty-portrait {
    width: 100%; aspect-ratio: 4 / 5;
    background: var(--bg-soft);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .faculty-portrait::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 0;
    background:
      radial-gradient(circle at 30% 30%, rgba(196, 245, 66, 0.18), transparent 50%),
      radial-gradient(circle at 70% 70%, rgba(255, 120, 73, 0.12), transparent 50%),
      linear-gradient(135deg, #1a1714 0%, #0c0a09 100%);
  }
  .faculty-portrait img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    z-index: 2;
    filter: grayscale(0.92) contrast(1.05) brightness(0.78) sepia(0.18);
    transition: filter 0.9s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1);
  }
  .faculty-card:hover .faculty-portrait img {
    filter: grayscale(0.25) contrast(1.05) brightness(0.95) sepia(0);
    transform: scale(1.04);
  }
  .faculty-portrait::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image:
      linear-gradient(0deg, rgba(245, 241, 235, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(245, 241, 235, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    mix-blend-mode: overlay;
  }
  .faculty-portrait .corner {
    position: absolute;
    width: 14px; height: 14px;
    border: 1px solid var(--accent);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s, transform 0.6s cubic-bezier(.2,.7,.2,1);
  }
  .faculty-portrait .corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
  .faculty-portrait .corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
  .faculty-card:hover .corner { opacity: 1; }
  .faculty-card:hover .corner.tl { transform: translate(-3px, -3px); }
  .faculty-card:hover .corner.br { transform: translate(3px, 3px); }
  .faculty-initials {
    position: absolute; inset: 0;
    z-index: 1;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--ink);
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(196, 245, 66, 0.2);
  }

  .faculty-meta {
    display: flex; justify-content: space-between; align-items: baseline;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 0.8rem;
  }
  .faculty-name {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
  }
  .faculty-role {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 1rem;
  }
  .faculty-bio {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  /* ============ STATS ============ */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  @media (max-width: 720px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
  }
  .stat {
    padding: 2.4rem 1.5rem;
    background: var(--lg-bg-light);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    box-shadow: var(--lg-shadow);
    position: relative;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.4s, background 0.4s;
  }
  .stat:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 245, 66, 0.35);
    background: rgba(196, 245, 66, 0.04);
  }
  .stat-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 0.75rem;
  }
  .stat-num em {
    font-style: italic;
    color: var(--accent);
  }
  .stat-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  /* ============ TESTIMONIAL ============ */
  .quote {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: left;
  }
  .quote-mark {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(6rem, 14vw, 13rem);
    line-height: 0.6;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }
  .quote-text {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
    max-width: 22ch;
  }
  .quote-text em {
    font-style: normal;
    color: var(--accent);
  }
  .quote-attr {
    margin-top: 2.5rem;
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .quote-attr .dash {
    width: 28px; height: 1px;
    background: var(--accent);
  }

  /* ============ CTA ============ */

/* ──────────────────────────────────────────────────────────────────
   CTA — Bottom call-to-action section
   ────────────────────────────────────────────────────────────────── */
  .cta {
    border-top: 1px solid var(--line);
    padding: clamp(5rem, 12vh, 8rem) 0;
    position: relative; overflow: hidden;
  }
  .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(196, 245, 66, 0.08), transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(255, 120, 73, 0.04), transparent 50%);
    pointer-events: none;
  }
  .cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: end;
  }
  @media (max-width: 820px) {
    .cta-inner { grid-template-columns: 1fr; }
  }
  .cta-headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .cta-headline em {
    font-style: italic;
    color: var(--accent);
  }
  .cta-deadline {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: flex; align-items: center; gap: 0.7rem;
    margin-top: 2rem;
  }
  .cta-deadline strong {
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
  .cta-aside {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36ch;
  }
  .cta-aside .btn-primary { margin-top: 1.8rem; }

  /* ============ FOOTER ============ */

/* ──────────────────────────────────────────────────────────────────
   FOOTER — Mono uppercase footer strip
   ────────────────────────────────────────────────────────────────── */
  footer {
    border-top: 1px solid var(--line);
    padding: 4rem var(--gutter) 2rem;
    position: relative; z-index: 5;
    background: var(--bg);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--maxw);
    margin: 0 auto 4rem;
  }
  @media (max-width: 820px) {
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  }
  .foot-brand {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .foot-tag {
    font-size: 0.85rem;
    color: var(--ink-soft);
    max-width: 30ch;
  }
  .foot-col h3, .foot-col h4 {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 1.2rem;
    font-weight: 400;
  }
  .foot-col ul { list-style: none; }
  .foot-col li {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
    transition: color 0.3s, transform 0.4s;
  }
  .foot-col li:hover { color: var(--accent); transform: translateX(4px); }

  .foot-base {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  /* big footer mark */
  .foot-watermark {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(8rem, 28vw, 24rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 241, 235, 0.08);
    text-align: center;
    user-select: none;
    pointer-events: none;
    margin-top: 2rem;
    overflow: hidden;
    white-space: nowrap;
  }

  /* ============ HOVERABLE LINK CLASS for cursor ============ */
  a, button, .track, .faculty-card { cursor: none; }

  /* ============ Reduce motion ============ */

/* ──────────────────────────────────────────────────────────────────
   REDUCED MOTION — Disable animations + restore system cursor
   ────────────────────────────────────────────────────────────────── */
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
    a, button, .track, .faculty-card { cursor: pointer; }
  }
