/* Zelthir. One dark theme in the brand palette (brand/logo/README.md): green-black ground, lime for the direct path.
   Type: Space Grotesk 500 for headings, Inter for text and labels, JetBrains Mono only inside code and tool calls.
   Structure comes from space, not lines: one even rhythm between sections (--sec: 128px desktop, 80px phone), 32-40px
   from a heading to its content (--head), one soft raised panel (the booker, modals), and a hairline only
   where it helps (under the nav once you scroll, a content-width line above the footer).
   Type ladder (one scale on every page): 72 hero H1, 64-68 H1 (closing line, /vision/ title) / 36-40 H2 / 20-22 H3 and subhead /
   17 body / 14-15 captions and labels / 13 footnote and code-stream only. Labels are 500 weight at 66% white.
   Fonts are self-hosted (assets/fonts, OFL) with metric-matched local fallbacks, so the swap does not move text. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/space-grotesk-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fallbacks sized to the web fonts (average lowercase width and vertical metrics vs Arial, from the font files) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 109.38%; ascent-override: 88.57%; descent-override: 22.05%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 113.18%; ascent-override: 86.94%; descent-override: 25.8%; line-gap-override: 0%; }
/*
   Lime marks only the primary button, the direct path in the hero diagram, the selected day on /book and the focus ring. */
:root {
  color-scheme: dark;
  --bg: #111614;
  --panel: #151a17;
  --fill: #1b211d;
  --fill-hover: #232b26;
  --sunk: #0f1311;
  --ink: #edefea;                         /* headings, key lines: full white */
  --soft: rgba(237, 239, 234, 0.8);       /* long reading text (/vision/) */
  --muted: #b4b9b0;                       /* secondary text, about 72% white */
  --label: rgba(237, 239, 234, 0.66);     /* every small label, caption and footnote */
  --faint: #8e948b;                       /* decoration and disabled states only, never text people need */
  --hair: rgba(237, 239, 234, 0.08);
  --lime: #b4d96a;
  --lime-hover: #c4e486;
  --on-lime: #111614;
  --moss: #5e7148;
  --backdrop: rgba(5, 8, 6, 0.66);

  --display: "Space Grotesk", "Space Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --t-h1: clamp(44px, 5vw, 68px);         /* 64px at 1280 wide, 68 from 1360 up, 44 on a phone */
  --t-h2: clamp(30px, 3vw, 40px);
  --t-h3: 22px;

  --content: 1120px;
  --gutter: 32px;
  --sec: clamp(80px, 10vw, 128px);        /* between sections: 128px from 1280 wide, 80px on a phone */
  --head: clamp(32px, 3.2vw, 44px);       /* heading to its content: 44px from 1375 wide, 32 on a phone */
  --gap: 32px;                            /* between items inside a section */
  --nav-h: 76px;
  --r: 10px;
  --r-panel: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --rise: 450ms;
  --t: 150ms ease-out;
}
@media (max-width: 720px) { :root { --gutter: 20px; --nav-h: 64px; --r-panel: 14px; --gap: 28px; --t-h3: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;  /* a short page keeps its footer at the bottom */
}
body > main { flex: 1 0 auto; width: 100%; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, select { font: inherit; color: inherit; }
::selection { background: rgba(180, 217, 106, 0.28); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -56px; z-index: 40; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r); font-size: 14px; }
.skip:focus { top: 12px; }

/* One content width and one left edge on every page */
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
.h1 { font-size: var(--t-h1); line-height: 1.04; }
.h2 { font-size: var(--t-h2); line-height: 1.12; }
.lede { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 34rem; }
.label { font: 500 14px/1.4 var(--sans); letter-spacing: 0.01em; color: var(--label); }
.fine { margin: 0; font-size: 13px; line-height: 1.6; color: var(--label); max-width: 48rem; }

/* Buttons: one solid button (lime); everything else is a text link */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r); border: 0;
  font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background-color var(--t), color var(--t), transform var(--t);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--lime); color: var(--on-lime); transition: background-color var(--t), transform var(--t), translate var(--t), box-shadow var(--t); }
