/* Studio showcase hub — design contract in design.md. Paper, ink, one cinnabar accent; the demos are the colour. */
:root {
  --paper: #F3EFE7;
  --paper-2: #E9E3D6;
  --paper-3: #DED6C6;
  --card: #FBF9F4;
  --ink: #17150F;
  --ink-2: #4B463C;
  --muted: #686256;
  --line: #D6CEBE;
  --line-2: #C3B9A6;
  --accent: #C4381A;
  --accent-2: #A62E14;
  --accent-bright: #F0643F;
  --on-accent: #FFFFFF;
  --night: #0F0E0B;
  --night-2: #1C1A16;
  --night-3: #26231D;
  --night-line: #34302A;
  --on-night: #F3EFE7;
  --on-night-2: #BDB6A7;
  --on-night-3: #A69F90;
  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --top-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.3, 1.6, .5, 1);
  --lift: 0 1px 1px rgba(23, 21, 15, .05), 0 18px 36px -18px rgba(40, 30, 10, .38);
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps in-page jumps and keyboard focus clear of the sticky header (targets add no header offset of their own) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-synthesis: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* rings are for keyboard use: after a click or tap (hub.js sets .pointer-input) focus moved by script stays
   quiet, except in fields being typed into */
.pointer-input :focus-visible:not(input, textarea, select), .pointer-input .check input:focus-visible + span { outline: none; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
/* under an overlay: hub.js measures the scrollbar that locking hides, and the padding takes its place */
html.is-locked { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2E2A21; }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { background: var(--paper-2); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn[disabled] { background: var(--paper-3); color: var(--muted); cursor: not-allowed; }
.btn .n { font: 500 12px var(--mono); color: var(--muted); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link .arr { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }
.eyebrow { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.note { display: flex; align-items: baseline; gap: 9px; font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.note::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: translateY(-1px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 239, 231, .86); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
/* The selected A wordmark keeps its custom letterforms; cover removes the asset's clear space. */
.brand-wordmark { width: 166px; height: 34px; object-fit: cover; object-position: 50% 49%; flex: none; }
.top .brand { min-height: 44px; }
.top-nav { display: flex; gap: 2px; margin-left: auto; }
.top-nav a { padding: 8px 13px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.top-nav a:hover { background: var(--paper-2); color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14.5px; }
.lang-switch:hover { background: var(--paper-2); }
.top-nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
@media (max-width: 900px) { .top-nav { display: none; } .top-actions { margin-left: auto; } }
@media (max-width: 440px) {
  :root { --top-h: 60px; }
  .top-inner { gap: 12px; }
  .top .brand-wordmark { width: 132px; height: 27px; }
  .top-actions { gap: 6px; }
  .top-actions .btn-small { padding: 8px 13px; font-size: 14px; }
  .lang-switch { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 359px) {
  .top-inner { gap: 8px; }
  .top .brand-wordmark { width: 116px; height: 24px; }
  .top-actions .btn-small { padding-inline: 10px; font-size: 13px; }
  .lang-switch { padding-inline: 9px; font-size: 13px; }
}

/* home: navigation scrolls within the page, follows the reader, and folds into a menu on smaller screens */
.has-menu .top-nav a { transition: background-color .2s, color .2s; }
.top-nav a[aria-current="true"] { background: var(--paper-2); color: var(--ink); }
.has-menu .top-actions > * { flex: none; }
.menu-btn { display: none; flex: none; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.menu-btn:hover { background: var(--paper-2); }
.menu-icon { display: grid; gap: 4px; width: 16px; }
.menu-icon span { display: block; height: 1.8px; background: var(--ink); border-radius: 2px; }
.menu-icon span + span { width: 11px; }
@media (max-width: 919px) {
  .has-menu .top-nav { display: none; }
  .has-menu .top-actions { margin-left: auto; }
  .js .menu-btn { display: inline-flex; }
}
@media (max-width: 639px) { .js .has-menu .top-actions > :not(.menu-btn) { display: none; } }

.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column;
}
.menu[open] { display: flex; animation: menu-in .28s var(--ease); }
.menu.is-closing { opacity: 0; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.menu::backdrop { background: transparent; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; height: var(--top-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.menu-top .brand { min-height: 44px; }
.menu-close { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 16px 0 13px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.menu-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-nav { flex: 1 0 auto; padding: 6px var(--gutter) 0; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-link { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 18px 0; text-decoration: none; }
.menu-link[aria-current="true"] { color: var(--accent); }
.menu-no { font: 500 12px var(--mono); color: var(--accent); }
.menu-title { font: 400 40px/1 var(--serif); letter-spacing: -.02em; }
:lang(zh) .menu-title { font: 500 32px/1.2 var(--serif); letter-spacing: 0; }
.menu-arr { color: var(--muted); }
.menu-more { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; }
.menu-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 15px; white-space: nowrap; }
.menu-pill:hover { background: var(--paper-2); }
.menu-foot { display: grid; gap: 12px; flex: none; padding: 16px var(--gutter) max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.menu-cta { width: 100%; min-height: 52px; }
.menu-email { text-align: center; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 440px) { .menu-top .brand-wordmark { width: 132px; height: 27px; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(36px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero h1 { text-wrap: balance; font: 400 clamp(56px, 7.4vw, 124px)/.92 var(--serif); letter-spacing: -.025em; margin: 0 0 26px; }
.hero h1 em { font-style: italic; color: var(--accent); letter-spacing: -.02em; }
:lang(zh) .hero h1 { font-weight: 500; font-size: clamp(38px, 4.3vw, 68px); line-height: 1.16; letter-spacing: 0; word-break: keep-all; }
@media (max-width: 1099px) { :lang(zh) .hero h1 { font-size: clamp(36px, 8.6vw, 72px); } }
:lang(zh) .hero h1 em { font-style: normal; }
.lede { font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-2); max-width: 35em; margin: 0 0 28px; }
.tryon { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 12px; max-width: 540px; box-shadow: 0 1px 0 #fff inset, 0 14px 30px -24px rgba(40, 30, 10, .45); }
.tryon label { display: block; font-weight: 600; font-size: 15px; margin: 2px 4px 10px; }
/* when the row runs out of room the button drops below and fills it */
.tryon-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tryon input { flex: 999 1 220px; min-width: 0; height: 50px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 20px; background: #fff; font-size: 16.5px; }
.tryon input::placeholder, .field ::placeholder { color: #8F8878; }
.tryon .btn { flex: 1 0 auto; min-height: 50px; }
.hint { font-size: 13.5px; color: var(--muted); margin: 10px 6px 2px; }
.tryon-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 6px 2px; font-size: 13.5px; }
.tryon-state[hidden] { display: none; }
.tryon-on { display: inline-flex; align-items: center; gap: 8px; }
.tryon-on::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.tryon-open, .tryon-clear { border: 0; background: none; padding: 2px 0; font-size: inherit; cursor: pointer; white-space: nowrap; }
.tryon-open { font-weight: 600; border-bottom: 1.5px solid currentColor; }
.tryon-clear { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tryon-open:hover, .tryon-clear:hover { color: var(--accent); }
.hero-ctas { display: flex; align-items: center; gap: 12px 24px; margin-top: 26px; flex-wrap: wrap; }
@media (max-width: 1099px) { .hero { grid-template-columns: 1fr; } }
/* home hero: copy and box share a wrapping row instead of fixed columns */
.home-hero { display: flex; flex-wrap: wrap; }
.home-hero .hero-copy { flex: 11 1 440px; min-width: 0; }
.home-hero .hero-box { flex: 13 1 520px; min-width: 0; max-width: 760px; margin-inline: auto; }
.home-hero .lede { text-wrap: pretty; }
:lang(zh) .home-hero h1 { font-size: clamp(38px, 5.2vw, 72px); }
.home-page .text-link { transition: color .2s; }
.home-page .text-link:hover { color: var(--accent); }

/* the box on the right: a tilted specimen case of 108 drawers */
.hero-box { position: relative; perspective: 1600px; }
.case {
  position: relative; padding: clamp(10px, 1.3vw, 18px) clamp(10px, 1.3vw, 18px) clamp(26px, 2.6vw, 38px);
  border-radius: 24px; background: linear-gradient(180deg, #EFE8DA 0%, #E3DAC8 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .85) inset, 0 -3px 0 rgba(60, 45, 20, .08) inset,
    0 50px 90px -48px rgba(50, 35, 10, .55), 0 18px 30px -20px rgba(50, 35, 10, .35);
  transform: rotateX(16deg) rotateZ(-1.2deg); transform-origin: 50% 70%;
  transition: transform .9s var(--ease);
}
.hero-box:hover .case { transform: rotateX(7deg) rotateZ(-.4deg); }
.case-inner {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(3px, .42vw, 6px);
  padding: clamp(3px, .42vw, 6px); background: #CBC0AC; border-radius: 12px;
  box-shadow: inset 0 2px 7px rgba(40, 25, 5, .28), inset 0 0 0 1px rgba(40, 25, 5, .08);
}
.tile {
  position: relative; aspect-ratio: 16 / 10; border-radius: 3px; background-color: var(--c);
  background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%);
  background-position: calc(var(--x) * 100% / (var(--cols) - 1)) calc(var(--y) * 100% / (var(--rows) - 1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 1.5px rgba(30, 20, 5, .25);
  transition: transform .45s var(--ease), filter .45s, border-radius .3s; cursor: pointer;
}
.tile.hot, .tile.pulled { transform: scale(2.6); z-index: 3; border-radius: 4px; outline: .6px solid #fff; filter: drop-shadow(0 6px 7px rgba(20, 12, 0, .45)); }
.case-plate { position: absolute; left: 50%; bottom: clamp(6px, .7vw, 10px); transform: translateX(-50%); max-width: 90%; overflow: hidden; text-overflow: ellipsis; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; color: #6B5F48; background: linear-gradient(180deg, #D9CBAE, #C6B593); padding: 5px 10px; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 1px rgba(0, 0, 0, .15); white-space: nowrap; }
.case-caption { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--muted); text-align: center; margin: 22px 0 0; }
.tile-tip { position: absolute; z-index: 10; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.2; padding: 7px 11px; border-radius: 9px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.tile-tip b { font: 500 11px var(--mono); color: #BDB6A7; margin-right: 6px; }
.touch-only { display: none; }
@media (max-width: 1099px) { .case { transform: rotateX(10deg) rotateZ(-.8deg); } .hero-box { max-width: 760px; } }
@media (hover: none) { .hover-only { display: none; } .touch-only { display: inline; } .hero-box:hover .case { transform: rotateX(10deg) rotateZ(-.8deg); } }
/* without JS the hero drawers don't open, so the caption doesn't say how */
.no-js .case-caption > span { display: none; }

/* ---------- proof band ---------- */
.proof { border-block: 1px solid var(--line); }
/* each figure is a way in: the 20px link padding is taken back out of the gutter so the text still lines up */
.proof-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; list-style: none; margin: 0 auto; padding: 18px max(0px, calc(var(--gutter) - 20px)); }
.proof-list li { display: flex; border-left: 1px solid var(--line); }
.proof-list li:first-child { border-left: 0; }
.proof-list a { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 14px 20px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.proof-list a:hover { background: var(--paper-2); }
.proof-list li:nth-child(n + 3) a { justify-content: space-between; }
.proof-list strong { font: 400 clamp(42px, 4.4vw, 68px)/1 var(--serif); letter-spacing: -.02em; }
.proof-list .proof-word { font: 600 clamp(22px, 2.8vw, 38px)/1.25 var(--sans); }
.proof-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 959px) {
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-list li { border-left: 0; }
}

/* ---------- section scaffolding ---------- */
/* a section reached from the menu takes focus only so the next Tab starts there */
section[tabindex="-1"]:focus { outline: none; }
.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { text-wrap: balance; font: 400 clamp(42px, 5.4vw, 80px)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; }
:lang(zh) .section-head h2 { font-weight: 500; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.18; letter-spacing: 0; }
.section-intro { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 40em; }

/* ---------- the box ---------- */
.box { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(72px, 9vw, 130px); }
.filters { z-index: 30; background: rgba(243, 239, 231, .94); border-block: 1px solid var(--line); }
/* sticky only where the bar is compact for the screen: desktop, and the one-row phone bar below (a landscape phone
   would otherwise lose most of its height to the full bar) */
@media (min-width: 761px) and (min-height: 500px) { .filters { position: sticky; top: var(--top-h); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.filters-inner { display: flex; flex-direction: column; gap: 10px; padding-block: 12px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink-2); }
.chip .n { font: 500 11.5px var(--mono); color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .n { color: #C5BEAF; }
.filter-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 240px; min-width: min(100%, 220px); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 16px 0 40px; font-size: 15px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); padding: 0 36px 0 15px; -webkit-appearance: none; appearance: none; font-size: 14.5px; cursor: pointer; max-width: 210px; }
.select select.active, .btn-line[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select:has(select.active)::after { border-color: var(--paper); }
.btn-line[aria-pressed="true"] .n { color: #C5BEAF; }
#saved-toggle svg { width: 16px; height: 16px; }
#saved-toggle[aria-pressed="true"] svg { fill: var(--accent-bright); stroke: var(--accent-bright); }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--card); margin-left: auto; }
.view-toggle button { border: 0; background: transparent; border-radius: 999px; height: 32px; padding: 0 13px; font-size: 14px; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#saved-toggle { font-weight: 600; }
#saved-toggle .n { font-size: 12px; }
.filters-btn { display: none; flex: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.filters-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 11.5px/20px var(--mono); text-align: center; }
.filters-n[hidden] { display: none; }
.chips-inline { display: none; }
.count-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 18px; min-height: 32px; }
.count { font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.active-filters { display: none; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px 0 12px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-size: 13.5px; white-space: nowrap; cursor: pointer; }
.af-chip span { font-size: 15px; line-height: 1; opacity: .7; }
.clear-all { border: 0; background: none; padding: 4px 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.clear-all[hidden] { display: none; }
/* phone: one sticky row (search + Filters); industries scroll with the results; the rest lives in the sheet */
@media (max-width: 639px) {
  .filters { background: rgba(243, 239, 231, .96); }
  .js .filters { position: sticky; top: var(--top-h); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .js .filters-inner { padding-block: 10px; }
  .js .chips-bar, .js .filter-tools > :not(.search):not(.filters-btn) { display: none; }
  .js .filter-tools { flex-wrap: nowrap; }
  .js .filters-btn { display: inline-flex; }
  .js .search { flex: 1; min-width: 0; }
  .search input { height: 44px; padding: 0 14px 0 40px; font-size: 16px; }
  .js .chips-inline { display: flex; margin-top: 14px; }
  .chips-inline .chip { height: 42px; padding: 0 15px; }
  .active-filters { display: contents; }
}

.drawers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 292px), 1fr)); gap: clamp(14px, 1.6vw, 22px); transition: opacity .38s ease, transform .45s var(--ease); }
/* a filter change: the results appear from just below (hub.js clears this two frames later) */
.drawers.is-entering { opacity: 0; transform: translateY(10px); transition: none; }
.drawer { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .2s; }
.drawer[hidden] { display: none; }
.drawer:hover { transform: translateY(-4px); box-shadow: var(--lift); border-color: var(--line-2); }
.drawer-link { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 16px; text-decoration: none; border-radius: inherit; }
.drawer-link:focus-visible { outline-offset: -2px; }
.drawer-frame { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
/* one cell of the hero sprite (12 × 9 drawers), used under thumbnails and as the compact index thumbnail */
.sprite { background-color: var(--c2); background-repeat: no-repeat; background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%); background-position: calc(var(--x) * 100% / (var(--cols) - 1)) calc(var(--y) * 100% / (var(--rows) - 1)); }
.drawer-img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.drawer:hover .drawer-img { transform: scale(1.04); }
.drawer-label { display: grid; gap: 3px; padding: 14px 6px 0; }
.drawer-no { font: 500 11.5px var(--mono); letter-spacing: .08em; color: var(--muted); }
.drawer-name { font: 400 26px/1.08 var(--serif); letter-spacing: -.012em; margin-top: 2px; }
.drawer-type { font-size: 14.5px; color: var(--ink-2); }
.drawer-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 6px 0; margin-top: auto; }
.tag { font-size: 12.5px; line-height: 1.3; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tag-try { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-try::before { content: "↳ "; color: var(--accent); }
.drawer-save { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(251, 249, 244, .94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .16); transition: transform .2s, background-color .2s; }
.drawer-save:active { transform: scale(.88); }
.drawer-save svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.drawer-save[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
@media (hover: none) { .drawer:hover { transform: none; box-shadow: none; } }
/* phone: two fixed columns, tighter cards, no tags */
@media (max-width: 639px) {
  .drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .drawer { border-radius: 14px; }
  .drawer-link { padding: 6px 6px 12px; }
  .drawer-frame { border-radius: 9px; }
  .drawer-label { padding: 10px 4px 0; }
  .drawer-name { font-size: 19px; }
  .drawer-type { font-size: 12.5px; }
  .drawer-tags { display: none; }
  .drawer-save { top: 11px; right: 11px; width: 34px; height: 34px; }
  .drawer-save svg { width: 18px; height: 18px; }
}

/* index view: the same list as a catalogue — a table on wide screens, thumbnail rows on narrow ones */
.index-head { display: none; }
.drawers[data-view="index"] { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.drawers[data-view="index"] .drawer { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; transition: background-color .2s; }
.drawers[data-view="index"] .drawer:hover { transform: none; box-shadow: none; background: var(--card); }
.drawers[data-view="index"] .drawer-link { display: grid; grid-template-columns: 76px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: 6px 20px; padding: 14px 64px 14px 8px; }
.drawers[data-view="index"] .drawer-frame { display: none; }
.drawers[data-view="index"] .drawer-label { display: contents; }
.drawers[data-view="index"] .drawer-name { font-size: 22px; line-height: 1.1; margin: 0; }
.drawers[data-view="index"] .drawer-tags { display: flex; padding: 0; margin: 0; }
.drawers[data-view="index"] .drawer-save { top: 50%; right: 10px; width: 40px; height: 40px; transform: translateY(-50%); box-shadow: none; background: transparent; }
.drawers[data-view="index"] .drawer-save:hover { background: var(--paper-2); }
.drawers[data-view="index"] .drawer-save:active { transform: translateY(-50%) scale(.88); }
@media (min-width: 860px) {
  .results[data-view="index"] .index-head { display: grid; grid-template-columns: 76px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 6px 20px; padding: 0 64px 10px 8px; border-bottom: 1px solid var(--ink); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .drawers[data-view="index"] { border-top: 0; }
}
@media (max-width: 859.98px) {
  .drawers[data-view="index"] .drawer-link { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 52px 10px 0; }
  .drawers[data-view="index"] .drawer-frame { display: block; border-radius: 6px; }
  .drawers[data-view="index"] .drawer-img { display: none; }
  .drawers[data-view="index"] .drawer-label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 8px; min-width: 0; padding: 0; }
  .drawers[data-view="index"] .drawer-no { font-size: 11px; letter-spacing: 0; }
  .drawers[data-view="index"] .no-pre { display: none; }
  .drawers[data-view="index"] .drawer-name { font-size: 19px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drawers[data-view="index"] .drawer-type { grid-column: 1 / -1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drawers[data-view="index"] .drawer-tags { display: none; }
  .drawers[data-view="index"] .drawer-save { right: 0; width: 44px; height: 44px; }
}
/* batches: 36 at a time on desktop, 24 on phones */
.more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.more[hidden] { display: none; }
.more-bar { display: block; width: 200px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.more-bar span { display: block; width: 0; height: 100%; background: var(--ink); }
.more-text { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.more-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.empty { text-align: center; padding: 64px 16px; border: 1px dashed var(--line-2); border-radius: 18px; }
.empty-title { font: 400 34px/1.1 var(--serif); margin: 0 0 8px; }
.empty p { margin: 0 0 18px; color: var(--ink-2); }
.empty .empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.empty-actions .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }
/* a new save: the counters and hearts swell and settle */
span.bump { display: inline-block; }
.bump { transition: transform .35s var(--bounce), color .3s; }
.bump.is-bumped { transform: scale(1.45); }
#saved-count.is-bumped { color: var(--accent); }

/* ---------- services ---------- */
.services { padding-block: clamp(80px, 10vw, 150px) clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 56px); }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 26px 0 36px; border-top: 1px solid var(--ink); }
.svc-no { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--accent); }
.svc h3 { font: 400 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); letter-spacing: -.01em; margin: 4px 0 2px; }
:lang(zh) .svc h3 { font-weight: 500; font-size: clamp(24px, 2vw, 30px); }
.svc p { margin: 0; color: var(--ink-2); }
.svc-good { font-size: 14px; color: var(--muted) !important; }
.svc-good::before { content: "For · "; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
:lang(zh) .svc-good::before { content: "适合 · "; }
.svc .text-link { margin-top: auto; align-self: flex-start; }
.svc .text-link { transform: translateY(8px); }
@media (max-width: 980px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-list { grid-template-columns: 1fr; } }
@media (min-width: 980px) { .home-page .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 979.98px) { .home-page .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:lang(zh) .home-page .svc h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.25; }

/* ---------- service page: the same paper, type, rules and numbered drawers ---------- */
.services-more { margin: 24px 0 0; }
.services-more .btn { white-space: normal; text-align: center; }
.scope-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.scope-hero h1 { font-size: clamp(54px, 6.8vw, 108px); }
.scope-caption { margin: 24px 0 0; color: var(--muted); font-size: 14px; max-width: 38em; }
.scope-index { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 1px 0 #fff inset, var(--lift); }
.scope-index ol { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line-2); }
.scope-index li { border-bottom: 1px solid var(--line); }
.scope-index a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 18px 0; text-decoration: none; font-size: clamp(17px, 1.5vw, 21px); }
.scope-index a:hover { color: var(--accent); }
.scope-index .arr { color: var(--muted); }
.scope-index-note { font-size: 14px; color: var(--muted); margin: 0; }
.scope-values { border-block: 1px solid var(--line); }
.scope-values ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin-block: 0; padding-block: 24px; gap: 16px; }
.scope-values li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.scope-values li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); border-radius: 2px; }
.scope-services { border-top: 0; }
.scope-services .svc { gap: 16px; padding-bottom: 42px; scroll-margin-top: 8px; }
.scope-services .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 100px); }
.scope-services .svc h3 { line-height: 1.2; }
.scope-back { display: inline-flex; margin-bottom: 28px; font-size: 14px; }
.scope-services .svc-featured { grid-column: 1 / -1; padding: clamp(24px, 4vw, 44px); background: var(--paper-2); border-radius: 0 0 16px 16px; }
.svc-featured > * { max-width: 68ch; }
.scope-points { list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; }
.scope-points li { position: relative; padding: 6px 0 6px 17px; }
.scope-points li::before { content: ""; position: absolute; width: 4px; height: 4px; background: var(--muted); border-radius: 50%; top: 16px; left: 0; }
.scope-pricing { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 88px); padding-block: clamp(80px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.pricing-points { list-style: none; padding: 0; margin: 0; }
.pricing-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; }
.pricing-points .svc-no { padding-top: 5px; }
.pricing-points h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.pricing-points p { color: var(--ink-2); margin: 0; }
.scope-contact .section-head { margin-bottom: 24px; }
.scope-contact .section-intro { max-width: 44em; }
.services-page .top { border-bottom-color: var(--line); }
@media (max-width: 1099px) { .scope-hero { grid-template-columns: 1fr; } .scope-index { max-width: 720px; width: 100%; } }
@media (max-width: 860px) { .scope-pricing { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .scope-services .svc-list { grid-template-columns: 1fr; }
  .scope-values ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-values li { font-size: 13px; gap: 8px; }
}

/* ---------- process (dark pause) ---------- */
.process { background: var(--night); color: var(--on-night); padding-block: clamp(80px, 10vw, 140px); }
.process .eyebrow, .process .note { color: var(--on-night-3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--night-line); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-bright); }
.step-no { display: block; font: italic 400 clamp(56px, 5vw, 80px)/.9 var(--serif); color: var(--accent-bright); }
.step h3 { font-size: 20px; font-weight: 600; margin: 18px 0 8px; }
.step p { color: var(--on-night-2); margin: 0; }
.process-note { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
@media (min-width: 960px) { .home-page .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 560px) and (max-width: 959.98px) { .home-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- included ---------- */
.included { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.included .section-head { position: sticky; top: calc(var(--top-h) + 32px); }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.inc-list li { align-content: start; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 24px 0; border-top: 1px solid var(--line); }
.inc-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; }
.inc-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inc-list h3 { font-size: 18.5px; font-weight: 600; margin: 2px 0 0; }
.inc-list p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 959px) { .included { grid-template-columns: 1fr; } .included .section-head { position: static; } }
@media (max-width: 639px) { .inc-list { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 4px; border-radius: 6px; }
.qa-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .2s, transform .3s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] .qa-icon { background: var(--ink); }
.qa[open] .qa-icon::before, .qa[open] .qa-icon::after { background: var(--paper); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { margin: -4px 0 24px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
/* home FAQ: the heading (with a way to ask something else) stays in view beside the questions */
.home-page .faq .section-head { margin-bottom: 0; }
.home-page .faq .section-head h2 { margin-bottom: 20px; }
.faq-ask { display: inline-block; }
@media (min-width: 960px) { .home-page .faq .section-head { position: sticky; top: calc(var(--top-h) + 32px); } }
@media (max-width: 959.98px) { .home-page .faq { grid-template-columns: 1fr; } }
:lang(zh) .home-page .section-head h2 { font-size: clamp(32px, 4.2vw, 60px); }

/* ---------- contact ---------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(80px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.brief-form { display: grid; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 9px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend, .field .label { font-weight: 600; font-size: 15px; padding: 0; }
.field legend { margin-bottom: 9px; }
.sub-label { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); padding: 12px 15px; font-size: 16px; }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 15px; transition: background-color .15s, color .15s, border-color .15s; }
.check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.liked { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.liked:empty { display: none; }
.liked li { display: flex; align-items: center; gap: 4px; padding: 5px 4px 5px 5px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.liked-open { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0 6px 0 0; text-align: left; font-size: 14px; cursor: pointer; }
.liked-open:hover span { text-decoration: underline; text-underline-offset: 3px; }
.liked img { flex: none; width: 56px; height: 35px; border-radius: 7px; object-fit: cover; object-position: top; background: var(--paper-3); }
.liked b { font: 500 11px var(--mono); color: var(--muted); display: block; }
.liked-rm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; }
.liked-rm:hover { background: var(--paper-2); color: var(--ink); }
.liked-empty { font-size: 14.5px; color: var(--muted); margin: 0; }
.brief-card { position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 22px; }
.brief-paper {
  position: relative; background: #FFFDF8; border-radius: 16px 16px 0 0; padding: 22px 22px 34px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 26px 40px -26px rgba(40, 30, 10, .4);
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(80, 60, 20, .06) 27px 28px); background-position: 0 58px;
}
.brief-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 7px, #FFFDF8 0) 0 0 / 14px 10px repeat-x, linear-gradient(45deg, transparent 7px, #FFFDF8 0) 0 0 / 14px 10px repeat-x; }
.brief-paper h3 { font: 500 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.brief-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13.5px/28px var(--mono); color: var(--ink); min-height: 196px; max-height: 440px; overflow: auto; }
.brief-text.is-empty { color: var(--muted); }
.brief-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.brief-status { min-height: 1.4em; font-size: 14.5px; color: var(--ink); margin: 0; }
.brief-status:empty { display: none; }
.email-hint { font-size: 13px; color: var(--muted); margin: 0; }
.form-hint { color: var(--muted); font-size: 14px; margin: 0; }
.brief-form > .btn { justify-self: start; min-width: 180px; }
.brief-form > .privacy { margin: 0; }
/* online submission off: the brief goes out by email (or is copied) right from the form */
.form-actions { align-items: center; margin: 0; }
.form-actions .btn { min-height: 50px; }
.form-actions .btn-accent { padding-inline: 24px; }
.form-note { margin: -10px 0 0; }
.brief-form .brief-status:not(:empty) { padding: 16px 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--ink); border-radius: 4px; background: var(--card); font-size: 15px; }
.home-page .contact .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.home-page .contact .btn-line:hover { background: var(--paper-3); }
.submission-status { padding: 18px 20px; border: 1px solid var(--line-2); border-left: 3px solid var(--ink); border-radius: 4px; background: var(--card); font-size: 15px; }
.submission-status[data-state="error"] { border-left-color: var(--accent); }
.submission-status[data-state="success"] { border-left-color: #3B6444; }
.next-steps { border-top: 1px solid var(--line-2); padding-top: 20px; }
.next-steps h3 { margin: 0 0 10px; font-size: 16px; }
.next-steps ol { padding-left: 22px; margin: 0; color: var(--muted); font-size: 14px; }
.next-steps li + li { margin-top: 7px; }
.no-js .brief-form, .no-js .brief-paper, .no-js .brief-actions, .no-js .email-hint, .no-js .tryon { display: none; }
.channels h3 { font-size: 15px; margin: 6px 0 8px; }
.channel-list { list-style: none; padding: 0; margin: 0; }
.channel-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.channel-list li > span { color: var(--muted); }
.channel-list a { min-width: 0; }
.channel-list a, .copy-id { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.copy-id { border: 0; background: none; padding: 0; cursor: pointer; border-bottom: 1.5px dashed var(--line-2); }
.channels-preview { font-size: 14.5px; color: var(--ink-2); background: var(--card); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; margin: 0; }
.privacy { font-size: 13px; color: var(--muted); margin: 0; }
.social-links { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: inherit; text-decoration: none; }
a.social-icon:hover { background: var(--paper-2); }
.social-icon.is-pending { opacity: .55; }
.social-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social-icon .social-dot { fill: currentColor; stroke: none; }
.social-icon .xhs-icon { width: 34px; height: 22px; fill: currentColor; stroke: none; font: 800 14px "PingFang SC", "Microsoft YaHei", sans-serif; }
@media (max-width: 959px) { .contact-grid { grid-template-columns: 1fr; } .brief-card { position: static; } }
@media (max-width: 559px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night); padding-block: clamp(40px, 5vw, 64px) 22px; }
.foot-inner { display: grid; gap: 40px; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .9fr) minmax(230px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.foot-brand, .foot-contact { min-width: 0; }
.brand-studio { flex-direction: column; gap: 10px; }
.foot .brand-wordmark { width: 190px; height: 39px; filter: brightness(0) invert(1); opacity: .95; }
.brand-descriptor { font: 500 10px/1 var(--sans); letter-spacing: .55em; padding-left: .55em; }
.foot-brand p { max-width: 27em; color: var(--on-night-2); font-size: 14px; line-height: 1.8; margin: 20px 0 0; text-wrap: pretty; }
.foot-label { margin: 0 0 18px; color: var(--on-night-3); font: 500 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.foot-nav-links { display: grid; grid-template-columns: max-content max-content; gap: 8px 28px; }
.foot-nav a { width: fit-content; min-height: 28px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on-night-2); font-size: 14px; line-height: 1.5; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--on-night); }
.foot-email { display: inline-block; max-width: 100%; color: var(--on-night); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.6; letter-spacing: -.025em; text-decoration-color: var(--night-line); text-decoration-thickness: 1px; text-underline-offset: 7px; overflow-wrap: anywhere; }
.foot-email:hover { text-decoration-color: var(--on-night-2); }
.foot .social-links { margin-top: 22px; gap: 10px; }
.foot .social-icon { width: 40px; height: 40px; color: var(--on-night-2); border-color: var(--night-line); }
.foot .social-icon.is-pending { opacity: .8; }
.foot a.social-icon:hover { background: var(--night-3); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; border-top: 1px solid var(--night-line); padding-top: 18px; }
.foot-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; }
.foot-legal { color: var(--on-night-3); font-size: 12px; line-height: 1.7; margin: 0; }
.foot-policies { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.foot-policies a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-night-3); text-decoration: none; }
.foot-policies a:hover, .foot-policies a[aria-current="page"] { color: var(--on-night); text-decoration: underline; text-underline-offset: 5px; }
.foot-utilities { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.foot-utilities a { color: var(--on-night-2); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.foot-utilities a:hover { color: var(--on-night); }
.foot-language { border-right: 1px solid var(--night-line); padding-right: 24px; }
.foot-top { gap: 10px; }
.foot-top-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--night-line); border-radius: 50%; font-size: 16px; }
.foot :focus-visible { outline-color: var(--on-night); }
@media (max-width: 800px) {
  .foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: 32em; }
  .foot-meta { gap: 8px 24px; }
}
@media (max-width: 560px) {
  .foot-inner { gap: 30px; }
  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot .brand-wordmark { width: 166px; height: 34px; }
  .foot-brand { text-align: center; }
  .foot-brand .brand-studio { margin-inline: auto; }
  .foot-brand p { margin: 16px auto 0; }
  .foot-label { margin-bottom: 12px; }
  .foot-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .foot-nav a { min-height: 36px; }
  .foot-email { font-size: 17px; }
  .foot .social-links { margin-top: 18px; }
  .foot-bottom { gap: 12px; }
  .foot-meta { width: 100%; gap: 8px; }
  .foot-legal { width: 100%; }
  .foot-policies { gap: 6px 18px; }
  .foot-utilities { width: 100%; justify-content: space-between; }
  .foot-language { border: 0; padding: 0; }
}

/* ---------- viewer (theatre mode) ---------- */
.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--night); color: var(--on-night); overflow: hidden; display: none;
  grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
}
/* opens without a visibility delay, so focus can land on the title at once; fades out before close() */
.viewer[open] { display: grid; animation: fade-in .25s; }
.viewer.is-closing { opacity: 0; transition: opacity .25s; }
.viewer::backdrop { background: rgba(15, 14, 11, .7); animation: fade-in .25s; transition: opacity .25s; }
.viewer.is-closing::backdrop { opacity: 0; }
.viewer :focus-visible { outline-color: var(--on-night); }
.v-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 18px; border-bottom: 1px solid var(--night-line); min-height: 60px; }
.v-home { flex: none; display: inline-flex; align-items: center; padding: 8px 16px 8px 2px; border-right: 1px solid var(--night-line); }
.v-home .brand-wordmark { width: 92px; height: 19px; filter: brightness(0) invert(1); opacity: .92; }
.v-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 1 1 auto; }
.v-no { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--on-night-3); flex: none; }
.v-name:focus { outline: none; }
.v-name { font: 400 23px/1.1 var(--serif); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* when the bar runs short the type · city line gives way before the design's name does */
.v-meta { font-size: 13.5px; color: var(--on-night-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex-shrink: 1000; }
.v-devices { display: inline-flex; flex: none; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 999px; padding: 3px; }
.v-devices button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #CFC8B8; cursor: pointer; font-size: 13.5px; }
.v-devices button:hover { color: #fff; }
.v-devices button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.v-devices svg, .v-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v-brand { display: flex; align-items: center; gap: 8px; flex: none; font-size: 13px; color: var(--on-night-3); }
.v-brand input { width: 150px; height: 36px; border-radius: 999px; border: 1px solid var(--night-line); background: var(--night-2); color: var(--on-night); padding: 0 14px; font-size: 14px; }
.v-brand input::placeholder { color: #857E70; }
.v-actions { display: flex; gap: 2px; flex: none; }
.v-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px; border-radius: 999px; border: 0; background: transparent; color: #DDD6C7; cursor: pointer; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.v-btn:hover { background: var(--night-3); color: #fff; }
.v-btn[aria-pressed="true"] svg { fill: var(--accent-bright); stroke: var(--accent-bright); }
.v-btn[aria-expanded="true"] { background: var(--night-3); color: #fff; }
.v-close { min-width: 40px; justify-content: center; background: var(--night-3); color: var(--on-night); margin-left: 4px; }
.v-close:hover { background: var(--night-line); }
.v-stage { position: relative; min-height: 0; overflow: hidden; }
.v-frame { position: absolute; inset: 14px; display: grid; place-items: center; }
.v-screen { position: relative; background: #fff; overflow: hidden; }
.v-frame[data-device="desktop"] .v-screen { width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
/* Tablet/phone: centred in the visible stage (absolute), not in an auto-sized grid track that grows to the unscaled height. */
.v-frame[data-device="tablet"] .v-screen, .v-frame[data-device="phone"] .v-screen {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--w, 390) * 1px); height: calc(var(--h, 844) * 1px);
  transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: center center;
}
.v-frame[data-device="tablet"] .v-screen { border-radius: 24px; box-shadow: 0 0 0 14px #050505, 0 0 0 15.5px #3A352C, 0 50px 90px -40px rgba(0, 0, 0, .9); }
.v-frame[data-device="phone"] .v-screen { border-radius: 46px; box-shadow: 0 0 0 12px #050505, 0 0 0 13.5px #3A352C, 0 50px 90px -40px rgba(0, 0, 0, .9); }
/* Phone: a real status bar so the site starts below the Dynamic Island, like Safari on an iPhone. */
.v-frame[data-device="phone"] .v-screen { padding-top: 48px; background: #0B0B0C; }
.v-frame[data-device="phone"] .v-screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 110px; height: 31px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 4; pointer-events: none; }
.v-status { display: none; }
.v-frame[data-device="phone"] .v-status { display: flex; position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 3; align-items: center; justify-content: space-between; padding: 3px 30px 0 40px; color: #fff; pointer-events: none; }
.v-status b { font: 600 15px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; letter-spacing: -.01em; }
.v-status svg { width: 68px; height: 12px; }
.v-frame[data-device="phone"] .v-loading { top: 48px; }
.v-screen iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.v-frame[data-device="phone"] .v-screen iframe { border-radius: inherit; }
.v-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--night-2); transition: opacity .4s var(--ease); }
.v-poster { position: absolute; inset: 0; background-size: cover; background-position: top center; opacity: .9; }
.v-loading-text { position: relative; font: 500 12.5px var(--mono); letter-spacing: .04em; color: #fff; background: rgba(15, 14, 11, .72); padding: 9px 15px; border-radius: 999px; }
.v-screen.loaded .v-loading { opacity: 0; pointer-events: none; }
.v-panel { position: absolute; top: 14px; right: 14px; bottom: 14px; z-index: 5; width: min(340px, calc(100% - 28px)); overflow: auto; background: rgba(28, 26, 22, .97); border: 1px solid var(--night-line); border-radius: 16px; padding: 20px 22px; box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .8); }
.v-panel[hidden] { display: none; }
.v-concept { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #E6DFD0; padding: 7px 12px; border-radius: 999px; background: var(--night-3); margin: 0; }
.v-concept::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-bright); }
.v-panel dl { margin: 10px 0 0; }
.v-panel dt { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-3); margin-top: 16px; }
.v-panel dd { margin: 5px 0 0; font-size: 15px; line-height: 1.45; }
.v-keys { margin: 22px 0 0; font: 500 11.5px var(--mono); color: var(--on-night-3); }
/* pan-y: a sideways swipe on this bar browses the box instead of scrolling */
.v-foot { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-top: 1px solid var(--night-line); min-height: 60px; touch-action: pan-y; }
.v-nav { display: flex; align-items: center; gap: 4px; }
.v-nav .v-btn { min-width: 44px; height: 44px; justify-content: center; font-size: 17px; }
.v-posbox { display: grid; justify-items: center; gap: 1px; min-width: 88px; }
.v-pos { font: 500 12.5px var(--mono); color: var(--on-night-3); text-align: center; }
.v-swipe { display: none; font: 500 9.5px var(--mono); letter-spacing: .04em; color: #7C7568; white-space: nowrap; }
.v-play { font-size: 13.5px !important; margin-left: 6px; }
.v-play-icon { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.v-play[aria-pressed="true"] .v-play-icon { width: 10px; height: 12px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.v-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.v-progress span { display: block; height: 100%; width: 0; background: var(--accent-bright); }
.v-want { margin-left: auto; min-width: 0; }
.want-short { display: none; }
/* up to 1400px the bar keeps icons only (the labels stay for screen readers): with labels, the name had no room left */
@media (max-width: 1400px) {
  .v-brand > span, .v-actions .v-btn span, .v-devices button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v-close { padding: 0; }
}
@media (max-width: 1000px) { .v-brand { display: none; } }
@media (max-width: 900px) { .v-meta { display: none; } }
@media (max-width: 760px) {
  .v-bar { padding: 6px 6px 6px 14px; min-height: 52px; gap: 6px; }
  .v-home, .v-devices, .v-brand, #v-newtab { display: none; }
  .v-name { font-size: 20px; }
  .v-frame { inset: 0; }
  .v-frame .v-screen { border-radius: 0 !important; box-shadow: none !important; }
  .v-foot { padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 6px; min-height: 56px; }
  .v-posbox { min-width: 62px; }
  .v-pos { font-size: 11.5px; }
  .v-swipe { display: block; }
  .v-play span:not(.v-play-icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .v-play { display: none; }
  .v-keys { display: none; }
  .want-long { display: none; } .want-short { display: inline; }
  .v-panel { top: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); }
}
@media (max-width: 380px) { .v-want .arr { display: none; } .v-want { padding: 8px 12px; font-size: 13.5px; } }

/* ---------- toast ---------- */
.hub-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 2000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: max-content; max-width: min(92vw, 480px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 14px; font-size: 14.5px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s var(--ease); }
.hub-toast.on { opacity: 1; transform: translate(-50%, 0); }
.viewer .hub-toast { background: var(--paper); color: var(--ink); }

/* ---------- phone: filter sheet and action bar ---------- */
.sheet {
  position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88%; margin: 0; padding: 0; border: 0;
  display: none; flex-direction: column; overflow: hidden; background: var(--paper); color: var(--ink);
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4);
}
.sheet[open] { display: flex; animation: sheet-in .35s var(--ease); }
.sheet.is-closing { transform: translateY(104%); transition: transform .35s var(--ease); }
.sheet::backdrop { background: rgba(15, 14, 11, .45); animation: fade-in .25s; transition: opacity .25s; }
.sheet.is-closing::backdrop { opacity: 0; }
@keyframes sheet-in { from { transform: translateY(104%); } }
.sheet-head { flex: none; padding: 10px var(--gutter) 12px; border-bottom: 1px solid var(--line); }
.sheet-grip { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: var(--line-2); }
.sheet-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-title-row h2 { font: 400 30px/1 var(--serif); margin: 0; }
.sheet-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; }
.sheet-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sheet-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 20px; }
.sheet-label { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.sheet-label:first-child { margin-top: 20px; }
.sheet-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sheet-chips .chip { height: 42px; padding: 0 15px; }
.sheet-show .view-toggle { margin-left: 0; }
.sheet-show .view-toggle button { height: 36px; padding: 0 14px; }
.sheet-foot { flex: none; display: flex; gap: 10px; padding: 12px var(--gutter) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { min-height: 50px; font-size: 15px; }
.sheet-foot .btn-line { padding-inline: 20px; }
.sheet-foot .btn-ink { flex: 1; }

.mbar { display: none; }
.mbar-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--paper); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.mbar-btn[hidden] { display: none; }
.mbar-btn svg { width: 18px; height: 18px; fill: var(--accent-bright); stroke: var(--accent-bright); stroke-width: 1.8; }
.mbar-cta { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.mbar-cta:hover { background: var(--accent-2); }
@media (max-width: 639px) {
  .js .mbar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45;
    display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(23, 21, 15, .95);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
    transform: translateY(calc(100% + 28px)); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility 0s linear .35s;
  }
  .js .mbar.on { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s, visibility 0s; }
  /* the toast rises above the action bar */
  .bar-on .hub-toast { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .case, .hero-box:hover .case { transform: none; }
  .tile.hot, .tile.pulled { transform: scale(1.8); }
}

/* Studio and policy pages share the site's paper, typography and navigation. */
.studio-note { padding-block: 0 clamp(72px, 8vw, 120px); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; }
.studio-note h2 { font: 400 clamp(30px, 3vw, 46px)/1.2 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; }
.studio-note p:not(.eyebrow) { max-width: 48em; color: var(--ink-2); margin: 0 0 20px; }
.editorial { padding-block: clamp(60px, 8vw, 112px) clamp(80px, 10vw, 150px); }
.editorial-head { max-width: 940px; margin-bottom: clamp(48px, 7vw, 96px); }
.editorial-head h1 { font: 400 clamp(44px, 6vw, 84px)/1.1 var(--serif); letter-spacing: -.025em; margin: 20px 0 28px; text-wrap: balance; }
.editorial-head .lede { max-width: 46em; }
.editorial-date { font: 12px var(--mono); color: var(--muted); }
.editorial-note { border-left: 2px solid var(--accent); padding-left: 18px; margin: 24px 0 0; color: var(--ink-2); max-width: 48em; font-size: 15px; }
.editorial-layout { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 6vw, 100px); }
.editorial-index { position: sticky; top: calc(var(--top-h) + 36px); align-self: start; border-top: 1px solid var(--line-2); padding-top: 20px; }
.editorial-index ol { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 12px; }
.editorial-index a { color: var(--muted); font-size: 14px; text-decoration: none; }
.editorial-index a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.editorial-body { max-width: 780px; min-width: 0; }
.editorial-section { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.editorial-section h2, .editorial-contact h2 { font: 500 clamp(23px, 2.4vw, 32px)/1.35 var(--serif); letter-spacing: -.01em; margin: 0 0 20px; }
.editorial-section p { color: var(--ink-2); line-height: 1.85; margin: 0 0 18px; overflow-wrap: anywhere; }
.editorial-section p:last-child { margin-bottom: 0; }
.editorial-contact { background: var(--paper-2); padding: clamp(22px, 3vw, 40px); border-radius: 14px; }
.editorial-contact p { color: var(--ink-2); }
.editorial-contact p:last-child { margin-bottom: 0; }
.editorial-contact .text-link { overflow-wrap: anywhere; }
:lang(zh) .home-page .studio-note h2 { font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.3; letter-spacing: 0; }
@media (max-width: 759px) { .studio-note { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 760px) {
  .editorial-layout { grid-template-columns: 1fr; }
  .editorial-index { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .editorial-index ol { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .editorial-section { padding-bottom: 28px; margin-bottom: 28px; }
}
@media (max-width: 400px) {
  .editorial-index ol { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
