/* RUO Consulting landing page.
   The look: a white page, navy type and bands, blue for actions, one type scale and one spacing scale:
   the page is white, navy speaks, blue acts. Navy is the second colour and carries a few bands. Change values in :root only. */

@font-face { font-family: "Uxum Grotesque"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/uxum-400.woff2") format("woff2"); }
@font-face { font-family: "Uxum Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/uxum-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  /* colour · blue acts, navy speaks, the page is white */
  --act: #3d86ff;                 /* the one filled action, live markers */
  --act-hover: #2e78ff;
  --act-active: #1b63e8;
  --deep: #1a294a;                /* all text */
  --navy: #233253;                /* dark bands and the footer */
  --ground: #ffffff;              /* the page */
  --wash: #eef3fb;                /* tiles, picture slots, quiet fills */
  --hover: #f6f8fb;               /* every hover fill */
  --mark: #bad3ff;               /* the marker behind one phrase of a headline */
  --muted: #5b6680;               /* secondary copy and labels */
  --line: #d9dee8;                /* the one hairline */
  --on-deep: #ffffff;
  --on-deep-muted: rgba(255, 255, 255, 0.62);
  --line-on-deep: rgba(255, 255, 255, 0.14);
  --blue-200: #8fb8ff;            /* links and marks on navy */

  --font: "Uxum Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* shape · radius by size, nothing above 10 but the pill and the bands */
  --radius-1: 3px;
  --radius-2: 6px;
  --radius-3: 10px;
  --btn-radius-rest: 50px;
  --btn-radius-active: var(--radius-3);
  --band-round: 48px;
  --hl-pad: 0.14em;
  --hl-radius: 0.14em;
  --rim-act: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(26, 41, 74, 0.16);

  /* space · 4px base, every distance is one of these */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* layout */
  --frame: 960px;                 /* the text column */
  --page-margin: 40px;
  --btn-h: 60px;                  /* big, easy-to-hit buttons */
  --measure: 640px;

  /* type */
  --tracking-display: -0.035em;
  --tracking-heading: -0.025em;
  --tracking-body: -0.01em;
  --tracking-label: 0.08em;

  /* motion · strong custom curves, never the keywords */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 160ms;
  --dur-menu: 180ms;
  --press-scale: 0.97;

  /* transitions.dev names the page's own motion still reads */
  --duration-stagger: 40ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: var(--ease);
  --distance-base: 8px;
  --distance-medium: 12px;
  --blur-medium: 3px;

  /* uiarc motion presets (arc-foundation) */
  --arc-ease-enter: cubic-bezier(.16, 1, .3, 1);
  --arc-ease-standard: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: linear(0, 0.0258, 0.09, 0.1763, 0.2732, 0.3724, 0.4683, 0.5573, 0.6376, 0.7082, 0.7689, 0.8202, 0.8628, 0.8976, 0.9256, 0.9476, 0.9648, 0.9778, 0.9875, 0.9945, 0.9994, 1.0026, 1.0047, 1.0058, 1.0062, 1.0062, 1.0059, 1.0055, 1.0049, 1.0043, 1.0036, 1.0031, 1.0025, 1.002, 1.0016, 1.0013, 1);
  --arc-spring-dur: 580ms;
  --arc-smooth: 420ms;

  /* Modal (booking window) */
  --modal-open-dur: 250ms;
  --modal-close-dur: 150ms;
  --modal-scale: 0.96;
  --modal-scale-close: 0.96;
  --modal-ease: var(--ease);

  /* Texts reveal (hero) */
  --stagger-dur: 500ms;
  --stagger-distance: 12px;
  --stagger-stagger: 40ms;
  --stagger-blur: 3px;
  --stagger-ease: var(--ease);

  /* Shimmer (booking loader) */
  --shimmer-dur: 2000ms;
  --shimmer-base: #5b6680;
  --shimmer-highlight: #ffffff;
  --shimmer-band: 400%;
  --shimmer-ease: linear;

  color-scheme: light;
}
@media (max-width: 1023px) { :root { --page-margin: 32px; } }
@media (max-width: 759px)  { :root { --page-margin: 20px; --band-round: 36px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgb(26 41 74 / 0.28) transparent; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { border-radius: 8px; background: rgb(26 41 74 / 0.28); }
html::-webkit-scrollbar-thumb:hover { background: rgb(26 41 74 / 0.45); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;   /* a short page keeps its footer on the bottom edge */
  background: var(--ground);
  color: var(--deep);
  font-family: var(--font);
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* the bar, main and the footer stand in one wrapper, so the whole page can be held still behind the booking on a touch screen */
.page { display: flex; flex-direction: column; flex: 1 0 auto; }
main { flex: 1 0 auto; }
::selection { background: var(--mark); color: var(--deep); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: from-font; text-underline-position: from-font; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--act-active); outline-offset: 2px; }

/* the frame · 960 wide, 40 at the sides (32 under 1024, 20 under 760) */
.wrap {
  width: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  padding-inline: max(var(--page-margin), env(safe-area-inset-left)) max(var(--page-margin), env(safe-area-inset-right));
}

/* Type · every line height lands on the 4px grid */
h1, h2, h3 { color: var(--deep); font-weight: 400; text-wrap: balance; }
h1 { font-size: 64px; line-height: 68px; letter-spacing: var(--tracking-display); }
h2 { font-size: 44px; line-height: 48px; letter-spacing: var(--tracking-display); }
h3 { font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: -0.015em; }
.lede { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; color: var(--muted); max-width: 36ch; text-wrap: pretty; }
p { text-wrap: pretty; }
@media (max-width: 1023px) {
  h1 { font-size: 44px; line-height: 48px; }
  h2 { font-size: 36px; line-height: 40px; }
}
@media (max-width: 759px) {
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 30px; line-height: 36px; }
  .lede { font-size: 17px; line-height: 28px; }
}
/* the marker · one phrase of a headline on a blue box, same size and weight: the accent as punctuation */
.hl { background: var(--mark); color: var(--deep); padding: 0 var(--hl-pad); margin: 0 -.02em; border-radius: var(--hl-radius); white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Icons (Phosphor Regular) */
.ico { width: 1em; height: 1em; flex: none; }

/* The button · a pill at rest, tightens to the box corner when you reach for it */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius-rest);
  background: var(--act);
  box-shadow: var(--rim-act);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* leaving: the pill comes back slow-fast-slow; arriving is quick (below) */
  transition: border-radius 360ms var(--ease-in-out), background-color var(--dur-menu) var(--ease), transform var(--dur-press) var(--ease);
}
.btn:hover, .btn:focus-visible { transition: border-radius var(--dur-menu) var(--ease), background-color var(--dur-menu) var(--ease), transform var(--dur-press) var(--ease); }
.btn .ico { font-size: 18px; transition: transform var(--dur-menu) var(--ease); }
@media (max-width: 399px) { .btn { padding: 0 20px; font-size: 17px; } }   /* the longest label still fits a small phone's full-width button */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-radius: var(--btn-radius-active); background: var(--act-hover); }
  .btn:hover .ico { transform: translateX(3px); }
}
.btn:focus-visible { border-radius: var(--btn-radius-active); }
.btn:active { background: var(--act-active); transform: scale(var(--press-scale)); }
@media (max-width: 759px) {
  .cta-row .btn, .hero .btn { width: 100%; }
}

