:root {
      --paper: #f3ede2;
      --paper-bright: #fbf7ee;
      --paper-deep: #e7dece;
      --ink: #19202a;
      --muted: #686861;
      --line: #cbc1b1;
      --line-strong: #91897d;
      --night: #101925;
      --night-raised: #162335;
      --night-ink: #f3eee4;
      --night-muted: #adb5bd;
      --gold: #e0a04e;
      --cobalt: #3f649c;
      --serif: Georgia, "Times New Roman", Times, serif;
      --sans: "Segoe UI", Helvetica, Arial, sans-serif;
      --mono: "Cascadia Code", Consolas, "SFMono-Regular", monospace;
      --measure: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      overflow-x: hidden;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.62;
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; }
    ::selection { color: var(--night-ink); background: var(--cobalt); }
    :focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
    section { scroll-margin-top: 110px; }

    .skip-link {
      position: fixed;
      top: 12px;
      left: 18px;
      z-index: 100;
      padding: 10px 14px;
      color: var(--night-ink);
      background: var(--night);
      font-family: var(--mono);
      font-size: 12px;
      text-decoration: none;
      transform: translateY(-180%);
    }
    .skip-link:focus { transform: none; }

    .wrap {
      width: min(var(--measure), calc(100% - 72px));
      margin-inline: auto;
    }

    .eyebrow,
    .micro,
    .section-number,
    .status,
