/* The Frugal SEO — site.css
   Paper, ink and one brick accent. Bricolage Grotesque for display,
   Instrument Sans for reading, IBM Plex Mono only where numbers need to line up. */

:root {
  --paper: #F3EFE7;
  --paper-2: #EBE5D9;
  --card: #FBF8F2;
  --receipt: #FFFDF8;
  --ink: #161513;
  --ink-2: #3B3833;
  --mute: #6C665C;
  --rule: #D9D2C4;
  --rule-strong: #BDB4A4;
  --brick: #A23A2C;
  --brick-deep: #872F23;
  --brick-hi: #E58A6F;      /* accent on dark backgrounds */
  --on-ink: #F3EFE7;
  --on-ink-mute: #A9A296;

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --fs-hero: clamp(3.1rem, 11vw, 11.5rem);
  --fs-h1: clamp(2.6rem, 6.4vw, 6rem);
  --fs-h2: clamp(2.2rem, 4.8vw, 4.4rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-lede: clamp(1.15rem, 1.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(5.5rem, 11vw, 10rem);
  --radius: 10px;
  --radius-lg: 18px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 900ms;

  --hdr-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--brick); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; font-variation-settings: "opsz" 96; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brick); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.eyebrow { display: flex; width: fit-content; align-items: center; gap: .6em; font-size: var(--fs-small); font-weight: 500; color: var(--mute); letter-spacing: 0.01em; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.h2 { font-size: var(--fs-h2); }
.h2 em, .h1 em, .hero__title em { font-style: normal; color: var(--brick); }
.muted { color: var(--mute); }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1; }

/* ---------- Buttons and links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--brick-deep); transform: translateY(101%);
  transition: transform 520ms var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--brick { --bg: var(--brick); }
.btn--brick::before { background: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--paper::before { background: var(--brick-hi); }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .9375rem; }
.btn__arrow { width: 1em; height: 1em; transition: transform var(--t-med) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn > span { position: relative; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .4em; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size var(--t-med) var(--ease);
}
.link:hover { background-size: 0% 1.5px; background-position: 100% 100%; }
.link svg { width: .95em; height: .95em; transition: transform var(--t-med) var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  transition: transform 420ms var(--ease), background-color var(--t-med), box-shadow var(--t-med);
}
.hdr.is-scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--rule); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 650; font-size: 1.15rem; letter-spacing: -0.03em; font-variation-settings: "opsz" 24; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brick); color: var(--paper); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; line-height: 1; transition: transform var(--t-med) var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; font-size: .9688rem; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color var(--t-fast), background-color var(--t-fast); }
.nav a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brick); }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.menu-btn span:nth-child(1) { top: 19px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--on-ink);
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 620ms var(--ease), visibility 0s linear 620ms;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 620ms var(--ease), visibility 0s; }
.menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--on-ink); }
.menu-open .hdr .menu-btn { box-shadow: inset 0 0 0 1.5px var(--on-ink); }
.menu-open .hdr .menu-btn span { background: var(--on-ink); }
.menu ul { display: grid; gap: 2px; }
.menu li a { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; padding: 4px 0; opacity: 0; transform: translateY(24px); transition: opacity 400ms, transform 600ms var(--ease), color var(--t-fast); }
.menu li a:hover { color: var(--brick-hi); }
.menu-open .menu li a { opacity: 1; transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: 50ms; } .menu-open .menu li:nth-child(3) a { transition-delay: 100ms; }
.menu-open .menu li:nth-child(4) a { transition-delay: 150ms; } .menu-open .menu li:nth-child(5) a { transition-delay: 200ms; }
.menu-open .menu li:nth-child(6) a { transition-delay: 250ms; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot p { color: var(--on-ink-mute); font-size: var(--fs-small); }
.menu .btn { width: 100%; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 961px) { .menu { display: none; } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brick); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }
.js .line-mask > span { transform: translateY(105%); transition: transform 1100ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
.js .is-loaded .line-mask > span, .js .line-mask.is-in > span { transform: none; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--hdr-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.043em; line-height: .9; font-variation-settings: "opsz" 96, "wdth" 96; }
.hero__title .line-mask { padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line-mask:last-child { padding-bottom: .32em; margin-bottom: -.32em; }
.hero__title .ul { position: relative; display: inline-block; }
.hero__title .ul svg { position: absolute; left: -2%; right: -2%; bottom: -.19em; width: 104%; height: .22em; overflow: visible; }
.hero__title .ul path { fill: none; stroke: var(--brick); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-loaded .hero__title .ul path { transition: stroke-dashoffset 1100ms var(--ease) 1000ms; stroke-dashoffset: 0; }
.no-js .hero__title .ul path { stroke-dashoffset: 0; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 2rem; }
.hero__proof { display: grid; gap: 10px; padding-left: clamp(0rem, 2vw, 2rem); border-left: 1.5px solid var(--rule-strong); font-size: var(--fs-small); color: var(--ink-2); }
.hero__proof b { font-weight: 600; color: var(--ink); }
.hero__proof li { display: flex; gap: 10px; align-items: baseline; }
.hero__proof li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); transform: translateY(-1px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--ink-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3F8F5A; box-shadow: 0 0 0 0 rgba(63,143,90,.5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63,143,90,.45); } 70% { box-shadow: 0 0 0 9px rgba(63,143,90,0); } 100% { box-shadow: 0 0 0 0 rgba(63,143,90,0); } }

.stage { position: relative; margin-top: clamp(3rem, 6vw, 5rem); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.stage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(var(--sc, 1.06)); transform-origin: 50% 30%; }
.js .stage { clip-path: inset(12% 6% 0 6% round var(--radius-lg)); transition: clip-path 1400ms var(--ease) 300ms; }
.js .is-loaded .stage { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.stage figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; align-items: end; gap: 12px; color: #fff; font-size: var(--fs-small); }
.stage figcaption span { background: rgba(22,21,19,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }

@media (max-width: 600px) { .hero__top .status { display: none; } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__proof { padding-left: 16px; }
  .stage { aspect-ratio: 4 / 3; }
  .stage img { object-position: 52% 45%; }
}

/* ---------- Section heads ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.shead .eyebrow { margin-bottom: 1.25rem; }
.shead--stack { grid-template-columns: 1fr; max-width: 56rem; }
@media (max-width: 860px) { .shead { grid-template-columns: 1fr; } }

/* ---------- The receipt (ledger) ---------- */
.ledger { position: relative; background: var(--ink); color: var(--on-ink); }
.ledger__track { height: 260vh; }
.ledger__stick { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; align-items: center; }
.ledger__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(2rem, 7vw, 7rem); align-items: center; width: 100%; }
.ledger .eyebrow { color: var(--on-ink-mute); }
.ledger h2 { font-size: var(--fs-h2); margin: 1.25rem 0 1.5rem; }
.ledger h2 em { color: var(--brick-hi); font-style: normal; }
.ledger__say { position: relative; min-height: 7.5em; font-size: var(--fs-lede); line-height: 1.5; color: var(--on-ink-mute); max-width: 30em; }
.ledger__say p { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(14px); transition: opacity 500ms, transform 700ms var(--ease); }
.ledger__say p.is-on { opacity: 1; transform: none; position: relative; }
.ledger__say strong { color: var(--on-ink); font-weight: 600; }
.ledger__steps { display: flex; gap: 8px; margin-top: 2rem; }
.ledger__steps i { height: 3px; flex: 1; max-width: 56px; background: rgba(243,239,231,.18); border-radius: 2px; overflow: hidden; position: relative; }
.ledger__steps i::after { content: ""; position: absolute; inset: 0; background: var(--brick-hi); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }

