/* ==========================================================================
   Kairo — the field journal (2026-10-02).
   Same earthy palette as before: forest green, cream paper, burnt orange.
   New everything else: cream is the ground, green is ink and colour plates,
   Instrument Serif headlines with an italic orange payoff, Instrument Sans for
   reading, soft rounded geometry, motion on scroll.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts -- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400i.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ----------------------------------------------------------------- tokens -- */
:root {
  --green: #232E26;
  --green-2: #2E3D30;
  --green-3: #3B4D3E;
  --cream: #EDE6D0;
  --cream-2: #E4DAC4;
  --cream-3: #F5F0E1;
  --ink: #1E2820;
  --ink-2: rgba(30, 40, 32, .74);
  --ink-3: rgba(30, 40, 32, .5);
  --on-green: #F0E8D2;
  --on-green-2: rgba(240, 232, 210, .7);
  --on-green-3: rgba(240, 232, 210, .4);
  --orange: #C07030;
  --orange-lift: #D98A47;   /* text and fills on green: 5.1:1 */
  --orange-deep: #8A4A18;   /* text on cream: 5.5:1 */
  --glow: radial-gradient(ellipse at 80% 100%, rgba(122, 78, 36, .45) 0%, rgba(80, 50, 20, .18) 40%, transparent 70%);
  --line: rgba(30, 40, 32, .12);
  --line-green: rgba(240, 232, 210, .14);

  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --t-hero: clamp(52px, 7vw + 8px, 128px);
  --t-h1: clamp(46px, 6vw + 10px, 112px);
  --t-h2: clamp(38px, 4vw + 14px, 84px);
  --t-h3: clamp(26px, 1.4vw + 18px, 40px);
  --t-lead: clamp(18px, .6vw + 15px, 23px);
  --t-body: 17px;
  --t-small: 14.5px;

  --r-xl: clamp(24px, 3vw, 40px);
  --r-lg: 24px;
  --r-md: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------- baseline -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
::selection { background: var(--orange); color: var(--cream-3); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.ico { width: 15px; height: 15px; flex: none; display: block; transition: transform .4s var(--ease); }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: .96; }
h2 { font-size: var(--t-h2); line-height: 1; }
h3 { font-size: var(--t-h3); line-height: 1.08; }
h1 em, h2 em, .statement em, .foot__big em { font-style: italic; color: var(--orange-deep); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: var(--on-green); padding: 12px 18px; border-radius: 999px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.sec { padding-top: var(--sec); }
.sec--tight { padding-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; margin-top: clamp(40px, 5vw, 64px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-small); font-weight: 500; letter-spacing: .01em; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.eyebrow--light { color: var(--on-green-2); }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 38em; }

/* --------------------------------------------------------------- controls -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -.005em; text-decoration: none;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--cream-3); }
.btn:hover .ico, .link:hover .ico { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--cream-3); }
.btn--solid:hover { background: var(--green); border-color: var(--green); color: var(--cream-3); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; margin-top: 18px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--orange-deep); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat;
}
.link--light { color: var(--orange-lift); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

/* ----------------------------------------------------------------- topbar -- */
.top { position: sticky; top: 0; z-index: 40; padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px; pointer-events: none; }
.top__in {
  pointer-events: auto; max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: rgba(245, 240, 225, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; filter: brightness(0) saturate(100%) invert(13%) sepia(10%) saturate(1200%) hue-rotate(85deg); }
.top__nav { display: none; gap: 4px; }
.top__nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 10px 14px; border-radius: 999px; transition: background .3s var(--ease), color .3s var(--ease);
}
.top__nav a:hover { background: rgba(30, 40, 32, .06); color: var(--ink); }
.top__nav a[aria-current="page"] { background: var(--green); color: var(--on-green); }
.top__cta { display: none; }
@media (min-width: 960px) { .top__nav, .top__cta { display: inline-flex; } }

/* ------------------------------------------------- the phone dock + sheet -- */
.dock {
  position: fixed; z-index: 50; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr; gap: 6px; padding: 6px;
  background: var(--green); border-radius: 999px; box-shadow: 0 12px 40px rgba(20, 28, 22, .28);
}
.dock__menu {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--green-3); color: var(--on-green);
  font: 600 15px/1 var(--sans); cursor: pointer;
}
.burger { display: grid; gap: 5px; width: 18px; }
.burger i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.dock__menu[aria-expanded="true"] .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.dock__menu[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.dock__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border-radius: 999px; background: var(--orange-lift); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.dock:not(:has(.dock__cta)) { grid-template-columns: auto; right: auto; }
.sheet { position: fixed; inset: 0; z-index: 45; background: rgba(20, 28, 22, .5); backdrop-filter: blur(4px); }
.sheet__panel {
  position: absolute; left: 10px; right: 10px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 72px);
  background: var(--cream-3); border-radius: var(--r-lg); padding: 22px 22px 14px;
  animation: sheet-in .45s var(--ease);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.sheet__kicker { font-size: var(--t-small); color: var(--ink-3); }
.sheet__list { list-style: none; margin: 8px 0 6px; padding: 0; }
.sheet__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-family: var(--serif); font-size: 30px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.sheet__list a[aria-current="page"] { color: var(--orange-deep); font-style: italic; }
.sheet-open { overflow: hidden; }
@media (min-width: 960px) { .dock, .sheet { display: none !important; } }
@media (max-width: 959px) { body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------------------------- hero -- */
.hero { padding-top: clamp(32px, 4.5vw, 72px); overflow: hidden; }
.hero h1 { font-size: var(--t-hero); line-height: .92; margin-top: 18px; max-width: 14ch; }
.hero__row { display: grid; gap: 4px; margin-top: clamp(24px, 3vw, 40px); align-items: end; }
@media (min-width: 900px) {
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
  .hero__row .acts { margin-top: 0; }
}

/* The work, fanned out like prints on a table. */
.table {
  position: relative; display: block; text-decoration: none; color: inherit;
  height: clamp(300px, 52vw, 700px); margin-top: clamp(32px, 4vw, 56px);
  max-width: 1500px; margin-inline: auto;
}
.print {
  position: absolute; top: 8%; left: 50%; width: min(64%, 900px);
  border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden; background: var(--green);
  box-shadow: 0 30px 70px -20px rgba(30, 40, 32, .45), 0 0 0 1px rgba(30, 40, 32, .08);
  transition: transform .9s var(--ease);
}
.print img { width: 100%; }
.print--c { transform: translateX(-50%); z-index: 3; }
.print--l { transform: translateX(-92%) translateY(9%) rotate(-7deg) scale(.86); z-index: 1; }
.print--r { transform: translateX(-8%) translateY(9%) rotate(7deg) scale(.86); z-index: 2; }
.print--phone {
  top: auto; bottom: 0; left: auto; right: 14%; width: clamp(96px, 14%, 200px); z-index: 4;
  border-radius: clamp(14px, 2vw, 28px); border: clamp(3px, .5vw, 6px) solid var(--green);
  transform: rotate(4deg);
}
.table:hover .print--l { transform: translateX(-100%) translateY(6%) rotate(-9deg) scale(.86); }
.table:hover .print--r { transform: translateX(0%) translateY(6%) rotate(9deg) scale(.86); }
.table:hover .print--c { transform: translateX(-50%) translateY(-2%); }
.table:hover .print--phone { transform: rotate(0deg) translateY(-12px); }
.table__tag {
  position: absolute; z-index: 5; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 20px; border-radius: 999px; background: var(--cream-3);
  font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(30, 40, 32, .18);
}
@media (max-width: 700px) {
  .print { width: 82%; }
  .print--l { transform: translateX(-80%) translateY(10%) rotate(-6deg) scale(.82); }
  .print--r { transform: translateX(-20%) translateY(10%) rotate(6deg) scale(.82); }
  .print--phone { right: 6%; width: 26%; }
  .table__tag { left: var(--gutter); transform: none; font-size: 14px; bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero h1, .hero__row { animation: up 1s var(--ease) both; }
  .hero h1 { animation-delay: .08s; }
  .hero__row { animation-delay: .16s; }
  .print--c { animation: deal-c 1.2s var(--ease) both .25s; }
  .print--l { animation: deal-l 1.3s var(--ease) both .35s; }
  .print--r { animation: deal-r 1.3s var(--ease) both .42s; }
  .print--phone { animation: deal-p 1.2s var(--ease) both .6s; }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes deal-c { from { opacity: 0; transform: translateX(-50%) translateY(60px); } }
@keyframes deal-l { from { opacity: 0; transform: translateX(-50%) translateY(60px) rotate(0) scale(.86); } }
@keyframes deal-r { from { opacity: 0; transform: translateX(-50%) translateY(60px) rotate(0) scale(.86); } }
@keyframes deal-p { from { opacity: 0; transform: translateY(80px) rotate(12deg); } }

/* ------------------------------------------------------------------- band -- */
.band { margin-top: clamp(40px, 6vw, 80px); background: var(--green); color: var(--on-green); overflow: hidden; padding-block: 22px; }
.band__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.band span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 42px); white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
.band span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange-lift); margin-left: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- statement -- */
.statement { font-family: var(--serif); font-size: clamp(32px, 3.6vw + 12px, 76px); line-height: 1.06; letter-spacing: -.015em; max-width: 20ch; text-wrap: balance; }

/* ------------------------------------------------------------------ intro -- */
.intro { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.intro h2 { margin-top: 16px; }
.intro .lead { margin-top: 20px; }

/* ------------------------------------------------------------- work rows -- */
.rows { display: grid; gap: clamp(56px, 8vw, 120px); }
.row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 5vw, 80px); }
  .row--flip .row__pic { order: 2; }
}
.row__pic { position: relative; display: block; padding: 0 9% 9% 0; }
.row__pic > img { border-radius: var(--r-xl); box-shadow: 0 0 0 1px var(--line); transition: transform .9s var(--ease); }
.row__phone {
  position: absolute; right: 0; bottom: 0; width: 22%;
  border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden; border: 5px solid var(--cream);
  box-shadow: 0 24px 50px -14px rgba(30, 40, 32, .45); transition: transform .9s var(--ease);
}
.row:hover .row__pic > img { transform: scale(.985); }
.row:hover .row__phone { transform: translateY(-14px) rotate(-2deg); }
.row__n { font-size: var(--t-small); font-weight: 500; color: var(--ink-3); }
.row__text h3 { font-size: clamp(34px, 2.4vw + 18px, 60px); line-height: 1; margin-top: 12px; }
.row__text p:not(.row__n) { margin-top: 16px; color: var(--ink-2); }
.row__text .link { margin-top: 14px; }

/* --------------------------------------------------------------------- duo -- */
.duo { display: grid; gap: 16px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 20px; } }
.duo__card { background: var(--cream-3); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 44px); display: grid; gap: 12px; align-content: start; }
.duo__card--green { background: var(--green); color: var(--on-green); position: relative; overflow: hidden; isolation: isolate; }
.duo__card--green::before { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; }
.duo__card p:last-child { color: var(--ink-2); }
.duo__card--green p:last-child { color: var(--on-green-2); }
.duo__k { margin-top: 18px; font-size: var(--t-small); font-weight: 600; color: var(--orange-deep); }
.duo__card--green .duo__k { color: var(--orange-lift); }