.btn-primary:hover { background: var(--lime-hover); translate: 0 -1px; box-shadow: 0 6px 20px rgba(180, 217, 106, 0.16); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.arrow { display: inline-block; transition: transform var(--t); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }

/* Text link: ink, quiet underline on hover, optional arrow */
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 500; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color var(--t), text-decoration-color var(--t);
}
.link:hover { text-decoration-color: var(--faint); }
.link.quiet { color: var(--muted); }
.link.quiet:hover { color: var(--ink); }
button.link { padding: 0; border: 0; background: transparent; font-size: 15px; }
.cta { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }

/* Nav: the bar is see-through; a hairline appears under it once the page scrolls */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(17, 22, 20, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t);
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand .mark { width: 30px; height: 30px; }
.brand span { font: 500 34px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: 12px; }
.nav-links a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: var(--r);
  font: 500 15px/1 var(--sans); color: var(--muted); transition: color var(--t);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .menu-cta { display: none; }  /* only in the phone menu sheet */
.nav .btn { height: 40px; padding: 0 16px; }
.menu {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; cursor: pointer; border-radius: var(--r);
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav.open .menu span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.open .menu span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
html.menu-open { overflow: hidden; }

/* Sections: space, not rules. Every section's first block after its heading sits --head below it. */
.sec { padding-top: var(--sec); }
.sec-head { display: grid; gap: 14px; max-width: 44rem; }
.sec-head.center .lede { margin-inline: auto; }
.sec .sec-body { margin-top: var(--head); }
.center { text-align: center; margin-inline: auto; }

/* Hero: the headline, the subhead (one paragraph, one size and color) and the two actions on the left; the paths diagram
   (the logo's idea: the lime direct path through the moss detours) on the right, about 520px, centered on the text
   block, its right edge on the content edge, over a very faint lime glow. Its height is its content, so the next
   section peeks into the first screen (1440x900: "Starting with customer support" starts about 780px down). */
.hero { padding-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 36vw, 520px); gap: 48px; align-items: center; }
.hero .h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.03; max-width: 11.5em; }
.hero .lede { margin-top: 28px; max-width: 540px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.hero .cta { margin-top: 40px; }
.hero-art { position: relative; isolation: isolate; width: 100%; justify-self: end; }
.hero-art::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(180, 217, 106, 0.09), rgba(180, 217, 106, 0.035) 55%, rgba(180, 217, 106, 0) 100%); }
/* The diagram draws itself once on load (detours outside in, 35 ms apart, then the diagonal, about 1.2 s in all), then
   holds still. It is the only picture on the site. pathLength="1" on each path, so dashes are in path fractions. */
.paths { width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.paths .detour { fill: none; stroke: var(--moss); stroke-width: 1.25; }
.paths .direct { stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; }
.paths .node { fill: var(--bg); stroke: var(--lime); stroke-width: 2; }
.motion:not(.vt) .paths .detour { stroke-dasharray: 1 1; animation: draw 0.6s var(--ease) calc(var(--i) * 35ms) both; }
.motion:not(.vt) .paths .direct { stroke-dasharray: 1 1; animation: draw 0.55s cubic-bezier(0.5, 0, 0.2, 1) 650ms both; }
.motion:not(.vt) .paths .node { animation: fade-in 0.3s ease-out 600ms both; }
.motion:not(.vt) .paths .node.b { animation-delay: 1150ms; }
@keyframes draw { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }

/* Small icon buttons (the /book month arrows) */
.ctl {
  height: 40px; min-width: 40px; padding: 0 10px; flex: none; border-radius: var(--r); border: 0; background: transparent;
  color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  font: 500 14px/1 var(--sans); transition: color var(--t), background-color var(--t), transform var(--t);
}
.ctl:hover:not([disabled]) { color: var(--ink); background: var(--fill); }
.ctl:active:not([disabled]) { transform: scale(0.98); }
.ctl[disabled] { opacity: 0.35; cursor: default; }
.ctl svg { width: 16px; height: 16px; }

/* Starting with customer support: the heading on the left, three short gains stacked on the right. No boxes or rules. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap) 64px; align-items: start; }
.gains { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
.gains h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; }
.gains p { margin: 8px 0 0; color: var(--muted); max-width: 32rem; }

/* How we work with you: three steps in one row */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); margin: 0; padding: 0; list-style: none; }
.steps .label { display: block; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 12px; font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; max-width: 14ch; }
.steps p { margin: 8px 0 0; color: var(--muted); max-width: 28ch; }
.talk { margin: var(--head) 0 0; display: flex; gap: 4px 24px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 16px; }
.talk span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Built by: both founders, one line each, tops aligned */
.team-title { display: block; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap) 48px; margin: 24px 0 0; padding: 0; list-style: none; align-items: start; }
.person { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 18px; align-items: start; }
.person img { grid-row: 1 / 3; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--fill); transition: translate 0.25s var(--ease); }
.person:hover img { translate: 0 -2px; }
.person a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t); }
.person a:hover { text-decoration-color: var(--faint); }
.person a svg { width: 12px; height: 12px; color: var(--label); }
.person p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Closing: the catchphrase is the star, centered, at the one H1 size; the plan and the actions under it */
.closing { text-align: center; }
.closing-mark { width: 32px; height: 32px; margin: 0 auto 32px; }
.closing-quote { font-size: var(--t-h1); line-height: 1.04; max-width: 20ch; margin: 0 auto; }
.closing-sub { margin: 32px auto 0; max-width: 38rem; font-size: 17px; line-height: 1.6; color: var(--muted); }
.closing-sub b { color: var(--ink); font-weight: 500; }
.closing .cta { justify-content: center; margin-top: 40px; }