/* CTA between sections */
.cta-row { display: flex; justify-content: center; margin-top: var(--space-7); }
@media (max-width: 759px) { .cta-row { margin-top: var(--space-6); } }

/* Hero: headline, the line under it and the button on the frame's left edge; the screenshot under them */
.hero { padding: var(--space-9) 0 var(--space-8); }
.hero-copy { display: grid; justify-items: start; }
.hero-copy > .t-stagger-line { justify-self: stretch; }
.hero-copy > * + * { margin-top: var(--space-5); }
.hero-copy > .lede + * { margin-top: var(--space-6); }
.hero h1 .line { display: block; }
@media (max-width: 759px) {
  .hero { padding: var(--space-7) 0 var(--space-8); }
}

/* Screenshot slots: swap each for an <img> when the real screenshot arrives. A wash tile, no border, the box corner */
.slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-3);
  background: var(--wash);
  color: var(--muted);
}
.slot.t-stagger-line { display: grid; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot:has(img) { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.slot-label { padding: 0 var(--space-4); font-size: 13px; line-height: 20px; text-align: center; }

/* Brands we built, under the hero: a native rebuild of uiarc's carousel and card, in this site's look. The active card
   sits in the centre and its neighbours shrink and dim with their distance (main.js, every frame); the controls line up with the centred card.
   It sits on the text column like every other block (full width on phones, for the peek). Cards: white, one hairline, the box corner, no shadow */
.car {
  --car-slide: min(80cqw, 340px);
  --car-gap: var(--space-4);
  --car-start: 1;
  display: grid;
  gap: var(--space-5);
  min-width: 0;
  margin-top: var(--space-8);
  container-type: inline-size;
}
@media (max-width: 759px) { .car { margin-inline: calc(-1 * var(--page-margin)); } }   /* phones: full width, so the side cards peek in; from 760px it sits on the text column like every other block */
.car.t-stagger-line { display: grid; }
.car-title { padding-inline: var(--page-margin); color: var(--muted); font-size: 15px; line-height: 24px; font-weight: 400; letter-spacing: var(--tracking-body); text-align: center; }
@media (max-width: 759px) { .car { --car-slide: 70cqw; --car-gap: 10px; margin-top: var(--space-7); } }   /* the cards either side show about 35px, enough to see and tap */
/* the cards either side dissolve at the frame's edges with a strip fade (a little clear, then a smoothstep ramp), not a hard cut */
.car-viewport {
  --car-mask: transparent 0, transparent 17px, rgba(0,0,0,.034) 25px, rgba(0,0,0,.126) 33px, rgba(0,0,0,.259) 41px, rgba(0,0,0,.417) 49px, rgba(0,0,0,.583) 57px, rgba(0,0,0,.741) 65px, rgba(0,0,0,.874) 73px, rgba(0,0,0,.966) 81px, #000 89px;
  position: relative;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
  cursor: grab;
  touch-action: pan-y pinch-zoom;   /* the page still zooms with two fingers over the cards */
  -webkit-tap-highlight-color: transparent;
  -webkit-mask-image: linear-gradient(to right, var(--car-mask)), linear-gradient(to left, var(--car-mask));
  mask-image: linear-gradient(to right, var(--car-mask)), linear-gradient(to left, var(--car-mask));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 759px) {
  .car-viewport { --car-mask: transparent 0, transparent 3px, rgba(0,0,0,.126) 7px, rgba(0,0,0,.417) 11px, rgba(0,0,0,.741) 15px, rgba(0,0,0,.966) 19px, #000 22px; }   /* a short fade, so the peek stays visible */
}
.car-viewport[data-dragging] { cursor: grabbing; }
.car-viewport:focus-visible { outline: none; }
.car-viewport { padding-block: 6px; margin-block: -6px; }
@supports not (overflow: clip) { .car-viewport { overflow: hidden; } }   /* older iPhones: no sideways page scroll from the ring */   /* room inside the mask for the card's focus ring, above and below */
.car-viewport:focus-visible .car-slide:not([inert]) .bcard { outline: 2px solid var(--act-active); outline-offset: 2px; }   /* the ring goes on the card on show: the viewport's own edges are faded away by its mask */
/* the ring: every card stands in the same middle spot and main.js moves each one out by its distance on the ring, every frame */
.car-track { display: grid; user-select: none; -webkit-user-select: none; }
.car-slide { grid-area: 1 / 1; justify-self: center; width: var(--car-slide); min-width: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.car-track:not([data-measured]) .car-slide:not(:nth-child(2)) { visibility: hidden; }   /* before the first measure only the start card shows */
.car-slide img { -webkit-user-drag: none; }
.car-controls { display: flex; align-items: center; gap: var(--space-2); min-width: 0; padding-inline: calc((100cqw - var(--car-slide)) / 2); }
@media (max-width: 759px) { .car-controls { padding-inline: var(--page-margin); } .car .car-tab { padding: 0 7px; } }   /* on the page gutter, with dots wide enough to tap */
.car-tabs { display: flex; align-items: center; min-width: 0; }
.car-tab { display: grid; place-items: center; height: 36px; flex: none; padding: 0 5px; border: 0; border-radius: var(--btn-radius-rest); background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.car-dot { position: relative; display: block; width: 6px; height: 6px; overflow: hidden; border-radius: var(--btn-radius-rest); background: #8b93a7; transition: background-color var(--dur-menu) var(--ease); }   /* 3:1 on white, so a resting dot can be seen */
.car-dot-fill, .car-dot-drain { position: absolute; inset: 0; }
.car-dot-fill { background: var(--deep); opacity: 0; }
.car-dot-drain { background: #8b93a7; transform: scaleX(0); transform-origin: 100% 50%; }
@media (hover: hover) and (pointer: fine) { .car-tab:hover .car-dot { background: var(--deep); } }
.car-tab:focus-visible { outline: 2px solid var(--act-active); outline-offset: -4px; }
.car-arrows { display: flex; flex: none; gap: var(--space-2); margin-left: auto; }
.car-ctl { display: grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: var(--btn-radius-rest); background: #ffffff; color: var(--deep); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur-menu) var(--ease), opacity var(--dur-menu) var(--ease), transform var(--dur-press) var(--ease); }
.car-ctl .ico { font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .car-ctl:hover:not([aria-disabled="true"]) { background: var(--hover); } }
.car-ctl:active:not([aria-disabled="true"]) { transform: scale(var(--press-scale)); }
.car-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bcard { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-3); background: #ffffff; transition: transform 300ms var(--ease), border-color var(--dur-menu) var(--ease); }
@media (hover: hover) and (pointer: fine) { .bcard:hover { transform: translateY(-2px); border-color: rgb(26 41 74 / 0.24); } }
.bcard-media { aspect-ratio: 4 / 3; border-radius: 0; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bcard-body { display: grid; gap: var(--space-1); padding: var(--space-5); }
.bcard-title { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
/* the card opens the brand's site in a new tab: the name is the link and its hit area covers the whole card. A tap on a side
   card still only brings it to the middle (main.js swallows that click), and a drag never opens it */
.bcard { position: relative; }
.bcard-link { color: inherit; text-decoration: none; }
.bcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bcard-link:focus-visible { outline: none; }
.bcard:has(.bcard-link:focus-visible) { outline: 2px solid var(--act-active); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .car-slide:not([inert]) .bcard:hover .bcard-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
.bcard-domain { display: inline-flex; align-items: center; gap: 6px; }
.bcard-domain .ico { font-size: 13px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bcard-domain { font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bcard, .car-ctl, .car-dot { transition: none; } }


/* Sections · no dividers: 64 above and below, so two sections sit 128 apart. A title sits 32 over what it names */
.section { padding: var(--space-8) 0; }
.section-head { margin-bottom: var(--space-6); }
@media (max-width: 759px) { .section-head { margin-bottom: var(--space-5); } }

/* A navy band: the second colour. Rounded at the top only, square where it meets the white under it,
   white type, the same hairline at 14% */
.section--navy {
  --line: var(--line-on-deep);
  --muted: var(--on-deep-muted);
  padding-block: var(--space-9);
  border-radius: var(--band-round) var(--band-round) 0 0;
  background: var(--navy);
  color: var(--on-deep);
}
.section--navy h2, .section--navy h3 { color: var(--on-deep); }
.section--navy :focus-visible { outline-color: var(--blue-200); }
@media (max-width: 759px) { .section--navy { padding-block: var(--space-8); } }

/* Problems: 2 x 2 on desktop, list on mobile. Rows on hairlines, a bare mark, no tile behind it */
.problem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
}
.problem-mark { display: grid; place-items: center; width: 24px; height: 24px; color: var(--blue-200); font-size: 18px; }
.problem h3 { margin-bottom: var(--space-2); }
.problem p { max-width: 44ch; color: var(--muted); }
@media (min-width: 760px) {
  .problems-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-8); }
  .problem { padding: var(--space-6) 0; }
}

/* What you get: a tabbed list in this site's own look and motion. The offer is a numbered list
   on hairlines that steps through itself: a thin blue line fills under the item on show as the clock to the next one, and that item's panel
   (its promise, one line and three ticks, text only) stands beside the list on a computer and under it on a phone. The panels share one grid cell, so
   the block is as tall as the tallest panel and nothing below it moves when the item changes. No boxes, no icon tiles */
.feat { display: grid; gap: var(--space-7); }
@media (min-width: 760px) { .feat { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-7); align-items: start; } }
@media (min-width: 1024px) { .feat { gap: var(--space-8); } }
.feat-tabs { display: grid; border-top: 1px solid var(--line); }
.feat-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-4) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--dur-menu) var(--ease);
}
.feat-num { flex: none; width: 2ch; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.feat-tab[aria-selected="true"] { color: var(--deep); font-weight: 700; }
.feat-tab[aria-selected="true"] .feat-num { color: var(--act-active); }
@media (hover: hover) and (pointer: fine) { .feat-tab:hover { color: var(--deep); } }
.feat-tab:focus-visible { outline-offset: 2px; border-radius: var(--radius-2); }
.feat-kicker { display: none; }
.feat-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--act); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.feat-panels { display: grid; }
.feat-panel {
  grid-area: 1 / 1;
  display: grid;
  gap: var(--space-6);
  align-content: start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--distance-base));
  filter: blur(2px);
  transition: opacity 150ms var(--ease), visibility 0s linear 150ms, transform 0s linear 150ms, filter 0s linear 150ms;
}
.feat-panel.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease), filter 400ms var(--ease), visibility 0s; }
.feat-copy { display: grid; gap: var(--space-3); align-content: start; }
.feat-copy h3 { font-size: 30px; line-height: 36px; font-weight: 400; letter-spacing: var(--tracking-heading); }
.feat-copy p { max-width: 52ch; color: var(--muted); }
/* on a phone there are no tabs: the eight items stand one under the other
   on hairlines, each with its number and name, its promise, its line and its ticks (main.js, list mode) */
@media (max-width: 759px) {
  .feat-tabs { display: none; }
  .feat-panel {
    grid-area: auto;
    padding-block: var(--space-6);
    border-top: 1px solid var(--line);
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    transition: none;
  }
  .feat-panel:last-child { border-bottom: 1px solid var(--line); }
  .feat-copy .feat-kicker { display: flex; gap: var(--space-2); font-size: 15px; line-height: 24px; font-weight: 700; letter-spacing: -0.015em; color: var(--deep); }
  .feat-copy .feat-kicker span { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--act-active); }
  .feat-copy h3 { font-size: 24px; line-height: 28px; }
}
@media (hover: none) { .feat-panel { filter: none; } }
.offer-checks { display: grid; gap: var(--space-2); margin-top: var(--space-1); }
.offer-checks li { display: flex; align-items: center; gap: var(--space-2); }
.offer-checks .ico { font-size: 16px; color: var(--act-active); }

