/* Layout: a scroll story in British racing green, off-white and chrome.
   1 hero: sticky stage, a 3D chrome "m" turns as you scroll.
   2 statement: one sentence lights up word by word while Crave's videos drift in the margins.
   3 the work, 4 three questions (a real form), 5 how, 6 FAQ, 7 moving-type finale.
   Light page by choice; the green bands are the brand, not a dark theme. */
:root {
  color-scheme: light;
  --off: #F3F0E7;          /* off-white page */
  --off-2: #E8E4D7;        /* quiet band */
  --green: #0B3B24;        /* British racing green: text and bands */
  --green-2: #134B30;      /* raised green */
  --green-deep: #061F13;   /* footer */
  --sage: #A9BDB0;         /* muted text on green */
  --ink-soft: #3C5547;     /* secondary text on off-white, 7.6:1 */
  --line: #CFCABB;
  --chrome: linear-gradient(100deg, #FAFAF8 0%, #BFC5C9 30%, #F2F3F4 52%, #8C959C 78%, #E3E6E8 100%);
  --chrome-solid: #D5D9DC;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  --head: 74px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--off); color: var(--green); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--off); }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: .08em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: .96; margin: 0; text-wrap: balance; }
p { margin: 0; }
/* the chrome swipe: a polished bar behind one word */
mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
mark::before { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.1em; top: .16em; bottom: .02em; background: var(--chrome); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.12); transform: skewX(-8deg); transform-origin: left center; animation: swipe .8s cubic-bezier(.2,.8,.2,1) .3s both; }
@keyframes swipe { from { transform: skewX(-8deg) scaleX(0); } }
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--body); font-weight: 700; font-size: 18px; text-decoration: none; background: var(--green); color: var(--off); padding: 16px 26px; border-radius: var(--radius); border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); }
.btn.light { background: var(--off); color: var(--green); }
.btn.light:hover { background: #fff; }
.btn svg { width: 13px; height: 20px; flex: none; }
.kicker { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; display: block; }
h2 { font-size: clamp(40px, 5.6vw, 72px); }
.sub { margin-top: 18px; font-size: 20px; color: var(--ink-soft); max-width: 46ch; }
section { padding-block: 112px; }

/* header */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--off); height: var(--head); border-bottom: 1px solid transparent; }
header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
header .logo img { height: 46px; width: auto; display: block; }
header nav { display: flex; align-items: center; gap: 28px; }
header nav a.nl { text-decoration: none; font-weight: 600; font-size: 16px; }
header nav a.nl:hover { text-decoration: underline; }
header .btn { padding: 11px 18px; font-size: 16px; }