.receipt {
  position: relative; color: var(--ink); background: var(--receipt);
  padding: 34px 30px 30px; font-family: var(--f-mono); font-size: .875rem; line-height: 1.5;
  transform: rotate(1.2deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 2px 0 rgba(0,0,0,.04);
  --edge: radial-gradient(circle at 8px 0, transparent 7px, var(--receipt) 7.5px);
}
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background-size: 16px 12px; background-repeat: repeat-x; }
.receipt::before { top: -11px; background-image: radial-gradient(circle at 8px 12px, var(--receipt) 7.5px, transparent 8px); }
.receipt::after { bottom: -11px; background-image: radial-gradient(circle at 8px 0, var(--receipt) 7.5px, transparent 8px); }
.receipt__head { text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--rule-strong); margin-bottom: 14px; }
.receipt__head b { display: block; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 650; font-variation-settings: "opsz" 24; }
.receipt__head span { font-size: var(--fs-xs); color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.rline { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; transition: color 300ms; }
.rline > span:first-child { flex: 1; display: flex; gap: 6px; min-width: 0; }
.rline > span:first-child::after { content: ""; flex: 1; border-bottom: 1.5px dotted var(--rule-strong); transform: translateY(-5px); min-width: 12px; }
.rline::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2.5px; background: var(--brick); border-radius: 2px;
  transform-origin: 0 50%; transform: rotate(var(--rot, -1.2deg)) scaleX(var(--s, 0));
}
.rline.is-cut { color: #A39C90; }
.rline.is-keep { font-weight: 500; }
.rline.is-keep.is-lit { color: var(--brick); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px dashed var(--rule-strong); margin-top: 14px; padding-top: 14px; font-weight: 500; }
.receipt__total b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.receipt__foot { margin-top: 18px; text-align: center; font-size: var(--fs-xs); color: var(--mute); }
.stamp {
  position: absolute; right: 26px; top: 47%; padding: 8px 14px; border: 3px solid var(--brick); color: var(--brick);
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; text-align: center;
  border-radius: 6px; transform: rotate(-11deg) scale(1.6); opacity: 0; pointer-events: none; mix-blend-mode: multiply;
  transition: transform 420ms cubic-bezier(.2, 1.6, .4, 1), opacity 200ms;
}
.stamp.is-on { transform: rotate(-11deg) scale(1); opacity: .92; }
.ledger__note { margin-top: 2rem; font-size: var(--fs-xs); color: var(--on-ink-mute); }

@media (max-width: 900px) {
  .ledger__track { height: auto; }
  .ledger__stick { position: relative; height: auto; min-height: 0; padding-block: var(--section); }
  .ledger__grid { grid-template-columns: 1fr; }
  .ledger__say { min-height: 0; }
  .ledger__say p { position: relative; display: none; }
  .ledger__say p.is-on { display: block; }
  .receipt { transform: rotate(.6deg); max-width: 460px; }
}

/* ---------- Services index rows ---------- */
.rows { border-top: 1.5px solid var(--ink); }
.row {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 150px 40px; gap: 20px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--rule-strong); isolation: isolate;
  transition: color var(--t-med), padding var(--t-med) var(--ease);
}
.row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 520ms var(--ease); }
.row__n { font-family: var(--f-mono); font-size: var(--fs-small); color: var(--mute); transition: color var(--t-med); }
.row__t { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "opsz" 72; }
.row__d { color: var(--ink-2); font-size: .975rem; line-height: 1.5; transition: color var(--t-med); }
.row__p { text-align: right; font-weight: 600; font-size: .975rem; }
.row__p small { display: block; font-weight: 400; color: var(--mute); font-size: var(--fs-xs); transition: color var(--t-med); }
.row__a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px currentColor; transition: transform var(--t-med) var(--ease), background-color var(--t-med), color var(--t-med); }
.row__a svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .row:hover { color: var(--on-ink); padding-inline: 18px; }
  .row:hover::before { transform: scaleY(1); }
  .row:hover .row__n, .row:hover .row__d, .row:hover .row__p small { color: var(--on-ink-mute); }
  .row:hover .row__a { background: var(--brick-hi); color: var(--ink); box-shadow: none; transform: rotate(-45deg); }
}
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr 40px; gap: 6px 16px; padding: 22px 0; }
  .row__n { display: none; }
  .row__t { grid-column: 1; }
  .row__a { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .row__d { grid-column: 1; }
  .row__p { grid-column: 1; text-align: left; }
  .row__p small { display: inline; margin-left: 6px; }
}