/* How it works: five numbered steps joined by one hairline, which fills blue from the first step to the last as the row
   scrolls in (.is-in, from the page's reveal). Across the frame from 1024px, the line on top through each step's dot; below that the steps
   stack and the line runs down the left. No boxes */
.how { --how-dot: 11px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.how::before, .how::after { content: ""; position: absolute; top: calc(var(--how-dot) / 2 - 0.5px); left: 0; right: calc((100% - 4 * var(--space-5)) / 5 - var(--how-dot) / 2); height: 1px; background: var(--line); }   /* from the first dot to the last */
.how::after { height: 2px; margin-top: -0.5px; background: var(--act); transform: scaleX(0); transform-origin: left center; transition: transform 1400ms linear 200ms; }   /* an even pace, so each dot can light as the line reaches it */
.how.is-in::after { transform: scaleX(1); }
.how-step { position: relative; display: grid; gap: var(--space-2); align-content: start; padding-top: calc(var(--how-dot) + var(--space-5)); }
.how-step::before { content: ""; position: absolute; top: 0; left: 0; z-index: 2; width: var(--how-dot); height: var(--how-dot); border: 2px solid var(--act); border-radius: 50%; background: #ffffff; transition: background-color 160ms var(--ease) calc(200ms + var(--at, 0) * 1400ms); }   /* --at: the dot's place along the line, 0 to 1 (main.js) */
.how.is-in .how-step::before { background: var(--act); }
.how-num { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0; color: var(--act-active); }
.how-step h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
.how-step p { color: var(--muted); }
@media (max-width: 1023px) {
  .how { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how::before, .how::after { top: 6px; bottom: 6px; left: calc(var(--how-dot) / 2 - 0.5px); right: auto; width: 1px; height: auto; }
  .how::after { width: 2px; margin-top: 0; margin-left: -0.5px; transform: scaleY(0); transform-origin: center top; }
  .how.is-in::after { transform: scaleY(1); }
  .how-step { grid-template-columns: minmax(0, 1fr); padding: 0 0 var(--space-6) calc(var(--how-dot) + var(--space-5)); }
  .how-step:last-child { padding-bottom: 0; }
  .how-step:last-child::after { content: ""; position: absolute; top: calc(var(--how-dot) / 2 + 2px); bottom: 0; left: 0; z-index: 1; width: var(--how-dot); background: #ffffff; }   /* the line stops at the last dot */
  .how-step::before { top: 2px; }
  .how-step p { max-width: 44ch; }
}
@media (prefers-reduced-motion: reduce) { .how::after, .how-step::before { transition: none; } }

/* FAQ: native rebuild of uiarc faq-section (accordion variant) + accordion, in the kit's type: questions on hairlines */
.faq-stack { display: grid; gap: var(--space-6); max-width: 720px; margin: 0 auto; }
.faq-intro { display: grid; gap: var(--space-5); justify-items: center; text-align: center; }
.faq-intro p { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 28px; letter-spacing: -0.015em; }
@media (max-width: 759px) { .faq-intro { justify-items: start; text-align: left; } }   /* phones: on the left edge like every other heading */
.faq-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font: inherit; letter-spacing: inherit; }
.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border: 0;
  background: none;
  color: var(--deep);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 24px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-trigger:focus-visible { outline-offset: 2px; border-radius: var(--radius-2); }
.faq-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
  transition: transform var(--arc-spring-dur) var(--ease-spring), color var(--duration-quick) var(--ease);
}
.faq-item[data-open] .faq-icon { color: var(--deep); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq-trigger:hover .faq-icon { color: var(--deep); } }
/* Height follows the content; closed answers leave the accessibility tree once they finish collapsing */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows var(--arc-smooth) var(--arc-ease-standard),
    opacity 120ms var(--arc-ease-standard),
    visibility 0s linear var(--arc-smooth);
}
.faq-item[data-open] .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows var(--arc-smooth) var(--arc-ease-standard),
    opacity 200ms var(--arc-ease-enter),
    visibility 0s;
}
.faq-panel-inner { overflow: hidden; min-height: 0; }
/* The answer settles down into place with a brief focus pull */
.faq-answer {
  max-width: 66ch;
  padding: 0 var(--space-7) var(--space-4) 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
  transform: translateY(-6px);
  filter: blur(2px);
  transition: transform 120ms var(--arc-ease-standard), filter 120ms var(--arc-ease-standard);
}
.faq-item[data-open] .faq-answer {
  transform: none;
  filter: none;
  transition: transform var(--arc-smooth) var(--arc-ease-standard), filter 220ms var(--arc-ease-enter);
}
/* a box that stands alone: white, one hairline, the box corner. The fill is the site's hover */
.faq-contact {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  background: #ffffff;
  color: var(--deep);
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-press) var(--ease), background-color var(--dur-menu) var(--ease);
}
.faq-contact:active { transform: scale(.99); }
.faq-contact-text { display: grid; min-width: 0; }
.faq-contact-text > span:first-child { font-weight: 700; letter-spacing: -0.015em; }
.faq-contact-text > span:last-child { color: var(--muted); }
.faq-contact .ico { width: 16px; height: 16px; color: var(--muted); transition: transform var(--dur-menu) var(--ease), color var(--dur-menu) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .faq-contact:hover { background: var(--hover); }
  .faq-contact:hover .ico { color: var(--deep); transform: translateX(3px); }
}
@media (max-width: 520px) {
  .faq-answer { padding-right: var(--space-2); }
}