/* Footer: the same on every page, on the content edge; the line above it spans the content width only */
.foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--label); }
.foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hair); }
.foot .left { display: flex; align-items: center; gap: 10px; }
.foot .mark { width: 18px; height: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-right: -12px; }
.foot nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; color: var(--muted); transition: color var(--t); }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--ink); }

/* Vision and 404: one centered reading column (about 66 characters a line), the title on top of it */
.essay { padding-top: clamp(48px, 6vw, 96px); max-width: 640px; margin-inline: auto; }
.essay .label { display: block; margin-bottom: 16px; }
.byline { margin: 24px 0 0; font-size: 15px; color: var(--label); }
.byline b { font-weight: 500; color: var(--muted); }
.essay .body { margin-top: 40px; }
.essay .body p { font-size: 18px; line-height: 1.7; margin: 0 0 28px; color: var(--soft); text-wrap: wrap; }
.essay .body p:last-child { margin-bottom: 0; color: var(--ink); }
.essay .cta { margin-top: 48px; }

/* Forms (free audit, contact, booking): sentence-case labels, borderless 44px fields that show a border on focus */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
label { font: 500 14px/1.3 var(--sans); color: var(--muted); }
label .opt { color: var(--label); font-weight: 500; }
input, textarea {
  width: 100%; min-height: 44px; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: var(--fill); border: 1px solid transparent; border-radius: var(--r); padding: 10px 14px;
  transition: border-color var(--t), background-color var(--t); -webkit-appearance: none; appearance: none;
}
textarea { min-height: 128px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--label); opacity: 1; }
input:hover, textarea:hover { background: var(--fill-hover); }
input:focus, textarea:focus { outline: none; border-color: var(--lime); background: var(--fill); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts { max-width: 100%; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status { font-size: 14px; color: var(--muted); margin: 0; min-height: 1.6em; }
.status:empty { display: none; }
.done { margin: 0; font: 500 var(--t-h3)/1.35 var(--display); letter-spacing: -0.015em; color: var(--ink); }

/* Modals: the same soft panel, no border */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--r-panel); background: var(--panel); color: var(--ink);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}
.modal:focus, .modal:focus-visible { outline: none; }
.modal::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 0.22s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes fade-in { from { opacity: 0; } }
.modal-body { padding: 40px 36px 36px; position: relative; }
.modal h2 { font-size: 30px; line-height: 1.15; padding-right: 40px; }
.modal .lede { font-size: 16px; margin-top: 12px; }
.modal form { margin-top: 28px; display: grid; gap: 24px; }
.modal .done { margin-top: 28px; }
.close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer;
  display: grid; place-items: center; transition: background-color var(--t), color var(--t);
}
.close:hover { background: var(--fill); color: var(--ink); }
.close svg { width: 14px; height: 14px; }
html.locked { overflow: hidden; }