.anatomy, .ask { margin: 0; height: 260px; display: grid; gap: 8px; font-size: 13px; font-weight: 500; }
.anatomy { grid-template-rows: 1fr auto auto; }
.anatomy > span, .anatomy__row > span { display: flex; align-items: flex-end; padding: 12px 14px; border-radius: 12px; background: var(--cream-2); color: var(--ink-2); }
.anatomy__hero { background: linear-gradient(160deg, var(--green-3), var(--green) 70%) !important; color: var(--on-green-2) !important; position: relative; overflow: hidden; }
.anatomy__hero::after { content: ""; position: absolute; inset: 0; background: var(--glow); }
.anatomy .anatomy__row { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 0; background: none; min-height: 52px; }
.anatomy__quote { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--orange-deep) !important; }
.ask { align-content: start; padding: 18px; border-radius: 18px; background: rgba(240, 232, 210, .06); border: 1px solid var(--line-green); }
.ask__q { justify-self: end; max-width: 85%; padding: 12px 18px; border-radius: 18px 18px 4px 18px; background: var(--on-green); color: var(--ink); font-size: 15px; }
.ask__a { display: grid; gap: 11px; padding-top: 18px; }
.ask__a i { height: 10px; border-radius: 6px; background: var(--line-green); }
.ask__a i:nth-child(2) { width: 80%; }
.ask__a i:last-child { width: 60%; }
.ask__a b { justify-self: start; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1.5px dashed var(--orange-lift); color: var(--orange-lift); }
@media (prefers-reduced-motion: no-preference) {
  .ask__a b { animation: pulse 2.6s var(--ease) infinite; }
}
@keyframes pulse { 50% { background: rgba(217, 138, 71, .14); } }