/* Closing: the hero's headline again, on navy: the h1's size
   at every width, on the frame's left edge, the button 32 under it. Its head is turned like a band's and the footer carries on under it */
.closing-copy { display: grid; gap: var(--space-6); justify-items: start; }
.closing h2 { font-size: 64px; line-height: 68px; letter-spacing: var(--tracking-display); }
@media (max-width: 1023px) { .closing h2 { font-size: 44px; line-height: 48px; } }
@media (max-width: 759px)  { .closing h2 { font-size: 36px; line-height: 40px; } }
.closing-copy > .reveal:last-child { justify-self: stretch; }
.section--navy.closing { margin-top: var(--space-8); padding-bottom: var(--space-9); }
.closing .cta-row { margin-top: 0; justify-content: flex-start; }

/* Legal pages · the document at the measure, numbered sections as in the source PDFs; the clauses the law wants
   conspicuous are bold rather than capitals (no uppercase on the site) */
.legal { padding: var(--space-8) 0 var(--space-10); }
.legal h1 { font-size: 44px; line-height: 48px; }
.legal-meta { margin-top: var(--space-3); color: var(--muted); font-size: 13px; line-height: 20px; }
.legal-meta span { display: block; }
.legal-doc { max-width: var(--measure); margin-top: var(--space-7); }
.legal-doc > * + * { margin-top: var(--space-4); }
.legal-doc > h2 { margin-top: var(--space-7); font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: -0.015em; }
.legal-doc > h3 { margin-top: var(--space-5); font-size: 15px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
.legal-doc > h2 + *, .legal-doc > h3 + * { margin-top: var(--space-2); }
.legal-doc ul { padding-left: 20px; list-style: disc; }
.legal-doc li + li { margin-top: var(--space-2); }
.legal-doc li::marker { color: var(--muted); }
.legal-doc a, .legal-back a { color: var(--deep); text-decoration: underline; }
.legal-back { margin-top: var(--space-8); }
@media (max-width: 1023px) { .legal h1 { font-size: 36px; line-height: 40px; } }
@media (max-width: 759px)  { .legal { padding: var(--space-7) 0 var(--space-9); } .legal h1 { font-size: 30px; line-height: 36px; } }

/* Footer: native rebuild of uiarc site-footer (minimal variant), navy with white type and muted lines.
   One hairline over it, faded at both ends; the fine print stands in three columns */
.foot { --hair-foot: linear-gradient(to right, transparent 0, var(--line-on-deep) 80px, var(--line-on-deep) calc(100% - 80px), transparent 100%); background: var(--navy); color: var(--on-deep-muted); }
main.legal + .foot { border-radius: var(--band-round) var(--band-round) 0 0; }
main:not(.legal) + .foot > .foot-inner { border-top: 1px solid var(--line-on-deep); border-image: var(--hair-foot) 1; }
.foot-inner { padding-block: var(--space-7) var(--space-8); }
main.legal + .foot > .foot-inner { padding-top: var(--space-8); }
.foot-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-6); font-size: 13px; line-height: 20px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); margin: 0; padding: 0; list-style: none; }
.foot-links a { display: inline-flex; padding: 2px 0; color: var(--on-deep-muted); text-decoration: none; transition: color var(--dur-menu) var(--ease); }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--on-deep); }
.foot-copy { color: var(--on-deep); }
.foot-fine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); margin-top: var(--space-7); font-size: 13px; line-height: 20px; }
.foot :focus-visible { outline-color: var(--blue-200); }
@media (max-width: 1023px) { .foot-fine { grid-template-columns: 1fr; } }
@media (max-width: 759px) {
  .foot { --hair-foot: linear-gradient(to right, transparent 0, var(--line-on-deep) 24px, var(--line-on-deep) calc(100% - 24px), transparent 100%); }
  .foot-fine { margin-top: var(--space-6); }
  .foot-links { row-gap: var(--space-2); }
}

