    /* ============================================================
       Syra Singh — portfolio (v2)
       Quietly considered. Almost-white. No decoration.
       ============================================================ */

    :root {
      --bg:        #FAFAF7;
      --ink:       #0F0F10;
      --ink-2:     #2A2A2C;
      --muted:     #7A7A7C;
      --soft:      #B5B5B6;
      --line:      #E5E2D8;
      --surface:   #F2F0EA;
      --surface-2: #ECE9DF;
      --accent:    #B8543A;      /* terracotta — used SPARINGLY */
      --accent-2:  #F5EDE9;      /* terracotta-tinted highlight */

      --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
      --sans:  'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      --mono:  'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

      --max:    1180px;
      --gutter: clamp(1.4rem, 4vw, 3rem);
    }

    *,*::before,*::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--sans);
      background: var(--bg);
      color: var(--ink);
      font-size: 17px;
      line-height: 1.6;
      letter-spacing: -0.005em;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
    img { display: block; max-width: 100%; }
    ::selection { background: var(--ink); color: var(--bg); }

    /* ============================================================
       Type system
       ============================================================ */
    h1, h2, h3, h4 {
      font-family: var(--serif);
      font-weight: 400;
      letter-spacing: -0.015em;
      line-height: 1.02;
      margin: 0;
      color: var(--ink);
    }
    h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
    h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
    h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
    em, .i { font-style: italic; color: var(--ink); }
    h1 em, h2 em, h3 em { font-style: italic; }

    p { margin: 0 0 1.1em; color: var(--ink-2); }
    p.lead { font-size: 1.18rem; color: var(--ink-2); }

    .eyebrow {
      font-family: var(--mono);
      font-size: 0.74rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin: 0;
    }

    .wrap {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 var(--gutter);
    }

    section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }

    .rule {
      height: 1px;
      background: var(--line);
      max-width: var(--max);
      margin: 0 auto;
    }

    /* ============================================================
       Nav
       ============================================================ */
    header.site {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(250, 250, 247, 0.82);
      backdrop-filter: saturate(180%) blur(14px);
      -webkit-backdrop-filter: saturate(180%) blur(14px);
      border-bottom: 1px solid transparent;
      transition: border-color .25s;
    }
    header.site.scrolled { border-bottom-color: var(--line); }
    nav.top {
      max-width: var(--max);
      margin: 0 auto;
      padding: 1.05rem var(--gutter);
      display: flex;
      align-items: center;
      gap: 1.6rem;
    }
    nav.top .brand {
      font-family: var(--serif);
      font-style: italic;
      font-size: 1.55rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      color: var(--ink);
    }
    nav.top .links {
      display: flex;
      gap: 1.5rem;
      list-style: none;
      margin: 0; padding: 0;
      flex: 1;
      justify-content: center;
    }
    nav.top .links a {
      font-size: 0.92rem;
      color: var(--ink-2);
      position: relative;
      padding: 0.2rem 0;
      transition: color .2s;
    }
    nav.top .links a:hover { color: var(--accent); }
    nav.top .links a::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -3px;
      height: 1px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .25s ease;
    }
    nav.top .links a:hover::after { transform: scaleX(1); }
    nav.top .links a[aria-current="page"] {
      color: var(--ink);
    }
    nav.top .links a[aria-current="page"]::after {
      transform: scaleX(1);
    }
    @media (max-width: 760px) { nav.top .links { display: none; } }

    /* ============================================================
       Hero
       ============================================================ */
    .hero {
      padding-top: clamp(4rem, 9vw, 7rem);
      padding-bottom: clamp(3rem, 6vw, 5rem);
    }
    .hero .greet {
      font-family: var(--serif);
      font-style: italic;
      font-size: 1.15rem;
      color: var(--muted);
      margin-bottom: 1rem;
    }
    .hero h1 {
      max-width: 18ch;
      margin-bottom: 1.6rem;
    }
    .hero h1 em {
      color: var(--accent);
    }
    .hero p.lead {
      max-width: 56ch;
      margin-bottom: 2.2rem;
    }
    .hero p.lead b { color: var(--ink); font-weight: 500; }
    .hero .meta-row {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 2.6rem;
    }
    .hero .meta-row .pill {
      font-family: var(--mono);
      font-size: 0.74rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0.35rem 0.7rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--bg);
    }
    .hero .meta-row .pill.live::before {
      content: "";
      display: inline-block;
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      margin-right: 0.5rem;
      vertical-align: middle;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.4); }
    }
    .hero .cta-row {
      display: flex;
      gap: 0.7rem;
      flex-wrap: wrap;
    }
    .btn {
      font-size: 0.94rem;
      padding: 0.75rem 1.3rem;
      border-radius: 999px;
      border: 1px solid var(--ink);
      color: var(--ink);
      transition: all .25s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn:hover {
      background: var(--ink);
      color: var(--bg);
      transform: translateY(-1px);
    }
    .btn.primary {
      background: var(--ink);
      color: var(--bg);
    }
    .btn.primary:hover {
      background: var(--accent);
      border-color: var(--accent);
    }
    .btn .arrow { transition: transform .25s; }
    .btn:hover .arrow { transform: translateX(3px); }

    /* Stats row */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: clamp(3rem, 6vw, 5rem);
      padding-top: 2.5rem;
      border-top: 1px solid var(--line);
    }
    @media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } }
    .stat .num {
      font-family: var(--serif);
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 1;
      font-style: italic;
      color: var(--ink);
      display: block;
    }
    .stat .lbl {
      font-family: var(--mono);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: 0.6rem;
      display: block;
      max-width: 22ch;
      line-height: 1.4;
    }

    /* ============================================================
       Section heads
       ============================================================ */
    .sec-head {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 3rem;
    }
    .sec-head .meta {
      font-family: var(--mono);
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .sec-head h2 { flex: 1 1 auto; max-width: 24ch; }

    /* ============================================================
       Story
       ============================================================ */
    .story-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(2rem, 5vw, 4rem);
      align-items: start;
    }
    @media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }
    .story-body p {
      font-size: 1.08rem;
      line-height: 1.7;
      max-width: 52ch;
    }
    .story-body p b { color: var(--ink); font-weight: 500; }
    .story-side {
      display: flex;
      flex-direction: column;
      gap: 1.4rem;
    }
    .edu-card {
      padding: 1.6rem;
      background: var(--surface);
      border-radius: 6px;
    }
    .edu-card h4 {
      font-size: 1.3rem;
      margin-bottom: 0.3rem;
    }
    .edu-card .deg {
      font-family: var(--mono);
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      color: var(--muted);
      margin-bottom: 0.9rem;
    }
    .edu-card .coursework {
      font-size: 0.93rem;
      color: var(--ink-2);
      line-height: 1.55;
    }
    .edu-card .coursework b { color: var(--ink); font-weight: 500; }
    .story-profile-img {
      display: block;
      width: 100%;
      max-height: min(52vh, 440px);
      aspect-ratio: 4 / 5;
      object-fit: cover;
      object-position: center 22%;
    }
    @media (max-width: 820px) {
      .story-profile-img {
        max-height: min(42vh, 380px);
        max-width: 320px;
        margin: 0 auto;
      }
    }

    /* ============================================================
       Work timeline
       ============================================================ */
    .work-group { margin-bottom: 3rem; }
    .work-group:last-child { margin-bottom: 0; }
    .work-group-label {
      font-family: var(--mono);
      font-size: 0.74rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.4rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .work-group-label::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--line);
    }

    .role {
      display: grid;
      grid-template-columns: 4.25rem 1fr auto;
      gap: 1.25rem 1.5rem;
      align-items: start;
      padding: 1.6rem 0;
      border-bottom: 1px solid var(--line);
      cursor: pointer;
      transition: opacity .2s;
    }
    .role:last-child { border-bottom: 0; }
    .role:hover .role-title { color: var(--accent); }
    @media (max-width: 720px) {
      .role {
        grid-template-columns: 3.5rem 1fr;
        gap: 0.75rem 0.85rem;
      }
      .role-mark { width: 3.5rem; height: 3.5rem; }
      .role-meta {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        padding-top: 0;
      }
      .role-main {
        grid-column: 1 / -1;
        grid-row: 2;
      }
    }
    .role-date {
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.02em;
      margin: 0.2rem 0 0.65rem;
    }
    .role-main h3.role-title {
      font-size: 1.55rem;
      transition: color .25s;
      margin: 0 0 0.05rem;
      font-family: var(--serif);
      color: inherit;
      text-decoration: none;
      transition: opacity .2s ease, color .25s ease;
    }

    .role-title a:hover {
     opacity: 0.7;
    }
    
    .role-main h3.role-title .at {
      font-style: italic;
      color: var(--muted);
    }
    .role-summary {
      color: var(--ink-2);
      font-size: 0.98rem;
      max-width: 62ch;
      margin: 0;
    }
    .role-mark {
      flex: 0 0 auto;
      width: 4.25rem;
      height: 4.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .role-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    .role-mark--empty {
      opacity: 0;
      pointer-events: none;
    }
    .role-meta {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-end;
      padding-top: 0.15rem;
    }
    @media (max-width: 720px) { .role-meta { align-items: flex-start; } }
    .role-tag {
      font-family: var(--mono);
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0.22rem 0.55rem;
      border: 1px solid var(--line);
      border-radius: 999px;
    }
    .role-tag.ec { color: var(--accent); border-color: var(--accent); background: var(--accent-2); }
    .role-tag.now { color: var(--ink); border-color: var(--ink); background: var(--ink); color: var(--bg); }
    .role-toggle {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.05em;
    }
    .role-detail {
      max-height: 0;
      overflow: hidden;
      transition: max-height .5s ease;
    }
    .role.open .role-detail { max-height: 700px; }
    .role-detail ul {
      list-style: none;
      margin: 1rem 0 0;
      padding-left: 0;
    }
    .role-detail li {
      color: var(--ink-2);
      font-size: 0.95rem;
      line-height: 1.6;
      padding-left: 1.4rem;
      margin-bottom: 0.6rem;
      position: relative;
    }
    .role-detail li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--accent);
    }
    .role-detail li b { color: var(--ink); font-weight: 500; }

    /* ============================================================
       Projects grid
       ============================================================ */
    .projects {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    @media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }
    .project {
      display: block;
      padding: 0;
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: 8px;
      transition: all .35s cubic-bezier(.3,.7,.3,1);
      position: relative;
      overflow: hidden;
    }
    .project .pj-thumb {
      aspect-ratio: 2 / 1;
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }
    .project .pj-thumb--photo {
      background: var(--surface-2);
      padding: 0;
    }
    .project .pj-thumb--photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .project .pj-thumb--logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
    }
    .project .pj-thumb--fallback {
      background: var(--surface);
    }
    .project .pj-thumb-fallback {
      font-family: var(--serif);
      font-style: italic;
      font-size: clamp(1.05rem, 2.2vw, 1.35rem);
      color: var(--muted);
      letter-spacing: 0.01em;
      text-align: center;
      padding: 0 1rem;
    }
    .project .pj-body {
      padding: 1.35rem 2rem 1.85rem;
    }
    .project:hover {
      transform: translateY(-3px);
      border-color: var(--ink);
      background: var(--bg);
    }
    .project .pj-eyebrow {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.1rem;
    }
    .project .pj-tags {
      font-family: var(--mono);
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .project .pj-status {
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .project .pj-status.new {
      color: var(--accent);
    }
    .project .pj-status.new::before {
      content: "● ";
    }
    .project h3 {
      font-size: 1.6rem;
      margin-bottom: 0.6rem;
      transition: color .25s;
    }
    .project:hover h3 { color: var(--accent); }
    .project h3 em { font-style: italic; color: var(--accent); }
    .project p {
      font-size: 0.96rem;
      line-height: 1.55;
      color: var(--ink-2);
      max-width: 50ch;
      margin: 0 0 1.6rem;
    }
    .project .pj-link {
      font-family: var(--mono);
      font-size: 0.78rem;
      letter-spacing: 0.04em;
      color: var(--ink);
      border-bottom: 1px solid var(--ink);
      padding-bottom: 1px;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: gap .25s, color .25s, border-color .25s;
    }
    .project:hover .pj-link { gap: 0.7rem; color: var(--accent); border-color: var(--accent); }
    .project .pj-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      margin-top: 1.2rem;
    }
    .project .pj-stat {
      font-family: var(--serif);
      font-style: italic;
      font-size: 1rem;
      color: var(--muted);
    }

    /* ============================================================
       Gallery
       ============================================================ */
    .gallery-wrap { position: relative; }
    .gallery-track {
      display: flex;
      gap: 1.2rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 1.5rem;
      scrollbar-width: thin;
    }
    .gallery-track::-webkit-scrollbar { height: 4px; }
    .gallery-track::-webkit-scrollbar-thumb { background: var(--soft); border-radius: 999px; }
    .gallery-frame {
      flex: 0 0 auto;
      width: clamp(240px, 32vw, 360px);
      scroll-snap-align: start;
    }
    .gallery-frame .img-box {
      aspect-ratio: 3/4;
      overflow: hidden;
      border-radius: 6px;
      background: var(--surface);
      margin-bottom: 0.8rem;
    }
    .gallery-frame img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform .8s ease;
    }
    .gallery-frame:hover img { transform: scale(1.04); }
    .gallery-frame .cap {
      font-family: var(--serif);
      font-style: italic;
      font-size: 1rem;
      color: var(--muted);
      line-height: 1.4;
    }

    /* ============================================================
       Hobbies tiles
       ============================================================ */
    .hobbies {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }
    @media (max-width: 880px) { .hobbies { grid-template-columns: repeat(2, 1fr); } }
    .hobby {
      padding: 1.6rem;
      background: var(--surface);
      border-radius: 6px;
    }
    .hobby h4 {
      font-family: var(--serif);
      font-style: italic;
      font-size: 1.2rem;
      margin-bottom: 0.6rem;
    }
    .hobby p {
      font-size: 0.9rem;
      color: var(--ink-2);
      margin: 0;
      line-height: 1.5;
    }

    /* ============================================================
       Contact
       ============================================================ */
    .contact {
      text-align: center;
      padding: clamp(6rem, 12vw, 9rem) 0;
    }
    .contact h2 {
      font-size: clamp(2.8rem, 7vw, 5rem);
      max-width: 18ch;
      margin: 0 auto 1.4rem;
    }
    .contact h2 em { color: var(--accent); }
    .contact p.lead {
      max-width: 50ch;
      margin: 0 auto 2.5rem;
      color: var(--ink-2);
    }
    .contact .links {
      display: flex;
      justify-content: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }

    /* ============================================================
       Footer
       ============================================================ */
    footer.site {
      padding: 2rem 0 2.5rem;
      border-top: 1px solid var(--line);
      font-family: var(--mono);
      font-size: 0.75rem;
      letter-spacing: 0.03em;
      color: var(--muted);
    }
    footer.site .wrap {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    footer.site b { color: var(--ink); font-weight: 500; font-family: var(--serif); font-style: italic; }

    /* ============================================================
       Reveal on scroll
       ============================================================ */
    body.has-js .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.3,1);
    }
    body.has-js .reveal.in {
      opacity: 1;
      transform: translateY(0);
    }
