
    :root {
      --ink: #12151b;
      --ink-2: #1b2029;
      --paper: #ece3cc;
      --paper-2: #e2d6b3;
      --paper-line: rgba(28, 27, 23, 0.14);
      --brass: #b8863b;
      --brass-light: #e003e8;
      --pine: #3f5c4e;
      --green: #008c48;
      --rust: #8c3b2e;
      --red: #ff2200;
      --text-ink: #1c1b17;
      --text-light: #ede6d3;
      --text-muted: rgba(237, 230, 211, 0.62);
      --text-muted-ink: rgba(28, 27, 23, 0.6);
      --radius: 3px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--ink);
      color: var(--text-light);
      font-family: 'Newsreader', serif;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
    }

    .ph {
      color: purple;
    }

    .mono {
      font-family: 'IBM Plex Mono', monospace;
      letter-spacing: 0.04em;
    }

    /* ---------- HERO ---------- */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 8vh 8vw 10vh;
      overflow: hidden;
      background-image: url("./f1.jpg");
      z-index: 0;
      background-position: center;
      image-rendering: pixelated;
      background-size:cover;
      background-repeat: no-repeat;
      /* background:
        radial-gradient(ellipse at 15% 10%, rgba(184, 134, 59, 0.10), transparent 45%),
        radial-gradient(ellipse at 85% 90%, rgba(63, 92, 78, 0.14), transparent 50%),
        var(--ink); */
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(237, 230, 211, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 230, 211, 0.035) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
      pointer-events: none;
    }

    .kicker {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.24em;
      text-transform: titlecase;
      color: var(--brass-light);
      display: flex;
      align-items: center;
      justify-content: end;
      gap: 14px;
      margin-bottom: 2.2rem;
      z-index: 1;
    }

    .kicker::before {
      content: "";
      width: 34px;
      height: 1px;
      background: var(--brass-light);
      display: inline-block;
    }

    .hero h1 {
      font-family: 'Fraunces', serif;
      color: #cdf700;
     text-shadow: 3px 2px 6px #0063dd;
      font-weight: 600;
      display: flex;
      justify-content: center;
      font-style: normal;
      font-size: clamp(3.6rem, 11vw, 8.5rem);
      line-height: 0.92;
      margin: 0;
      z-index: 1;
      letter-spacing: -0.01em;
    }

    .hero h1 .amp {
      font-style: italic;
      font-weight: 500;
      color: var(--brass-light);
      padding: 0 0.08em;
    }

    .hero-sub {
      display: flex;
      justify-content: center;
      max-width: 620px;
      margin-top: 2.4rem;
      font-size: 1.18rem;
      line-height: 1.65;
      color: var(--text-muted);
      z-index: 1;
      font-style: italic;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 2.6rem;
      margin-top: 3.4rem;
      z-index: 1;
      border-top: 1px solid rgba(237, 230, 211, 0.14);
      padding-top: 1.6rem;
      max-width: 720px;
    }

    .hero-meta div {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
    }

    .hero-meta div span {
      display: block;
      text-transform: uppercase;
      color: var(--text-muted);
      font-size: 0.62rem;
      margin-bottom: 0.4rem;
      letter-spacing: 0.16em;
    }

    .hero-meta div strong {
      color: var(--text-light);
      font-weight: 500;
      font-size: 0.85rem;
    }

    .scroll-cue {
      position: absolute;
      bottom: 3.2rem;
      left: 8vw;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .scroll-cue .line {
      width: 1px;
      height: 34px;
      background: linear-gradient(var(--brass-light), transparent);
      animation: pulse 2.4s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 0.25
      }

      50% {
        opacity: 1
      }
    }

    /* ---------- SECTION SHELLS ---------- */
    section {
      z-index: 0;
      /* position: relative; */
    }
    div{
      z-index: 0;
    }
    .section-head {
      padding: 6rem 8vw 1rem;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .section-head .tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--brass-light);
      margin-bottom: 0.9rem;
      display: block;
    }

    .section-head h2 {
      font-family: 'Fraunces', serif;
      font-weight: 600;
      font-size: clamp(2.1rem, 4.4vw, 3.4rem);
      margin: 0;
      line-height: 1.05;
    }

    .section-head p {
      max-width: 360px;
      color: var(--text-muted);
      font-size: 0.98rem;
      line-height: 1.6;
      margin: 0;
    }

    #roster .section-head p,
    #pattern .section-head p {
      color: var(--text-muted-ink);
    }

    /* ---------- ROSTER (PAPER) ---------- */
    #roster {
      background: var(--paper);
      color: var(--text-ink);
    }

    #roster .section-head .tag {
      color: var(--rust);
    }

    .legend {
      display: flex;
      gap: 1.6rem;
      flex-wrap: wrap;
      padding: 0 8vw 3rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted-ink);
    }

    .legend span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .legend i {
      width: 10px;
      height: 10px;
      border-radius: 2px;
      display: inline-block;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.6rem;
      padding: 0 8vw 7rem;
    }

    .card {
      position: relative;
      /* background: var(--paper); */
      border: 1px solid var(--paper-line);
      border-radius: var(--radius);
      padding: 1.9rem 1.7rem 1.7rem;
      box-shadow: 0 1px 0 rgba(28, 27, 23, 0.05), 0 14px 26px -20px rgba(28, 27, 23, 0.4);
      transition: transform .35s ease, box-shadow .35s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 22px 36px -22px rgba(28, 27, 23, 0.45);
    }

    .tab {
      position: absolute;
      top: -11px;
      left: 22px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.64rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--paper);
      padding: 3px 10px 4px;
      border-radius: 2px;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
    }

    .card-num {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      color: var(--text-muted-ink);
      margin: 0.5rem 0 0.9rem;
    }

    .card h3 {
      font-family: 'Fraunces', serif;
      font-weight: 600;
      font-size: 1.5rem;
      margin: 0 0 0.15rem;
      line-height: 1.15;
    }

    .card .role {
      font-size: 0.92rem;
      font-style: italic;
      color: var(--rust);
      margin: 0 0 1.1rem;
    }

    .fact {
      display: flex;
      gap: 0.9rem;
      padding: 0.55rem 0;
      border-top: 1px dashed var(--paper-line);
      font-size: 0.86rem;
    }

    .fact:first-of-type {
      border-top: 1px solid var(--paper-line);
      margin-top: 0.2rem;
    }

    .fact .label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted-ink);
      min-width: 88px;
      padding-top: 2px;
    }

    .fact .value {
      line-height: 1.4;
    }

    .why-note {
      margin-top: 1.1rem;
      padding-top: 0.9rem;
      border-top: 1px solid var(--paper-line);
      font-family: 'Caveat', cursive;
      font-size: 1.18rem;
      line-height: 1.3;
      color: var(--pine);
    }

    .why-note::before {
      content: "→ ";
    }

    .pin {
      position: absolute;
      top: -9px;
      right: 22px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, #e8b866, var(--brass));
      box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
    }

    /* category colors */
    .cat-eng .tab {
      background: var(--pine);
    }

    .cat-eng .pin {
      background: radial-gradient(circle at 35% 30%, #6f8f7e, var(--pine));
    }

    .cat-phys .tab {
      background: var(--brass);
    }

    .cat-other .tab {
      background: var(--rust);
    }

    .cat-other .pin {
      background: radial-gradient(circle at 35% 30%, #b56352, var(--rust));
    }

    /* ---------- PATTERN / WHY (INK) ---------- */
    #pattern {
      background: var(--ink-2);
      color: var(--text-light);
    }

    #pattern .section-head p {
      color: var(--text-muted);
    }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 1px;
      background: rgba(237, 230, 211, 0.12);
      margin: 0 8vw 5rem;
      border: 1px solid rgba(237, 230, 211, 0.12);
    }

    .stat {
      background: var(--ink-2);
      padding: 2.2rem 1.6rem;
    }

    .stat .num {
      font-family: 'Fraunces', serif;
      font-weight: 600;
      font-size: 2.8rem;
      color: var(--brass-light);
      line-height: 1;
    }

    .stat .lbl {
      margin-top: 0.7rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .thesis {
      padding: 0 8vw 7rem;
      display: grid;
      font-family:cursive;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }

    .thesis p {
      font-size:large;
      /* line-height: 1; */
      color: var(--text-muted);
      margin: 0 0 0rem;
    }
    .school{
      margin: 0.12em 0.1em 0 0;
    }
    .school p {
      padding: 0 7rem;
      font-family: sans-serif;
      color: var(--text-muted);
    }
    .school p strong{
      color: #e8b866;
    }
    .school h1 {
      padding: 0 7rem;
      color: var(--text-muted);
    }

    .thesis p strong {
      color: var(--text-light);
      font-weight: 600;
    }

    .thesis .drop {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-weight: 500;
      font-size: 3.2rem;
      float: left;
      line-height: 0.8;
      margin: 0.12em 0.1em 0 0;
      color: var(--brass-light);
    }

    @media (max-width: 820px) {
      .thesis {
        grid-template-columns: 1fr;
      }
    }

    /* ---------- FOOTER ---------- */
    footer {
      background: var(--ink);
      padding: 4.5rem 8vw 3rem;
      border-top: 1px solid rgba(237, 230, 211, 0.1);
    }

    footer .foot-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 2rem;
    }

    footer h4 {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-weight: 500;
      font-size: 1.7rem;
      margin: 0 0 0.6rem;
      color: var(--text-light);
    }

    footer .foot-note {
      max-width: 460px;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    footer .status {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--brass-light);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    footer .status i {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--pine);
      box-shadow: 0 0 0 3px rgba(63, 92, 78, 0.25);
      display: inline-block;
      animation: pulse 2s ease-in-out infinite;
    }

    footer .fine {
      margin-top: 3rem;
      padding-top: 1.6rem;
      border-top: 1px solid rgba(237, 230, 211, 0.08);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.66rem;
      letter-spacing: 0.06em;
      color: rgba(237, 230, 211, 0.35);
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        transition: none !important;
      }
    }

    ::selection {
      background: var(--brass);
      color: var(--ink);
    }

    :focus-visible {
      outline: 2px solid var(--brass-light);
      outline-offset: 3px;
    }
    .green {
      color: var(--green);
      font-weight: 600;
    }
    .red {
      color: var(--red);
      font-weight: 600;
    }
    .orange {
      font-weight: 600;
      color: var(--brass-light);
    }