/* ==========================================================================
   AA Accounting — design tokens + components
   Visual language derived from reference/example.jpg (1440px wide).
   Order: tokens → base → shared components → home (in page order)
          → book page → about page → reveal → responsive (1180/960/600/480)
          → reduced motion
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0b0b0b;
  --black: #000;
  --white: #fff;
  --paper: #f1f0ea;         /* warm grey sections */
  --mist: #e7e7e5;          /* why-AA, closing note */
  --portal: #f5f4ee;        /* product sidebar */
  --surface: #fafaf8;       /* form fields */
  --green: #169b66;         /* done / positive states — the only accent */
  --green-bright: #1faf72;
  --error: #b42318;

  --text: #0b0b0b;
  --muted: #818181;
  --muted-2: #5f5f5f;
  --muted-3: #6b6b6b;
  --on-dark-muted: #bfbfbf;
  --on-dark-soft: #969696;

  --line: #d3d3d3;
  --line-soft: #dfdfdf;
  --line-warm: #d9d6cd;
  --line-dark: #1c1c1c;
  --field-line: #dcd9d0;      /* chips, call type, time buttons */
  --field-line-hover: #c2bfb5;
  --field-text: #2a2a2a;
  --paper-hover: #e4e2da;     /* open calendar day, hover */
  --muted-off: #bab8b1;       /* closed calendar days */

  /* Photography: washed, warm, grain (matches the owner's hero image) */
  --wash: sepia(.2) saturate(.74) contrast(.9) brightness(.96);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .95 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5.5556vw, 80px);
  --max: 1280px;
  --radius-sm: 3px;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
input, select, textarea { scroll-margin-top: 120px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, .lead__text, .relation__lead, .flow__close { text-wrap: balance; }
.menu__desc, .col__desc, .principles p, .story__text p { text-wrap: pretty; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

/* ── Buttons & links ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 51px; padding: 0 23px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #ececec; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #262626; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: 43px; padding: 0 17px; font-size: 14px; font-weight: 400; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.link-arrow svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Type helpers ────────────────────────────────────────────────────────── */
.label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3); }
.kicker { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { font-size: 13px; letter-spacing: -0.005em; color: rgba(225,232,233,.82); }
.lead { max-width: 860px; }
.lead__title { margin-top: 18px; font-size: 42px; line-height: 1.15; font-weight: 400; letter-spacing: -0.005em; }
.lead__text { margin-top: 18px; max-width: 580px; font-size: 18px; line-height: 28px; color: var(--muted-2); }

/* ── Photography treatment ───────────────────────────────────────────────── */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-md); background: #1a1816; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--wash); }
.grain { position: relative; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--grain), linear-gradient(rgba(255,222,184,.08), rgba(255,222,184,.08)); background-size: 180px, auto; mix-blend-mode: overlay; opacity: .55; }