/* ------------------------------------------------- the green room (demo) -- */
.green-room {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--green); color: var(--on-green); border-radius: var(--r-xl);
  padding: clamp(24px, 5vw, 80px); display: grid; gap: clamp(32px, 4vw, 64px); align-items: center;
}
.green-room::before { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; }
.green-room h2 { margin-top: 16px; }
.green-room h2 em { color: var(--orange-lift); }
.green-room .lead { color: var(--on-green-2); margin-top: 20px; }
.green-room .link { margin-top: 16px; }
@media (min-width: 1000px) { .green-room:not(.green-room--stack) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.green-room .numbered li { border-color: var(--line-green); }
.green-room .numbered p { color: var(--on-green-2); }
.green-room .numbered__n { background: var(--green-3); color: var(--on-green); }

.demo { background: var(--cream-3); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.demo__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-2); }
.demo__bar span { margin-left: 8px; }
.demo__body { padding: clamp(18px, 3vw, 32px); }
.demo__title { font-family: var(--serif); font-size: 30px; line-height: 1; }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field-pair { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  font: 400 16px/1.3 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); appearance: none; caret-color: var(--orange);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(192, 112, 48, .16); }
.field input::placeholder { color: var(--ink-3); }
.field select {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange-deep) 50%), linear-gradient(135deg, var(--orange-deep) 50%, transparent 50%);
  background-position: right 22px center, right 16px center; background-size: 6px 6px; background-repeat: no-repeat;
}
.hint { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.hint--light { color: var(--on-green-2); margin-top: 16px; }
.err { color: #A3341C; font-size: 14px; margin-top: 12px; font-weight: 500; }
.demo__out { animation: up .6s var(--ease); }
.demo__range { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--orange-deep); margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
.demo__toast { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--green); color: var(--on-green); font-size: 14.5px; display: flex; gap: 12px; align-items: center; animation: up .6s var(--ease) .25s both; }
.demo__toast::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange-lift); flex: none; }
.demo__out .btn { margin-top: 18px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------- the step stack -- */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.stack__card {
  position: sticky; top: calc(96px + var(--i) * 18px);
  display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 52px);
  min-height: clamp(280px, 30vw, 380px);
  background: var(--cream-3); border-radius: var(--r-xl);
  box-shadow: 0 -10px 40px -20px rgba(30, 40, 32, .25), 0 0 0 1px var(--line);
}
.stack__card--green { background: var(--green); color: var(--on-green); box-shadow: 0 -10px 40px -20px rgba(30, 40, 32, .4); }
@media (min-width: 900px) { .stack__card { grid-template-columns: 220px 1fr; gap: 40px; } }
@media (max-width: 899px) { .stack__card { top: calc(76px + var(--i) * 12px); } }
/* A long card taller than the phone screen would be covered before its end is read. */
@media (max-width: 899px) { .stack--full .stack__card { position: relative; top: auto; } }
.stack__num { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 7vw, 132px); line-height: .8; color: var(--orange-deep); }
.stack__card--green .stack__num { color: var(--orange-lift); }
.stack__body h3 { font-size: clamp(30px, 2.4vw + 14px, 52px); line-height: 1; }
.stack__lead { font-size: var(--t-lead); color: var(--ink-2); margin-top: 12px; max-width: 34em; }
.stack__text { margin-top: 16px; color: var(--ink-2); max-width: 40em; }
.stack__card--green .stack__lead, .stack__card--green .stack__text { color: var(--on-green-2); }
.stack__spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.stack__spec div { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border-radius: 999px; background: var(--cream-2); font-size: 14px; }
.stack__card--green .stack__spec div { background: var(--green-3); }
.stack__spec dt { color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.stack__spec dd { margin: 0; font-weight: 600; }
.stack__card--green .stack__spec dt { color: var(--on-green-3); }

/* ------------------------------------------------------------------- lists -- */
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23F5F0E1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.stack__card--green .ticks li { color: var(--on-green-2); }
.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.crosses li { padding: 18px 22px; border-radius: var(--r-md); background: var(--cream-3); color: var(--ink-2); }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; }
.numbered li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); }
.numbered__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-family: var(--serif); font-size: 22px; }
.numbered h3 { font-size: clamp(24px, 1vw + 18px, 32px); }
.numbered p { margin-top: 8px; color: var(--ink-2); max-width: 44em; }