.evidence,
figcaption {
  font-family: var(--mono);
  font-size: 11px;
      line-height: 1.5;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .masthead-strip {
      color: var(--night-muted);
      background: var(--night);
      border-bottom: 1px solid rgba(243, 238, 228, .15);
    }
    .masthead-inner {
      min-height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .masthead-inner span:first-child { color: var(--gold); }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(243, 237, 226, .94);
      border-bottom: 1px solid var(--line-strong);
      backdrop-filter: blur(14px);
    }
    .nav {
      min-height: 78px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 30px;
    }
    .wordmark {
      justify-self: start;
      font-family: var(--serif);
      font-size: 28px;
      line-height: 1;
      text-decoration: none;
    }
    .wordmark em { color: var(--cobalt); font-weight: 400; }
    .nav-links { display: flex; align-items: center; gap: 27px; }
    .nav-links a {
      color: var(--muted);
      font-family: var(--mono);
    font-size: 11px;
      letter-spacing: .12em;
      text-decoration: none;
      text-transform: uppercase;
    }
    .nav-links a:hover { color: var(--ink); }

    .nav-cta,
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 45px;
      padding: 11px 18px;
      border: 1px solid var(--ink);
      font-family: var(--mono);
    font-size: 11px;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: .11em;
      text-decoration: none;
      text-transform: uppercase;
      transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
    }
    .nav-cta { justify-self: end; min-height: 39px; padding: 9px 14px; }
    .button.primary { color: var(--paper-bright); background: var(--ink); }
    .button.secondary { background: transparent; }
    .button:hover,
    .nav-cta:hover { color: var(--paper-bright); background: var(--cobalt); border-color: var(--cobalt); transform: translateY(-1px); }

    .hero {
      position: relative;
      min-height: 660px;
      overflow: hidden;
      border-bottom: 1px solid var(--line-strong);
    }
    .hero::before {
      content: "";
      position: absolute;
      width: 520px;
      height: 520px;
      left: calc(50% - 770px);
      top: 72px;
      border: 1px solid rgba(63, 100, 156, .18);
      border-radius: 50%;
      box-shadow:
        0 0 0 82px rgba(63, 100, 156, .045),
        0 0 0 164px rgba(63, 100, 156, .025);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      min-height: 660px;
      display: grid;
      grid-template-columns: minmax(0, 1.34fr) minmax(390px, .66fr);
      gap: 92px;
      align-items: center;
      padding: 80px 0 74px;
    }
    .hero-copy { padding-bottom: 8px; }
    .eyebrow { color: var(--muted); }
    .eyebrow strong { color: var(--ink); font-weight: 600; }
    .hero h1 {
      max-width: 9.3em;
      margin: 27px 0 0;
      font-family: var(--serif);
      font-size: clamp(58px, 6.6vw, 94px);
      font-weight: 400;
      line-height: .98;
      letter-spacing: -.038em;
    }
    h1 em { color: var(--cobalt); font-weight: 400; }
    .hero-lede {
      max-width: 38em;
      margin: 30px 0 0;
      color: var(--muted);
      font-family: var(--serif);
      font-size: 21px;
      line-height: 1.5;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

    .field-index {
      position: relative;
      overflow: hidden;
      color: var(--night-ink);
      background:
        radial-gradient(circle at 78% 15%, rgba(224, 160, 78, .1) 0 1px, transparent 2px),
        radial-gradient(circle at 18% 71%, rgba(243, 238, 228, .12) 0 1px, transparent 2px),
        radial-gradient(circle at 61% 83%, rgba(243, 238, 228, .1) 0 1px, transparent 2px),
        var(--night);
      background-size: 90px 90px, 120px 120px, 150px 150px, auto;
      border: 1px solid #29374a;
      box-shadow: 0 34px 68px -42px rgba(16, 25, 37, .75);
    }
    .field-index::before,
    .field-index::after {
      content: "";
      position: absolute;
      border: 1px solid rgba(224, 160, 78, .28);
      border-radius: 50%;
      pointer-events: none;
    }
    .field-index::before { width: 240px; height: 240px; right: -145px; top: 38px; }
    .field-index::after { width: 120px; height: 120px; right: -85px; top: 98px; }
    .index-head {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 17px 20px;
      color: var(--night-muted);
      border-bottom: 1px solid rgba(243, 238, 228, .16);
    }
    .index-head span:last-child { color: var(--gold); }
    .index-group {
      position: relative;
      z-index: 1;
      padding: 10px 20px 8px 62px;
      color: var(--gold);
      background: rgba(243, 238, 228, .035);
      border-top: 1px solid rgba(243, 238, 228, .16);
      border-bottom: 1px solid rgba(243, 238, 228, .08);
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 600;
      line-height: 1.35;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .index-head + .index-group { border-top: 0; }
    .index-row {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 30px 1fr;
      gap: 12px;
      padding: 17px 20px;
      border-bottom: 1px solid rgba(243, 238, 228, .12);
    }
    .index-row:last-child { border-bottom: 0; }
    .index-n { color: var(--gold); }
    .index-row h2 {
      margin: 0;
      font-family: var(--serif);
      font-size: 21px;
      font-weight: 400;
      line-height: 1.1;
    }
    .index-row p { margin: 5px 0 0; color: var(--night-muted); font-size: 12.5px; }
    .index-state {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-top: 8px;
      font-family: var(--mono);
    font-size: 11px;
      line-height: 1.4;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    .index-state::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

    .margin-note {
      min-height: 74px;
      display: grid;
      grid-template-columns: 170px 1fr auto;
      align-items: center;
      gap: 30px;
      color: var(--muted);
      border-bottom: 1px solid var(--line);
    }
    .margin-note .section-number { color: var(--cobalt); }
    .margin-note q {
      font-family: var(--serif);
      font-size: 18px;
      font-style: italic;
    }
    .margin-note span:last-child { white-space: nowrap; }

    .section { padding: 118px 0 0; }
    .section-head {
      display: grid;
      grid-template-columns: 170px 1fr auto;
      align-items: baseline;
      gap: 30px;
      padding-bottom: 15px;
      border-bottom: 1px solid var(--line-strong);
    }
    .section-number { color: var(--cobalt); }
    .section-title {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(37px, 4.5vw, 58px);
      font-weight: 400;
      line-height: 1.04;
      letter-spacing: -.025em;
    }
    .section-title em { color: var(--cobalt); font-weight: 400; }
    .section-aside { color: var(--muted); text-align: right; }
    .section-intro {
      max-width: 44em;
      margin: 26px 0 0 200px;
      color: var(--muted);
      font-family: var(--serif);
      font-size: 19px;
    }

    .work-chapter {
      margin-top: 50px;
    }
    .chapter-head {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr) auto;
      gap: 28px;
      align-items: baseline;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }
    .chapter-label,
    .chapter-note {
      font-family: var(--mono);
      font-size: 11px;
      line-height: 1.45;
      letter-spacing: .11em;
      text-transform: uppercase;
    }
    .chapter-label { color: var(--cobalt); font-weight: 600; }
    .chapter-note { color: var(--muted); text-align: right; }
    .chapter-title {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(29px, 3.1vw, 42px);
      font-weight: 400;
      line-height: 1.05;
      letter-spacing: -.02em;
    }
    .work-chapter > .work-card,
    .prototype-grid {
      margin-top: 22px;
    }
    .chapter-break {
      height: 0;
      margin: 96px 0 0;
      border: 0;
      border-top: 1px solid var(--line-strong);
    }
    .prototype-chapter { margin-top: 42px; }
    .prototype-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }
    .work-card {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 540px;
      border: 1px solid var(--line);
      background: var(--paper-bright);
    }
    .work-card.magpie {
      min-height: 430px;
      padding: 42px;
      color: var(--night-ink);
      background:
        radial-gradient(circle at 91% 44%, transparent 0 148px, rgba(224, 160, 78, .28) 149px 150px, transparent 151px),
        radial-gradient(circle at 91% 44%, transparent 0 220px, rgba(243, 238, 228, .09) 221px 222px, transparent 223px),
        var(--night);
      border-color: var(--night);
    }
    .prototype-grid .work-card.sensor,
    .prototype-grid .work-card.kuuki {
      min-height: 650px;
      display: flex;
      grid-column: auto;
    }
    .status {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 9px;
      color: var(--muted);
      border: 1px solid var(--line);
    }
    .status::before { content: ""; width: 6px; height: 6px; background: var(--cobalt); border-radius: 50%; }
    .status.development::before { background: var(--gold); }
    .magpie .status { color: var(--night-muted); border-color: rgba(243, 238, 228, .25); }
    .work-kind { margin: 31px 0 0; color: var(--muted); }
    .magpie .work-kind { color: var(--gold); }
    .work-card h4 {
      margin: 8px 0 0;
      font-family: var(--serif);
      font-size: clamp(43px, 5vw, 64px);
      font-weight: 400;
      line-height: .98;
      letter-spacing: -.03em;
    }
    .work-card .body-copy { margin: 23px 0 0; color: var(--muted); }
    .magpie .body-copy { max-width: 43rem; color: var(--night-muted); }
    .evidence {
      margin: 25px 0 0;
      padding-top: 17px;
      color: var(--ink);
      border-top: 1px solid var(--line);
      letter-spacing: .04em;
    }
    .magpie .evidence { max-width: 43rem; color: var(--night-ink); border-color: rgba(243, 238, 228, .2); }
    .card-link {
      align-self: flex-start;
      margin-top: auto;
      padding-top: 30px;
      color: var(--cobalt);
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .1em;
      text-decoration: none;
      text-transform: uppercase;
    }
    .magpie .card-link { color: var(--gold); }
    .card-link:hover { text-decoration: underline; text-underline-offset: 5px; }

    .render-figure {
      position: relative;
      overflow: hidden;
      min-height: 260px;
      margin: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background:
        linear-gradient(rgba(25, 32, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 32, 42, .045) 1px, transparent 1px),
        var(--paper-deep);
      background-size: 28px 28px;
      border-bottom: 1px solid var(--line);
    }
    .render-figure::before {
      content: "";
      position: absolute;
      inset: 10% 20%;
      border: 1px solid rgba(63, 100, 156, .22);
      border-radius: 50%;
      pointer-events: none;
    }
    .render-figure img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 300px;
      padding: 24px 28px 4px;
      object-fit: contain;
    }
    .render-figure figcaption {
      position: relative;
      z-index: 2;
      padding: 10px 14px;
      color: var(--muted);
      background: rgba(243, 237, 226, .9);
      border-top: 1px solid var(--line);
    }
    .card-copy { flex: 1; display: flex; flex-direction: column; padding: 30px; }
    .prototype-grid .render-figure { min-height: 300px; }

    .services-layout {
      display: grid;
      grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
      gap: 86px;
      margin-top: 47px;
    }
    .services-lede {
      color: var(--muted);
      font-family: var(--serif);
      font-size: 21px;
    }
    .services-lede + .services-lede { margin-top: 18px; }
    .service-list { border-top: 1px solid var(--ink); }
    .service-item {
      display: grid;
      grid-template-columns: 38px minmax(170px, .75fr) minmax(0, 1.25fr);
      gap: 19px;
      padding: 22px 0;
      border-bottom: 1px solid var(--line);
    }
    .service-item .micro { color: var(--cobalt); }
    .service-item h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2; }
    .service-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
    .services-action { margin-top: 30px; }

    .worldview-band {
      position: relative;
      overflow: hidden;
      margin-top: 128px;
      padding: 112px 0 106px;
      color: var(--night-ink);
      background:
        radial-gradient(circle at 15% 28%, rgba(243, 238, 228, .24) 0 1px, transparent 2px),
        radial-gradient(circle at 77% 17%, rgba(224, 160, 78, .3) 0 1px, transparent 2px),
        radial-gradient(circle at 62% 72%, rgba(243, 238, 228, .18) 0 1px, transparent 2px),
        var(--night);
      background-size: 130px 130px, 180px 180px, 210px 210px, auto;
    }
    .worldview-band::after {
      content: "";
      position: absolute;
      width: 760px;
      height: 760px;
      right: -320px;
      top: -290px;
      border: 1px solid rgba(224, 160, 78, .24);
      border-radius: 50%;
      box-shadow:
        0 0 0 90px rgba(224, 160, 78, .025),
        0 0 0 180px rgba(243, 238, 228, .018);
      pointer-events: none;
    }
    .worldview-band .section-head { position: relative; z-index: 1; border-color: rgba(243, 238, 228, .35); }
    .worldview-band .section-number { color: var(--gold); }
    .worldview-band .section-aside { color: var(--night-muted); }
    .belief-lead {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
      gap: 90px;
      align-items: end;
      margin-top: 52px;
    }
    .belief-lead h2 {
      max-width: 8.6em;
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(55px, 6.3vw, 84px);
      font-weight: 400;
      line-height: .99;
      letter-spacing: -.035em;
    }
    .belief-lead h2 em { color: var(--gold); }
    .belief-lead p { margin: 0; color: var(--night-muted); font-family: var(--serif); font-size: 20px; }
    .belief-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-top: 70px;
      border-top: 1px solid rgba(243, 238, 228, .27);
    }
    .belief-card { min-height: 260px; padding: 31px 30px 0 0; }
    .belief-card + .belief-card { padding-left: 30px; border-left: 1px solid rgba(243, 238, 228, .17); }
    .belief-card .micro { color: var(--gold); }
    .belief-card h3 { margin: 18px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.1; }
    .belief-card p { margin: 15px 0 0; color: var(--night-muted); font-size: 14.5px; }
    .principles { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 45px; }
    .principles span { padding: 8px 11px; color: var(--night-muted); border: 1px solid rgba(243, 238, 228, .22); }

    .founders-layout {
      display: grid;
      grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
      gap: 90px;
      align-items: center;
      margin-top: 48px;
    }
    .founder-photo {
      position: relative;
      margin: 0;
      padding: 11px;
      background: var(--paper-bright);
      border: 1px solid var(--line);
      box-shadow: 20px 22px 0 var(--paper-deep);
    }
    .founder-photo::before {
      content: "";
      position: absolute;
      inset: -22px -22px auto auto;
      width: 90px;
      height: 90px;
      border-top: 1px solid var(--cobalt);
      border-right: 1px solid var(--cobalt);
      pointer-events: none;
    }
    .founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
    .founder-photo figcaption { padding: 11px 8px 3px; color: var(--muted); text-align: center; }
    .founder-copy h2 {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(49px, 6vw, 76px);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -.03em;
    }
    .founder-copy h2 em { color: var(--cobalt); }
    .founder-copy > p { max-width: 38em; margin: 23px 0 0; color: var(--muted); font-size: 16.5px; }
    .social-links { display: flex; flex-wrap: wrap; gap: 13px 25px; margin-top: 31px; }
    .social-links a {
      padding-bottom: 2px;
      border-bottom: 1px solid var(--line-strong);
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: .1em;
      text-decoration: none;
      text-transform: uppercase;
    }
    .social-links a:hover { color: var(--cobalt); border-color: var(--cobalt); }

    .closing { padding: 128px 0 0; }
    .closing-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
      color: var(--night-ink);
      background: var(--night);
      border: 1px solid var(--night);
    }
    .contact-panel { position: relative; overflow: hidden; padding: 55px 58px 58px; }
    .contact-panel::after {
      content: "";
      position: absolute;
      width: 300px;
      height: 300px;
      right: -190px;
      bottom: -190px;
      border: 1px solid rgba(224, 160, 78, .3);
      border-radius: 50%;
      box-shadow: 0 0 0 55px rgba(224, 160, 78, .03);
      pointer-events: none;
    }
    .contact-panel .micro { color: var(--gold); }
    .contact-panel h2 {
      max-width: 10em;
      margin: 22px 0 0;
      font-family: var(--serif);
      font-size: clamp(45px, 5.2vw, 65px);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -.025em;
    }
    .contact-panel > p { max-width: 39em; margin: 22px 0 0; color: var(--night-muted); }
    .email-link {
      position: relative;
      z-index: 1;
      display: inline-block;
      margin-top: 33px;
      padding-bottom: 4px;
      color: var(--night-ink);
      border-bottom: 2px solid var(--gold);
      font-family: var(--serif);
      font-size: clamp(28px, 3.6vw, 44px);
      font-style: italic;
      line-height: 1.1;
      text-decoration: none;
    }
    .email-link:hover { color: var(--gold); }
    .reply-note { margin-top: 16px !important; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
    .notes-panel {
      padding: 48px 38px;
      color: var(--ink);
      background: var(--paper-bright);
      border-left: 1px solid rgba(243, 238, 228, .25);
    }
    .notes-panel .micro { color: var(--cobalt); }
    .notes-panel h3 { margin: 20px 0 0; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.08; }
    .notes-panel p { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; }
    .notes-panel .card-link { margin-top: 31px; padding-top: 0; }

    footer { margin-top: 100px; padding: 42px 0 58px; border-top: 1px solid var(--line-strong); }
    .footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--paper-bright); }
    .footer-cell { min-width: 0; padding: 12px 15px; }
    .footer-cell + .footer-cell { border-left: 1px solid var(--line-strong); }
    .footer-cell .k { display: block; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
    .footer-cell .v { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .03em; overflow-wrap: anywhere; }
    .footer-note { margin: 20px 0 0; color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }

    @media (max-width: 980px) {
      .nav { grid-template-columns: 1fr auto; }
      .nav-links { display: none; }
      .hero,
      .hero-inner { min-height: 0; }
      .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-block: 70px; }
      .field-index { max-width: 620px; }
      .prototype-grid { grid-template-columns: 1fr; }
      .work-card.magpie { min-height: 400px; }
      .prototype-grid .work-card.sensor,
      .prototype-grid .work-card.kuuki { min-height: 0; }
      .services-layout,
      .belief-lead,
      .founders-layout { grid-template-columns: 1fr; gap: 48px; }
      .belief-grid { grid-template-columns: 1fr; }
      .belief-card { min-height: 0; padding: 27px 0; }
      .belief-card + .belief-card { padding-left: 0; border-top: 1px solid rgba(243, 238, 228, .17); border-left: 0; }
      .founder-photo { max-width: 560px; }
      .closing-grid { grid-template-columns: 1fr; }
      .notes-panel { border-top: 1px solid rgba(243, 238, 228, .25); border-left: 0; }
    }

    @media (max-width: 720px) {
      .wrap { width: min(100% - 34px, var(--measure)); }
      .masthead-inner { min-height: 31px; }
      .masthead-inner span:last-child { display: none; }
      .nav { min-height: 66px; gap: 16px; }
      .wordmark { font-size: 23px; }
      .nav-cta { min-height: 36px; padding: 8px 10px; font-size: 11px; }
      .hero-inner { padding: 56px 0 50px; }
      .hero h1 { font-size: clamp(49px, 14vw, 70px); }
      .hero-lede { font-size: 19px; }
      .field-index { margin-inline: -1px; }
      .margin-note { grid-template-columns: 1fr; gap: 7px; padding: 17px 0; }
      .margin-note span:last-child { white-space: normal; }
      .section { padding-top: 84px; }
      .section-head { grid-template-columns: 1fr; gap: 10px; }
      .section-aside { text-align: left; }
      .section-intro { margin: 21px 0 0; }
      .work-chapter { margin-top: 36px; }
      .chapter-head { grid-template-columns: 1fr; gap: 9px; }
      .chapter-note { text-align: left; }
      .chapter-break { margin-top: 70px; }
      .prototype-chapter { margin-top: 32px; }
      .work-card,
      .work-card.magpie { min-height: 0; }
      .prototype-grid .work-card.sensor,
      .prototype-grid .work-card.kuuki { display: flex; grid-column: auto; }
      .sensor .render-figure,
      .kuuki .render-figure { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
      .render-figure img,
      .kuuki .render-figure img { height: 260px; padding-inline: 16px; }
      .work-card.magpie,
      .card-copy { padding: 26px 22px; }
      .work-card h4 { font-size: clamp(40px, 13vw, 55px); }
      .service-item { grid-template-columns: 30px 1fr; gap: 10px; }
      .service-item p { grid-column: 2; }
      .worldview-band { margin-top: 92px; padding: 80px 0; }
      .belief-lead h2 { font-size: clamp(51px, 14vw, 69px); }
      .founder-photo { margin-right: 14px; box-shadow: 12px 13px 0 var(--paper-deep); }
      .contact-panel,
      .notes-panel { padding: 34px 23px; }
      .email-link { overflow-wrap: anywhere; }
      footer { margin-top: 78px; }
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-cell + .footer-cell { border-left: 0; }
      .footer-cell:nth-child(even) { border-left: 1px solid var(--line-strong); }
      .footer-cell:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
    }

    @media (max-width: 390px) {
      .wrap { width: min(100% - 28px, var(--measure)); }
      .wordmark { font-size: 21px; }
      .nav-cta { padding-inline: 8px; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .button { width: 100%; }
      .index-row { padding-inline: 16px; }
      .index-group { padding-inline: 16px; }
      .footer-cell { padding-inline: 10px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .button,
      .nav-cta { transition: none; }
      .button:hover,
      .nav-cta:hover { transform: none; }
    }

    /* Research practice (Pertzel Lab), added 2026-10-16 */
    .lab-latest {
      display: grid;
      grid-template-columns: 170px 1fr auto;
      align-items: center;
      gap: 30px;
      min-height: 74px;
      padding: 10px 0;
      color: var(--ink);
      border-bottom: 1px solid var(--line);
      text-decoration: none;
    }
    .lab-latest .section-number { color: var(--cobalt); }
    .lab-latest-title { font-family: var(--serif); font-size: 18px; line-height: 1.35; }
    .lab-latest:hover .lab-latest-title,
    .lab-latest:focus-visible .lab-latest-title { color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; }
    .lab-latest > .micro { color: var(--muted); white-space: nowrap; }
    .research-chapter { margin-top: 42px; }
    .work-card.lab {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .work-card.lab .render-figure { min-height: 0; border-right: 1px solid var(--line); border-bottom: 0; }
    .work-card.lab .render-figure::before { display: none; }
    .work-card.lab .render-figure img { height: auto; margin: auto 0; padding: 28px 24px 16px; }
    .work-card.lab .card-copy { padding: 42px; }
    .status.research::before { background: var(--gold); }
    .lab-figure { margin: 0; background: var(--paper-bright); border: 1px solid var(--line); padding: 12px; }
    .lab-figure img { display: block; width: 100%; height: auto; }
    .lab-figure figcaption { margin-top: 10px; font-family: var(--sans); font-size: 13.5px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--muted); }
    .lab-figure figcaption strong { color: var(--ink); font-weight: 600; }
    .figure-link { display: block; }
    .figure-data { margin-top: 10px; }
    .figure-data summary { cursor: pointer; color: var(--cobalt); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
    .figure-data table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
    .figure-data caption { padding-bottom: 6px; color: var(--muted); font-size: 12px; text-align: left; }
    .figure-data th, .figure-data td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
    .figure-data th[scope="row"] { color: var(--cobalt); font-family: var(--mono); font-weight: 600; }
    .nav-links a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
    .notes-panel .card-link { display: block; width: fit-content; }
    .notes-panel .card-link + .card-link { margin-top: 12px; }
    @media (max-width: 980px) {
      .work-card.lab { grid-template-columns: 1fr; }
      .work-card.lab .render-figure { border-right: 0; border-bottom: 1px solid var(--line); }
    }
    @media (max-width: 720px) {
      .lab-latest { grid-template-columns: 1fr; gap: 7px; padding: 17px 0; }
      .research-chapter { margin-top: 32px; }
      .lab-latest > .micro { white-space: normal; }
      .work-card.lab .render-figure img { height: auto; padding: 18px 14px 8px; }
      .work-card.lab .card-copy { padding: 26px 22px; }
    }

/* Project context on existing lab posts. */
.lab-post-context { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px;
  margin: 22px 0 12px; font: 13px/1.5 var(--sans); color: var(--muted); }
.lab-post-context a { display: inline-flex; align-items: center; min-height: 44px;
  color: var(--cobalt); text-underline-offset: 4px; }

/* Sequential reading controls, shared by published weekly lab posts. */
.week-navigation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px; margin:40px 0 18px; font:14px/1.5 var(--sans); }
.week-navigation .week-nav-item { min-width:0; display:flex; flex-direction:column;
  gap:8px; padding:20px; border:1px solid var(--line); background:var(--paper-bright);
  color:var(--ink); text-decoration:none; overflow-wrap:anywhere; }
.week-navigation .week-nav-label { font:11px/1.5 var(--mono); text-transform:uppercase;
  letter-spacing:.06em; color:var(--cobalt); }
.week-navigation strong { font-size:18px; line-height:1.3; font-weight:600; }
.week-navigation a:hover { border-color:var(--cobalt); background:var(--paper); }
.week-navigation a:focus-visible { outline:3px solid var(--cobalt); outline-offset:3px; }
.week-navigation .week-nav-boundary { background:transparent; color:var(--muted); }
.week-navigation .week-nav-boundary .week-nav-label { color:var(--muted); }
@media (max-width:600px) {
  .week-navigation { grid-template-columns:minmax(0,1fr); gap:10px; }
  .week-navigation .week-nav-item { padding:18px; }
  .week-navigation .week-nav-boundary { padding:14px 18px; }
}