/* 1 hero: the turning chrome m */
.scrolly { height: 230vh; position: relative; }
.stage { position: sticky; top: calc(var(--head) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--head) - env(safe-area-inset-top, 0px)); min-height: 560px; overflow: hidden; }
.stage .wrap { height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy h1 { font-size: clamp(56px, 8vw, 120px); }
.hero-copy .lede { margin-top: 26px; font-size: clamp(19px, 1.8vw, 22px); color: var(--ink-soft); max-width: 32ch; }
.hero-copy .lede b { color: var(--green); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.actions .tl { font-weight: 700; font-size: 17px; }
.mark3d { position: relative; height: min(76svh, 720px); max-width: 100%; aspect-ratio: 9 / 10; justify-self: center; }
.mark3d img, .mark3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.mark3d canvas { opacity: 0; transition: opacity .4s; }
.mark3d.live canvas { opacity: 1; }
.mark3d.live img { opacity: 0; }
.hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; opacity: var(--hint, 1); transition: opacity .3s; }
.hint i { width: 1.5px; height: 22px; background: var(--ink-soft); display: block; animation: drip 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* 2 statement */
.statement { background: var(--green); color: var(--off); position: relative; overflow: hidden; padding-block: 160px; }
.statement .wrap { position: relative; z-index: 2; max-width: 880px; }
.statement .kicker { color: var(--sage); }
.say { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .98; font-size: clamp(54px, 8.4vw, 124px); text-wrap: balance; }
.say .w { opacity: var(--o, 1); transition: opacity .25s; }
.say .w.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement .after { margin-top: 40px; font-size: 21px; color: var(--sage); max-width: 44ch; }
.drift { position: absolute; z-index: 1; width: clamp(110px, 10vw, 150px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 4px solid var(--green-deep); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); transform: translateY(var(--dy, 0px)) rotate(var(--rot, 0deg)); }
.drift video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the tiles live in the side margins only; the text column never meets them */
.drift.d1 { left: 1.5%; top: 12%; --rot: -6deg; }
.drift.d2 { left: 3%; top: 58%; --rot: 4deg; }
.drift.d3 { right: 1.5%; top: 8%; --rot: 5deg; }
.drift.d4 { right: 3%; top: 54%; --rot: -4deg; }

/* 3 the work */
.work-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.receipt { justify-self: end; width: 100%; max-width: 460px; font-family: var(--mono); font-size: 17px; background: #fff; color: var(--green); border: 1.5px solid var(--green); padding: 30px 30px 24px; transform: rotate(2deg); position: relative; box-shadow: 10px 10px 0 var(--off-2); }
.receipt::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; bottom: -11px; height: 11px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--green) 6px 7.5px, #fff 7.5px) 0 0 / 14px 11px repeat-x; }
.receipt .h { text-align: center; letter-spacing: .06em; border-bottom: 1.5px dashed var(--green); padding-bottom: 10px; margin-bottom: 10px; line-height: 1.4; }
.receipt .lbl { text-align: center; color: var(--ink-soft); font-size: 15px; }
.receipt .num { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 11vw, 150px); line-height: .95; text-align: center; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.receipt .bar { height: 9px; background: var(--off-2); margin: 10px 0; }
.receipt .bar i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--green); }
.receipt .row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; padding-block: 2px; }
.receipt .up { font-weight: 500; }