/* ---------- Work (horizontal) ---------- */
.work { position: relative; }
.work__track { position: relative; }
.work__stick { position: sticky; top: 0; height: 100vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.work__grid { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.work__view { min-width: 0; clip-path: inset(-40px -100vw -40px 0); }
.work__rail { display: flex; gap: 22px; will-change: transform; }
.work__intro { display: grid; gap: 0; align-content: center; }
.work__intro h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); margin: 1.25rem 0 1.25rem; }
.work__intro p { color: var(--ink-2); max-width: 26em; }
.work__hint { margin-top: 2rem; font-size: var(--fs-small); color: var(--mute) !important; }
.hint-touch { display: none; }
.wcard {
  position: relative; flex: 0 0 min(560px, 84vw); display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--radius-lg);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); min-height: min(560px, 70vh);
  transition: transform 600ms var(--ease), box-shadow var(--t-med);
}
.wcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--rule-strong), 0 30px 50px -30px rgba(22,21,19,.35); }
.wcard__top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-small); color: var(--mute); }
.wcard__client { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; font-variation-settings: "opsz" 36; }
.wcard__big { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -0.055em; line-height: .9; color: var(--brick); font-variation-settings: "opsz" 96; font-feature-settings: "tnum" 1; }
.wcard__big small { font-size: .38em; letter-spacing: -0.02em; color: var(--ink); margin-left: .2em; }
.wcard__what { color: var(--ink-2); font-size: .975rem; max-width: 30em; }
.wcard__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.wcard__facts li { font-size: var(--fs-xs); padding: 6px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.wcard__shot { margin-top: auto; border-radius: 10px; overflow: hidden; background: #2b2b2e; }
.wcard__shot img { width: 100%; transition: transform 900ms var(--ease); }
.wcard:hover .wcard__shot img { transform: scale(1.04); }
.wcard__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-small); }
.wcard__link svg { width: 14px; height: 14px; transition: transform var(--t-med) var(--ease); }
.wcard:hover .wcard__link svg { transform: translate(2px, -2px); }
.wcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.work__bar { margin-top: 30px; height: 2px; max-width: 520px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.work__bar span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.work__note { margin-top: 12px; font-size: var(--fs-xs); color: var(--mute); }
.wcard { flex-basis: min(500px, 84vw); min-height: min(540px, 68vh); }

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .work__track { height: auto !important; }
  .work__stick { position: relative; height: auto; min-height: 0; padding-block: var(--section); }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .work__view { clip-path: none; }
  .work__rail { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; transform: none !important; scrollbar-width: none; }
  .work__rail::-webkit-scrollbar { display: none; }
  .wcard { scroll-snap-align: start; min-height: 0; padding: 24px; }
  .work__bar { display: none; }
  .hint-wide { display: none; } .hint-touch { display: inline; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 901px) { .hint-touch { display: none; } .hint-wide { display: inline; } }

/* ---------- Talks / show ---------- */
.talks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.talk-list { border-top: 1.5px solid var(--ink); }
.talk { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.talk__y { font-family: var(--f-mono); font-size: var(--fs-small); color: var(--mute); padding-top: 4px; }
.talk__t { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; font-variation-settings: "opsz" 36; }
.talk__e { grid-column: 2; color: var(--mute); font-size: var(--fs-small); }
.talk__l { grid-column: 2; justify-self: start; margin-top: 6px; font-size: var(--fs-small); }
.show {
  position: relative; display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--on-ink); isolation: isolate;
}
.show__img { aspect-ratio: 4 / 3; overflow: hidden; }
.show__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--sc, 1.06)); }
.show__body { padding: 28px 30px 30px; display: grid; gap: 14px; }
.show__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.show__body p { color: var(--on-ink-mute); }
.show__body .link { color: var(--on-ink); justify-self: start; }
.show__tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.show__tag i { width: 8px; height: 8px; border-radius: 50%; background: #D93025; }
@media (max-width: 860px) { .talks { grid-template-columns: 1fr; } }

/* ---------- Word highlight ---------- */
.words { font-family: var(--f-display); font-size: clamp(1.9rem, 4.2vw, 3.9rem); font-weight: 550; letter-spacing: -0.04em; line-height: 1.08; font-variation-settings: "opsz" 72; max-width: 30ch; }
.words .w { opacity: .16; transition: opacity 260ms linear; }
.words .w.is-on { opacity: 1; }
.words .w.hl { color: var(--brick); }
.no-js .words .w { opacity: 1; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1.5px solid var(--ink); }
.principle { padding: 24px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.principle + .principle { padding-left: 24px; border-left: 1px solid var(--rule-strong); }
.principle b { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-small); color: var(--brick); }
.principle h3 { font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.15; font-variation-settings: "opsz" 32; }
.principle p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) {
  .principles { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 22px 0 0; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--rule-strong); }
}