/* ------------------------------------------------------------------ scope -- */
.scope { display: grid; gap: 16px; }
@media (min-width: 1000px) { .scope { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.scope__card { background: var(--cream-3); border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 36px); }
.scope__card--green { background: var(--green); color: var(--on-green); }
.scope__h { font-family: var(--serif); font-size: 34px; line-height: 1; }
.scope__card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.scope__card li { padding-block: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.scope__card--green li { border-color: var(--line-green); }
.scope__card b { font-weight: 600; }
.scope__card span { font-size: 15px; color: var(--ink-2); }
.scope__card--green span { color: var(--on-green-2); }

.addons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.addons li { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--r-md); background: var(--cream-3); }
.addons div { display: grid; gap: 4px; }
.addons b { font-weight: 600; }
.addons span { font-size: 15px; color: var(--ink-2); }
.addons em { font-family: var(--serif); font-style: normal; font-size: 30px; color: var(--orange-deep); white-space: nowrap; }

.split-text { display: grid; gap: 28px; }
.split-text h2 { margin-top: 16px; }
.split-text p:not(.eyebrow):not(.lead) { margin-top: 18px; color: var(--ink-2); max-width: 40em; }
@media (min-width: 900px) { .split-text { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); } }

/* ------------------------------------------------------------------ price -- */
.price { display: grid; gap: 32px; align-items: center; }
.price h2 { margin-top: 16px; }
.price .lead { margin-top: 20px; }
.price > div:first-child > p:not(.eyebrow):not(.lead) { margin-top: 18px; color: var(--ink-2); }
.price .link { margin-top: 18px; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); } }
.price__card { background: var(--cream-3); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 52px); }
.price__big { font-family: var(--serif); font-size: clamp(88px, 11vw, 190px); line-height: .85; letter-spacing: -.03em; color: var(--orange-deep); font-variant-numeric: lining-nums; }
.price__sub { margin-top: 14px; color: var(--ink-2); }
.pay { display: grid; margin-top: 26px; }
.pay > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding-block: 16px; border-top: 1px solid var(--line); align-items: baseline; }
.pay__k { font-weight: 600; }
.pay__v { font-family: var(--serif); font-size: 32px; line-height: 1; }
.pay__n { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-2); }