/* Announcement bar: native rebuild of uiarc announcement-bar, not dismissible, no controls. A navy band over the white page */
/* the bar is sticky and blue: it carries the October spots */
.announce { position: sticky; top: 0; z-index: 25; overflow: hidden; container-type: inline-size; }
.announce-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 4px var(--space-4);
  background: var(--act-active);
  color: var(--on-deep);
}
.announce-viewport { position: relative; min-height: 32px; overflow: hidden; transition: height var(--arc-smooth) var(--arc-ease-standard); }
.announce-face { position: absolute; inset: 0 0 auto 0; display: flex; min-height: 32px; align-items: center; justify-content: center; }
.announce-face:not(.is-current) { visibility: hidden; }
.announce-message { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 12px; margin: 0; padding: 6px 0; font-size: 13px; line-height: 20px; text-align: center; text-wrap: balance; }
.announce-cta { display: inline-flex; align-items: center; gap: 4px; color: #ffffff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: color var(--dur-menu) var(--ease); }
.announce-cta:hover { color: var(--on-deep); }
.announce-cta .ico { width: 14px; height: 14px; transition: transform var(--dur-menu) var(--ease); }
@media (hover: hover) and (pointer: fine) { .announce-cta:hover .ico { transform: translateX(2px); } }
/* Next rises from below and leaves upward */
.announce.is-rotating .announce-face { transition: transform 460ms var(--ease-spring), opacity 240ms var(--arc-ease-enter), filter 280ms var(--arc-ease-enter); }
.announce-face.is-entering { transform: translateY(70%); opacity: 0; filter: blur(4px); visibility: visible; transition: none !important; }
.announce-face.is-leaving { transform: translateY(-60%); opacity: 0; filter: blur(4px); visibility: visible; transition: transform 460ms var(--ease-spring), opacity 160ms var(--arc-ease-standard), filter 160ms var(--arc-ease-standard) !important; }
@container (max-width: 560px) {
  .announce-bar { padding-left: 14px; }
  .announce-face { justify-content: flex-start; }
  .announce-message { justify-content: flex-start; column-gap: 10px; text-align: left; }
}


/* Page skeleton: the page's sections copied over <main>, words as bars, controls and pictures as washes,
   pulsing until the fonts and the hero are in; then it fades while the page rises. The page stays unseen under it (html.is-wait) */
.sk { position: absolute; top: 0; left: 0; right: 0; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.sk.is-over { opacity: 0; transition: opacity 240ms var(--ease); }
html.is-wait main > :not(.sk) { visibility: hidden; }
.sk-t { color: transparent !important; -webkit-text-fill-color: transparent; text-decoration: none !important; }
.sk :is(span, a, b, i, em, strong, small, cite, code):not(.sk-box):not(.sk-bar) { background: none !important; border-color: transparent !important; box-shadow: none !important; }
.sk-bars { position: absolute; inset: 0; }
.sk-bar, .sk-box { background: rgb(140 152 184 / 0.22) !important; animation: sk-pulse 1.6s ease-in-out infinite; }
.sk-bar { position: absolute; display: block; border-radius: 4px; }
.sk-box { color: transparent !important; -webkit-text-fill-color: transparent; border-color: transparent !important; box-shadow: none !important; }
.sk-box *, .sk-box::before, .sk-box::after { visibility: hidden; }
.sk .how-step::before { border-color: transparent; background: rgb(140 152 184 / 0.22); animation: sk-pulse 1.6s ease-in-out infinite; }
@keyframes sk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .sk.is-over { transition: none; } .sk-bar, .sk-box { animation: none; } }


/* Booking: the Cal embed on its own over the blurred page, with the close button above it. No window around it:
   Cal sizes itself as the visitor picks a day and a time, and the layer scrolls when it gets tall */
.book {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}
.book.is-open { pointer-events: auto; }
.book-scrim {
  position: fixed;
  inset: 0;
  background: rgb(26 41 74 / 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity var(--modal-close-dur) var(--modal-ease);
}
.book.is-open .book-scrim { opacity: 1; transition-duration: var(--modal-open-dur); }
/* Auto margins centre it while it fits and let it scroll from the top once it doesn't */
.book-stage { position: relative; width: min(1040px, 100%); margin: auto; }
.book-stage:focus { outline: none; }
/* Close sits above the card, flush with its right edge. On desktop Cal's card is 1040px on the calendar and 760px on the
   form; main.js flags the form (.is-form) from Cal's height, and the row narrows with it */
.book-top {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 auto 12px;
  transition: width 300ms var(--ease);
}
@media (min-width: 1064px) { .book.is-form .book-top { width: 760px; } }
.book-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--deep);
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-menu) var(--ease), transform var(--dur-press) var(--ease);
}
.book-close:active { transform: scale(var(--press-scale)); }
@media (hover: hover) { .book-close:hover { background: var(--hover); } }
.book-body { position: relative; }
.book:not(.is-ready) .book-body { min-height: min(480px, 70dvh); }
.book-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  --shimmer-base: rgb(255 255 255 / 0.7);
  transition: opacity var(--duration-fast) var(--ease);
}
.book.is-ready .book-loading { opacity: 0; pointer-events: none; }
#cal-45mins { position: relative; width: 100%; }
/* A closed layer has no box at all, so Cal's own scroll-into-view cannot move the page under it */
.book.is-away { display: none; }
/* a closed layer is never a scroller (the phone scroll freeze): before the first open the layer was still laid out, and once Cal
   had preloaded into it, it was an invisible full-screen scroller with overscroll contained, which the iPhone gave the page's swipes to.
   It now starts out of the layout (is-away in the markup), and while it is not open it cannot scroll at all */