/* Book a call (/book): one soft panel in three columns (who and what, the month, the day's times).
   The panel keeps one height on desktop whatever the month, day or step; the form and the confirmation take the
   two right columns. Calendar: 44 head + 20 + 28 days of the week + 6 rows x 52 + 5 x 4 gaps + 40 note = 464px;
   with 32px padding top and bottom that is 528px, so 592px leaves room. 48px between the month and the times.
   Times: book.js sizes the list to whole 48px rows (40 + 8 gap) and fades its last row only while more are below. */
.book { padding-top: clamp(40px, 5vw, 72px); }
.booker {
  display: grid; grid-template-columns: 280px minmax(0, 1fr) 260px; gap: 0;
  height: 592px; border-radius: var(--r-panel); background: var(--panel); overflow: hidden;
}
.booker > [hidden] { display: none !important; }
.book-info { padding: 36px 32px; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--hair); }
.faces { display: flex; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--panel); background: var(--fill); }
.faces img + img { margin-left: -10px; }
.book-with { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.book-title { margin-top: 6px; font-size: 32px; line-height: 1.15; }
.book-lede { margin: 10px 0 0; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--muted); }  /* two lines held, so the chosen time never pushes the list below */
.book-lede.picked { color: var(--ink); font-weight: 500; }
.meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.meta li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.meta svg { width: 18px; height: 18px; color: var(--label); margin-top: 1px; }
/* Time zone: a quiet native select that reads like the other meta lines, with a chevron */
.tz-select {
  width: 100%; min-width: 0; margin: -6px 0 -6px -8px; padding: 6px 26px 6px 8px; border: 0; border-radius: 8px;
  font: 400 15px/1.4 var(--sans); color: var(--ink); cursor: pointer; text-overflow: ellipsis;
  -webkit-appearance: none; appearance: none; transition: background-color var(--t);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23b4b9b0' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 12px 12px;
}
.tz-select:hover { background-color: var(--fill); }
.tz-select option { background: var(--panel); color: var(--ink); }
.cal { padding: 32px 24px 32px 32px; min-width: 0; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; }
.cal-month { font-size: var(--t-h3); line-height: 1.2; }
.cal-head .arrows { display: flex; gap: 4px; }
.cal-grid { margin-top: 20px; min-height: 364px; align-content: start; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { height: 28px; text-align: center; font: 500 14px/28px var(--sans); color: var(--label); }
.day {
  position: relative; height: 52px; min-width: 0; width: 100%; padding: 0; border-radius: var(--r);
  border: 0; background: transparent; color: var(--faint);
  font: 400 15px/1 var(--sans); font-variant-numeric: tabular-nums;
  transition: background-color var(--t), color var(--t), transform var(--t);
}
.day.open { color: var(--ink); font-weight: 500; background: var(--fill); cursor: pointer; }
.day.open:hover { background: var(--fill-hover); }
.day.open:active { transform: scale(0.98); }
.day.sel, .day.sel:hover { background: var(--lime); color: var(--on-lime); }
.day[disabled] { cursor: default; }
.day.hol::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--moss); }
.day.pad { pointer-events: none; }
.cal-note { margin: 16px 0 0; min-height: 20px; font-size: 14px; line-height: 20px; color: var(--label); }
.times { padding: 32px 24px 24px 24px; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.times-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 44px; flex-wrap: wrap; }
.times-day { margin: 0; font: 500 17px/1.3 var(--sans); color: var(--ink); }
.times-day.empty { flex: 1 1 100%; font-weight: 400; font-size: 15px; color: var(--muted); }
.times-head:has(.times-day.empty) .hours { display: none; }
/* 12h / 24h: a small two-way switch, like Cal.com's */
.hours { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--sunk); flex: none; }
.hours button {
  height: 28px; min-width: 40px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; cursor: pointer;
  font: 500 13px/1 var(--sans); color: var(--label); font-variant-numeric: tabular-nums; transition: background-color var(--t), color var(--t);
}
.hours button:hover { color: var(--ink); }
.hours button[aria-pressed="true"] { background: var(--fill-hover); color: var(--ink); }
.book-note { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.book-note:empty { display: none; }
.slot-list { list-style: none; margin: 20px 0 0; padding: 0 4px 0 0; display: grid; gap: 8px; flex: 1 1 0; min-height: 0; align-content: start; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--fill-hover) transparent; }
.slot-list.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.slot {
  width: 100%; height: 40px; padding: 0 12px; white-space: nowrap; border-radius: var(--r); border: 0; background: var(--fill); cursor: pointer;
  font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color var(--t), transform var(--t), translate var(--t);
}
.slot:hover { background: var(--fill-hover); translate: 0 -1px; }
.slot:active { transform: scale(0.98); }
.book-step, .book-done { grid-column: 2 / 4; padding: 36px 40px; min-width: 0; overflow-y: auto; }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.step-head h2 { font-size: var(--t-h3); line-height: 1.2; }
.book-form { margin-top: 24px; display: grid; gap: 24px; }
.book-done:focus { outline: none; }
.book-done .done { margin-top: 4px; }
.book-done-sub { margin: 12px 0 0; color: var(--muted); font-size: 16px; max-width: 34rem; }
.book-alt { margin: 20px 0 0; font-size: 15px; color: var(--muted); }