/* -------------------------------------------------------------------- faq -- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--cream-3); border-radius: var(--r-lg); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; min-height: 64px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: clamp(22px, .8vw + 18px, 30px); }
.faq__plus { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--cream-2); flex: none; transition: background .3s var(--ease), transform .45s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--orange-deep); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--cream-3); }
.faq__item p { padding: 0 24px 24px; color: var(--ink-2); max-width: 46em; }
.faq__item[open] p { animation: up .5s var(--ease); }

/* -------------------------------------------------------------- the plate -- */
.plate {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background: var(--green); color: var(--on-green); border-radius: var(--r-xl);
  padding: clamp(56px, 9vw, 140px) clamp(20px, 5vw, 80px);
}
.plate::before { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; }
.plate h2 { max-width: 16ch; margin-inline: auto; }
.plate h2 em { color: var(--orange-lift); }
.plate .lead { color: var(--on-green-2); margin: 22px auto 0; }
.plate .acts { justify-content: center; }
.plate .btn--solid { background: var(--orange-lift); border-color: var(--orange-lift); color: var(--ink); }
.plate .btn--solid:hover { background: var(--cream-3); border-color: var(--cream-3); }

/* ------------------------------------------------------------- inner head -- */
.head { padding-top: clamp(48px, 8vw, 120px); }
.head h1 { margin-top: 20px; max-width: 14ch; }
.head .lead { margin-top: 26px; }

