@charset "UTF-8";

:root {
  --paper: #efede5;
  --paper-deep: #dfdcd2;
  --ink: #1b1b18;
  --muted: #6e6d65;
  --line: rgba(27, 27, 24, 0.22);
  --accent: #cf5b43;
  --light: #f3f1e9;
  --pad: clamp(20px, 4vw, 68px);
  --sans: "Aptos", "Helvetica Neue", "Microsoft YaHei", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.menu-open, body.dialog-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--light); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
p, h1, h2, h3, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--light);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: repeating-radial-gradient(circle at 17% 32%, transparent 0, transparent 1px, currentColor 1.5px, transparent 2px);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}
.page-progress {
  position: fixed;
  z-index: 120;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
}
.page-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Loading scene */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--pad);
  background: var(--accent);
  color: var(--ink);
}
.boot-top, .boot-bottom { display: flex; justify-content: space-between; gap: 20px; font: 11px/1.4 var(--mono); letter-spacing: 0.08em; }
.boot-center { align-self: center; width: min(760px, 85vw); }
.boot-kicker { margin-bottom: 20px; font-size: 13px; letter-spacing: 0.18em; }
.boot-word-mask { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.boot-word { display: block; padding: 12px 0 24px; font-family: var(--serif); font-size: clamp(72px, 13vw, 180px); line-height: 1; letter-spacing: -0.08em; }
.boot-count { font-size: clamp(30px, 4vw, 58px); line-height: 0.8; }
.boot-line { position: absolute; left: var(--pad); right: var(--pad); bottom: 84px; height: 1px; background: rgba(27,27,24,.28); }
.boot-line span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.no-js .boot { display: none; }
.no-js body.is-loading { overflow: auto; }

/* Header and menu */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 22px var(--pad);
  color: var(--light);
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { width: max-content; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.08em; }
.brand span { margin-left: 4px; font: 10px/1 var(--mono); vertical-align: top; letter-spacing: 0; }
.header-note { font: 9px/1.45 var(--mono); letter-spacing: 0.08em; }
.desktop-nav { display: flex; justify-content: center; gap: 30px; font-size: 12px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button, .menu-close {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
}
.menu-button svg, .menu-close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.site-menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  overflow: auto;
}
.site-menu::backdrop { background: var(--accent); }
.menu-inner { min-height: 100dvh; display: flex; flex-direction: column; padding: 24px var(--pad); }
.menu-head { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 700; }
.menu-close { font-size: 13px; font-weight: 400; }
.menu-nav { margin: auto 0; padding: 8vh 0; }
.menu-nav a {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  border-bottom: 1px solid rgba(27,27,24,.32);
  overflow: hidden;
}
.menu-nav a:first-child { border-top: 1px solid rgba(27,27,24,.32); }
.menu-nav a > * { transition: transform .5s var(--ease); }
.menu-nav a:hover strong { transform: translateX(18px); }
.menu-nav a:hover em { transform: translateX(-12px); }
.menu-nav span, .menu-nav em { font: 11px/1 var(--mono); font-style: normal; }
.menu-nav strong { padding: 14px 0 20px; font-family: var(--serif); font-size: clamp(40px, 6vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -0.06em; }
.menu-foot { display: flex; justify-content: space-between; gap: 20px; font: 10px/1.4 var(--mono); }

/* Shared */
.section-pad { position: relative; padding: clamp(100px, 12vw, 180px) var(--pad); }
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.section-label-on-dark { border-color: rgba(243,241,233,.25); }
.serif { font-family: var(--serif); font-weight: 400; }
.reveal-mask { display: block; overflow: hidden; }
.reveal-mask > span { display: block; }
.magnetic { display: inline-block; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: 112px var(--pad) 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-meta { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font: 10px/1.4 var(--mono); letter-spacing: .08em; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 2vw; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 5vh 0 2vh; }
.hero-eyebrow { margin: 0 0 3vh 5px; font-size: 13px; letter-spacing: .12em; }
.hero h1 { font-size: clamp(62px, 8vw, 142px); font-weight: 700; line-height: .91; letter-spacing: -.095em; }
.title-mask { display: block; overflow: hidden; padding: 0 .08em .09em 0; }
.title-line { display: block; transform-origin: left bottom; }
.title-shift { margin-left: clamp(32px, 6vw, 110px); }
.title-serif { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.title-line sup { display: inline-block; margin-left: 14px; color: var(--ink); font: 10px/1 var(--mono); letter-spacing: .1em; vertical-align: top; transform: translateY(12px); }
.title-dot { color: var(--accent); }
.hero-machine { position: relative; height: min(59vh, 650px); min-height: 400px; }
.hero-machine::before { content: ""; position: absolute; inset: 8% 5%; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-13deg); }
#orbit-canvas { width: 100%; height: 100%; }
.machine-stamp { position: absolute; top: 12%; right: 0; padding: 8px; border: 1px solid var(--ink); font: 9px/1.3 var(--mono); transform: rotate(6deg); }
.hero-machine figcaption { position: absolute; left: 0; right: 0; bottom: 3%; display: flex; justify-content: space-between; font: 9px/1.4 var(--mono); letter-spacing: .08em; }
.hero-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero-bottom p { font-size: 12px; line-height: 1.7; }
.round-link {
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--light);
  font-size: 11px;
  line-height: 1.45;
  transition: background-color .3s ease;
}
.round-link:hover { background: var(--accent); }
.round-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.hero-scroll { justify-self: end; font: 9px/1 var(--mono); letter-spacing: .08em; writing-mode: vertical-rl; }

/* Manifesto */
.manifesto { min-height: 110vh; overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 6vw; margin-top: 11vh; }
.manifesto h2 { font-size: clamp(50px, 7.5vw, 126px); font-weight: 600; line-height: 1.04; letter-spacing: -.085em; }
.manifesto h2 .reveal-mask:nth-child(2) { margin-left: 8vw; }
.manifesto h2 .reveal-mask:nth-child(3) { margin-left: 2vw; }
.manifesto-aside { align-self: end; padding-bottom: 1.5vw; }
.aside-index { display: block; margin-bottom: 28px; font: 10px/1.4 var(--mono); }
.manifesto-aside p { max-width: 34ch; font-size: 14px; line-height: 1.9; }
.manifesto-aside p + p { margin-top: 18px; color: var(--muted); }
.manifesto-mark { position: absolute; right: 7vw; bottom: 6vh; width: clamp(80px, 10vw, 160px); fill: none; stroke: var(--accent); stroke-width: 2; }
.spin-slow { animation: slow-spin 20s linear infinite; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.ticker { padding: 20px 0 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker span { font-size: clamp(24px, 3.4vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.ticker i { display: block; width: 12px; height: 12px; margin: 0 35px; border-radius: 50%; background: var(--accent); }

/* Work */
.work-section { position: relative; background: var(--ink); color: var(--light); }
.work-pin { position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; padding: 104px var(--pad) 24px; overflow: hidden; background: var(--ink); }
.work-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-label-dark { display: block; margin-bottom: 14px; color: rgba(243,241,233,.58); font: 9px/1 var(--mono); letter-spacing: .1em; }
.work-head h2 { font-size: clamp(30px, 3.6vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.06em; }
.work-head h2 span { color: var(--accent); }
.work-head p { color: rgba(243,241,233,.58); font-size: 11px; line-height: 1.8; }
.work-viewport { flex: 1; display: flex; align-items: center; margin: 3vh calc(var(--pad) * -1) 0; overflow: hidden; }
.work-track { display: flex; align-items: center; gap: 7vw; width: max-content; padding: 0 var(--pad); }
.project-panel { flex: 0 0 min(61vw, 980px); }
.project-panel-narrow { flex-basis: min(46vw, 720px); }
.project-topline { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; font: 9px/1.4 var(--mono); letter-spacing: .07em; }
.project-visual { position: relative; display: block; width: 100%; height: min(46vh, 510px); padding: 0; border: 0; background: var(--paper-deep); overflow: hidden; text-align: left; }
.project-visual img { width: 100%; height: 110%; object-fit: cover; transform: translateY(-5%); transition: filter .6s var(--ease); }
.project-visual:hover img { filter: contrast(1.06); }
.project-view { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 12px; line-height: 1.3; text-align: center; opacity: 0; transform: translate(-50%, -45%) scale(.6); transition: opacity .35s ease, transform .55s var(--ease); }
.project-visual:hover .project-view, .project-visual:focus-visible .project-view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; }
.project-caption h3 { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 28px); font-weight: 400; letter-spacing: -.04em; }
.text-link { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 4px 0; border: 0; border-bottom: 1px solid rgba(243,241,233,.35); background: none; color: var(--light); font-size: 10px; }
.text-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }
.work-end { flex: 0 0 26vw; display: flex; align-items: center; justify-content: center; gap: 30px; color: var(--accent); }
.work-end span { font: 12px/1.4 var(--mono); }
.work-end svg { width: 100px; fill: none; stroke: currentColor; stroke-width: 1; }
.work-progress { display: grid; grid-template-columns: auto minmax(100px, 260px) auto 1fr; align-items: center; gap: 15px; font: 9px/1 var(--mono); }
.work-progress-line { height: 1px; background: rgba(243,241,233,.2); }
.work-progress-line span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.work-drag-note { justify-self: end; color: rgba(243,241,233,.45); letter-spacing: .08em; }

/* Services */
.services-intro { display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 6vw; margin: 9vh 0 12vh; }
.services-intro h2 { font-size: clamp(38px, 5.2vw, 84px); font-weight: 500; line-height: 1.1; letter-spacing: -.07em; }
.services-intro p { max-width: 31ch; color: var(--muted); font-size: 13px; }
.service-list { border-bottom: 1px solid var(--ink); }
.service-item { border-top: 1px solid var(--ink); }
.service-trigger { width: 100%; display: grid; grid-template-columns: 60px 1fr 260px 28px; align-items: center; gap: 20px; padding: 25px 0 30px; border: 0; background: transparent; text-align: left; }
.service-no, .service-en { font: 10px/1.3 var(--mono); }
.service-title { font-size: clamp(28px, 3.4vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.06em; transition: transform .45s var(--ease), color .3s ease; }
.service-trigger:hover h3 { color: var(--accent); transform: translateX(12px); }
.service-toggle { position: relative; width: 26px; height: 26px; }
.service-toggle::before, .service-toggle::after { content: ""; position: absolute; left: 0; top: 12px; width: 26px; height: 1px; background: var(--ink); transition: transform .45s var(--ease); }
.service-toggle::after { transform: rotate(90deg); }
.service-trigger[aria-expanded="true"] .service-toggle::after { transform: rotate(0); }
.service-panel { overflow: hidden; }
.service-panel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 0 48px 42px 80px; }
.service-panel-inner p { max-width: 48ch; font-family: var(--serif); font-size: 18px; line-height: 1.8; }
.service-panel-inner ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; list-style: none; }
.service-panel-inner li { padding-top: 7px; border-top: 1px solid var(--line); font-size: 11px; }

/* Method */
.method { background: var(--ink); color: var(--light); }
.method-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 6vw; align-items: end; margin: 9vh 0 12vh; }
.method-heading h2 { font-size: clamp(48px, 6.4vw, 102px); font-weight: 500; line-height: 1; letter-spacing: -.08em; }
.method-heading h2 span { color: var(--accent); }
.method-heading p { max-width: 34ch; color: rgba(243,241,233,.55); font-size: 13px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.method-visual { position: sticky; top: 15vh; height: 70vh; align-self: start; display: flex; align-items: center; justify-content: center; }
.method-orbit { width: min(100%, 520px); overflow: visible; }
.orbit-guide { fill: none; stroke: rgba(243,241,233,.18); stroke-width: 1; stroke-dasharray: 3 6; }
.method-path { fill: none; stroke: var(--accent); stroke-width: 2; }
.orbit-dot { fill: var(--accent); }
.method-visual > span { position: absolute; left: 0; bottom: 0; font: 9px/1.5 var(--mono); color: rgba(243,241,233,.45); }
.method-steps { list-style: none; }
.method-steps li { min-height: 58vh; padding: 24px 0 80px; border-top: 1px solid rgba(243,241,233,.3); }
.method-steps li > span { font: 9px/1 var(--mono); color: var(--accent); }
.method-steps h3 { margin: 6vh 0 22px; font-family: var(--serif); font-size: clamp(42px, 5vw, 74px); font-weight: 400; line-height: 1; }
.method-steps p { max-width: 37ch; color: rgba(243,241,233,.62); font-size: 14px; line-height: 1.9; }

/* Playground */
.playground-grid { display: grid; grid-template-columns: .9fr 1.1fr; margin-top: 9vh; border-bottom: 1px solid var(--ink); }
.play-copy { padding: 6vh 6vw 9vh 0; }
.play-index { font: 10px/1 var(--mono); }
.play-index b { font-weight: 400; color: var(--accent); }
.play-copy h2 { margin: 7vh 0 30px; font-size: clamp(40px, 4.8vw, 76px); font-weight: 500; line-height: 1.1; letter-spacing: -.07em; }
.play-copy p { max-width: 37ch; color: var(--muted); font-size: 13px; }
.pill-button { display: inline-flex; align-items: center; gap: 40px; margin-top: 45px; padding: 15px 18px 15px 24px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: 12px; transition: background-color .3s ease, color .3s ease; }
.pill-button:hover { background: var(--ink); color: var(--light); }
.pill-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.idea-stage { position: relative; min-height: 650px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--ink); overflow: hidden; }
.idea-shape { position: absolute; width: min(90%, 570px); fill: var(--accent); }
.idea-shape-line { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 6; }
.idea-stage blockquote { position: relative; z-index: 1; max-width: 12ch; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 54px); line-height: 1.35; letter-spacing: -.06em; text-align: center; }
.idea-note { position: absolute; left: 22px; bottom: 20px; font: 8px/1 var(--mono); letter-spacing: .09em; }

/* Studio notes */
.studio-notes { padding-top: 40px; }
.notes-grid { display: grid; grid-template-columns: .8fr .7fr 1fr; gap: 6vw; margin-top: 10vh; }
.notes-grid h2 { font-size: clamp(48px, 6vw, 90px); font-weight: 500; line-height: 1.05; letter-spacing: -.07em; }
.notes-body { padding-top: 10px; }
.notes-body p { font-size: 13px; line-height: 1.9; }
.notes-body p + p { margin-top: 20px; color: var(--muted); }
.notes-list > div { padding: 14px 0 20px; border-top: 1px solid var(--line); }
.notes-list span { display: block; margin-bottom: 10px; color: var(--muted); font: 9px/1 var(--mono); }
.notes-list strong { font-family: var(--serif); font-size: 16px; font-weight: 400; }

/* Contact */
.contact { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; padding: 35px var(--pad) 0; background: var(--accent); overflow: hidden; }
.contact-top { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(27,27,24,.35); font: 9px/1 var(--mono); }
.contact-main { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 8vh 0; }
.contact-main h2 { font-size: clamp(48px, 7.2vw, 118px); font-weight: 600; line-height: 1.05; letter-spacing: -.085em; }
.contact-main h2 .reveal-mask:nth-child(2) { margin-left: 12vw; }
.contact-orbit { flex: 0 0 auto; width: clamp(150px, 15vw, 220px); height: clamp(150px, 15vw, 220px); display: flex; align-items: center; justify-content: center; gap: 20px; border: 0; border-radius: 50%; background: var(--ink); color: var(--light); font-size: 14px; line-height: 1.5; text-align: left; transition: background-color .35s ease, color .35s ease; }
.contact-orbit:hover { background: var(--light); color: var(--ink); }
.contact-orbit svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.contact-bottom { position: relative; z-index: 2; display: flex; align-items: center; gap: 35px; padding-bottom: 12vh; font-size: 11px; }
.email-copy { display: flex; align-items: baseline; gap: 14px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.email-copy span { font-size: clamp(18px, 2vw, 30px); letter-spacing: -.04em; }
.email-copy small { font: 9px/1 var(--mono); }
.contact-ghost { position: absolute; z-index: 0; left: -1vw; right: 0; bottom: -4vw; color: transparent; font-size: 16.5vw; font-weight: 800; line-height: .8; letter-spacing: -.09em; -webkit-text-stroke: 1px rgba(27,27,24,.25); white-space: nowrap; pointer-events: none; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 30px; align-items: end; padding: 40px var(--pad); background: var(--ink); color: var(--light); }
.site-footer > div { display: flex; gap: 20px; font: 9px/1 var(--mono); }
.site-footer p { color: rgba(243,241,233,.48); font: 9px/1.6 var(--mono); }
.back-top { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.back-top svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Motion control and feedback */
.motion-toggle { position: fixed; z-index: 95; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(243,241,233,.25); border-radius: 999px; background: rgba(27,27,24,.9); color: var(--light); font: 9px/1 var(--mono); backdrop-filter: blur(8px); }
.motion-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: breathe 2s ease-in-out infinite; }
.motion-toggle[aria-pressed="true"] .motion-dot { animation-play-state: paused; background: #88877f; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.7); } }
.ambient-paused .spin-slow, .ambient-paused .motion-dot { animation-play-state: paused; }
.toast { position: fixed; z-index: 1100; left: 50%; bottom: 28px; max-width: calc(100vw - 40px); padding: 12px 20px; background: var(--ink); color: var(--light); font-size: 12px; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); transition: opacity .3s ease, transform .4s var(--ease); }

/* Dialogs */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(27,27,24,.78); }
.project-dialog { width: min(1400px, 94vw); max-width: none; max-height: 92dvh; padding: 0; border: 0; background: var(--paper); overflow: auto; }
.dialog-close { position: absolute; z-index: 5; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--light); }
.dialog-close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.project-dialog-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(82dvh, 850px); }
.project-dialog-art { position: sticky; top: 0; height: 92dvh; max-height: 850px; background: var(--paper-deep); }
.project-dialog-art img { width: 100%; height: 100%; object-fit: cover; }
.project-dialog-copy { padding: 80px clamp(28px, 4vw, 65px) 45px; }
.project-dialog-copy > span { font: 9px/1 var(--mono); color: var(--muted); }
.project-dialog-copy h2 { margin: 4vh 0 25px; font-family: var(--serif); font-size: clamp(48px, 6vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.07em; }
.project-dialog-lead { margin-bottom: 7vh; font-family: var(--serif); font-size: 21px; line-height: 1.7; }
.project-dialog-detail { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 18px 0 25px; border-top: 1px solid var(--line); }
.project-dialog-detail span { font: 9px/1.6 var(--mono); color: var(--muted); }
.project-dialog-detail p { font-size: 13px; line-height: 1.8; }
.dialog-next { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 30px; padding: 16px 0; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; font-size: 12px; }
.dialog-next svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.brief-dialog { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: 92dvh; padding: clamp(28px, 5vw, 60px); border: 0; background: var(--paper); }
.brief-head > span, .brief-success > span { font: 9px/1 var(--mono); color: var(--accent); }
.brief-head h2 { margin: 18px 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); font-weight: 400; line-height: 1.1; letter-spacing: -.06em; }
.brief-head p { max-width: 50ch; color: var(--muted); font-size: 12px; }
#brief-form { margin-top: 35px; }
.form-row { display: grid; gap: 7px; margin-bottom: 22px; }
.form-row label { font-size: 12px; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); outline-offset: 2px; }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #88877f; font-size: 12px; }
.field-hint, .field-error { font-size: 10px; }
.field-hint { color: var(--muted); }
.field-error { color: #a03828; min-height: 0; }
.form-row.has-error input, .form-row.has-error textarea { border-color: #a03828; }
.form-submit { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border: 0; background: var(--ink); color: var(--light); font-size: 12px; }
.form-submit:active { transform: scale(.99); }
.form-submit svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.brief-success { padding-top: 35px; }
.brief-success h3 { margin: 20px 0; font-family: var(--serif); font-size: 44px; font-weight: 400; }
.brief-success p { font-size: 13px; }
.brief-success pre { max-height: 220px; overflow: auto; margin: 25px 0; padding: 18px; background: var(--paper-deep); font: 11px/1.8 var(--mono); white-space: pre-wrap; }
.brief-success-actions { display: flex; gap: 10px; }
.brief-success-actions button { flex: 1; padding: 12px; border: 1px solid var(--ink); background: transparent; font-size: 11px; }
.brief-success-actions button:first-child { background: var(--ink); color: var(--light); }

/* Tablet */
@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr 1fr auto; }
  .header-note { display: none; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero h1 { font-size: clamp(62px, 8.5vw, 100px); }
  .manifesto-grid { grid-template-columns: 1.25fr .55fr; }
  .project-panel { flex-basis: 70vw; }
  .project-panel-narrow { flex-basis: 55vw; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .notes-list { grid-column: 2; }
}

/* Mobile: a vertical magazine, not a shrunken desktop */
@media (max-width: 767px) {
  :root { --pad: 20px; }
  html { scroll-behavior: auto; }
  .paper-grain { opacity: .035; }
  .site-header { grid-template-columns: 1fr auto; padding-top: 18px; }
  .desktop-nav { display: none; }
  .brand { font-size: 24px; }
  .menu-button span { display: none; }
  .menu-inner { padding-top: 20px; }
  .menu-head { font-size: 20px; }
  .menu-nav a { grid-template-columns: 38px 1fr; }
  .menu-nav a em { display: none; }
  .menu-nav strong { font-size: 46px; }
  .menu-foot { flex-direction: column; gap: 5px; }
  .boot-top span:last-child, .boot-bottom > span:first-child { display: none; }
  .boot-bottom { justify-content: flex-end; }
  .boot-line { bottom: 84px; }

  .hero { min-height: 100dvh; padding-top: 92px; }
  .hero-meta span:last-child { display: none; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; flex: 1; }
  .hero-copy { padding: 6vh 0 0; }
  .hero-eyebrow { margin-bottom: 22px; font-size: 11px; }
  .hero h1 { font-size: clamp(60px, 19vw, 94px); line-height: .94; }
  .title-shift { margin-left: 12vw; }
  .title-line sup { margin-left: 8px; font-size: 8px; }
  .hero-machine { width: 82%; height: 36vh; min-height: 280px; margin: -10px 0 0 auto; }
  .machine-stamp { top: 7%; font-size: 7px; }
  .hero-bottom { grid-template-columns: 1fr auto; align-items: center; margin-top: -8px; }
  .hero-bottom p { font-size: 10px; }
  .round-link { width: 92px; height: 92px; font-size: 10px; }
  .hero-scroll { display: none; }

  .section-pad { padding: 90px var(--pad); }
  .section-label { font-size: 8px; }
  .manifesto { min-height: auto; padding-bottom: 160px; }
  .manifesto-grid { display: block; margin-top: 65px; }
  .manifesto h2 { font-size: 15vw; line-height: 1.08; }
  .manifesto h2 .reveal-mask:nth-child(2) { margin-left: 8vw; }
  .manifesto h2 .reveal-mask:nth-child(3) { margin-left: 0; }
  .manifesto-aside { margin: 70px 0 0 18vw; }
  .manifesto-aside p { font-size: 13px; }
  .manifesto-mark { right: 20px; bottom: 30px; width: 80px; }
  .ticker { padding: 16px 0 19px; }
  .ticker span { font-size: 26px; }
  .ticker i { width: 8px; height: 8px; margin: 0 20px; }

  .work-pin { min-height: auto; padding: 90px var(--pad); overflow: visible; }
  .work-head { display: block; }
  .work-head h2 { font-size: 35px; }
  .work-head p { margin-top: 20px; }
  .work-viewport { display: block; margin: 50px 0 0; overflow: visible; }
  .work-track { display: grid; width: 100%; gap: 70px; padding: 0; }
  .project-panel, .project-panel-narrow { width: 100%; }
  .project-visual { height: auto; aspect-ratio: 4 / 3; }
  .project-visual img { height: 110%; }
  .project-caption { display: block; }
  .project-caption h3 { font-size: 22px; }
  .project-caption .text-link { margin-top: 15px; }
  .project-topline { font-size: 8px; }
  .project-view { display: none; }
  .work-end { display: none; }
  .work-progress { display: none; }

  .services-intro { display: block; margin: 60px 0 75px; }
  .services-intro h2 { font-size: 11vw; }
  .services-intro p { margin: 25px 0 0 18vw; }
  .service-trigger { grid-template-columns: 32px 1fr 24px; gap: 8px; padding: 23px 0; }
  .service-title { font-size: 29px; }
  .service-en { display: none; }
  .service-toggle { width: 22px; }
  .service-toggle::before, .service-toggle::after { width: 22px; }
  .service-panel-inner { display: block; padding: 0 0 35px 40px; }
  .service-panel-inner p { font-size: 16px; }
  .service-panel-inner ul { margin-top: 25px; }

  .method-heading { display: block; margin: 60px 0 80px; }
  .method-heading h2 { font-size: 15vw; }
  .method-heading p { margin: 30px 0 0 18vw; }
  .method-grid { display: block; }
  .method-visual { position: relative; top: auto; width: 80%; height: auto; margin: 0 auto 70px; }
  .method-visual > span { bottom: -35px; }
  .method-steps li { min-height: auto; padding-bottom: 85px; }
  .method-steps h3 { margin-top: 45px; font-size: 55px; }

  .playground-grid { display: block; margin-top: 60px; }
  .play-copy { padding: 0 0 65px; }
  .play-copy h2 { margin-top: 45px; font-size: 11.5vw; }
  .idea-stage { min-height: 520px; border-left: 0; border-top: 1px solid var(--ink); }
  .idea-stage blockquote { font-size: 9vw; }
  .idea-shape { width: 110%; }

  .studio-notes { padding-top: 20px; }
  .notes-grid { display: block; margin-top: 60px; }
  .notes-grid h2 { font-size: 17vw; }
  .notes-body { margin: 45px 0 55px 18vw; }
  .notes-list { margin-top: 30px; }

  .contact { min-height: 850px; padding-top: 25px; }
  .contact-top { font-size: 8px; }
  .contact-top span:last-child { display: none; }
  .contact-main { display: block; padding-top: 110px; }
  .contact-main h2 { font-size: 13.5vw; line-height: 1.12; }
  .contact-main h2 .reveal-mask:nth-child(2) { margin-left: 30vw; }
  .contact-orbit { width: 145px; height: 145px; margin: 65px 0 0 auto; font-size: 12px; }
  .contact-bottom { display: block; padding-bottom: 130px; }
  .email-copy { margin-top: 15px; }
  .email-copy small { display: none; }
  .contact-ghost { bottom: 10px; font-size: 20vw; }
  .site-footer { grid-template-columns: 1fr auto; gap: 30px; padding: 35px 20px 85px; }
  .site-footer > div { justify-self: end; }
  .site-footer p { grid-column: 1 / -1; }

  .motion-toggle { right: 12px; bottom: 12px; }
  .project-dialog { width: calc(100vw - 20px); max-height: 94dvh; }
  .project-dialog-grid { display: block; }
  .project-dialog-art { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .project-dialog-copy { padding: 45px 24px; }
  .project-dialog-copy h2 { font-size: 58px; }
  .project-dialog-lead { font-size: 18px; }
  .project-dialog-detail { grid-template-columns: 60px 1fr; }
  .brief-dialog { padding: 55px 22px 30px; }
  .brief-head h2 { font-size: 40px; }
  .brief-success h3 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .boot { display: none; }
  body.is-loading { overflow: auto; }
  .title-line, .reveal-mask > span, [data-reveal], .hero-enter { opacity: 1 !important; transform: none !important; }
}