/* Smaller screens */
@media (max-width: 1080px) {
  .booker { grid-template-columns: 240px minmax(0, 1fr) 232px; }
  .book-info { padding: 32px 24px; }
  .cal { padding: 32px 20px 32px 24px; }
  .times { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 900px) {
  .hero { display: block; }
  /* phones and narrow windows: the diagram (about 300px) under the actions, on the right edge */
  .hero-art { width: min(300px, 86%); margin: 48px 0 0 auto; }
  .hero-art::before { inset: -14%; }
  /* /book stacks: who and what, the month, the day's times */
  .booker { display: block; height: auto; overflow: visible; }
  .book-info { border-right: 0; border-bottom: 1px solid var(--hair); padding: 24px 20px; }
  .cal { padding: 20px 12px 8px; }
  .cal-grid { gap: 2px; }  /* 390px: (350 - 24 - 12) / 7 = 44.9px per day */
  .times { padding: 16px 16px 24px; scroll-margin-top: calc(var(--nav-h) + 16px); }
  .slot-list { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; flex: none; -webkit-mask-image: none; mask-image: none; }  /* phone: the list sizes to its rows (flex: 1 1 0 collapsed it to 0px, so no times showed) */
  .slot { height: 44px; }
  .book-step, .book-done { padding: 24px 20px 28px; }
}
@media (max-width: 720px) {
  :root { --muted: #c6cac2; }  /* body grey a step lighter on small screens */
  body { line-height: 1.55; }
  .h1 { line-height: 1.0; }
  .hero { padding-top: 40px; }
  .hero .lede { margin-top: 24px; font-size: 18px; }
  .hero .cta { margin-top: 28px; }
  .center:not(.closing-quote) { text-align: left; margin-inline: 0; }
  .team, .split { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps h3 { max-width: none; }
  .talk { flex-direction: column; align-items: flex-start; gap: 0; }
  .talk .link { min-height: 48px; }
  .fields { grid-template-columns: 1fr; }
  /* Modals become a bottom sheet */
  .modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; border-radius: var(--r-panel) var(--r-panel) 0 0; }
  @keyframes modal-in { from { opacity: 0; transform: translateY(24px); } }
  .modal-body { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal .close { top: 10px; right: 8px; }
  .modal h2 { font-size: 26px; }
  .modal .form-foot .btn, .book-form .form-foot .btn { width: 100%; }
  .closing .cta { flex-direction: column; align-items: stretch; gap: 4px; }
  .closing .cta .btn { height: 52px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
  .foot nav { margin: 0 0 0 -12px; }
  .book-title { font-size: 28px; }
  .day { height: 44px; }
  .cal-grid { min-height: 304px; }  /* 28 + 6 x 44 + 6 x 2 */
  .step-head { flex-wrap: wrap; }
  .hours button { height: 36px; min-width: 48px; }
}
@media (max-width: 640px) {
  .menu { display: flex; }
  .brand { gap: 10px; }
  .brand .mark { width: 24px; height: 24px; }
  .brand span { font-size: 27px; }
  .nav .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .nav-right { gap: 4px; }
  /* The menu: a full-screen sheet of large links under the bar, the audit button at its foot */
  .nav.open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 19; margin: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto;
  }
  .nav.open .nav-links { display: flex; animation: fade-in 0.18s ease-out; }
  .nav.open .brand, .nav.open .menu { position: relative; z-index: 21; }  /* the bar (logo, close) stays on top of the sheet */
  .nav-links a { height: 56px; padding: 0; font: 500 28px/1 var(--display); letter-spacing: -0.01em; color: var(--ink); }
  .nav-links a[aria-current="page"] { color: var(--muted); }
  .nav-links .menu-cta { display: flex; margin-top: 24px; height: 52px; padding: 0 20px; font: 500 17px/1 var(--sans); letter-spacing: 0; color: var(--on-lime); }
}
@media (max-width: 380px) {
  .brand span { font-size: 24px; }
  .nav .btn { padding: 0 12px; }
}
/* Motion: one reveal everywhere (opacity and a 12px rise, 450ms, --ease, children 50ms apart, once).
   html.motion is set in <head> only when reduced motion is off, so without it (or without JavaScript) nothing is hidden.
   Load: the hero in order (headline 0, subhead 100, actions 200 ms), the top of every
   other page. Arriving by a page-to-page view transition (html.vt, set on pagereveal) skips the load-in: the
   transition is the motion. Scroll: main.js arms a block (.rv, hidden) just before it scrolls into view and reveals
   it (.in) as soon as 10% of it is 8% above the bottom edge; an armed block is revealed after 1.5 s whatever happens. A block already on screen is never
   hidden. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.motion:not(.vt) .hero .h1, .motion:not(.vt) .hero .lede, .motion:not(.vt) .hero .cta,
.motion:not(.vt) .essay > *, .motion:not(.vt) .booker { animation: rise var(--rise) var(--ease) both; }
.motion .hero .lede { animation-delay: 100ms; }
.motion .hero .cta { animation-delay: 200ms; }
.motion .essay > :nth-child(2) { animation-delay: 80ms; }
.motion .essay > :nth-child(3) { animation-delay: 160ms; }
.motion .essay > :nth-child(n+4) { animation-delay: 240ms; }
.motion .rv { opacity: 0; transform: translateY(12px);
  transition: opacity var(--rise) var(--ease) var(--d, 0ms), transform var(--rise) var(--ease) var(--d, 0ms), translate 0.25s var(--ease); }
.motion .rv.in { opacity: 1; transform: none; }

/* Page to page: the nav holds still (its own layer); the page under it fades out (160 ms) and the next one fades in
   with a 8px rise (320 ms). Every page loads this file, so every page opts in on both ends. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation-duration: 0s; }
::view-transition-old(site-nav), ::view-transition-new(site-nav) { animation: none; }
::view-transition-old(site-nav) { display: none; }
::view-transition-old(root) { animation: vt-out 160ms ease-in both; }
::view-transition-new(root) { animation: vt-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) 60ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .arrow, .menu span, .btn, .ctl, .slot, .day, .person img, .hours button { transition: none; }
  .btn-primary:hover, .slot:hover, .person:hover img { translate: none; }
  .btn:hover .arrow, .link:hover .arrow { transform: none; }
  .btn:active, .slot:active, .day.open:active, .ctl:active:not([disabled]) { transform: none; }
  .modal[open], .modal[open]::backdrop, .nav.open .nav-links { animation: none; }
}

/* Every page: the last block never touches the footer (Shrey, Nov 6: "the stuff at the bottom looks weird") */
main.wrap { padding-bottom: var(--sec); }  /* .wrap sets padding, so match its specificity */

/* Decorative glows must never cause sideways scroll on phones (22px overflow found Nov 6) */
html, body { overflow-x: clip; }
