@font-face {
        font-family: "Instrument Sans Variable";
        src: url("/fonts/instrument-sans-variable.woff2") format("woff2");
        font-style: normal;
        font-weight: 100 900;
        font-display: swap;
      }
      :root {
        color-scheme: light;
        --background: #ffffff;
        --ink: #202427;
        --secondary: #626a6e;
        --quiet: #8d9598;
      }
      *, *::before, *::after { box-sizing: border-box; }
      html, body { height: 100%; }
      body {
        margin: 0;
        overflow: hidden;
        background: var(--background);
        color: var(--ink);
        font-family: "Instrument Sans Variable", Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
      }
      button { font: inherit; }
      a { color: inherit; }
      a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
      ::selection { background: var(--ink); color: var(--background); }
      .page {
        width: min(100% - 80px, 1120px);
        height: 100dvh;
        margin-inline: auto;
        padding-block: 34px 26px;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
      }
      .header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
      .brand {
        color: var(--ink);
        font-size: 22px;
        font-weight: 600;
        letter-spacing: -.065em;
        line-height: 1;
        text-decoration: none;
      }
      .contact-link {
        color: var(--ink);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        text-underline-offset: 4px;
      }
      .contact-link:hover { text-decoration: underline; }
      .main {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
        align-items: center;
        gap: clamp(52px, 10vw, 142px);
      }
      h1 {
        max-width: 440px;
        margin: 0;
        font-size: clamp(27px, 2.55vw, 32px);
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -.044em;
      }
      .project-index { width: 100%; max-width: 490px; justify-self: end; }
      .project-index h2 {
        margin: 0 0 18px;
        color: var(--quiet);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.3;
      }
      .project-buttons { margin: 0; padding: 0; list-style: none; }
      .project-buttons li + li { margin-top: 4px; }
      .project-button {
        width: 100%;
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 14px;
        align-items: baseline;
        padding: 11px 0;
        color: var(--ink);
        text-align: left;
        text-decoration: none;
      }
      .project-button .name { font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
      .project-button .role { color: var(--secondary); font-size: 14px; line-height: 1.4; }
      .project-button:hover .name { text-decoration: underline; text-underline-offset: 4px; }
      .footer { color: var(--quiet); font-size: 12px; line-height: 1.4; }

      .detail-main { align-self: center; max-width: 680px; }
      .back-link {
        display: inline-block;
        margin-bottom: 34px;
        color: var(--secondary);
        font-size: 14px;
        text-decoration: none;
      }
      .back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
      .detail-main h1 {
        margin: 0 0 22px;
        font-size: clamp(27px, 2.55vw, 32px);
        font-weight: 500;
        letter-spacing: -.044em;
        line-height: 1.2;
      }
      .detail-main p {
        max-width: 600px;
        margin: 0;
        color: var(--secondary);
        font-size: 17px;
        line-height: 1.6;
      }

      @media (max-width: 700px) {
        .page { width: min(100% - 44px, 1120px); padding-block: 24px 20px; }
        .brand { font-size: 20px; }
        .main { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 44px; }
        h1 { max-width: 520px; font-size: clamp(22px, 5.8vw, 26px); line-height: 1.28; }
        .project-index { max-width: none; }
        .project-index h2 { margin-bottom: 11px; }
        .project-buttons li + li { margin-top: 1px; }
        .project-button { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px 0; }
        .project-button .name { font-size: 17px; }
        .project-button .role { font-size: 13px; }
        .detail-main h1 { font-size: 26px; }
        .detail-main p { font-size: 16px; }
      }
      @media (max-height: 650px) {
        .page { padding-block: 17px 14px; }
        .main { gap: 18px; }
        h1 { font-size: 21px; line-height: 1.2; }
        .project-index h2 { margin-bottom: 4px; }
        .project-button { padding-block: 5px; }
        .detail-main h1 { margin-bottom: 12px; }
        .back-link { margin-bottom: 20px; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; }
      }