.book:not(.is-open) { overflow: hidden; }
/* On a touch screen the booking looks as it does with a mouse: the page blurred behind, the card over it. But the layer
   sits in the flow and the browser's own scrolling carries it, because inside a fixed layer with its own scrolling a swipe
   that starts on Cal's iframe went nowhere on iOS. The page itself is held still where it was (main.js sets --page-top to
   the scroll position it had) and the same scrim blurs it */
@media (hover: none) {
  html.is-paged .page { position: fixed; top: var(--page-top, 0px); left: 0; right: 0; }
  html.is-paged .book { position: relative; inset: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
  html.is-paged .book-stage { margin: 0 auto; }
}

/* Modal (transitions.dev 06) */
.t-modal {
  transform-origin: center;
  transform: scale(var(--modal-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-open-dur) var(--modal-ease),
    opacity   var(--modal-open-dur) var(--modal-ease);
  will-change: transform, opacity;
}
.t-modal.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-modal.is-closing {
  transform: scale(var(--modal-scale-close));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-close-dur) var(--modal-ease),
    opacity   var(--modal-close-dur) var(--modal-ease);
}

/* Shimmer (transitions.dev 15) */
.t-shimmer {
  position: relative;
  display: inline-block;
  color: var(--shimmer-base);
}
.t-shimmer::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    transparent          0%,
    transparent         40%,
    var(--shimmer-highlight) 50%,
    transparent         60%,
    transparent        100%
  );
  background-size: var(--shimmer-band) 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: t-shimmer var(--shimmer-dur) var(--shimmer-ease) infinite;
}
@keyframes t-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* Texts reveal (transitions.dev 18), used for the hero entrance */
.t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition:
    opacity   var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter    var(--stagger-dur) var(--stagger-ease);
  will-change: transform, opacity, filter;
}
.t-stagger-line--2 { transition-delay: var(--stagger-stagger); }
.t-stagger-line--3 { transition-delay: calc(var(--stagger-stagger) * 2); }
.t-stagger-line--4 { transition-delay: calc(var(--stagger-stagger) * 4); }
.t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
html:not(.js) .t-stagger-line { opacity: 1; transform: none; filter: none; }