/* ---------- Price cards ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius-lg); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule); transition: transform 600ms var(--ease), box-shadow var(--t-med);
}
.price:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rule-strong), 0 24px 40px -28px rgba(22,21,19,.35); }
.price--ink { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.price__k { font-size: var(--fs-small); font-weight: 600; color: var(--mute); }
.price--ink .price__k, .price--ink p { color: var(--on-ink-mute); }
.price__v { font-family: var(--f-display); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variation-settings: "opsz" 96; }
.price__v small { font-size: .36em; letter-spacing: -0.01em; font-weight: 500; margin-left: .25em; }
.price p { color: var(--ink-2); font-size: .975rem; }
.price ul { display: grid; gap: 8px; font-size: .95rem; margin-top: 4px; }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--brick); }
.price--ink li::before { color: var(--brick-hi); }
.price .btn { margin-top: auto; align-self: flex-start; }
.price__spacer { flex: 1; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule-strong); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; font-variation-settings: "opsz" 32; }
.qa__q:hover { color: var(--brick); }
.qa__i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: transform var(--t-med) var(--ease), background-color var(--t-med); }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 1.5px; background: currentColor; transition: transform var(--t-med) var(--ease); }
.qa__i::after { transform: rotate(90deg); }
.qa.is-open .qa__i { transform: rotate(180deg); background: var(--ink); color: var(--paper); box-shadow: none; }
.qa.is-open .qa__i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 64px 26px 0; color: var(--ink-2); max-width: 46em; }
.no-js .qa__a { grid-template-rows: 1fr; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .shead { margin-bottom: 0; position: sticky; top: calc(var(--hdr-h) + 24px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .shead { position: static; } .qa__a p { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.cta { background: var(--ink); color: var(--on-ink); border-radius: clamp(18px, 3vw, 32px); padding: clamp(2.5rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.cta .eyebrow { color: var(--on-ink-mute); }
.cta h2 { font-size: var(--fs-h2); margin: 1.25rem 0 1rem; max-width: 14em; }
.cta h2 em { color: var(--brick-hi); }
.cta > p { color: var(--on-ink-mute); font-size: var(--fs-lede); max-width: 32em; }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(2rem, 4vw, 3rem); }
.topic {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 150px; padding: 20px; border-radius: 14px;
  background: rgba(243,239,231,.06); box-shadow: inset 0 0 0 1px rgba(243,239,231,.14);
  transition: background-color var(--t-med), transform 500ms var(--ease), box-shadow var(--t-med);
}
.topic:hover { background: var(--paper); color: var(--ink); transform: translateY(-4px); box-shadow: none; }
.topic > div { display: grid; gap: 6px; }
.topic b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; font-variation-settings: "opsz" 32; }
.topic span { font-size: var(--fs-small); color: var(--on-ink-mute); transition: color var(--t-med); }
.topic:hover span { color: var(--mute); }
.topic svg { width: 22px; height: 22px; align-self: flex-end; transition: transform var(--t-med) var(--ease); }
.topic:hover svg { transform: translateX(4px); color: var(--brick); }
.cta__alt { margin-top: 26px; font-size: var(--fs-small); color: var(--on-ink-mute); }
.cta__alt a { color: var(--on-ink); }
@media (max-width: 960px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } .topic { min-height: 0; flex-direction: row; align-items: center; } .topic svg { align-self: center; } .topic > div { display: grid; gap: 4px; } }

/* ---------- Footer ---------- */
.ftr { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 28px; overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(3rem, 6vw, 5rem); }
.ftr__grid h4 { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--mute); margin-bottom: 14px; }
.ftr__grid ul { display: grid; gap: 8px; }
.ftr__grid a { font-weight: 500; transition: color var(--t-fast); }
.ftr__grid a:hover { color: var(--brick); }
.ftr__about p { color: var(--ink-2); max-width: 24em; margin-top: 14px; }
.ftr__word { font-family: var(--f-display); font-weight: 650; font-size: clamp(3.4rem, 16vw, 16rem); letter-spacing: -0.045em; line-height: .8; white-space: nowrap; font-variation-settings: "opsz" 96, "wdth" 94; margin-left: -.03em; user-select: none; }
.ftr__word span { display: inline-block; transition: transform 700ms var(--ease), color var(--t-med); }
.ftr__word span:hover { transform: translateY(-.08em); color: var(--brick); }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--rule-strong); font-size: var(--fs-xs); color: var(--mute); }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__about { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.phero { padding-top: calc(var(--hdr-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--mute); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.048em; line-height: .94; max-width: 15em; }
.phero .lede { margin-top: 1.75rem; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 2.25rem; }

/* ---------- Service page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.svc__main > section + section { margin-top: clamp(4rem, 8vw, 6.5rem); }
.svc__main h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.aside { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; }
.aside__card { padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); display: grid; gap: 14px; }
.aside__card .price__k { color: var(--on-ink-mute); }
.aside__card p { color: var(--on-ink-mute); font-size: .95rem; }
.aside__card .btn { width: 100%; }
.aside__honest { padding: 24px 28px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--rule); background: var(--card); }
.aside__honest h3 { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--mute); margin-bottom: 12px; line-height: 1.4; }
.aside__honest ul { display: grid; gap: 10px; font-size: .95rem; }
.aside__honest li { display: flex; gap: 10px; }
.aside__honest li::before { content: "—"; color: var(--brick); }
.wwo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.wwo > div { padding: 22px 22px 0 0; }
.wwo > div + div { padding-left: 22px; border-left: 1px solid var(--rule-strong); }
.wwo h3 { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--brick); margin-bottom: 10px; line-height: 1.4; }
.wwo p { color: var(--ink-2); font-size: .985rem; }
.inc { counter-reset: inc; border-top: 1.5px solid var(--ink); }
.inc li { counter-increment: inc; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule-strong); font-size: 1.05rem; transition: padding var(--t-med) var(--ease), color var(--t-fast); }
.inc li::before { content: counter(inc, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--fs-small); color: var(--mute); padding-top: 3px; }
.inc li:hover { padding-left: 10px; color: var(--brick); }
.steps { position: relative; display: grid; gap: 0; padding-left: 44px; }
.steps::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.steps::after { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--brick); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 34px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -44px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--rule-strong); transition: box-shadow var(--t-med), background-color var(--t-med); }
.step.is-on::before { box-shadow: inset 0 0 0 2px var(--brick), inset 0 0 0 7px var(--paper); background: var(--brick); }
.step h3 { font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.2; font-variation-settings: "opsz" 32; margin-bottom: 6px; }
.step h3 small { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); font-weight: 400; letter-spacing: 0; margin-right: 8px; }
.step p { color: var(--ink-2); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); transition: transform 500ms var(--ease), box-shadow var(--t-med); }
.rcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ink); }
.rcard b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; font-variation-settings: "opsz" 32; }
.rcard p { color: var(--ink-2); font-size: .925rem; line-height: 1.5; }
.rcard span { margin-top: auto; font-size: var(--fs-small); font-weight: 600; color: var(--brick); }
.bk__main > *, .svc > *, .split > *, .talks > *, .about-hero > * { min-width: 0; }
@media (max-width: 1080px) { .svc { grid-template-columns: minmax(0, 1fr); } .aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .aside { grid-template-columns: 1fr; }
  .wwo { grid-template-columns: 1fr; }
  .wwo > div, .wwo > div + div { padding: 20px 0; border-left: 0; }
  .wwo > div + div { border-top: 1px solid var(--rule-strong); }
  .related { grid-template-columns: 1fr; }
}

/* ---------- Formats grid (services index) ---------- */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.format { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--rule-strong); display: grid; gap: 8px; align-content: start; }
.format:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--rule-strong); }
.format b { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--brick); }
.format h3 { font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.1; font-variation-settings: "opsz" 36; }
.format p { color: var(--ink-2); }
.format small { color: var(--mute); font-size: var(--fs-small); }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr 1fr; } .format:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .format:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--rule-strong); } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } .format:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Pricing table ---------- */
.ptable { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.ptable th { text-align: left; font-size: var(--fs-small); font-weight: 600; color: var(--mute); padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule-strong); }
.ptable td { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--rule-strong); vertical-align: middle; }
.ptable tr { transition: background-color var(--t-fast); }
.ptable tbody tr:hover { background: var(--paper-2); }
.ptable .pt-name a { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "opsz" 36; }
.ptable .pt-name a:hover { color: var(--brick); }
.ptable .pt-tag { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); }
.ptable .pt-price { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; font-variation-settings: "opsz" 48; }
.ptable .pt-unit { color: var(--ink-2); }
@media (max-width: 720px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule-strong); }
  .ptable td { padding: 0; border: 0; }
  .ptable .pt-tag { grid-column: 1 / -1; order: -1; }
  .ptable .pt-unit { grid-column: 1 / -1; font-size: var(--fs-small); }
}
.session { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: clamp(18px, 3vw, 28px); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.session ol { counter-reset: s; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.session li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--rule-strong); }
.session li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--fs-small); color: var(--brick); padding-top: 2px; }
@media (max-width: 860px) { .session { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 1.25em; font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); max-width: 38em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--brick); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > :first-child { position: sticky; top: calc(var(--hdr-h) + 24px); }
.timeline { position: relative; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.tl { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.tl__y { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; color: var(--brick); line-height: 1; font-variation-settings: "opsz" 48; }
.tl h3 { font-size: 1.25rem; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 4px; font-variation-settings: "opsz" 32; }
.tl p { color: var(--ink-2); font-size: .985rem; }
@media (max-width: 860px) { .about-hero, .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } .portrait { max-width: 420px; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--mute); }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--rule-strong); background: var(--receipt);
  font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: var(--mute); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,21,19,.08); }
