  :root {
    --paper: #FAFAF7;
    --ink: #15161B;
    --stone: #85847C;
    --line: #E1DFD5;
    --accent: #1E3AF5;
    --accent-soft: #E8EBFF;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Newsreader', serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.02em;
  }

  .display {
    font-family: 'Space Grotesk', sans-serif;
  }

  /* ---- Header ---- */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 247, 0.86);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }

  header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
  }

  .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
  }

  nav {
    display: flex;
    gap: 32px;
    font-size: 13px;
  }

  nav a {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--stone);
    transition: color 0.2s ease;
    position: relative;
  }
  nav a:hover { color: var(--ink); }

  .status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--stone);
  }
  .status .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4CAF6D;
    display: inline-block;
  }

  /* ---- Hero ---- */
  .hero {
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--line);
  }

  .hero .eyebrow {
    font-size: 13px;
    color: var(--stone);
    margin-bottom: 28px;
  }

  .hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(38px, 5.4vw, 68px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 900px;
  }

  .hero h1 em {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }

  .hero .sub {
    margin-top: 32px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.6;
    color: #4B4B47;
  }

  .hero .disciplines {
    margin-top: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pill {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--stone);
  }

  /* ---- Index / Work list ---- */
  .index-section {
    padding: 90px 0 40px;
    position: relative;
  }

  .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .section-head .count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--stone);
  }

  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    cursor: pointer;
    transition: padding-left 0.3s ease, opacity 0.3s ease;
  }
  .index-section.hovering .row:not(:hover) { opacity: 0.4; }
  .row:hover { padding-left: 14px; }
  .row:last-child { border-bottom: 1px solid var(--line); }

  .row-left {
    display: flex;
    align-items: baseline;
    gap: 26px;
    min-width: 0;
  }

  .row .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--stone);
    width: 22px;
    flex-shrink: 0;
  }

  .row .title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(20px, 3vw, 30px);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .row .desc {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--stone);
    display: none;
  }

  .row-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--stone);
  }

  .row-right .tag {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 100px;
  }

  .row-right .arrow {
    font-size: 16px;
    color: var(--ink);
    transform: translateX(0);
    transition: transform 0.25s ease;
  }
  .row:hover .arrow { transform: translateX(4px); color: var(--accent); }

  /* floating preview */
  .preview {
    position: fixed;
    top: 0; left: 0;
    width: 260px;
    height: 190px;
    pointer-events: none;
    z-index: 40;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transform: translate(-1000px,-1000px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.05s linear;
    box-shadow: 0 18px 40px rgba(20,20,15,0.18);
  }
  .preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .preview.active { opacity: 1; }

  /* ---- About ---- */
  .about {
    padding: 100px 0;
    border-top: 1px solid var(--line);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }

  .about h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }

  .about p {
    font-size: 18px;
    line-height: 1.7;
    color: #322F2A;
    max-width: 480px;
  }

  .about p + p { margin-top: 20px; }

  .capabilities {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cap-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
  }
  .cap-row:last-child { border-bottom: 1px solid var(--line); }
  .cap-row span:first-child { color: var(--ink); }
  .cap-row span:last-child { color: var(--stone); text-align: right; }

  /* ---- Contact / footer ---- */
  footer {
    border-top: 1px solid var(--line);
    padding: 90px 0 50px;
  }

  footer .big-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(32px, 6vw, 64px);
    letter-spacing: -0.02em;
    display: inline-block;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 6px;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  footer .big-link:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  footer .foot-meta {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--stone);
    flex-wrap: wrap;
    gap: 14px;
  }

  footer .socials {
    display: flex;
    gap: 22px;
  }
  footer .socials a:hover { color: var(--ink); }

  /* ---- Responsive ---- */
  @media (max-width: 760px) {
    .wrap { padding: 0 22px; }
    nav { display: none; }
    .hero { padding: 80px 0 60px; }
    .row-right .tag { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .preview { display: none; }
    .index-section.hovering .row:not(:hover) { opacity: 1; }
  }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
  }

  /* ---- Project detail page ---- */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--stone);
    margin-bottom: 40px;
    transition: color 0.2s ease;
  }
  .back-link:hover { color: var(--ink); }

  .project-hero {
    padding: 60px 0 70px;
    border-bottom: 1px solid var(--line);
  }

  .project-hero .mono {
    display: block;
    font-size: 12px;
    color: var(--stone);
    margin-bottom: 18px;
  }

  .project-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(30px, 4.5vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 24px;
  }

  .project-hero p {
    font-size: 17px;
    line-height: 1.65;
    color: #4B4B47;
    max-width: 620px;
  }

  .project-meta {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
  }

  .project-meta div {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
  }

  .project-meta div span:first-child {
    display: block;
    color: var(--stone);
    margin-bottom: 4px;
  }

  .project-meta div span:last-child {
    color: var(--ink);
    font-size: 13px;
  }

  .gallery-section {
    padding: 70px 0 100px;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .gallery figure {
    margin: 0;
  }

  .gallery img {
    width: 100%;
    display: block;
    border-radius: 4px;
  }

  .gallery figcaption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--stone);
    margin-top: 12px;
  }

  .gallery .wide {
    grid-column: 1 / -1;
  }

  .gallery .wide img {
    max-width: 520px;
    margin: 0 auto;
  }

  @media (max-width: 760px) {
    .gallery { grid-template-columns: 1fr; }
  }