/* ── Columns ─────────────────────────────────────────────────────────────── */
.cols { display: grid; margin-top: 72px; }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.col { padding: 0 32px; border-left: 1px solid var(--line-soft); }
.col:first-child { padding-left: 0; border-left: 0; }
.col__num { font-size: 12px; letter-spacing: .06em; color: var(--muted-3); line-height: 1.2; }
.col__name { margin-top: 40px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.col__desc { margin-top: 12px; font-size: 15px; line-height: 23px; color: var(--muted-2); max-width: 300px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); border-bottom: 1px solid transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.site-header.on { background: rgba(8,8,8,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(255,255,255,.08); }
.site-header.is-solid { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: #1c1c1c; }
.nav { display: flex; align-items: center; height: 80px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; transition: opacity .2s; }
.brand:hover img { opacity: .85; }
.brand__on-light { display: none; }

/* Light header — pages whose hero is light (About) */
.site-header--light { color: var(--ink); }
.site-header--light .brand__on-dark { display: none; }
.site-header--light .brand__on-light { display: block; }
.site-header--light .nav__cta { background: var(--ink); color: var(--white); }
.site-header--light .nav__cta:hover { background: #262626; }
.site-header--light.on { background: rgba(250,249,246,.9); border-bottom-color: rgba(0,0,0,.08); }
.nav__links { display: flex; align-items: center; gap: 32px; margin-left: 52px; font-size: 15.5px; }
.nav__links a { opacity: .96; transition: opacity .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: .65; }
.nav__actions { display: flex; align-items: center; margin-left: auto; }
.nav__cta { height: 40px; padding: 0 16px; font-size: 14.5px; font-weight: 500; background: var(--white); color: var(--ink); border-radius: var(--radius); display: inline-flex; align-items: center; transition: background-color .2s; }
.nav__cta:hover { background: #e6e6e6; }
.nav__toggle { display: none; width: 40px; height: 40px; margin-left: 12px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.menu-open .nav__toggle span { background: transparent; }
.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ═══ HOME ═════════════════════════════════════════════════════════════════ */

/* ── 1 Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 1080px; color: var(--white); background: #111717; overflow: hidden; display: flex; flex-direction: column; }
.hero__media, .finale__media { position: absolute; inset: 0; }
.hero__media img, .finale__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; filter: saturate(.9) contrast(1.02); }
.hero__media::after, .finale__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(10,14,15,.86) 0%, rgba(10,14,15,.72) 38%, rgba(10,14,15,.62) 62%, rgba(10,14,15,.66) 100%),
    linear-gradient(180deg, rgba(10,14,15,.35) 0%, rgba(10,14,15,0) 25%, rgba(10,14,15,0) 70%, rgba(6,8,8,.72) 92%, rgba(6,8,8,.9) 100%);
}
.hero__content { position: relative; z-index: 3; padding-top: 468px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 13px; font-size: 90px; line-height: 1.12; font-weight: 400; letter-spacing: -0.02em; }
.hero__lede { margin-top: 18px; font-size: 21px; line-height: 30px; letter-spacing: -0.01em; color: rgba(240,244,236,.93); }
.hero__actions { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.hero .hero__actions { justify-content: center; }
.hero__foot { position: relative; z-index: 3; margin-top: auto; padding-bottom: 10px; }
.hero__foot .kicker { color: rgba(214,220,221,.72); text-align: center; }
.ticker { margin-top: 20px; height: 80px; display: flex; align-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; font-size: 24px; letter-spacing: -0.02em; color: rgba(255,255,255,.88); white-space: nowrap; }
.ticker__track span::after { content: ""; width: 5px; height: 5px; margin: 0 34px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── 2 Relationship ──────────────────────────────────────────────────────── */
.relation { padding: 150px 0 140px; }
.relation__head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.relation__title { margin-top: 18px; font-size: 42px; line-height: 1.15; font-weight: 400; letter-spacing: -0.005em; max-width: 560px; }
.relation__lead { font-size: 22px; line-height: 31px; letter-spacing: -0.015em; }
.relation__copy p:not(.relation__lead) { margin-top: 16px; font-size: 17px; line-height: 27px; color: var(--muted-2); max-width: 520px; }
.relation__photo { margin-top: 72px; height: 640px; }
.relation__photo img { object-position: 50% 38%; }
.relation__notes { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 90px 32px 28px; background: linear-gradient(180deg, transparent, rgba(12,10,8,.62)); color: var(--white); }
.relation__notes span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.4); font-size: 15px; letter-spacing: -0.01em; }

/* ── 3 Services menu ─────────────────────────────────────────────────────── */
.services { background: var(--paper); padding: 160px 0 170px; }
.menu { margin-top: 72px; }
.menu__item { display: grid; grid-template-columns: 90px minmax(0, 440px) 1fr; align-items: center; padding: 34px 0; border-top: 1px solid var(--line-warm); }
.menu__item:last-child { border-bottom: 1px solid var(--line-warm); }
.menu__num { font-size: 12.5px; letter-spacing: .06em; color: var(--muted-3); }
.menu__name { font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; }
.menu__desc { font-size: 17px; line-height: 27px; color: var(--muted-2); max-width: 520px; }

/* ── 4 Experience (product view) ─────────────────────────────────────────── */
.experience { padding: 160px 0 150px; }
.portal-wrap { margin-top: 64px; }
.portal-frame { height: 720px; padding: 57px 102px 0; background: var(--ink); border-radius: var(--radius-md); box-shadow: 0 40px 90px -10px rgba(0,0,0,.28), 0 12px 30px rgba(0,0,0,.12); }
.portal { display: grid; grid-template-columns: 219px 1fr; height: 604px; background: var(--white); border-radius: var(--radius-md); overflow: hidden; font-size: 13px; }
.portal__side { background: var(--portal); border-right: 1px solid #e6e4dc; padding: 21px 16px; }
.portal__brand img { height: 24px; width: auto; }
.portal__label { margin: 22px 0 9px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #8a8a86; }
.portal__nav + .portal__label { margin-top: 15px; }
.portal__nav li { display: flex; align-items: center; gap: 10px; height: 31.5px; padding: 0 8px; border-radius: var(--radius-sm); color: #1d1d1b; }
.portal__nav li::before { content: ""; width: 5px; height: 5px; background: #9a9a95; }
.portal__nav li.is-active { background: var(--ink); color: var(--white); }
.portal__nav li.is-active::before { background: var(--white); }
.portal__nav--people li { height: 38px; font-size: 12.5px; }
.portal__nav--people li::before { display: none; }
.portal__nav--people .doc__avatar { width: 24px; height: 24px; font-size: 10px; background: #e3e1d9; }
.portal__main { padding: 24px 28px 0; min-width: 0; }
.portal__head { display: flex; justify-content: space-between; align-items: flex-start; }
.portal__title { font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -0.035em; }
.portal__meta { margin-top: 9px; font-size: 12.5px; color: #5c5c5c; }
.portal__btn { height: 29px; padding: 0 14px; background: var(--ink); color: var(--white); border-radius: var(--radius); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; margin-top: -3px; }
.portal__tabs { display: flex; gap: 18px; margin-top: 47px; border-bottom: 1px solid #e5e5e5; font-size: 12.5px; color: #6f6f6f; }
.portal__tabs span { padding-bottom: 8px; margin-bottom: -1px; }
.portal__tabs .is-active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.portal table { width: 100%; border-collapse: collapse; margin-top: 23px; }
.portal tbody tr:nth-child(5) { opacity: .6; } .portal tbody tr:nth-child(6) { opacity: .45; }
.portal th { text-align: left; font-weight: 400; font-size: 11.5px; color: #6f6f6f; padding: 0 8px 10px; border-bottom: 1px solid #ececec; }
.portal td { height: 61.5px; padding: 0 8px; border-bottom: 1px solid #ececec; font-size: 13px; color: #1b1b1b; vertical-align: middle; }
.portal th:nth-child(1) { width: 41%; } .portal th:nth-child(2) { width: 19%; } .portal th:nth-child(3) { width: 22%; }
.doc { display: flex; align-items: center; gap: 10px; }
.doc__avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #ececea; display: grid; place-items: center; font-size: 11px; color: #555; }
.doc__name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; letter-spacing: -0.01em; }
.doc__name svg { width: 13px; height: 13px; color: var(--green-bright); }
.doc__sub { font-size: 11px; color: #6f6f6f; margin-top: 2px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--radius-sm); background: #f0f0ee; color: #444; font-size: 11.5px; }
.tag--done { background: #e9f6ef; color: var(--green); }
.tag--you { background: var(--ink); color: var(--white); }
.ring { --p: 50; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 500; color: var(--green); background: radial-gradient(closest-side, #fff 80%, transparent 82% 100%), conic-gradient(var(--green-bright) calc(var(--p) * 1%), #e7e7e7 0); }

/* ── 5 Flow ──────────────────────────────────────────────────────────────── */
.flow { background: var(--black); color: var(--white); padding: 170px 0 170px; }
.flow .label { color: var(--on-dark-soft); }
.giant { margin-top: 26px; font-size: min(104px, 9.6vw); line-height: 1.04; font-weight: 300; letter-spacing: -0.02em; }
.giant span { color: #6b6b6b; }
.giant--flow { font-size: min(92px, 8.4vw); }
.flow__row { display: grid; grid-template-columns: 220px 1fr; align-items: center; padding: 48px 0; border-top: 1px solid var(--line-dark); }
.flow__row:first-of-type { margin-top: 88px; }
.flow__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.tangle { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; font-size: 26px; letter-spacing: -0.02em; color: #5e5e5e; }
.tangle li { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.28); text-decoration-thickness: 1px; }
.tangle li:nth-child(2) { transform: translateY(8px) rotate(-1.5deg); }
.tangle li:nth-child(3) { transform: translateY(-6px); }
.tangle li:nth-child(4) { transform: translateY(10px) rotate(1deg); }
.tangle li:nth-child(5) { transform: translateY(-4px) rotate(-1deg); font-style: italic; }
.tangle li:nth-child(6) { transform: translateY(6px); }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.flow__steps::before, .flow__steps::after { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 1px; background: #2e2e2e; }
.flow__steps::after { background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.flow__row.in .flow__steps::after, html:not(.js) .flow__steps::after { transform: scaleX(1); }
.flow__steps li { position: relative; padding-top: 36px; font-size: 26px; letter-spacing: -0.02em; }
.flow__dot { position: absolute; top: 0; left: 0; z-index: 1; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--white); background: var(--black); }
.flow__steps li:last-child .flow__dot { background: var(--green-bright); border-color: var(--green-bright); }
.flow__num { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .06em; color: var(--on-dark-soft); }
.flow__close { margin-top: 64px; max-width: 600px; font-size: 20px; line-height: 30px; color: var(--on-dark-muted); }

/* ── 6 Why AA ────────────────────────────────────────────────────────────── */
.why-aa { background: var(--mist); padding: 150px 0; }
.why-aa__grid { display: grid; grid-template-columns: 520px 1fr; gap: 96px; align-items: center; }
.why-aa__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.why-aa__photo img { object-position: 30% 40%; }
.why-aa__title { margin-top: 18px; font-size: 56px; line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; }
.principles { margin-top: 44px; }
.principles li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 26px 0; border-top: 1px solid #cfcfca; }
.principles li:last-child { border-bottom: 1px solid #cfcfca; }
.principles__num { grid-row: span 2; font-size: 12.5px; letter-spacing: .06em; color: var(--muted-3); padding-top: 3px; }
.principles h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.principles p { margin-top: 8px; font-size: 21px; line-height: 29px; letter-spacing: -0.015em; }
.why-aa .link-arrow { margin-top: 36px; }

/* ── 7 Finale ────────────────────────────────────────────────────────────── */
.finale { position: relative; min-height: 780px; display: flex; align-items: center; color: var(--white); background: #111717; overflow: hidden; }
.finale__media img { object-position: 38% 50%; }
.finale__content { position: relative; z-index: 3; padding-top: 120px; padding-bottom: 120px; }
.finale h2 { font-size: 76px; line-height: 1.08; font-weight: 400; letter-spacing: -0.025em; max-width: 820px; }
.finale__text { margin-top: 24px; max-width: 520px; font-size: 18px; line-height: 27px; color: rgba(240,244,236,.9); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--white); padding: 96px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { width: 200px; height: auto; }
.footer__tag { margin-top: 28px; font-size: 14px; line-height: 23px; color: #a9a9a9; max-width: 260px; }
.footer__brand .btn { margin-top: 28px; }
.footer__col h3 { font-size: 14px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; }
.footer__col ul { margin-top: 21px; }
.footer__col li { line-height: 18px; font-size: 13px; }
.footer__col li + li { margin-top: 18px; }
.footer__col a { color: var(--on-dark-soft); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { margin-top: 90px; border-top: 1px solid #191919; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 0 48px; font-size: 13px; color: var(--on-dark-soft); }
.footer__top { color: var(--white); white-space: nowrap; }
.footer__top:hover { opacity: .7; }

/* ═══ BOOK A CALL ══════════════════════════════════════════════════════════ */
.book { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 100vh; }
.book__intro { background: var(--ink); color: var(--white); padding: 170px 64px 80px var(--gutter); }
.book__intro-inner { position: sticky; top: 130px; max-width: 520px; }
.book__intro .label { color: var(--on-dark-soft); }
.book__intro h1 { margin-top: 22px; font-size: 58px; line-height: 1.06; font-weight: 400; letter-spacing: -0.025em; }
.book__lede { margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--on-dark-muted); max-width: 450px; }
.book__photo { margin-top: 48px; aspect-ratio: 4 / 3; }
.book__points { margin-top: 32px; }
.book__points li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #1f1f1f; font-size: 14.5px; line-height: 22px; color: var(--on-dark-muted); }
.book__points svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--green-bright); }
.book__panel { background: var(--paper); padding: 150px var(--gutter) 90px 64px; }
.book__card { max-width: 660px; background: var(--white); border: 1px solid #e6e3da; border-radius: var(--radius-md); padding: 44px 52px 44px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.12); }

.stepper { display: flex; gap: 28px; padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line-soft); }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #9a9a95; }
.stepper span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #d6d3ca; display: grid; place-items: center; font-size: 12px; transition: background-color .3s, color .3s, border-color .3s; }
.stepper .is-current { color: var(--ink); }
.stepper .is-current span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.stepper .is-done span { background: var(--green-bright); border-color: var(--green-bright); color: var(--white); }

/* Form */
.bform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.field__opt { font-size: 12.5px; font-weight: 400; color: #8a8a86; white-space: nowrap; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid #dcd9d0; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input, .field select { height: 52px; padding: 0 16px; }
.field textarea { min-height: 140px; padding: 14px 16px; line-height: 24px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a3a19b; }
.field input:hover, .field textarea:hover { border-color: #c2bfb5; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.field [aria-invalid="true"] { border-color: var(--error); background: #fffafa; }
.field__error { display: none; margin-top: 8px; font-size: 13px; color: var(--error); }
.field.has-error .field__error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; font-size: 14.5px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); color: var(--field-text); transition: background-color .2s, border-color .2s, color .2s; }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid #bdbab0; }
.chip input:hover + span { border-color: var(--field-line-hover); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:checked + span::before { border-color: var(--white); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b0b0b' stroke-width='2.2'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.chip input:focus-visible + span { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.bform__submit { margin-top: 36px; height: 56px; font-size: 16px; }
.bform__submit[disabled] { opacity: .6; cursor: progress; }
.bform__note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted-2); }
.bform__legal { margin-top: 10px; text-align: center; font-size: 12.5px; line-height: 19px; color: #8a8a86; }
.bform__legal a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; }
.bform__alert { display: none; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); background: #fff4f2; color: var(--error); font-size: 14px; }
.bform__alert.is-visible { display: block; }
.bform__alert a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

/* Success / step 2 */
.bsuccess:focus { outline: none; }
.bsuccess__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e9f6ef; color: var(--green); }
.bsuccess__icon svg { width: 26px; height: 26px; }
.bsuccess h2 { margin-top: 28px; font-size: 44px; line-height: 1.1; font-weight: 400; letter-spacing: -0.025em; }
.bsuccess__text { margin-top: 16px; font-size: 17px; line-height: 27px; color: var(--muted-2); max-width: 460px; }
.bsuccess__pick { margin-top: 24px; }

/* Scheduling popup — native picker (Hen's Google Calendar via /api/booking); Google's page as fallback */
.scheduler { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.scheduler[hidden] { display: none; }
.scheduler__backdrop { position: absolute; inset: 0; background: rgba(8,8,8,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.scheduler__panel { position: relative; display: flex; flex-direction: column; width: min(940px, 100%); max-height: calc(100vh - 48px); background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 40px 120px -20px rgba(0,0,0,.5); animation: pop-in .35s var(--ease); }
.scheduler.is-frame .scheduler__panel { width: min(1000px, 100%); height: min(860px, calc(100vh - 48px)); }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.scheduler__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 28px 20px; border-bottom: 1px solid var(--line-soft); }
.scheduler__head h2 { margin-top: 8px; font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -0.025em; }
.scheduler__close { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft); transition: background-color .2s, border-color .2s; }
.scheduler__close:hover { background: var(--paper); border-color: var(--line); }
.scheduler__close::before, .scheduler__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); }
.scheduler__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.scheduler__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.scheduler__loading { display: grid; place-items: center; min-height: 420px; padding: 40px 28px; text-align: center; font-size: 15px; color: var(--muted-2); }
.scheduler__loading a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.scheduler__frame { position: relative; flex: 1; background: var(--white); }
.scheduler__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--white); }
.scheduler__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 12px 28px 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted-2); }
.scheduler__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.scheduler [hidden] { display: none; }

.booking { display: flex; flex-direction: column; min-height: 0; }
.booking__body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.booking__when { padding: 26px 28px 30px; border-right: 1px solid var(--line-soft); }
.booking__legend, .booking__day { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; font-size: 15px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); color: var(--field-text); transition: background-color .2s, border-color .2s, color .2s; }
.seg__opt svg { width: 18px; height: 18px; flex: none; }
.seg__opt input:hover + span { border-color: var(--field-line-hover); }
.seg__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.booking__type-note { margin-top: 10px; font-size: 13.5px; color: var(--muted-2); }
.cal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.cal__head { display: flex; align-items: center; justify-content: space-between; }
.cal__month { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; transition: background-color .2s, border-color .2s, opacity .2s; }
.cal__nav button:not(:disabled):hover { background: var(--paper); border-color: var(--line); }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 14px; height: 14px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 2px; margin-top: 16px; }
.cal__dow { padding-bottom: 6px; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3); }
.cal__day { position: relative; width: 100%; max-width: 46px; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.cal__day.is-off { color: var(--muted-off); }
button.cal__day { font-weight: 500; background: var(--paper); transition: background-color .2s, color .2s; }
button.cal__day:hover { background: var(--paper-hover); }
button.cal__day[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.booking__times { padding: 26px 28px 30px; background: var(--surface); }
.booking__tz { margin-top: 4px; font-size: 13.5px; color: var(--muted-2); }
.times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.time { height: 46px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--white); font-size: 15px; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.time:hover { border-color: var(--ink); }
.time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.booking__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 28px; border-top: 1px solid var(--line-soft); background: var(--white); }
.booking__status { min-width: 0; }
.booking__summary { font-size: 14.5px; color: var(--muted-2); }
.booking__summary strong { font-weight: 500; color: var(--ink); }
.booking__error { font-size: 14px; color: var(--error); }
.booking__error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.booking__confirm { flex: none; }
.booking__confirm:disabled { opacity: .35; cursor: default; }
.booked { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 28px 48px; }
.booked:focus { outline: none; }
.booked__when { margin-top: 26px; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; }
.booked__text { margin-top: 12px; max-width: 520px; font-size: 16px; line-height: 26px; color: var(--muted-2); }
.booked .btn { margin-top: 30px; }
body.scheduler-open { overflow: hidden; }
.bsuccess__more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.bsuccess__more p { font-size: 15px; color: var(--muted-2); }
.bsuccess__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ═══ ABOUT ════════════════════════════════════════════════════════════════ */
.profile-hero { background: var(--paper); color: var(--ink); padding: 150px 0 120px; text-align: center; }
.profile-hero .label { color: var(--muted-3); }
.profile-hero__portrait { width: min(1120px, 100%); aspect-ratio: 3 / 2; margin: 36px auto 0; border-radius: var(--radius-lg); }
.profile-hero__portrait img { object-position: 50% 42%; filter: none; }
.profile-hero__title { margin: 56px auto 0; max-width: 900px; font-size: 76px; line-height: 1.06; font-weight: 400; letter-spacing: -0.025em; }
.profile-hero__place { margin-top: 20px; font-size: 15px; color: var(--muted-2); }

.story { padding: 160px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 460px; gap: 96px; align-items: center; }
.story__hello { font-size: 56px; line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; }
.story__lead { margin-top: 30px; font-size: 26px; line-height: 36px; letter-spacing: -0.015em; max-width: 620px; }
.story__text p:not(.story__lead) { margin-top: 20px; font-size: 18px; line-height: 29px; color: #464644; max-width: 600px; }
.story__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

.beliefs { background: var(--black); color: var(--white); padding: 150px 0; }
.beliefs .label { color: var(--on-dark-soft); }
.beliefs__list { margin-top: 40px; }
.beliefs__list li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--line-dark); font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; }
.beliefs__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.beliefs__list span { font-size: 12.5px; letter-spacing: .06em; color: var(--on-dark-soft); }

.about-work { padding: 160px 0; }
.about-work .container { display: grid; grid-template-columns: 480px 1fr; gap: 96px; align-items: center; }
.about-work__photo { aspect-ratio: 1; border-radius: var(--radius-lg); }
.checks { margin-top: 36px; }
.checks li { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid var(--line-soft); font-size: 19px; line-height: 27px; letter-spacing: -0.01em; }
.checks li:last-child { border-bottom: 1px solid var(--line-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.8'/%3E%3C/svg%3E") center/12px no-repeat; }
.about-work .link-arrow { margin-top: 32px; }

.expect { background: var(--paper); padding: 150px 0; }
.expect .col { border-left-color: var(--line-warm); }
.expect__photo { margin-top: 96px; height: 520px; }

.closing-note { background: var(--mist); padding: 160px 0; }
.closing-note__inner { max-width: 900px; }
.closing-note__quote p { font-size: 38.5px; line-height: 50px; letter-spacing: -0.017em; }
.closing-note__quote p + p { margin-top: 18px; color: #5b5b59; }
.closing-note__sign { margin-top: 36px; font-size: 15px; color: var(--muted-2); }
.closing-note__talk { margin-top: 72px; font-size: 34px; letter-spacing: -0.02em; }
.closing-note .btn { margin-top: 22px; }

/* ═══ LEGAL (privacy, terms) ═══════════════════════════════════════════════ */
.legal-hero { background: var(--paper); padding: 170px 0 80px; }
.legal-hero h1 { margin-top: 18px; font-size: 64px; line-height: 1.06; font-weight: 400; letter-spacing: -0.025em; }
.legal-hero__meta { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.legal-hero__intro { margin-top: 28px; max-width: 720px; font-size: 20px; line-height: 30px; letter-spacing: -0.01em; color: #3a3a38; }
.legal { padding: 90px 0 150px; }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 96px; }
.legal__toc { position: sticky; top: 120px; align-self: start; }
.legal__toc ol { counter-reset: toc; border-left: 1px solid var(--line-soft); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 20px; color: var(--muted-2); transition: color .2s, border-color .2s; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: #a3a19b; font-size: 12px; }
.legal__toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.prose section { scroll-margin-top: 110px; }
.prose section + section { margin-top: 56px; }
.prose h2 { font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; }
.prose h2 span { margin-right: 12px; font-size: 13px; letter-spacing: .06em; color: var(--muted-3); vertical-align: middle; }
.prose h3 { margin-top: 26px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose li { font-size: 16.5px; line-height: 27px; color: #3a3a38; text-wrap: pretty; }
.prose h2 + p, .prose h3 + p, .prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: #a3a19b; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .callout { margin-top: 18px; padding: 18px 20px; border-left: 2px solid var(--ink); background: var(--paper); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; } .d3 { transition-delay: .3s !important; } .d4 { transition-delay: .4s !important; } .d5 { transition-delay: .5s !important; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav__links { gap: 24px; margin-left: 40px; font-size: 14.5px; }
  .portal-frame { padding: 40px 40px 0; }
  .relation__head { gap: 48px; }
  .relation__photo { height: 520px; }
  .relation__notes { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .menu__item { grid-template-columns: 70px minmax(0, 320px) 1fr; }
  .cols--4 { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .cols--4 .col:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow__row { grid-template-columns: 170px 1fr; }
  .flow__steps li, .tangle { font-size: 22px; }
  .why-aa__grid, .about-work .container { grid-template-columns: 420px 1fr; gap: 64px; }
  .why-aa__title, .story__hello { font-size: 46px; }
  .story__grid { grid-template-columns: 1fr 380px; gap: 64px; }
  .finale h2, .profile-hero__title { font-size: 64px; }
  .beliefs__list li { font-size: 36px; }
  .book__intro { padding-right: 40px; }
  .book__intro h1 { font-size: 46px; }
  .book__panel { padding-left: 40px; }
  .book__card { padding: 36px 36px 36px; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { height: 64px; }
  .brand img { height: 32px; }
  .mobile-menu {
    display: block; position: fixed; inset: 64px 0 auto 0; background: rgba(8,8,8,.97); backdrop-filter: blur(14px);
    padding: 12px var(--gutter) 28px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 18px; letter-spacing: -0.02em; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mobile-menu .btn { display: flex; margin-top: 20px; width: 100%; border-bottom: 0; }
  .menu-open .site-header { background: rgba(8,8,8,.97); }
  .site-header--light .mobile-menu { background: rgba(250,249,246,.98); border-bottom-color: rgba(0,0,0,.08); }
  .site-header--light .mobile-menu a { border-bottom-color: rgba(0,0,0,.08); }
  .site-header--light .mobile-menu .btn { background: var(--ink); color: var(--white); }
  .menu-open .site-header.site-header--light { background: rgba(250,249,246,.98); }

  .hero { min-height: 100svh; }
  .hero__media img { object-position: 52% 50%; }
  .hero__content { padding-top: 96px; margin-top: auto; }  /* sits low, below the founder's face */
  .hero h1 { font-size: clamp(48px, 11vw, 80px); line-height: 1.05; }
  .hero__lede { font-size: 18px; line-height: 26px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__foot { margin-top: 36px; }
  .ticker { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .ticker__track span { font-size: 19px; }
  .ticker__track span::after { margin: 0 22px; }

  .lead__title, .relation__title { font-size: 32px; }
  .lead__text { font-size: 17px; line-height: 26px; }

  .relation { padding: 96px 0 90px; }
  .relation__head { grid-template-columns: 1fr; gap: 24px; }
  .relation__lead { font-size: 19px; line-height: 27px; }
  .relation__photo { margin-top: 44px; height: auto; aspect-ratio: 4 / 5; }
  .relation__notes { padding: 80px 20px 20px; gap: 12px; }
  .relation__notes span { font-size: 13.5px; padding-left: 12px; }

  .services { padding: 100px 0 110px; }
  .menu { margin-top: 44px; }
  .menu__item { grid-template-columns: 44px 1fr; row-gap: 10px; padding: 26px 0; }
  .menu__desc { grid-column: 2; font-size: 16px; line-height: 25px; }
  .menu__name { font-size: 24px; }

  .experience { padding: 100px 0 90px; }
  .portal-wrap { margin-top: 44px; }
  .portal-frame { height: auto; padding: 16px; }
  .portal { grid-template-columns: 1fr; height: auto; }
  .portal__side { display: none; }
  .portal__main { padding: 20px 16px 8px; overflow-x: auto; }
  .portal__tabs { overflow-x: auto; white-space: nowrap; }
  .portal table { min-width: 560px; }
  .cols { margin-top: 56px; }
  .cols--3 { grid-template-columns: 1fr; row-gap: 40px; }
  .cols--3 .col { padding-left: 0; border-left: 0; }
  .col__name { margin-top: 16px; }

  .flow { padding: 100px 0; }
  .giant--flow { font-size: clamp(42px, 11vw, 80px); }
  .flow__row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .flow__row:first-of-type { margin-top: 56px; }
  .tangle { font-size: 20px; gap: 10px 20px; }
  .flow__steps { grid-template-columns: 1fr; row-gap: 22px; padding-left: 34px; }
  .flow__steps::before, .flow__steps::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .flow__steps::after { transform: scaleY(0); transform-origin: top; }
  .flow__row.in .flow__steps::after { transform: scaleY(1); }
  .flow__steps li { padding-top: 0; font-size: 22px; }
  .flow__dot { left: -34px; top: 4px; }
  .flow__num { display: inline; margin: 0 12px 0 0; }
  .flow__close { font-size: 17px; line-height: 26px; margin-top: 40px; }

  .why-aa { padding: 90px 0; }
  .why-aa__grid, .about-work .container, .story__grid { grid-template-columns: 1fr; gap: 44px; }
  .why-aa__photo, .about-work__photo, .story__photo { max-width: 520px; }
  .why-aa__title, .story__hello { font-size: 40px; }
  .principles p { font-size: 19px; line-height: 27px; }

  .finale { min-height: 100svh; }
  .finale__media img { object-position: 52% 50%; }
  .finale h2 { font-size: clamp(40px, 10vw, 64px); }
  .finale__text { font-size: 17px; line-height: 26px; }

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 48px; }
  .legal-hero { padding: 120px 0 56px; }
  .legal-hero h1 { font-size: clamp(40px, 10vw, 56px); }
  .legal-hero__intro { font-size: 18px; line-height: 27px; }
  .legal { padding: 56px 0 100px; }
  .legal__grid { grid-template-columns: 1fr; gap: 0; }
  .legal__toc { display: none; }
  .prose h2 { font-size: 22px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { margin-top: 64px; flex-direction: column; align-items: flex-start; gap: 12px; }

  .book { grid-template-columns: 1fr; }
  .book__intro { padding: 120px var(--gutter) 56px; }
  .book__intro-inner { position: static; max-width: none; }
  .book__intro h1 { font-size: clamp(38px, 9vw, 52px); }
  .book__photo { max-width: 560px; margin-top: 36px; }
  .book__panel { padding: 56px var(--gutter) 72px; }
  .book__card { max-width: none; }

  .profile-hero { padding: 110px 0 80px; }
  .profile-hero__portrait { aspect-ratio: 4 / 3; }
  .profile-hero__portrait img { object-position: 42% 50%; }
  .profile-hero__title { font-size: clamp(40px, 10vw, 60px); margin-top: 40px; }
  .story, .about-work { padding: 100px 0; }
  .story__lead { font-size: 22px; line-height: 31px; }
  .beliefs { padding: 100px 0; }
  .beliefs__list li { grid-template-columns: 48px 1fr; font-size: clamp(24px, 6.4vw, 32px); padding: 26px 0; }
  .expect { padding: 100px 0; }
  .expect__photo { margin-top: 56px; height: 320px; }
  .closing-note { padding: 100px 0; }
  .closing-note__quote p { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.3; }
  .closing-note__talk { margin-top: 48px; font-size: 28px; }
}

@media (max-width: 600px) {
  .book__intro { padding-bottom: 44px; }
  .book__photo, .book__points { display: none; }
  .book__card { padding: 26px 22px 28px; }
  .stepper { gap: 18px; margin-bottom: 26px; padding-bottom: 20px; }
  .bform__grid { grid-template-columns: 1fr; }
  .chip span { height: 40px; padding: 0 12px; font-size: 14px; }
  .bsuccess h2 { font-size: 36px; }
  .scheduler { padding: 0; }
  .scheduler__panel, .scheduler.is-frame .scheduler__panel { width: 100%; height: 100svh; max-height: none; border-radius: 0; }
  .scheduler__head { padding: 18px 20px 16px; }
  .scheduler__head h2 { font-size: 22px; }
  .booking { flex: 1; }
  .booking__body { grid-template-columns: 1fr; flex: 1; }
  .booking__when { padding: 20px; border-right: 0; }
  .booking__times { padding: 20px 20px 28px; scroll-margin-top: 0; }
  .times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .time { height: 44px; font-size: 14.5px; }
  .booking__bar { flex-direction: column; align-items: stretch; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
  .booking__confirm { width: 100%; }
  .booked { padding: 32px 20px; }
  .booked__when { font-size: 22px; }
  .relation__notes { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions .btn, .bsuccess__actions .btn { width: 100%; }
  .cols--4 { grid-template-columns: 1fr; }
  .cols--4 .col { padding-left: 0; border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
  .flow__steps::after { transform: none !important; }
}