.field.is-bad .input { border-color: var(--brick); }
.field__err { font-size: var(--fs-small); color: var(--brick); display: none; }
.field.is-bad .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.notice { padding: 14px 16px; border-radius: 12px; background: #F6E3DE; color: var(--brick-deep); font-size: .95rem; }
.notice--ok { background: #E3EEE5; color: #22573A; }

/* ---------- Contact ---------- */
.channels { display: grid; border-top: 1.5px solid var(--ink); }
.channel { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); transition: padding var(--t-med) var(--ease); }
.channel:hover { padding-left: 10px; }
.channel span { font-size: var(--fs-small); color: var(--mute); }
.channel b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.025em; font-variation-settings: "opsz" 32; }
.channel em { font-style: normal; font-size: var(--fs-small); color: var(--mute); }
@media (max-width: 620px) { .channel { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; align-content: center; padding-top: var(--hdr-h); }
.nf .h1 { font-size: clamp(3rem, 10vw, 9rem); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .line-mask > span { transform: none; }
  .js .stage { clip-path: none; }
  .stage img, .show__img img { transform: none; }
  .hero__title .ul path { stroke-dashoffset: 0 !important; }
  .words .w { opacity: 1; }
  .ledger__track { height: auto; }
  .ledger__stick { position: relative; height: auto; min-height: 0; padding-block: var(--section); }
}

/* ---------- Booking funnel ---------- */
.page-book { background: var(--paper); }
.bk { min-height: 100vh; display: flex; flex-direction: column; }
.bk__hdr { height: var(--hdr-h); display: flex; align-items: center; }
.bk__hdr-in { display: flex; justify-content: space-between; align-items: center; }
.bk__main { flex: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-top: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.bk__side { position: sticky; top: 32px; display: grid; gap: 26px; }
.bk__who { display: flex; align-items: center; gap: 14px; }
.bk__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--rule-strong); }
.bk__who b { display: block; font-weight: 600; }
.bk__who span { font-size: var(--fs-small); color: var(--mute); }
.bk__title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -0.045em; line-height: .96; }
.bk__title em { font-style: normal; color: var(--brick); white-space: nowrap; }
.bk__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; color: var(--ink-2); }
.bk__meta li { display: inline-flex; align-items: center; gap: 8px; }
.bk__meta svg { width: 17px; height: 17px; color: var(--brick); }
.bk__sum { display: grid; gap: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.bk__sum div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-strong); }
.bk__sum dt { font-size: var(--fs-small); color: var(--mute); }
.bk__sum dd { margin: 0; color: var(--mute); font-weight: 500; transition: color var(--t-med); }
.bk__sum dd.is-set { color: var(--ink); font-weight: 600; animation: sumIn 500ms var(--ease); }
@keyframes sumIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bk__expect h2 { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--mute); margin-bottom: 12px; line-height: 1.4; }
.bk__expect ol { counter-reset: e; display: grid; gap: 10px; }
.bk__expect li { counter-increment: e; display: grid; grid-template-columns: 28px 1fr; font-size: .95rem; color: var(--ink-2); }
.bk__expect li::before { content: counter(e); width: 20px; height: 20px; border-radius: 50%; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; font-size: .72rem; font-weight: 600; margin-top: 2px; }