/* 4 three questions */
.ask { background: var(--off-2); }
.ask .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.ask-head { position: sticky; top: calc(var(--head) + 32px); }
form.qs { display: grid; }
.qf { border-top: 1.5px solid var(--green); padding-block: 20px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
.qf .k { font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1; }
.qf label { font-family: var(--display); font-weight: 800; font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.08; display: block; }
.qf .hintline { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 16px; }
.qf textarea, .who input { width: 100%; margin-top: 12px; font: inherit; font-size: 17px; color: var(--green); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.qf textarea { min-height: 84px; resize: vertical; }
.qf textarea:focus, .who input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(11, 59, 36, .18); }
.who { border-top: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); padding-block: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.who label { font-weight: 700; font-size: 15px; display: block; }
.who input { margin-top: 6px; }
.send { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.send .small { color: var(--ink-soft); font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.formmsg.err { color: #A3262B; }
.done { border: 1.5px solid var(--green); background: #fff; padding: 32px; }
.done h3 { font-size: 40px; }
.done p { margin-top: 12px; color: var(--ink-soft); }
.done .btn { margin-top: 22px; }

/* 5 how */
.how-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--green); }
.step { padding: 26px 24px 8px 0; min-width: 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.step h3 { font-size: 27px; margin-top: 10px; letter-spacing: -.015em; line-height: 1.05; }
.step p { margin-top: 10px; font-size: 17px; color: var(--ink-soft); }

/* 6 faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
details { border-top: 1.5px solid var(--green); }
details:last-of-type { border-bottom: 1.5px solid var(--green); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 22px; font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 26px; flex: none; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 58ch; }

/* 7 finale */
.finale { background: var(--green); position: relative; overflow: hidden; }
.finale canvas { display: block; width: 100%; height: 560px; }
.finale .badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--green); padding: 22px 30px; }
.finale .badge img { height: 74px; width: auto; display: block; }
/* closing call to action: heading and button stacked in the center */
.cta-row { background: var(--green); color: var(--off); padding-block: 56px 96px; }
.cta-row .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.cta-row h2 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
.cta-row .btn { font-size: 20px; padding: 20px 40px; }
.cta-row mark { color: var(--green); }
footer { background: var(--green-deep); color: var(--sage); padding-block: 36px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
footer .copy { user-select: all; color: var(--off); }


/* the logo's pointer is the cursor; it turns chrome over anything clickable */
@media (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='32' viewBox='-2 -2 16 23'%3E%3Cpath d='M0 0L0 16.2L3.9 12.5L6.6 18.6L9.3 17.4L6.7 11.4L12 11.4Z' fill='%230B3B24' stroke='%23F3F0E7' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto; }
  a, button, summary, .clip { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='32' viewBox='-2 -2 16 23'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FAFAF8'/%3E%3Cstop offset='.5' stop-color='%23BFC5C9'/%3E%3Cstop offset='.75' stop-color='%238C959C'/%3E%3Cstop offset='1' stop-color='%23E3E6E8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0L0 16.2L3.9 12.5L6.6 18.6L9.3 17.4L6.7 11.4L12 11.4Z' fill='url(%23c)' stroke='%230B3B24' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, pointer; }
}
a:not(.btn) { text-decoration-thickness: .07em; transition: text-decoration-thickness .15s; }
a:not(.btn):hover { text-decoration-thickness: .16em; }


/* shelf: a plain sideways row of seven real clips */
.shelf { padding-block: 96px; }
.shelf-pin { display: grid; gap: 32px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.shelf-head h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 18ch; }
.shelf-head .sub { margin-top: 12px; }
.track { display: flex; gap: 26px; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth;
  --edge: max(var(--gl), calc((100vw - 1200px) / 2 + var(--gl)));
  padding: 4px var(--edge) 22px; scroll-padding-inline: var(--edge);
  scrollbar-width: thin; scrollbar-color: var(--green) var(--off-2); }
.track::-webkit-scrollbar { height: 8px; }
.track::-webkit-scrollbar-track { background: var(--off-2); margin-inline: var(--edge); border-radius: 4px; }
.track::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.clip { margin: 0; flex: 0 0 clamp(210px, 19vw, 260px); }
.clip .frame { aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--green); border: 6px solid var(--green-deep); }
.clip .frame { transition: box-shadow .3s; }
/* hovering a video makes it float slowly up and down */
.clip:hover .frame { animation: float 2.4s ease-in-out infinite; box-shadow: 0 26px 40px -20px rgba(6, 31, 19, .45); }
.clip:nth-child(even):hover .frame { animation-delay: -1.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .clip, .clip .frame, .clip:hover .frame { transform: none !important; transition: none; animation: none !important; }
}
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.clip figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-soft); display: grid; gap: 1px; }
.clip .sh { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -.02em; line-height: 1.05; color: var(--green); }
.clip .sh small { font-size: 17px; letter-spacing: 0; }
.clip .sv { font-weight: 700; color: var(--green); }
.clip b { font-weight: 500; color: var(--green); margin-top: 4px; }
.clip .vw { font-family: var(--mono); font-size: 12.5px; }