/* Scroll reveal: same rise as the hero, per block */
html.js .reveal {
  opacity: 0;
  transform: translateY(var(--distance-medium));
  filter: blur(var(--blur-medium));
  transition:
    opacity   var(--duration-very-slow) var(--ease),
    transform var(--duration-very-slow) var(--ease),
    filter    var(--duration-very-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--duration-stagger));
}
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
/* On touch screens the scroll-in keeps the rise and the fade but not the blur: filters on every block made phones stutter */
@media (hover: none) {
  html.js .reveal { filter: none; transition: opacity var(--duration-very-slow) var(--ease), transform var(--duration-very-slow) var(--ease); }
  .t-stagger-line { filter: none; transition: opacity var(--stagger-dur) var(--stagger-ease), transform var(--stagger-dur) var(--stagger-ease); }
}

@media (prefers-reduced-motion: reduce) {
  .t-modal { transition: none !important; }
  .book-top { transition: none; }
  .book-scrim { transition: none; }
  .faq-icon, .faq-panel, .faq-answer, .faq-contact, .faq-contact .ico { transition: none !important; }
  .feat-panel, .feat-tab { transition: none !important; }
  .feat-panel { transform: none; filter: none; }
  .announce-viewport, .announce-face, .announce-cta .ico { transition: none !important; }
  .t-shimmer::before { animation: none !important; }
  .t-stagger-line { transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .btn .ico { transition: none; }
}
