
    :root {
      --ink: #222426;
      --muted: #676b6e;
      --line: #d9d9d4;
      --paper: #ffffff;
      --soft: #f4f4f0;
      --accent: #ff5349;
      --accent-dark: #d83d35;
      --max: 1320px;
      --pad: clamp(22px, 4vw, 64px);
      --brand-logo: url("2812ea01ed83eaf0.png");
      --project-peresvet-image: url("4762ba21a375fa39.jpg");
      --project-riga-image: url("5b253b123b87b776.webp");
      --project-office-image: url("e4f0cda05ad598eb.webp");
      --experience-image: url("719ea1f9500c3b5f.webp");
      --closing-image: url("ca804d129b99b4e7.webp");
      --hero-image: url("b8583817d231f5b3.webp");
      --system-image: url("c94f41674b08b59d.webp");
      --logo-symbol: url("96dfc69b23b0cc5e.svg");
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--toolbar-height, 58px) + 20px); }
    body {
      margin: 0;
      background: #e9e9e5;
      color: var(--ink);
      font-family: Arial, Helvetica, sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }

    .prototype-toolbar {
      position: sticky;
      top: 0;
      z-index: 100;
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 18px;
      color: #fff;
      background: #202224;
      border-bottom: 1px solid #393b3d;
    }
    .prototype-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .prototype-title { font-size: 14px; font-weight: 700; white-space: nowrap; }
    .prototype-note { font-size: 12px; color: #bfc2c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .viewport-switch { display: flex; gap: 4px; padding: 3px; background: #111214; border-radius: 4px; }
    .viewport-switch button {
      border: 0;
      padding: 8px 12px;
      color: #c8cbcd;
      background: transparent;
      cursor: pointer;
      border-radius: 3px;
      font-size: 12px;
      font-weight: 700;
    }
    .viewport-switch button[aria-pressed="true"] { color: #111214; background: #fff; }

    .preview-stage { padding: 0; }
    .site-shell {
      position: relative;
      width: 100%;
      margin: 0 auto;
      background: var(--paper);
      box-shadow: 0 14px 50px rgba(20, 22, 24, .14);
      container-type: inline-size;
      transition: width .25s ease;
      overflow: clip;
    }
    .site-shell[data-viewport="desktop"] { width: 100%; }
    .site-shell[data-viewport="mobile"] { width: min(390px, 100%); }

    .wire-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
      color: var(--accent-dark);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .wire-label::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

    .site-header {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: clamp(18px, 2vw, 28px);
      min-height: 90px;
      padding: 0 var(--pad);
      background: linear-gradient(180deg, rgba(13,14,15,.58) 0%, rgba(13,14,15,.2) 72%, rgba(13,14,15,0) 100%);
      border-bottom: 0;
    }
    .wordmark {
      display: inline-flex;
      align-items: center;
      width: clamp(270px, 25vw, 360px);
      max-width: 100%;
      text-decoration: none;
      line-height: 0;
    }
    .brand-logo {
      display: block;
      width: 100%;
      aspect-ratio: 2048 / 120;
      background: var(--brand-logo) center / contain no-repeat;
    }
    .brand-logo--stacked {
      aspect-ratio: 2048 / 419;
      background-image: url("f43426bedc4390fd.png");
    }
    .main-nav { justify-self: center; display: flex; align-items: center; gap: 28px; }
    .main-nav a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
    }
    .main-nav a:hover, .main-nav a:focus-visible { color: #ffaaa5; }
    .header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: min(25vw, 360px); }
    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      color: #fff;
      border: 1px solid rgba(255,255,255,.72);
      background: rgba(17,18,19,.3);
      cursor: pointer;
      font-size: 20px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 13px 20px;
      border: 1px solid var(--ink);
      color: #fff;
      background: var(--ink);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s ease, border-color .2s ease, color .2s ease;
    }
    .button:hover, .button:focus-visible { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }
    .button--light { color: var(--ink); background: #fff; }
    .button--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
    .button--glossy {
      position: relative;
      overflow: hidden;
      border-radius: 999px;
      background: linear-gradient(180deg, #414548 0%, #282b2d 52%, #1c1e20 100%);
      border-color: #1c1e20;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(0,0,0,.35), 0 7px 20px rgba(17,18,20,.22);
    }
    .button--glossy::before {
      content: "";
      position: absolute;
      top: 3px;
      left: 14%;
      right: 14%;
      height: 42%;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
      pointer-events: none;
    }
    .button--glossy:hover, .button--glossy:focus-visible {
      background: linear-gradient(180deg, #ff756e 0%, var(--accent) 54%, var(--accent-dark) 100%);
      border-color: var(--accent-dark);
      color: #17191b;
    }
    .button--coral-glossy {
      color: #17191b;
      background: linear-gradient(180deg, #ff8580 0%, var(--accent) 54%, var(--accent-dark) 100%);
      border-color: #ff756e;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(91,13,9,.28), 0 9px 24px rgba(0,0,0,.28);
    }
    .button--coral-glossy:hover, .button--coral-glossy:focus-visible {
      color: #17191b;
      background: linear-gradient(180deg, #ffaaa6 0%, #ff6b63 54%, #e5443b 100%);
      border-color: #ff8c86;
    }
    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      text-decoration: none;
      font-weight: 700;
      border-bottom: 1px solid currentColor;
      padding-bottom: 3px;
    }

    .section { padding: clamp(72px, 8vw, 124px) var(--pad); border-bottom: 1px solid var(--line); }
    .section-inner { width: 100%; max-width: var(--max); margin: 0 auto; }
    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 940px;
      margin-bottom: 28px;
      font-size: clamp(44px, 6.2vw, 88px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 700;
    }
    h2 {
      max-width: 940px;
      margin-bottom: 30px;
      font-size: clamp(34px, 4.1vw, 62px);
      line-height: 1.04;
      letter-spacing: -.04em;
    }
    h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
    .lead { max-width: 780px; font-size: clamp(19px, 2vw, 28px); line-height: 1.35; color: #3f4345; }
    .body-large { max-width: 740px; font-size: 20px; line-height: 1.5; color: #44484a; }
    .muted { color: var(--muted); }

    .hero {
      position: relative;
      display: flex;
      align-items: flex-end;
      min-height: clamp(680px, calc(100vh - 136px), 860px);
      padding-top: clamp(92px, 10vw, 150px);
      color: #fff;
      background:
        linear-gradient(90deg, rgba(17,18,19,.88) 0%, rgba(17,18,19,.73) 39%, rgba(17,18,19,.22) 72%, rgba(17,18,19,.08) 100%),
        var(--hero-image) center / cover no-repeat;
      border-bottom: 0;
    }
    .hero-grid { display: block; }
    .hero-copy { max-width: 830px; }
    .hero h1 { max-width: 800px; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
    .hero .lead { max-width: 720px; color: rgba(255,255,255,.9); }
    .hero .wire-label { color: #ffaaa5; }
    .hero .text-link { color: #fff; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
    .hero-object-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.4); }
    .hero-object-list span { font-size: 13px; font-weight: 700; }

    .directions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
    .direction-card {
      position: relative;
      min-height: 210px;
      padding: 28px 64px 28px 0;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid var(--line);
    }
    .direction-card:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--line); }
    .direction-card:nth-child(even) { padding-left: 48px; }
    .direction-number { display: block; margin-bottom: 44px; color: var(--accent-dark); font-size: 12px; font-weight: 700; }
    .direction-card h3 { max-width: 500px; margin-bottom: 14px; }
    .direction-card p { max-width: 500px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
    .direction-card::after { content: "↗"; position: absolute; top: 28px; right: 26px; font-size: 22px; }
    .direction-card:hover h3, .direction-card:focus-visible h3 { color: var(--accent-dark); }

    .system-section {
      color: #fff;
      background:
        linear-gradient(90deg, rgba(18,20,21,.78) 0%, rgba(18,20,21,.68) 46%, rgba(18,20,21,.48) 100%),
        var(--system-image) center / cover no-repeat;
    }
    .system-section h2, .system-section h3 { color: #fff; }
    .system-section .body-large { color: #c9ccce; }
    .system-section .wire-label { color: #ff8b84; }
    .system-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
    .system-steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid #55595c; }
    .system-step { min-height: 210px; padding: 28px 22px 28px 0; border-bottom: 1px solid #55595c; }
    .system-step:nth-child(odd) { border-right: 1px solid #55595c; }
    .system-step:nth-child(even) { padding-left: 28px; }
    .system-step span { color: #ff8b84; font-size: 12px; font-weight: 700; }
    .system-step h3 { margin-top: 48px; margin-bottom: 10px; }
    .system-step p { color: #b8bcbe; line-height: 1.45; }

    .section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
    .section-heading-row h2 { margin-bottom: 0; }
    .projects-heading-aside { display: grid; flex: 0 0 auto; justify-items: end; gap: 18px; }
    .projects-brand-symbol {
      width: clamp(112px, 9vw, 136px);
      aspect-ratio: 1;
      background: var(--logo-symbol) center / contain no-repeat;
    }
    .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
    .project-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
    .project-image {
      position: relative;
      min-height: 380px;
      display: flex;
      align-items: flex-end;
      padding: 20px;
      color: #fff;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      overflow: hidden;
    }
    .project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,17,0) 52%, rgba(15,16,17,.72) 100%); }
    .project-card[data-source-slide="11"] .project-image { background-image: var(--project-peresvet-image); }
    .project-card[data-source-slide="13"] .project-image { background-image: var(--project-riga-image); }
    .project-card[data-source-slide="14"] .project-image { background-image: var(--project-office-image); }
    .project-image span { position: relative; z-index: 1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
    .project-copy { flex: 1; padding: 22px 0; border-bottom: 1px solid var(--ink); }
    .project-copy h3 { margin-bottom: 9px; }
    .project-copy p { margin-bottom: 0; color: var(--muted); line-height: 1.45; }

    .process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--ink); }
    .process-step { min-height: 300px; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
    .process-step + .process-step { padding-left: 24px; }
    .process-step:last-child { border-right: 0; }
    .process-step .step-num { display: block; margin-bottom: 72px; color: var(--accent-dark); font-weight: 700; }
    .process-step ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }

    .experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
    .fact { min-height: 250px; padding: 30px 28px 30px 0; border-right: 1px solid var(--line); }
    .fact + .fact { padding-left: 28px; }
    .fact:last-child { border-right: 0; }
    .fact strong { display: block; margin-bottom: 24px; font-size: clamp(50px, 6vw, 86px); line-height: 1; letter-spacing: -.06em; }
    .fact p { max-width: 340px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
    .experience-section {
      color: #fff;
      background:
        linear-gradient(90deg, rgba(18,20,21,.78), rgba(18,20,21,.66)),
        var(--experience-image) center / cover no-repeat;
    }
    .experience-section h2, .experience-section .fact strong { color: #fff; }
    .experience-section .wire-label { color: #ffaaa5; }
    .experience-section .experience-grid { border-color: rgba(255,255,255,.62); }
    .experience-section .fact { border-color: rgba(255,255,255,.32); }
    .experience-section .fact p { color: rgba(255,255,255,.88); }

    .faq-list { border-top: 1px solid var(--ink); }
    details { border-bottom: 1px solid var(--line); }
    summary {
      position: relative;
      padding: 28px 52px 28px 0;
      cursor: pointer;
      list-style: none;
      font-size: 20px;
      font-weight: 700;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 30px; font-weight: 400; }
    details[open] summary::after { content: "−"; }
    details p { max-width: 800px; padding: 0 48px 28px 0; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

    .closing {
      color: #fff;
      background:
        linear-gradient(90deg, rgba(15,17,18,.84), rgba(15,17,18,.56)),
        var(--closing-image) center 82% / cover no-repeat;
    }
    .closing-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; }
    .closing h2 { margin-bottom: 0; color: #fff; text-shadow: 0 1px 18px rgba(122,24,19,.22); }
    .closing-copy p { color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.5; }
    .closing .button { width: 100%; min-height: 60px; }

    .site-footer { padding: 54px var(--pad) 32px; color: #fff; background: #17191b; }
    .footer-inner { max-width: var(--max); margin: 0 auto; }
    .footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(150px, .65fr) minmax(220px, 1fr); gap: 48px; margin-bottom: 58px; }
    .footer-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #aeb2b4; }
    .footer-grid a, .footer-grid p { display: block; color: #fff; text-decoration: none; line-height: 1.8; }
    .footer-grid .wordmark { display: inline-flex; width: min(560px, 100%); }
    .footer-placeholder { color: #aeb2b4 !important; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #3c3f41; color: #9ca0a2; font-size: 12px; }

    dialog {
      width: min(640px, calc(100% - 32px));
      max-height: calc(100dvh - 32px);
      border: 0;
      padding: 0;
      color: var(--ink);
      background: #fff;
      box-shadow: 0 24px 90px rgba(0,0,0,.3);
    }
    dialog::backdrop { background: rgba(15,17,18,.76); }
    .dialog-inner { padding: clamp(28px, 5vw, 56px); }
    .dialog-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
    .dialog-head h2 { margin: 0; font-size: 38px; }
    .dialog-close { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-size: 24px; }
    .prototype-warning { padding: 12px 14px; margin-bottom: 24px; color: #68420b; background: #fff2ce; font-size: 13px; line-height: 1.4; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .field { display: grid; gap: 8px; }
    .field--full { grid-column: 1 / -1; }
    label { font-size: 14px; font-weight: 700; }
    input, select, textarea { width: 100%; border: 1px solid #aeb1b2; border-radius: 0; padding: 14px; color: var(--ink); background: #fff; font-size: 16px; }
    textarea { min-height: 112px; resize: vertical; }
    input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,83,73,.2); border-color: var(--accent-dark); }
    .consent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 13px; line-height: 1.4; }
    .consent input { width: 18px; height: 18px; margin-top: 1px; }
    .consent a { color: inherit; }
    .form-submit { grid-column: 1 / -1; margin-top: 8px; }
    .form-success { display: none; padding: 30px 0 10px; }
    .form-success strong { display: block; margin-bottom: 12px; font-size: 30px; }

    .review-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 38px;
      padding: 8px 13px;
      color: #fff;
      background: transparent;
      border: 1px solid #5b5e60;
      border-radius: 3px;
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }
    .review-toggle span {
      display: inline-grid;
      place-items: center;
      min-width: 22px;
      height: 22px;
      padding: 0 6px;
      color: #111214;
      background: #fff;
      border-radius: 11px;
    }
    .review-toggle[aria-pressed="true"] { color: #111214; background: var(--accent); border-color: var(--accent); }
    .review-toggle[aria-pressed="true"] span { background: #111214; color: #fff; }

    .review-mode .review-target {
      position: relative;
      outline: 2px dashed rgba(255, 83, 73, .72);
      outline-offset: -5px;
      cursor: crosshair;
    }
    .review-mode .review-target:hover,
    .review-mode .review-target.is-review-selected {
      outline: 5px solid var(--accent);
      outline-offset: -5px;
    }
    .review-mode .review-target::before {
      content: attr(data-review-number);
      position: absolute;
      top: 8px;
      left: 8px;
      z-index: 80;
      min-width: 34px;
      padding: 6px 8px;
      color: #111214;
      background: var(--accent);
      box-shadow: 0 2px 12px rgba(0,0,0,.18);
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      text-align: center;
    }
    .review-mode dialog.review-target::before { top: 4px; left: 4px; }

    .review-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 300;
      width: min(440px, 100%);
      padding: 0;
      color: var(--ink);
      background: #fff;
      border-left: 1px solid var(--line);
      box-shadow: -16px 0 54px rgba(17,18,20,.2);
      transform: translateX(105%);
      transition: transform .24s ease;
      overflow-y: auto;
    }
    .review-panel.is-open { transform: translateX(0); }
    .review-panel-head {
      position: sticky;
      top: 0;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 18px;
      padding: 24px;
      color: #fff;
      background: #202224;
      border-bottom: 1px solid #393b3d;
    }
    .review-panel-head h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.03em; }
    .review-panel-head p { margin: 0; color: #bfc2c4; font-size: 12px; }
    .review-panel-close {
      flex: 0 0 auto;
      width: 40px;
      height: 40px;
      color: #fff;
      background: transparent;
      border: 1px solid #64686a;
      cursor: pointer;
      font-size: 22px;
    }
    .review-panel-body { padding: 24px; }
    .review-help {
      margin: 0 0 22px;
      padding: 14px;
      color: #4f5355;
      background: var(--soft);
      font-size: 13px;
      line-height: 1.5;
    }
    .review-selection {
      margin-bottom: 22px;
      padding: 14px;
      color: #4f5355;
      border: 1px solid var(--line);
      font-size: 13px;
      line-height: 1.45;
    }
    .review-selection strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 15px; }
    .review-editor { display: grid; gap: 16px; }
    .review-editor .field { gap: 7px; }
    .review-editor textarea { min-height: 100px; }
    .review-editor .replacement { min-height: 76px; }
    .review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .review-actions .button { width: 100%; min-height: 44px; padding: 10px 12px; }
    .review-actions .button:first-child { grid-column: 1 / -1; }
    .review-divider { margin: 28px 0 20px; border: 0; border-top: 1px solid var(--line); }
    .review-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
    .review-list-head h3 { margin: 0; font-size: 18px; }
    .review-clear { border: 0; padding: 5px 0; color: var(--accent-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
    .review-list { display: grid; gap: 10px; }
    .review-empty { margin: 0; padding: 18px; color: var(--muted); background: var(--soft); font-size: 13px; text-align: center; }
    .review-note { padding: 14px; border: 1px solid var(--line); }
    .review-note-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
    .review-note h4 { margin: 0; font-size: 14px; line-height: 1.35; }
    .review-note-meta { margin-bottom: 10px; color: var(--accent-dark); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
    .review-note p { margin: 0 0 8px; color: #4f5355; font-size: 13px; line-height: 1.45; white-space: pre-wrap; }
    .review-note p:last-of-type { margin-bottom: 0; }
    .review-note-delete { flex: 0 0 auto; border: 0; padding: 0; color: #8a8e90; background: transparent; cursor: pointer; font-size: 18px; }
    .review-storage-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
    .review-toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      z-index: 400;
      max-width: calc(100% - 32px);
      padding: 12px 18px;
      color: #fff;
      background: #202224;
      box-shadow: 0 8px 28px rgba(0,0,0,.25);
      transform: translate(-50%, 140%);
      transition: transform .2s ease;
      font-size: 13px;
      font-weight: 700;
    }
    .review-toast.is-visible { transform: translate(-50%, 0); }

    @media (max-width: 720px) {
      .review-panel { width: 100%; }
      .review-toggle { width: 100%; }
    }

    @container (max-width: 880px) {
      .site-header { grid-template-columns: 1fr auto; min-height: 74px; }
      .wordmark { width: min(270px, 100%); }
      .header-actions { min-width: 0; }
      .main-nav, .header-actions .button { display: none; }
      .menu-toggle { display: block; }
      .main-nav.is-open {
        position: absolute;
        left: 0;
        right: 0;
        top: 74px;
        display: grid;
        justify-items: stretch;
        gap: 0;
        padding: 12px var(--pad) 24px;
        background: rgba(17,18,19,.97);
        border-bottom: 1px solid rgba(255,255,255,.28);
      }
      .main-nav.is-open a { padding: 14px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
      .system-grid, .closing-grid { grid-template-columns: 1fr; }
      .hero { min-height: 720px; background-position: 57% center; }
      .projects-grid { grid-template-columns: 1fr; gap: 42px; }
      .project-image { min-height: 480px; }
      .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .process-step:nth-child(2) { border-right: 0; }
      .experience-grid { grid-template-columns: 1fr; }
      .fact, .fact + .fact { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
      .experience-section .fact, .experience-section .fact + .fact { border-right: 0; border-bottom-color: rgba(255,255,255,.32); }
      .fact:last-child { border-bottom: 0; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid > :first-child { grid-column: 1 / -1; }
    }

    @container (max-width: 540px) {
      .section, .site-header, .site-footer { --pad: 22px; }
      .section { padding-top: 74px; padding-bottom: 74px; }
      .wordmark { width: min(235px, 100%); }
      h1 { font-size: 43px; line-height: 1.01; letter-spacing: -.045em; }
      h2 { font-size: 36px; line-height: 1.06; }
      .lead { font-size: 19px; }
      .hero-actions { display: grid; }
      .hero-actions .button, .hero-actions .text-link { width: 100%; }
      .hero-object-list { display: grid; gap: 9px; }
      .hero {
        min-height: 760px;
        padding-top: 110px;
        background:
          linear-gradient(180deg, rgba(17,18,19,.18) 0%, rgba(17,18,19,.48) 34%, rgba(17,18,19,.91) 74%, rgba(17,18,19,.96) 100%),
          var(--hero-image) 60% center / cover no-repeat;
      }
      .closing { background-position: 51% 84%; }
      .directions-grid, .system-steps { grid-template-columns: 1fr; }
      .direction-card, .direction-card:nth-child(odd), .direction-card:nth-child(even) { min-height: 0; padding: 24px 46px 28px 0; border-right: 0; }
      .direction-number { margin-bottom: 28px; }
      .system-step, .system-step:nth-child(odd), .system-step:nth-child(even) { min-height: 0; padding: 24px 0; border-right: 0; }
      .system-step h3 { margin-top: 30px; }
      .section-heading-row { align-items: start; flex-direction: column; }
      .projects-heading-aside { justify-items: start; }
      .projects-brand-symbol { width: min(112px, 34vw); }
      .project-image { min-height: 320px; }
      .process-grid { grid-template-columns: 1fr; }
      .process-step, .process-step + .process-step { min-height: 0; padding: 24px 0 30px; border-right: 0; }
      .process-step .step-num { margin-bottom: 34px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-grid > :first-child { grid-column: auto; }
      .footer-bottom { flex-direction: column; }
      .form-grid { grid-template-columns: 1fr; }
      .field--full, .consent, .form-submit { grid-column: auto; }
    }

    @media (max-width: 720px) {
      .prototype-toolbar { align-items: flex-start; flex-direction: column; }
      .prototype-note { display: none; }
      .preview-stage { padding: 0; }
      .viewport-switch { width: 100%; }
      .viewport-switch button { flex: 1; }
    }
    /* v0.7 · One sticky photo stage, natural document scroll, eight source frames.
       This block is independent of the hero image and of the existing review UI. */
    :root { --toolbar-height: 58px; --scene-height: max(240px, calc(100svh - var(--toolbar-height))); }
    .review-mode .site-header.review-target { position: absolute; }
    .photo-story {
      position: relative;
      isolation: isolate;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      background: #272825;
      --story-gap: clamp(280px, 60svh, 860px);
    }
    .story-stage { display: none; }
    .photo-story.is-enhanced .story-stage {
      position: sticky;
      top: var(--toolbar-height);
      display: block;
      height: var(--scene-height);
      min-height: 200px;
      grid-area: 1 / 1;
      align-self: start;
      margin-bottom: 0;
      overflow: clip;
      pointer-events: none;
      z-index: 0;
      background: #272825;
    }
    .story-layer {
      position: absolute;
      inset: 0;
      opacity: 0;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: var(--scene-position, 50% 50%);
      transition: opacity 800ms ease;
    }
    .story-layer.is-active { opacity: 1; }
    .story-stage::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(12,15,16,.14), rgba(12,15,16,.06) 48%, rgba(12,15,16,.24));
    }
    .story-flow { position: relative; grid-area: 1 / 1; z-index: 1; display: flow-root; }
    .story-step {
      position: relative;
      background-size: cover;
      background-position: var(--scene-position, 50% 50%);
      background-repeat: no-repeat;
    }
    .photo-story.is-enhanced .story-step { background: none; }
    .story-window { position: relative; height: var(--story-gap); }
    .story-step:first-child .story-window { height: calc(var(--scene-height) / 2); min-height: 140px; }
    .story-step--outro .story-window { height: calc(var(--scene-height) / 2); min-height: 140px; }
    .story-step .section {
      position: relative;
      margin: 0;
      padding: 0 var(--pad);
      background: none;
      border: 0;
    }
    .story-step .section > .section-inner {
      max-width: calc(var(--max) + 128px);
      padding: clamp(36px, 4.5cqw, 72px);
      background: rgba(250,249,246,.95);
      border: 1px solid rgba(255,255,255,.5);
      box-shadow: 0 24px 70px rgba(0,0,0,.14);
    }
    .story-step .system-section > .section-inner,
    .story-step .experience-section > .section-inner,
    .story-step .closing > .section-inner {
      background: rgba(22,25,27,.88);
      border-color: rgba(255,255,255,.24);
    }
    .photo-story .system-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4cqw, 64px); }
    .photo-story .closing-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4cqw, 64px); }
    .photo-story .system-step p, .photo-story .system-section .body-large { color: #e0e2e3; }
    .photo-story .system-steps, .photo-story .system-step { border-color: rgba(255,255,255,.34); }
    .story-step h2, .story-step h3 { overflow-wrap: break-word; }
    .story-step .project-image { min-height: 0; aspect-ratio: 4 / 5; }
    .photo-story [id] { scroll-margin-top: 16px; }
    /* Scene assets and focal points — original presentation order, without slide text. */
    .scene-01 { background-image: url("38c5887ceda1604c.png"); --scene-position: 50% 52%; --scene-mobile-position: 70% 50%; }
    .scene-02 { background-image: url("64d356f88aab47f1.webp"); --scene-position: 50% 56%; --scene-mobile-position: 58% 50%; }
    .scene-03 { background-image: url("54fba141e4212072.webp"); --scene-position: 50% 47%; --scene-mobile-position: 58% 50%; }
    .scene-04 { background-image: url("e7410677dc62820b.webp"); --scene-position: 50% 58%; --scene-mobile-position: 74% 50%; }
    .scene-05 { background-image: url("11774032d638d959.webp"); --scene-position: 48% 53%; --scene-mobile-position: 43% 50%; }
    .scene-06 { background-image: url("3d6849fd611ad157.webp"); --scene-position: 50% 58%; --scene-mobile-position: 52% 50%; }

    .scene-07 { background-image: url("3214686f6dfe69d4.webp"); --scene-position: 50% 58%; --scene-mobile-position: 58% 50%; }

    @container (min-width: 1441px) {
      .site-header { padding-inline: max(var(--pad), calc((100cqw - var(--max)) / 2)); }
      .hero { min-height: max(680px, var(--scene-height)); }
    }
    @container (max-width: 1120px) {
      .site-header { grid-template-columns: 1fr auto; min-height: 74px; }
      .header-actions { min-width: 0; }
      .main-nav { display: none; }
      .menu-toggle { display: block; }
      .main-nav.is-open {
        position: absolute; left: 0; right: 0; top: 74px;
        display: grid; justify-items: stretch; gap: 0;
        padding: 12px var(--pad) 24px;
        background: rgba(17,18,19,.97);
        border-bottom: 1px solid rgba(255,255,255,.28);
      }
      .main-nav.is-open a { padding: 14px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
    }
    @container (max-width: 880px) {
      .photo-story { --story-gap: clamp(240px, 42svh, 480px); }
      .photo-story .system-grid, .photo-story .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
      .story-stage::after { background: linear-gradient(180deg, rgba(12,15,16,.26), rgba(12,15,16,.14) 48%, rgba(12,15,16,.36)); }
      .story-layer { background-position: var(--scene-mobile-position, var(--scene-position, 50% 50%)); }
      .story-step .section > .section-inner { padding: 40px 30px; }
      .story-step .project-image { aspect-ratio: 4 / 3; }
    }
    @container (max-width: 540px) {
      .photo-story { --story-gap: clamp(190px, 34svh, 340px); }
      .story-step:first-child .story-window { height: clamp(140px, 30svh, 270px); }
      .story-step--outro .story-window { height: clamp(140px, 30svh, 270px); }
      .story-step .section { padding: 0 14px; }
      .story-step .section > .section-inner { padding: 36px 22px; background: rgba(250,249,246,.97); }
      .story-step .system-section > .section-inner,
      .story-step .experience-section > .section-inner,
      .story-step .closing > .section-inner { background: rgba(18,21,23,.94); }
      .story-step h2 { font-size: clamp(28px, 8.6cqw, 36px); }
      .story-step h3 { font-size: 21px; }
      .story-step .body-large { font-size: 18px; }
      .story-step .direction-card, .story-step .direction-card:nth-child(odd), .story-step .direction-card:nth-child(even) { padding-right: 30px; }
      .story-step .direction-card::after { right: 0; }
      .story-step .fact strong { font-size: clamp(50px, 16cqw, 70px); }
      .story-step .project-image { aspect-ratio: 4 / 5; }
      .story-step summary { font-size: 18px; padding-right: 30px; }
      .story-step details p { padding-right: 0; font-size: 16px; }
    }
    @media (max-width: 720px) { :root { --toolbar-height: 152px; } }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .story-layer, .site-shell { transition: none; }
    }
    @media print {
      .prototype-toolbar, .review-panel, .review-toast, .story-stage, .story-window { display: none !important; }
      .story-step .section { padding: 0; }
      .story-step .section > .section-inner { box-shadow: none; background: white !important; color: #222426; }
      .story-step .section :is(h2, h3, strong, p) { color: #222426; }
    }
    /* v0.8 · Applied review 43–52. */
    .hero-copy { max-width: 1040px; }
    .hero h1 { max-width: 1040px; overflow-wrap: break-word; }
    .hero-bottom {
      display: grid;
      grid-template-columns: minmax(0, 1fr) clamp(260px, 24cqw, 340px);
      align-items: end;
      gap: clamp(28px, 3cqw, 48px);
      margin-top: clamp(32px, 4cqw, 56px);
    }
    .hero-direction-title { font-size: clamp(24px, 2.2cqw, 28px); line-height: 1.2; }
    .hero-object-list { gap: 12px; margin-top: 24px; padding-top: 0; border-top: 0; }
    .hero-direction-pill {
      max-width: 100%;
      min-height: 50px;
      padding: 13px 19px;
      font-size: 18px;
      line-height: 1.3;
      text-align: center;
      overflow-wrap: break-word;
    }
    .hero-contact { display: grid; gap: 18px; justify-items: stretch; }
    .hero-project-button { min-height: 58px; font-size: 18px; }
    .hero-contact-line { display: flex; align-items: center; justify-content: flex-end; justify-self: end; max-width: 100%; gap: 16px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(17,18,19,.7); }
    .hero-email {
      flex: 0 0 auto;
      display: inline-flex;
      width: 48px;
      height: 48px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,.68);
      border-radius: 50%;
      background: rgba(17,18,19,.64);
      color: #fff;
    }
    .hero-email svg { width: 24px; height: 24px; }
    .hero-email:hover, .hero-email:focus-visible { background: var(--accent-dark); }
    .hero-phone { color: #fff; text-decoration: none; font-size: clamp(18px, 1.6cqw, 22px); font-weight: 700; white-space: nowrap; }
    .hero-phone:hover, .hero-phone:focus-visible { color: #ffaaa5; }
    .system-step > span { display: inline-block; font-size: clamp(30px, 3cqw, 44px); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
    .projects-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
    .projects-topline .wire-label { margin-bottom: 0; }
    .projects-topline .text-link { flex: 0 0 auto; }
    .section-heading-row { align-items: flex-start; }
    .section-heading-row h2 { flex: 1; min-width: 0; max-width: none; }
    .projects-brand-symbol { display: block; flex: 0 0 auto; width: var(--project-title-height, 130px); aspect-ratio: 1; }
    .project-image::after { display: none; }
    [hidden] { display: none !important; }
    @container (max-width: 1080px) {
      .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 30px; }
      .hero-contact { width: min(340px, 100%); justify-self: end; }
    }
    @container (max-width: 540px) {
      .hero h1 { font-size: clamp(34px, 11cqw, 43px); }
      .hero-direction-title { font-size: 24px; }
      .hero-object-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
      .hero-direction-pill { width: 100%; font-size: 17px; }
      .hero-contact { width: 100%; justify-self: stretch; }
      .hero-contact-line { justify-content: center; justify-self: center; }
      .hero-phone { font-size: 20px; }
      .projects-topline { align-items: start; gap: 16px; }
      .projects-topline .wire-label { font-size: 11px; line-height: 1.4; }
      .projects-topline .text-link { font-size: 13px; }
      .section-heading-row { gap: 22px; }
      .projects-brand-symbol { width: 88px; }
    }
    /* v0.9 · Review 53–57 and a native, initially collapsed FAQ. */
    .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; min-height: 96px; }
    .site-header .wordmark { width: clamp(270px, 20cqw, 340px); }
    .main-nav { gap: 18px; }
    .main-nav a { white-space: nowrap; }
    .header-actions { min-width: 0; gap: 12px; }
    .header-project-button { min-height: 46px; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
    .header-contact-line { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(17,18,19,.6); }
    .header-email { width: 38px; height: 38px; }
    .header-email svg { width: 21px; height: 21px; }
    .header-phone { font-size: 18px; }
    .hero-bottom { display: block; }
    .hero-object-list { margin-top: 0; display: flex; flex-wrap: nowrap; gap: 12px; }
    .hero-direction-pill { flex: 0 1 auto; font-size: clamp(14px, 1.35cqw, 18px); white-space: nowrap; }
    /* The footer always owns its paint layer, in both viewing and review modes.
       The photo stage and the scroll content share a grid cell, without the
       negative margin that could allow the sticky photo to cover the footer. */
    .site-footer { position: relative; z-index: 2; }
    @container (max-width: 1280px) {
      .site-header { grid-template-columns: minmax(0, 1fr) auto; }
      .main-nav { display: none; }
      .menu-toggle { display: block; }
      .main-nav.is-open {
        position: absolute; top: 100%; left: 0; right: 0;
        display: grid; justify-items: stretch; gap: 0;
        padding: 12px var(--pad) 24px;
        background: rgba(17,18,19,.97);
        border-bottom: 1px solid rgba(255,255,255,.28);
      }
      .main-nav.is-open a { padding: 14px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
    }
    @container (max-width: 880px) {
      .site-header { grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; padding-block: 14px; }
      .site-header .wordmark { width: min(235px, calc(100% - 58px)); min-height: 44px; }
      .header-actions { grid-column: 1 / -1; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
      .menu-toggle { position: absolute; top: 14px; right: var(--pad); }
      .header-project-button { min-height: 44px; padding: 11px 12px; font-size: 13px; }
      .header-contact-line { min-height: 44px; padding: 5px 9px 5px 5px; gap: 8px; }
      .header-email { width: 32px; height: 32px; }
      .header-phone { font-size: 16px; }
      .hero { padding-top: 190px; }
      .hero-object-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .hero-direction-pill { width: 100%; padding-inline: 12px; font-size: 17px; white-space: normal; }
    }
    /* v0.11 · Seven matching directions, seven cases and approved project FAQ. */
    .site-header { --header-control-height: 50px; }
    .site-header .wordmark {
      width: calc(var(--header-control-height) * 2048 / 419);
      height: var(--header-control-height);
      min-height: 0;
    }
    .site-header .brand-logo--stacked { height: 100%; }
    .site-header .header-project-button {
      display: inline-flex;
      height: var(--header-control-height);
      min-height: var(--header-control-height);
    }
    .header-contact-line { height: var(--header-control-height); min-height: var(--header-control-height); }
    .hero-object-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
    .hero-direction-pill { grid-column: span 3; width: 100%; min-height: 64px; padding: 12px 16px; white-space: normal; font-size: clamp(15px, 1.3cqw, 18px); }
    .hero-direction-pill:nth-child(n+5) { grid-column: span 4; }
    .story-step.scene-04 .story-window,
    .story-step.scene-05 .story-window,
    .story-step.scene-07 .story-window { height: calc(var(--story-gap) / 2); }
    .projects-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .project-card { grid-column: span 4; }
    .project-card:nth-child(n+4) { grid-column: span 3; }
    .project-card[data-source-slide="12"] .project-image { background-image: url("9d97cd1bdd60989b.webp"); background-position: 55% 50%; }
    .project-card[data-source-slide="15"] .project-image { background-image: url("8447fc249cecf6a5.webp"); background-position: 40% 50%; }
    .project-card[data-source-slide="16"] .project-image { background-image: url("207066fb203f03ac.webp"); background-position: 58% 50%; }
    .project-card[data-source-slide="17"] .project-image { background-image: url("a8348b898f65bd0d.webp"); background-position: 55% 50%; }
    .faq-list summary h3 { display: inline; margin: 0; font: inherit; letter-spacing: inherit; }
    .faq-answer { padding: 0 48px 28px 0; }
    .faq-answer p { padding: 0; margin: 0 0 18px; }
    .faq-answer p:last-child { margin-bottom: 0; }
    @container (max-width: 1120px) {
      .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
      .project-card, .project-card:nth-child(n+4) { grid-column: auto; }
    }
    @container (max-width: 880px) {
      .site-header { --header-control-height: 44px; }
      .site-header .wordmark { max-width: calc(100% - 58px); }
      .hero-object-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .hero-direction-pill, .hero-direction-pill:nth-child(n+5) { grid-column: auto; font-size: 17px; }
      .hero-direction-pill:last-child { grid-column: 1 / -1; }
      .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
    }
    @container (max-width: 540px) {
      .hero-direction-pill { padding-inline: 12px; }
      .faq-answer { padding-right: 0; }
    }
  
    /* v0.11 · Common spacing, light controls, ordinary direction links. */
    .photo-story { --story-gap: max(140px, calc(var(--scene-height) / 2)); }
    .photo-story .story-window, .photo-story .story-step:first-child .story-window,
    .photo-story .story-step--outro .story-window, .photo-story .story-step.scene-04 .story-window,
    .photo-story .story-step.scene-05 .story-window, .photo-story .story-step.scene-07 .story-window { height: var(--story-gap); min-height: 0; }
    .button--glossy, .button--coral-glossy { box-shadow: none; }
    .button--glossy::before { content: none; }
    .hero-object-list { max-width: 1100px; gap: 9px; }
    .hero-direction-pill { min-height: 44px; padding: 8px 12px; font-size: clamp(14px, 1.12cqw, 16px); line-height: 1.3; font-weight: 500; }
    .nav-directions { position: relative; }
    .direction-submenu { position: absolute; top: 100%; left: -18px; width: 330px; margin: 0; padding: 14px 18px; list-style: none; background: #222426; border: 1px solid #676b6e; border-radius: 8px; box-shadow: 0 14px 35px #0004; visibility: hidden; opacity: 0; pointer-events: none; z-index: 20; }
    .direction-submenu li a { display: block; padding: 10px 0; color: #fff; white-space: normal; font-size: 15px; line-height: 1.35; }
    .nav-directions:hover .direction-submenu, .nav-directions:focus-within .direction-submenu { visibility: visible; opacity: 1; pointer-events: auto; }
    .directions-grid { gap: 0 32px; }
    .direction-card, .direction-card:nth-child(odd), .direction-card:nth-child(even) { min-height: 0; padding: 28px 0 32px; border-right: 0; display: grid; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 22px; align-content: start; }
    .direction-card::after { content: none; }
    .direction-number { grid-column: 1; margin: 0 0 20px; }
    .direction-card h3, .direction-card p, .direction-link-label { grid-column: 1; }
    .direction-card h3 { margin: 0 0 12px; font-size: clamp(21px, 1.9cqw, 27px); }
    .direction-card p { font-size: 16px; }
    .direction-thumb { grid-column: 2; grid-row: 1 / span 4; width: 100%; height: 138px; object-fit: cover; border-radius: 3px; }
    .direction-link-label { margin-top: 20px; font-size: 13px; color: var(--accent-dark); }
    .directions-closing { margin-top: 30px; max-width: 830px; }
    .directions-closing p { color: var(--muted); font-size: 17px; line-height: 1.6; }
    .projects-grid { align-items: start; }
    .project-card { display: block; }
    .project-card > summary { display: block; cursor: pointer; list-style: none; }
    .project-card > summary::-webkit-details-marker { display: none; }
    .project-card > summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 6px; }
    .project-expand-label { margin-top: 18px; display: flex; justify-content: space-between; color: var(--accent-dark); font-size: 14px; }
    .project-expand-label span { transition: transform .2s; }
    .project-card[open] .project-expand-label span { transform: rotate(45deg); }
    .project-description { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
    .project-description h4 { margin: 0 0 10px; font-size: 15px; }
    .project-description p { margin: 0 0 24px; }
    .project-description .button { padding-inline: 14px; min-height: 44px; font-size: 13px; }
    a:focus-visible, button:focus-visible, summary:focus-visible { outline-offset: 4px; }
    @container (max-width: 1280px) {
      .nav-directions { width: 100%; }
      .direction-submenu { position: static; display: block; width: 100%; visibility: visible; opacity: 1; pointer-events: auto; box-shadow: none; padding: 4px 0 8px 20px; border: 0; border-left: 1px solid #ffffff40; border-radius: 0; background: transparent; }
      .main-nav.is-open .direction-submenu li a { padding: 9px 0; font-size: 14px; border: 0; }
      .main-nav.is-open { max-height: calc(100svh - 140px); overflow-y: auto; }
    }
    @container (max-width: 880px) {
      .hero-direction-pill, .hero-direction-pill:nth-child(n+5) { font-size: 15px; min-height: 44px; }
      .directions-grid { grid-template-columns: minmax(0, 1fr); }
      .direction-card, .direction-card:nth-child(odd), .direction-card:nth-child(even), .story-step .direction-card:nth-child(n) { padding: 26px 0; grid-template-columns: minmax(0, 1fr) 96px; }
      .direction-card h3 { font-size: 24px; }
    }
    @container (max-width: 540px) {
      .photo-story { --story-gap: clamp(140px, 30svh, 270px); }
      .direction-card, .direction-card:nth-child(odd), .direction-card:nth-child(even), .story-step .direction-card:nth-child(n) { column-gap: 14px; grid-template-columns: minmax(0, 1fr) 72px; }
      .direction-thumb { height: 112px; }
      .direction-card h3 { font-size: 22px; }
      .direction-card p { font-size: 16px; line-height: 1.5; }
    }

  
/* v0.13: aligned project row footers and a more compact process section. */
#projects .project-copy { display:flex; flex-direction:column; }
#projects .project-expand-label { margin-top:auto; padding-top:18px; align-items:center; }
#process.section > .section-inner { padding-block:clamp(28px,3.4cqw,54px); }
#process .process-step { min-height:220px; padding-block:18px; }
#process .process-step .step-num { margin-bottom:36px; }
@container (max-width:880px) {
  #process .process-step { min-height:0; padding-block:16px; }
  #process .process-step .step-num { margin-bottom:24px; }
}

/* v0.15: email-only contact control and a single horizontal row of projects. */
.header-contact-line { padding:0; gap:0; width:var(--header-control-height); min-width:0; background:none; }
.header-email { width:100%; height:100%; }
#projects .projects-grid { display:flex; gap:24px; align-items:flex-start; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; overscroll-behavior-x:contain; padding:0 0 18px; scrollbar-width:thin; scrollbar-color:#676b6e #e1e0db; }
#projects .project-card:nth-child(n) { flex:0 0 clamp(280px,29cqw,390px); width:clamp(280px,29cqw,390px); min-width:0; scroll-snap-align:start; }
#projects .project-image { width:100%; aspect-ratio:4/5; min-height:0; }
#projects .project-card { border:0; }
#projects .project-card > summary { padding:0; }
#projects .project-card > summary::after { content:none; }
.projects-carousel-controls { position:sticky; top:var(--toolbar-height,58px); z-index:3; display:block; margin:24px 0 18px; padding:12px 0 2px; background:rgba(250,249,246,.97); }
.projects-carousel-hint { margin:0; color:var(--muted); font-size:14px; line-height:1.4; }
@container (max-width:880px) { #projects .project-card:nth-child(n) { flex-basis:min(82cqw,360px); width:min(82cqw,360px); } #projects .projects-grid { gap:18px; } }
@container (max-width:540px) { .projects-carousel-controls { gap:12px; margin-block:20px; } .projects-carousel-hint { max-width:185px; font-size:13px; } }

/* v0.17: a top scrollbar with brand-colour endpoints on its moving thumb; native swiping stays available. */
.projects-scrollbar { display:none; position:relative; width:100%; height:44px; cursor:pointer; touch-action:none; user-select:none; border-radius:8px; }
#projects.has-scrollbar .projects-scrollbar { display:block; }
.projects-scrollbar:focus-visible { outline:2px solid var(--accent-dark); outline-offset:3px; }
.projects-scrollbar-thumb::before, .projects-scrollbar-thumb::after { content:""; position:absolute; top:-3px; width:16px; height:16px; border-radius:50%; background:var(--accent); z-index:2; cursor:inherit; }
.projects-scrollbar-thumb::before { left:-8px; }
.projects-scrollbar-thumb::after { right:-8px; }
.projects-scrollbar-rail { position:absolute; left:8px; right:8px; top:17px; height:10px; background:#d4d3ce; border-radius:10px; }
.projects-scrollbar-thumb { position:absolute; top:0; left:0; height:10px; min-width:36px; border-radius:10px; background:#676b6e; cursor:grab; }
.projects-scrollbar:active .projects-scrollbar-thumb { cursor:grabbing; background:#363b3e; }
.projects-scrollbar[aria-disabled="true"] { opacity:.45; cursor:default; }
#projects.has-scrollbar .projects-grid { scrollbar-width:none; padding-bottom:0; }
#projects.has-scrollbar .projects-grid::-webkit-scrollbar { display:none; }
#projects .projects-grid.is-dragging { scroll-snap-type:none; scroll-behavior:auto; }
@container (max-width:540px) { .projects-carousel-controls .projects-carousel-hint { max-width:none; } }

/* v0.20: contextual links remain inside each expanded project. */
.case-direction-links { display:grid; gap:14px; margin:0 0 24px; }
.case-direction-links a { color:var(--accent-dark); font-size:15px; line-height:1.5; text-underline-offset:4px; }
#projects .project-card { scroll-margin-top:calc(var(--toolbar-height,58px) + 24px); }