.bk__panel { position: relative; background: var(--receipt); border-radius: clamp(18px, 2.4vw, 26px); box-shadow: inset 0 0 0 1px var(--rule), 0 40px 80px -50px rgba(22,21,19,.35); padding: clamp(22px, 3.6vw, 44px); min-height: 560px; }
.bk__progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-small); color: var(--mute); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); transition: opacity var(--t-med); }
.bk__progress b { color: var(--ink); }
.bk__bar { display: flex; gap: 6px; width: min(220px, 50%); }
.bk__bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-2); position: relative; overflow: hidden; }
.bk__bar i::after { content: ""; position: absolute; inset: 0; background: var(--brick); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease); }
.bk__bar i.is-on::after { transform: scaleX(1); }
.bk__panel.is-done .bk__progress { opacity: 0; }
.bk__step.is-active { animation: stepIn 520ms var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.bk__h { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.05; outline: none; }
.bk__sub { color: var(--ink-2); margin-top: 10px; }
.bk__back { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; color: var(--mute); margin-bottom: 14px; padding: 6px 0; }
.bk__back::before { content: "←"; transition: transform var(--t-med) var(--ease); }
.bk__back:hover { color: var(--ink); }
.bk__back:hover::before { transform: translateX(-3px); }

.bk__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.bk__opt { width: 100%; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; text-align: left; background: var(--paper); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow var(--t-fast), background-color var(--t-fast), transform 400ms var(--ease); }
.bk__opt b { display: block; font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; font-variation-settings: "opsz" 24; }
.bk__opt small { display: block; font-size: var(--fs-small); color: var(--mute); margin-top: 3px; }
.bk__opt svg { flex: none; width: 18px; height: 18px; color: var(--mute); transition: transform var(--t-med) var(--ease), color var(--t-fast); }
.bk__opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.bk__opt:hover svg { transform: translateX(3px); color: var(--brick); }
.bk__opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--brick); background: #F8EDE9; }

