:root {
      color-scheme: dark;
      --ink: #f4f2ea;
      --muted: #aab1ab;
      --night: #050706;
      --panel: #0d110f;
      --line: rgba(244, 242, 234, .16);
      --acid: #c9ff58;
      --violet: #9f8cff;
      --cyan: #68e6dc;
      --max: 1320px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background:
        radial-gradient(circle at 83% 10%, rgba(97, 69, 180, .18), transparent 30rem),
        radial-gradient(circle at 14% 34%, rgba(62, 171, 120, .12), transparent 28rem),
        var(--night);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 17px;
      line-height: 1.7;
    }
    body::before {
      position: fixed;
      inset: 0;
      z-index: -1;
      content: "";
      opacity: .14;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, #000, transparent 78%);
    }
    a { color: inherit; }
    img { max-width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }
    :focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

    .shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .site-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding-block: 26px;
      border-bottom: 1px solid var(--line);
    }
    .identity { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; }
    .identity::before {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      content: "";
      background: var(--acid);
      box-shadow: 0 0 28px rgba(201,255,88,.85);
    }
    .site-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
    .site-nav a { color: var(--muted); text-decoration: none; }
    .site-nav a:hover { color: var(--ink); }
    .site-nav a[aria-current="page"] { color: var(--ink); }

    .hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr); gap: clamp(38px, 7vw, 100px); align-items: center; padding-block: clamp(70px, 10vw, 142px); }
    .eyebrow { margin: 0 0 22px; color: var(--acid); font-size: .76rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.7rem, 8.2vw, 8.1rem); font-weight: 620; letter-spacing: -.07em; line-height: .86; }
    h1 em { color: var(--violet); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
    .lede { max-width: 650px; color: #c6cbc7; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.6; }
    .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
    .hero-meta span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
    .hero-art { position: relative; }
    .hero-art::before { position: absolute; inset: -18px 20px 26px -18px; z-index: -1; content: ""; border: 1px solid rgba(201,255,88,.35); border-radius: 2px; }
    .hero-art img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #101412; }
    .hero-art figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 14px; color: var(--muted); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }

    .section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: end; padding: 44px 0 28px; border-top: 1px solid var(--line); }
    .section-head h2 { margin-bottom: 0; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 590; letter-spacing: -.045em; line-height: 1; }
    .section-head p { max-width: 700px; margin: 0; color: var(--muted); }
    .works-index { display: grid; gap: 12px; }
    .works-index p { max-width: 700px; }
    .works-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
    .works-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
    .works-links a:hover { border-color: rgba(201,255,88,.55); color: var(--ink); }

    .work { padding-block: clamp(65px, 10vw, 140px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
    .work-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 8vw, 112px); align-items: start; }
    .work-copy { position: sticky; top: 28px; }
    .work-number { display: block; margin-bottom: 50px; color: var(--acid); font-size: .78rem; letter-spacing: .14em; }
    .work h3 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.8vw, 4.6rem); font-weight: 560; letter-spacing: -.055em; line-height: .98; }
    .work h3 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
    .work-details { margin: 22px 0 30px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.6; text-transform: uppercase; letter-spacing: .07em; }
    .work-copy > p { color: #c6cbc7; }
    .work-media { display: grid; gap: 18px; }
    .art-frame { margin: 0; background: var(--panel); }
    .art-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: none; cursor: zoom-in; }
    .art-button img { display: block; width: 100%; height: auto; background: #101310; }
    .art-frame figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 13px 16px 15px; color: var(--muted); font-size: .73rem; letter-spacing: .05em; text-transform: uppercase; }
    .rights { flex-basis: 100%; color: #858e89; font-size: .68rem; }
    .diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .diptych .art-frame, .diptych img { height: 100%; }
    .diptych img { min-height: 370px; object-fit: cover; }
    .gif-frame img { max-height: 870px; object-fit: contain; }
    .compact-gif { width: min(100%, 460px); justify-self: center; }
    .compact-gif img { max-height: 520px; }
    .gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
    .gallery-card.wide { grid-column: 1 / -1; }
    .gallery-card img { aspect-ratio: 4 / 3; object-fit: cover; }
    .gallery-card.wide img { aspect-ratio: auto; object-fit: contain; }


    .story-stack { display: grid; gap: clamp(34px, 6vw, 82px); padding-block: clamp(44px, 7vw, 92px); border-top: 1px solid var(--line); }
    .story-panel { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: rgba(13, 17, 15, .62); }
    .story-panel h3 { margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 3.2rem); font-weight: 560; letter-spacing: -.04em; line-height: 1; }
    .story-panel h3 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
    .story-panel p { color: #c6cbc7; }
    .construct-list, .source-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
    .construct-list li, .source-list li { padding: 15px 17px; border: 1px solid var(--line); color: #c6cbc7; background: rgba(255,255,255,.025); }
    .construct-list strong { color: var(--acid); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
    .source-list a, .text-link { color: var(--acid); text-underline-offset: 4px; }
    .source-list span { display: block; color: var(--muted); font-size: .84rem; }
    .hero-art.contain img, .art-frame.contain img { object-fit: contain; background: #050706; }
    .art-frame.tall img { max-height: 820px; object-fit: contain; background: #050706; }


    .science-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 32px; padding: 22px; border: 1px solid rgba(104,230,220,.25); background: rgba(104,230,220,.055); }
    .science-note strong { color: var(--cyan); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
    .science-note p { margin: 0; color: #bec8c5; font-size: .9rem; }

    .about { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; padding-block: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); }
    .about h2 { font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.055em; line-height: .95; }
    .about p { max-width: 720px; color: #c6cbc7; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
    .site-foot { display: flex; justify-content: space-between; gap: 30px; padding-block: 30px 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
    .site-foot a { color: var(--acid); text-underline-offset: 4px; }

    dialog { width: min(94vw, 1500px); max-height: 94vh; padding: 0; border: 1px solid #3a403b; background: #050706; color: var(--ink); }
    dialog::backdrop { background: rgba(0, 0, 0, .9); backdrop-filter: blur(8px); }
    .lightbox-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); gap: 28px; align-items: center; min-height: 50vh; padding: 48px; }
    .lightbox-inner img { display: block; max-width: 100%; max-height: calc(94vh - 96px); object-fit: contain; justify-self: center; }
    .lightbox-copy { align-self: stretch; overflow: auto; padding-left: 28px; border-left: 1px solid var(--line); color: #c6cbc7; }
    .lightbox-copy h2 { margin-bottom: 14px; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.035em; }
    .lightbox-copy p { margin-bottom: 16px; font-size: .95rem; line-height: 1.65; }
    .lightbox-copy .rights { display: block; margin-top: 20px; color: #858e89; text-transform: uppercase; letter-spacing: .06em; }
    .lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(5,7,6,.8); cursor: pointer; font: inherit; }

    @media (max-width: 900px) {
      .hero, .work-grid, .section-head, .about, .story-panel { grid-template-columns: 1fr; }
      .hero { padding-top: 70px; }
      .hero-copy { max-width: 760px; }
      .hero-art { width: min(100%, 720px); }
      .work-copy { position: static; }
      .work-number { margin-bottom: 20px; }
      .section-head { align-items: start; }
    }
    @media (max-width: 620px) {
      body { font-size: 16px; }
      .shell { width: min(calc(100% - 28px), var(--max)); }
      .site-head { align-items: flex-start; }
      .site-nav a:not(:last-child) { display: none; }
      h1 { font-size: clamp(3.2rem, 20vw, 5.4rem); }
      .diptych, .gallery-grid { grid-template-columns: 1fr; }
      .diptych img { min-height: 0; }
      .art-frame figcaption, .hero-art figcaption, .site-foot { flex-direction: column; gap: 4px; }
  
    .story-stack { display: grid; gap: clamp(34px, 6vw, 82px); padding-block: clamp(44px, 7vw, 92px); border-top: 1px solid var(--line); }
    .story-panel { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: rgba(13, 17, 15, .62); }
    .story-panel h3 { margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 3.2rem); font-weight: 560; letter-spacing: -.04em; line-height: 1; }
    .story-panel h3 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
    .story-panel p { color: #c6cbc7; }
    .construct-list, .source-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
    .construct-list li, .source-list li { padding: 15px 17px; border: 1px solid var(--line); color: #c6cbc7; background: rgba(255,255,255,.025); }
    .construct-list strong { color: var(--acid); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
    .source-list a, .text-link { color: var(--acid); text-underline-offset: 4px; }
    .source-list span { display: block; color: var(--muted); font-size: .84rem; }
    .hero-art.contain img, .art-frame.contain img { object-fit: contain; background: #050706; }
    .art-frame.tall img { max-height: 820px; object-fit: contain; background: #050706; }


    .science-note { grid-template-columns: 1fr; }
      .lightbox-inner { grid-template-columns: 1fr; padding: 46px 12px 12px; }
      .lightbox-copy { max-height: 34vh; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
      .site-nav { gap: 10px 14px; font-size: .72rem; }
      .site-nav a:not(:last-child) { display: inline; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