/* ------------------------------------------------------------------- work -- */
.case { display: grid; gap: 32px; }
.case + .case { margin-top: clamp(72px, 10vw, 140px); }
@media (min-width: 1000px) {
  .case { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
  .case__pics { position: sticky; top: 100px; }
}
.case__pics { position: relative; padding: 0 10% 10% 0; }
.case__desk img { border-radius: var(--r-xl); box-shadow: 0 0 0 1px var(--line); }
.case__phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden; border: 5px solid var(--cream); box-shadow: 0 24px 50px -14px rgba(30, 40, 32, .45); }
.case__text h2 { margin-top: 12px; font-size: clamp(40px, 3vw + 18px, 72px); }
.case__text .lead { margin-top: 18px; }
.facts { margin: 24px 0 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--t-small); color: var(--ink-3); font-weight: 500; }
.facts dd { margin: 0; font-size: 15.5px; }

/* --------------------------------------------------------------- doc page -- */
.doc-card { display: grid; gap: 10px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--cream-3); text-decoration: none; transition: transform .5s var(--ease); }
.doc-card:hover { transform: translateY(-4px); }
.doc-card b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2vw + 18px, 48px); line-height: 1.05; }
.doc-card > span:not(.eyebrow):not(.link) { color: var(--ink-2); }
.doc-card .link { justify-self: start; }
.notice { padding: 22px 26px; border-radius: var(--r-lg); background: var(--green); color: var(--on-green); }
.notice p { color: var(--on-green-2); margin-top: 6px; }
.prose { background: var(--cream-3); border-radius: var(--r-xl); padding: clamp(22px, 5vw, 64px); }
.prose h2 { font-size: clamp(28px, 1.6vw + 18px, 42px); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(22px, 1vw + 16px, 28px); margin-top: 32px; }
.prose h4, .prose h5 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 24px 0 0; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.7; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--orange-deep); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose blockquote { margin: 18px 0 0; padding: 14px 20px; border-radius: var(--r-md); background: var(--cream-2); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.prose code { font-size: .92em; background: var(--cream-2); padding: 1px 6px; border-radius: 6px; }

/* ----------------------------------------------------------------- footer -- */
.foot { margin-top: var(--sec); padding: clamp(56px, 8vw, 110px) 0 40px; background: var(--green); color: var(--on-green); border-radius: var(--r-xl) var(--r-xl) 0 0; position: relative; isolation: isolate; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; }
.foot__big { font-family: var(--serif); font-size: clamp(60px, 11vw, 200px); line-height: .9; letter-spacing: -.03em; }
.foot__big em { color: var(--orange-lift); }
.foot__grid { display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-green); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot .brand img { filter: none; }
.foot__about { margin-top: 12px; color: var(--on-green-2); max-width: 32ch; font-size: 15.5px; }
.foot__h { font-size: var(--t-small); color: var(--on-green-3); font-weight: 500; }
.foot ul { list-style: none; margin: 8px 0 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-green-2); text-decoration: none; font-size: 15.5px; transition: color .3s var(--ease); }
.foot li a:hover { color: var(--on-green); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; font-size: 13.5px; color: var(--on-green-3); }

/* ----------------------------------------------------------------- reveal -- */
.js-reveal .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js-reveal .rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------- booking window --- */
.bookdlg { border: 0; padding: 0; margin: auto; width: min(30rem, 100vw); height: min(46rem, 100dvh); background: var(--cream-3); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.bookdlg::backdrop { background: rgba(20, 28, 22, .6); backdrop-filter: blur(4px); }
.bookdlg__bar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--line); }
.bookdlg__title { font-family: var(--serif); font-size: 24px; }
.bookdlg__frame { display: block; width: 100%; height: calc(100% - 56px); border: 0; background: var(--cream-3); }
.bookdlg__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--cream-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.bookdlg__close svg { width: 20px; height: 20px; }
.bookdlg-open { overflow: hidden; }
@media (max-width: 640px) {
  .bookdlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; }
  .bookdlg__bar { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .bookdlg__frame { height: calc(100% - 56px - env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: no-preference) {
  .bookdlg[open] { animation: up .35s var(--ease); }
}