.bk__tz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 22px; font-size: var(--fs-small); color: var(--mute); }
.bk__select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 8px 36px 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule-strong); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23161513' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; font-weight: 600; color: var(--ink); cursor: pointer; }
.bk__select:focus { outline: none; border-color: var(--ink); }
.bk__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk__day { flex: 0 0 auto; width: 72px; min-height: 88px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--paper); scroll-snap-align: start; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast); }
.bk__day span { font-size: var(--fs-xs); color: var(--mute); }
.bk__day b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "opsz" 36; }
.bk__day:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk__day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bk__day[aria-pressed="true"] span { color: var(--on-ink-mute); }
.bk__slots { margin-top: 18px; display: grid; gap: 18px; }
.bk__group h3 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; color: var(--mute); margin-bottom: 8px; line-height: 1.4; }
.bk__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bk__time { min-height: 46px; border-radius: 10px; background: var(--paper); font-weight: 600; font-size: .95rem; font-feature-settings: "tnum" 1; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), transform 300ms var(--ease); }
.bk__time:hover { box-shadow: inset 0 0 0 1.5px var(--brick); color: var(--brick); }
.bk__time:active { transform: scale(.97); }
.bk__time[aria-pressed="true"] { background: var(--brick); color: var(--paper); }
.bk__state:empty { display: none; }
.bk__state { margin-top: 8px; display: grid; gap: 12px; }
.bk__skel { display: flex; gap: 8px; }
.bk__skel i { width: 72px; height: 88px; border-radius: 14px; background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper) 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.bk__empty { padding: 26px; border-radius: 16px; background: var(--paper); display: grid; gap: 8px; }
.bk__empty p { color: var(--ink-2); }
.bk__empty b { color: var(--ink); font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.bk__empty-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 10px; }