.dots-sec { padding-top: 40px; }
/* averages: per 1,000 views, two big numbers */
.dots-sec .sub strong { color: var(--green); font-weight: 800; }
.avg { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); }
.avg-item { display: flex; align-items: center; gap: 24px; padding: 36px 24px 36px 0; min-width: 0; }
.avg-item + .avg-item { border-left: 1px solid var(--line); padding-left: 40px; }
.avg-n { font-family: var(--display); font-weight: 800; font-size: clamp(88px, 11vw, 160px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.avg-l { color: var(--ink-soft); font-size: 17px; max-width: 18ch; }
.avg-l b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1; color: var(--green); margin-bottom: 6px; }
@media (max-width: 760px) {
  .avg { grid-template-columns: minmax(0, 1fr); }
  .avg-item { padding: 28px 0; }
  .avg-item + .avg-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}
.changed { margin-top: 56px; border-top: 1.5px solid var(--green); padding-top: 28px; display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 24px 48px; }
.changed h3 { font-size: 30px; }
.changed ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.changed li { color: var(--ink-soft); font-size: 16px; }
.changed li b { display: block; color: var(--green); font-family: var(--display); font-size: 21px; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 6px; }
@media (max-width: 900px) { .changed { grid-template-columns: minmax(0, 1fr); } .changed ul { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.dots-sec .src { margin-top: 36px; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }

/* menu board: who we market for */
.board { margin-top: 72px; background: var(--green-deep); color: var(--off); padding: 36px 40px 32px; max-width: 720px; }
.board h3 { font-size: 34px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1.5px solid #2C5A40; }
.board ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.board li { padding-block: 12px; border-bottom: 2px dotted #3E6B51; font-family: var(--display); font-weight: 600; font-size: 21px; }
.board p { margin-top: 18px; color: var(--sage); font-size: 16px; }

@media (max-width: 1280px) { .drift { display: none; } }
@media (max-width: 900px) {
  :root { --head: 64px; }
  header nav a.nl { display: none; }
  header .logo img { height: 38px; }
  .scrolly { height: 200vh; }
  .stage .wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0; padding-block: 20px 8px; align-items: start; }
  .hero-copy h1 { font-size: clamp(44px, 12vw, 68px); }
  .hero-copy .lede { margin-top: 12px; font-size: 17px; }
  .hero-copy .lede .long { display: none; }
  .actions { margin-top: 16px; }
  .actions .btn { padding: 13px 20px; font-size: 16px; }
  .mark3d { height: 100%; max-height: 50svh; }
  .hint { display: none; }
  .statement { padding-block: 112px; }
  .shelf { padding-block: 72px; }
  .clip { flex-basis: 64vw; }
  .board { padding: 26px 22px 22px; }
  .board li { font-size: 18px; }
  .board ul { grid-template-columns: minmax(0, 1fr); }
  .work-head, .ask .wrap, .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .receipt { justify-self: start; transform: rotate(-1.5deg); }
  .ask-head { position: static; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  section { padding-block: 84px; }
  .qf { grid-template-columns: 34px minmax(0, 1fr); }
  .qf .k { font-size: 30px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 18px; }
  .finale canvas { height: 420px; }
  .finale .badge img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  mark::before { animation: none; }
  .scrolly { height: auto; }
  .stage { position: relative; top: 0; height: auto; min-height: 0; padding-block: 40px; }
  .mark3d { height: 60svh; }
  .hint { display: none; }
  .say .w { opacity: 1 !important; }
  .drift { transform: rotate(var(--rot, 0deg)) !important; }
  .track { scroll-behavior: auto; }
}

/* ---------- multi-page ---------- */
header nav a.nl[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .14em; text-underline-offset: .3em; }
.page-top { padding-top: 72px; }
.page-h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.035em; }

/* home: the one number, as a door to the work page */
.teaser { padding-block: 0; }
.teaser-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; text-decoration: none; color: var(--green); border-top: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); padding-block: 40px; }
.teaser-card .t-num { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 9vw, 128px); letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.teaser-card .t-num i { font-style: normal; color: var(--ink-soft); font-size: .5em; vertical-align: middle; }
.teaser-card .t-copy { color: var(--ink-soft); font-size: 18px; max-width: 34ch; }
.teaser-card .t-copy b { display: block; color: var(--green); font-family: var(--display); font-size: 24px; letter-spacing: -.01em; margin-bottom: 4px; }
.teaser-card .t-go { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.teaser-card:hover .t-go { text-decoration-thickness: .16em; }

/* book page */
.booking .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.book-head { position: sticky; top: calc(var(--head) + 32px); }
.book-facts { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1.5px solid var(--green); }
.book-facts li { padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 16px; }
.book-facts b { display: block; color: var(--green); font-size: 17px; }
.book-facts .copy { user-select: all; color: var(--green); font-weight: 700; }
.picker { border: 0; border-top: 1.5px solid var(--green); margin: 0; padding: 0; min-width: 0; }
/* a floated legend sits inside the box instead of cutting into its top border */
.picker legend { float: left; width: 100%; padding-top: 20px !important; }
.picker .days { clear: both; }
.picker legend { font-family: var(--display); font-weight: 800; font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -.02em; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.picker legend span { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); }
.days { margin-top: 16px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.times button { font: inherit; cursor: inherit; border: 1.5px solid var(--line); background: #fff; color: var(--green); border-radius: var(--radius); }
.times { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.times button { padding: 11px 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.times button:hover:not(:disabled) { border-color: var(--green); }
/* a booked time stays in the grid, crossed out, so nobody can pick it */
.times button.taken { position: relative; color: var(--ink-soft); background: var(--off-2); border-color: var(--line); cursor: not-allowed; opacity: .75; }
.times button.taken span { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.times button.taken::before, .times button.taken::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 2.5px; background: var(--green); border-radius: 2px; }
.times button.taken::before { transform: translate(-50%, -50%) rotate(45deg); }
.times button.taken::after { transform: translate(-50%, -50%) rotate(-45deg); }
.times-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.times-note i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; background: linear-gradient(45deg, transparent 44%, var(--green) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--green) 44% 56%, transparent 56%), var(--off-2); border: 1px solid var(--line); }
/* managing an existing booking */
.manage { border: 1.5px solid var(--green); background: #fff; padding: 32px; display: grid; gap: 14px; }
.manage h2 { font-size: clamp(32px, 4vw, 48px); }
.manage .when { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.manage .when.cancelled { text-decoration: line-through; color: var(--ink-soft); }
.m-note { color: var(--ink-soft); }
.m-actions, .m-confirm { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.m-confirm p { flex-basis: 100%; font-weight: 700; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn.ghost:hover { background: var(--off-2); }
.btn.danger { background: #8E1F25; }
.btn.danger:hover { background: #A3262B; }
.manage .picker { margin-top: 8px; }
.manage .picker .send { margin-top: 18px; }
.manage-link { margin-top: 18px; padding: 14px 16px; background: var(--off-2); font-size: 15px; display: grid; gap: 8px; }
.manage-link code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; user-select: all; color: var(--green); }
.times button[aria-pressed="true"] { background: var(--chrome); border-color: var(--green); box-shadow: inset 0 1px 0 #fff; }
.loading { color: var(--ink-soft); font-size: 16px; }
.booked { border: 1.5px solid var(--green); background: #fff; padding: 36px; }
.booked h2 { font-size: clamp(36px, 4.6vw, 56px); }
.booked .when { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.booked p { margin-top: 10px; color: var(--ink-soft); }
.booked .row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

@media (max-width: 900px) {
  .booking .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .book-head { position: static; }
  .teaser-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .page-top { padding-top: 48px; }
}
@media (max-width: 620px) { .who { grid-template-columns: minmax(0, 1fr); } }

.manage .formmsg:empty { display: none; }

/* booking: four contact fields in two rows, and the month calendar */
.who { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.who .opt { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
@media (max-width: 620px) { .who { grid-template-columns: minmax(0, 1fr) !important; } }
.days { display: block; overflow: visible; padding: 0; }
.cal { max-width: 420px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 14px 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.cal-nav { display: grid; place-items: center; padding: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--off); color: var(--green); font: 700 20px/1 var(--body); cursor: inherit; }
.cal-nav:disabled { opacity: .3; }
.cal-nav:hover:not(:disabled) { border-color: var(--green); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-dow { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); padding-block: 4px; }
.cal-off { padding: 10px 0; color: #B9B4A5; font-variant-numeric: tabular-nums; }
.cal-day { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; aspect-ratio: 1; max-width: 46px; width: 100%; justify-self: center; background: var(--off-2); color: var(--green); font: 700 15px var(--body); font-variant-numeric: tabular-nums; cursor: inherit; }
.cal-day:hover { background: #D9D4C4; }
.cal-day.on { background: var(--green); color: var(--off); }
.times-head { grid-column: 1 / -1; font-weight: 700; font-size: 15px; margin: 6px 0 2px; }

/* "already booked?" lookup under the facts */
.find { margin-top: 28px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); }
.find summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; }
.find summary::-webkit-details-marker { display: none; }
.find summary::after { content: "+"; font-family: var(--mono); }
.find[open] summary::after { content: "–"; }
.find form { display: grid; gap: 8px; padding: 0 16px 16px; }
.find label { font-weight: 700; font-size: 14px; }
.find input { font: inherit; font-size: 16px; color: var(--green); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--off); }
.find .btn { justify-self: start; margin-top: 6px; padding: 11px 18px; font-size: 16px; }
.linkish { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: .2em; cursor: inherit; }