.bk__form { margin-top: 22px; }
.bk__form .input { background: var(--paper); border-color: transparent; }
.bk__form .input:hover { border-color: var(--rule-strong); }
.bk__form .input:focus { background: var(--receipt); border-color: var(--ink); }
.bk__form .field.is-bad .input { border-color: var(--brick); }
.bk__submit { width: 100%; min-height: 56px; }
.bk__submit.is-busy { pointer-events: none; opacity: .85; }
.bk__submit.is-busy .btn__arrow { animation: nudge 800ms infinite var(--ease-in-out); }
@keyframes nudge { 50% { transform: translateX(5px); } }
.bk__fine { font-size: var(--fs-xs); color: var(--mute); text-align: center; }

.bk__tick { width: 72px; height: 72px; margin-bottom: 22px; }
.bk__tick circle { stroke: var(--brick); stroke-dasharray: 151; stroke-dashoffset: 151; }
.bk__tick path { stroke: var(--brick); stroke-dasharray: 40; stroke-dashoffset: 40; }
[data-step="done"].is-active .bk__tick circle { animation: draw 700ms var(--ease) forwards; }
[data-step="done"].is-active .bk__tick path { animation: draw 500ms var(--ease) 450ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk__when { margin-top: 14px; font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -0.025em; color: var(--brick); font-variation-settings: "opsz" 32; }

@media (max-width: 900px) {
  .bk__main { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 8px; }
  .bk__side { position: static; gap: 18px; }
  .bk__expect, .bk__sum { display: none; }
  .bk__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .bk__avatar { width: 44px; height: 44px; }
  .bk__meta { font-size: var(--fs-small); gap: 6px 14px; }
  .bk__times { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .bk__sum div { padding: 10px 0; }
  .bk__panel { min-height: 0; scroll-margin-top: 12px; }
}
@media (max-width: 560px) {
  .bk__opts { grid-template-columns: 1fr; }
  .bk__opt { min-height: 72px; }
  .bk__hdr .link { font-size: var(--fs-small); }
}

#services { padding-bottom: clamp(2rem, 4vw, 3rem); }
.work__intro h2 em { color: var(--brick); }
