/* andrewramsden tenant stylesheet, ported from Look A "Noir"
   (XCOACH docs/plans/andrewramsden-site/look-a/styles.css). Class names match
   the mock-up, so each band ticket can lift its markup straight across.
   Token values are mirrored in src/content/site/design-tokens.ts; change both. */

/* Self-hosted fonts (SIL OFL), latin subset. Inter is the variable file. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/anton-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/fonts/inter-latin-var.woff2") format("woff2"); }

/* Look A: Noir. Near-black, white and cool greys, no accent colour.
   Every neutral is OKLCH, tinted a touch toward a cool hue (260). */
:root, html:root[data-theme] {
  /* Colour */
  --bg: oklch(0.145 0.004 260);
  --bg-2: oklch(0.18 0.005 260);
  --ink: oklch(0.965 0.003 260);
  --grey: oklch(0.73 0.008 260);   /* about 8:1 on --bg */
  --grey-2: oklch(0.66 0.008 260); /* about 6:1 on --bg, 5.5:1 on --bg-2; labels only */
  --rule: oklch(0.965 0.003 260 / 0.14);
  --rule-2: oklch(0.965 0.003 260 / 0.2);
  --read: oklch(0.915 0.014 80);   /* warm off-white for long-form */
  --scrim-0: color-mix(in oklch, var(--bg) 0%, transparent);

  /* Type */
  --display: "Anton", "Oswald", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-label: 12px;
  --fs-body: 18px;
  --fs-h2: clamp(42px, 6.4vw, 104px);

  /* Space: one scale, plus three fluid steps */
  --s-1: 8px;
  --s-2: 12px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 40px;
  --s-7: 56px;
  --s-8: 72px;
  --gap: clamp(40px, 7vw, 120px);     /* between grid columns */
  --band: clamp(80px, 12vw, 180px);   /* band padding */
  --break: clamp(56px, 8vw, 112px);   /* large in-band breaks */
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;

  /* Motion */
  --ease: cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
  --t: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* html a outranks the Engine's own a { color: var(--accent) } rule. */
html a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, .display { text-wrap: balance; }
button:not(:disabled), a[href], label[for], summary, [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: var(--s-2); z-index: 100; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-3); }
.skip:focus { left: var(--s-2); }

/* Film grain: one fixed SVG noise layer, never intercepts clicks. */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type primitives */
.label {
  font: 500 var(--fs-label)/1.4 var(--body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
}
.h2 { font-size: var(--fs-h2); }

/* Text link: a hairline underline that firms up on hover and focus.
   The ::after pad gives a 44px hit area without moving the layout. */
.link {
  position: relative;
  display: inline-flex; gap: 0.6em; align-items: center;
  font: 500 var(--fs-label)/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--rule-2);
  transition: border-color var(--t) var(--ease);
}
.link::after, .foot-row a::after, .wordmark::after, .mail::after { content: ""; position: absolute; inset: -14px -6px; }
.link [aria-hidden] { transition: transform var(--t) var(--ease); }
.link:hover, .link:focus-visible { border-color: var(--ink); }
.link:hover [aria-hidden] { transform: translateX(3px); }
.link:active { border-color: var(--grey); }

.btn {
  display: inline-flex; align-items: center; gap: 0.8em;
  min-height: 52px;
  font: 600 var(--fs-label)/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  padding: var(--s-3) 28px; border: 1px solid var(--ink); color: var(--ink);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bg); }
.btn:active { background: var(--grey); border-color: var(--grey); color: var(--bg); }

/* Sections wrap photos in <picture> for the WebP source; the img keeps its own layout. */
picture { display: contents; }
.mono { filter: grayscale(1) contrast(1.18) brightness(0.92); }

/* Header. It sits over the photo only on a page that opens with one
   (.hero, or a post's .ps-post); every other page gets it in flow, on black. */
.site-head {
  position: relative; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: 28px var(--pad);
}
body:has(.hero, .ps-post) .site-head { position: absolute; top: 0; left: 0; right: 0; }
.wordmark { position: relative; font: 400 22px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: color var(--t) var(--ease); }
.wordmark:hover { color: var(--grey); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 11px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); white-space: nowrap;
  transition: color var(--t) var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current] { color: var(--ink); }
.ext { font-size: 0.95em; margin-left: 0.3em; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1100px; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 25%; }
/* The stage photo sits in the right of the hero and fades in from black on its left,
   so the name reads over black and Andrew stands on the right. */
.hero img { left: auto; width: 64%; object-position: 30% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--bg) 92%, transparent) 0%, color-mix(in oklch, var(--bg) 55%, transparent) 38%, var(--scrim-0) 62%),
    linear-gradient(0deg, var(--bg) 0%, var(--scrim-0) 40%),
    /* keeps the nav readable over the bright stage screen */
    linear-gradient(180deg, color-mix(in oklch, var(--bg) 85%, transparent) 0%, var(--scrim-0) 24%);
}
.hero-copy { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 96px); }
.hero h1 { font-size: clamp(76px, 13.2vw, 210px); }
.hero h1 span { display: block; }
.hero .line { font: 500 clamp(19px, 1.7vw, 24px)/1.35 var(--body); margin: 28px 0 var(--s-1); max-width: 30ch; letter-spacing: -0.01em; text-wrap: balance; }
.hero .sub { color: var(--grey); margin: 0; max-width: 44ch; }

/* Sections */
.band { padding: var(--band) var(--pad); border-top: 1px solid var(--rule); }
.wrap { max-width: var(--max); margin: 0 auto; }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin-bottom: clamp(36px, 5vw, 64px); }
.idx { font: 500 var(--fs-label)/1 var(--body); letter-spacing: 0.24em; color: var(--grey-2); }

/* Band 1: AI for Executives */
.counsel { background: var(--bg-2); }
.counsel-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gap); align-items: end; }
.counsel .h2 { font-size: clamp(52px, 8.2vw, 136px); margin: var(--s-4) 0 var(--s-5); }
.counsel p.body { font-size: clamp(18px, 1.4vw, 20px); color: var(--grey); max-width: 44ch; margin: 0 0 var(--s-6); }
.counsel p.body::first-line { color: var(--ink); }
blockquote { margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--rule); }
blockquote p { font: 300 clamp(20px, 1.8vw, 26px)/1.45 var(--body); margin: 0 0 var(--s-4); letter-spacing: -0.01em; }
blockquote footer { color: var(--grey-2); }

/* Band 2: Who I am */
.who-grid { display: grid; grid-template-columns: 5fr 6fr; gap: var(--gap); align-items: start; }
.who-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.who .h2 { margin: 0 0 var(--s-6); }
.who p { font-size: var(--fs-body); color: var(--grey); max-width: 52ch; margin: 0 0 var(--s-4); }
.facts { list-style: none; margin: var(--break) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.facts li { padding: var(--s-4) var(--s-4) 0 0; font: 500 var(--fs-label)/1.5 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.facts li + li { padding-left: var(--s-4); border-left: 1px solid var(--rule); }
.facts strong { display: block; font: 400 clamp(36px, 4vw, 60px)/1 var(--display); letter-spacing: 0; color: var(--ink); margin-bottom: var(--s-2); }

/* Band 3: Inner game. Photo holds the left 56%; the copy sits on black at right. */
.inner { position: relative; padding: 0; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.inner img { position: absolute; top: 0; left: 0; width: 56%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.inner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--scrim-0) 0%, var(--scrim-0) 30%, var(--bg) 56%); }
.inner .wrap { position: relative; z-index: 2; width: 100%; padding: clamp(80px, 12vw, 160px) var(--pad); display: flex; justify-content: flex-end; }
.inner-copy { max-width: min(620px, 40%); }
.inner .h2 { font-size: clamp(40px, 4.8vw, 76px); margin: var(--s-4) 0 var(--s-5); }
.inner p:not(.label) { font-size: var(--fs-body); color: var(--grey); margin: 0 0 var(--s-6); max-width: 48ch; }

/* Band 4: Writing. Hover moves the title by transform, never by padding. */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: 1fr auto 40px; gap: var(--s-5); align-items: baseline; padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.posts a:focus-visible { outline-offset: -2px; }
.posts .t { display: inline-block; font: 400 clamp(28px, 3.6vw, 56px)/1 var(--display); text-transform: uppercase; color: var(--ink); text-wrap: balance; transition: color var(--t) var(--ease), transform 420ms var(--ease); }
.posts .arrow { text-align: right; color: var(--grey); transition: color var(--t) var(--ease), transform 420ms var(--ease); }
.posts a:hover .t, .posts a:focus-visible .t { color: var(--grey); transform: translateX(var(--s-2)); }
.posts a:hover .arrow, .posts a:focus-visible .arrow { color: var(--ink); transform: translateX(4px); }
.band-foot { margin-top: var(--s-6); }

/* Band 5: Book */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.book-img { overflow: hidden; aspect-ratio: 1 / 1; }
.book-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); transition: filter 600ms var(--ease); }
.book-img:hover img { filter: none; }
.book .h2 { font-size: clamp(44px, 5.6vw, 92px); margin: var(--s-4) 0 var(--s-5); }
.book p:not(.label) { font-size: var(--fs-body); color: var(--grey); max-width: 50ch; margin: 0 0 var(--s-6); }

/* Band 6: Speaking */
.speaking { padding-top: 0; border-top: 0; }
.stage { height: 78vh; min-height: 420px; max-height: 860px; overflow: hidden; margin: 0 calc(var(--pad) * -1); position: relative; }
.stage img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, var(--scrim-0) 45%); }
.speak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: -0.6em; position: relative; z-index: 2; }
.speaking .h2 { font-size: clamp(64px, 11vw, 180px); }
.speaking p:not(.label) { font-size: var(--fs-body); color: var(--grey); max-width: 44ch; margin: 0 0 var(--s-5); }
.venues { list-style: none; margin: 0 0 var(--s-6); padding: 0; border-top: 1px solid var(--rule); }
.venues li { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); font: 500 13px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.press { margin-top: var(--break); padding-top: var(--s-4); border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center; }
.press .label { margin: 0; }
/* Press names set as text until logo files exist. */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.logos li { font: 400 clamp(20px, 2vw, 28px)/1.2 var(--display); text-transform: uppercase; color: var(--grey); }

/* Band 7: Listen */
.listen .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; }
.listen p { font: 300 clamp(22px, 2.2vw, 32px)/1.35 var(--body); margin: 0; letter-spacing: -0.01em; max-width: 30ch; }
.listen .end { justify-self: end; }

/* Footer. The email size is tied to the viewport so it never wraps. */
.site-foot { padding: clamp(80px, 10vw, 140px) var(--pad) var(--s-6); border-top: 1px solid var(--rule); }
.mail { font: 400 min(108px, calc((100vw - 2 * var(--pad)) / 14.5))/1 var(--display); text-transform: uppercase; display: inline-block; position: relative; white-space: nowrap; transition: color var(--t) var(--ease); }
.mail:hover { color: var(--grey); }
.foot-row { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.foot-row nav { display: flex; gap: 28px; }
.foot-row a { position: relative; transition: color var(--t) var(--ease); }
.foot-row a:hover, .foot-row a:focus-visible { color: var(--ink); }

/* Reveal (only when JS is on and motion is allowed) */
.js .rv { opacity: 0; transform: translateY(var(--s-4)); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Article page (/post/<slug>) ----------
   Decision: stay on near-black, but set the body in a warm off-white (--read)
   at 19px / 1.8 and a 66ch measure. Pure white on black blooms (halation) over
   long reads; a warm, slightly dimmer ink keeps 13:1 contrast without the glare,
   and the page stays in the same noir world as the home page.

   The Engine renders every post through its own PostLayout (article.ps-post:
   header with title and byline, then the markdown body), so these rules map
   that markup onto the mock-up's .post-hero / .prose look. "html" plus two
   classes outranks PostLayout's scoped [data-astro-cid] rules. The hero photo
   is the mock-up's f15, the same on every post: the Wix covers are title cards
   with words baked in, so each one stays in the body where Wix had it. */
html .ps-post[class] { max-width: none; padding: 0; font-family: var(--body); }
html .ps-post .ps-post__header {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 72vh; min-height: 460px; max-height: 820px;
  margin: 0; padding: 0 var(--pad) var(--s-7); text-align: left;
}
html .ps-post .ps-post__header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/images/f15.jpg") 60% 40% / cover no-repeat;
  background-image: image-set(url("/images/f15.webp") type("image/webp"), url("/images/f15.jpg") type("image/jpeg"));
  filter: grayscale(1) contrast(1.18) brightness(0.92);
}
html .ps-post .ps-post__header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--bg) 2%, color-mix(in oklch, var(--bg) 35%, transparent) 60%, color-mix(in oklch, var(--bg) 60%, transparent) 100%);
}
html .ps-post .ps-post__header > * { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; }
html .ps-post .ps-post__title {
  font: 400 clamp(56px, 9vw, 150px)/0.92 var(--display); letter-spacing: 0.005em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 0; text-wrap: balance;
}
/* The description feeds search and share cards; the post body already opens with it. */
html .ps-post .ps-post__deck { display: none; }
html .ps-post .ps-post__byline {
  margin-top: var(--s-5); font: 500 var(--fs-label)/1.4 var(--body);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey);
}
html .ps-post .ps-post__byline [aria-hidden] { padding: 0 var(--s-2); color: var(--grey-2); }

html .ps-post .ps-post__body {
  box-sizing: content-box; max-width: 66ch; margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--pad) clamp(80px, 10vw, 140px);
  font: 400 19px/1.8 var(--body); color: var(--read);
  hanging-punctuation: first; overflow-wrap: anywhere;
}
html .ps-post .ps-post__body p { margin: 0 0 1.4em; }
html .ps-post .ps-post__body > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
html .ps-post .ps-post__body > p:first-child:not(:has(img)) {
  font: 300 clamp(24px, 2.4vw, 32px)/1.4 var(--body); color: var(--ink);
  margin: 0 0 2em; padding-bottom: 1.4em; border-bottom: 1px solid var(--rule);
  letter-spacing: -0.01em; text-wrap: balance;
}
html .ps-post .ps-post__body h2 { font: 400 clamp(32px, 3.4vw, 46px)/1 var(--display); text-transform: uppercase; color: var(--ink); margin: 2.4em 0 0.9em; letter-spacing: 0.01em; }
html .ps-post .ps-post__body :is(h3, h4, h5, h6) { font: 400 clamp(24px, 2.2vw, 30px)/1.05 var(--display); text-transform: uppercase; color: var(--ink); margin: 2em 0 0.7em; letter-spacing: 0.02em; }
html .ps-post .ps-post__body strong { font-weight: 600; color: var(--ink); }
html .ps-post .ps-post__body a {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 0.2em; text-decoration-color: var(--grey-2);
  transition: text-decoration-color var(--t) var(--ease), color var(--t) var(--ease);
}
html .ps-post .ps-post__body a:hover, html .ps-post .ps-post__body a:focus-visible { text-decoration-color: var(--ink); color: var(--grey); }
html .ps-post .ps-post__body a:has(img) { display: block; }
html .ps-post .ps-post__body p:has(> img, > a > img) { margin: 2.4em 0; }
html .ps-post .ps-post__body img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
html .ps-post .ps-post__body :is(ul, ol) { margin: 0 0 1.4em; padding-left: 1.3em; }
html .ps-post .ps-post__body li { margin: 0 0 0.6em; padding-left: 0.2em; }
html .ps-post .ps-post__body li::marker { color: var(--grey); }
html .ps-post .ps-post__body blockquote {
  margin: 2em 0; padding: 0 0 0 var(--s-4); border-left: 1px solid var(--rule-2);
  font: 300 clamp(22px, 2vw, 27px)/1.5 var(--body); font-style: normal; color: var(--ink);
}
html .ps-post .ps-post__body blockquote p:last-child { margin-bottom: 0; }
html .ps-post .ps-post__body hr { border: 0; border-top: 1px solid var(--rule); margin: 3em 0; }
/* The Engine's end-of-essay brand mark; the mock-up ends on the text. */
html .ps-post .ps-post__end { display: none; }

/* ---------- Archive (/blog) ----------
   The Engine's EssayArchive markup, set as the home page's Writing band: one
   column, Anton titles in ruled rows, labels for dates. */
html .ps-writing[class] { display: block; box-sizing: content-box; max-width: var(--max); margin: 0 auto; padding: var(--band) var(--pad); font-family: var(--body); }
html .ps-writing .ps-writing__header { position: static; margin: 0 0 clamp(36px, 5vw, 64px); }
html .ps-writing .ps-writing__title { font: 400 var(--fs-h2)/0.92 var(--display); text-transform: uppercase; letter-spacing: 0.005em; color: var(--ink); margin: 0 0 var(--s-4); }
html .ps-writing .ps-writing__deck { font: 400 var(--fs-body)/1.6 var(--body); color: var(--grey); margin: 0 0 var(--s-4); max-width: 48ch; }
html .ps-writing .ps-writing__count { flex-direction: row; gap: var(--s-4); border: 0; padding: 0; font: 500 var(--fs-label)/1.4 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-2); }
html .ps-writing .ps-writing__num { display: none; }
html .ps-writing :is(.ps-writing__lead, .ps-writing__item) {
  position: relative; display: grid; grid-template-columns: 1fr 40px; gap: var(--s-2) var(--s-5);
  align-items: baseline; padding: var(--s-5) 0; border: 0; border-top: 1px solid var(--rule);
}
html .ps-writing .ps-writing__list { border-bottom: 1px solid var(--rule); }
html .ps-writing .ps-writing__link { display: block; color: var(--ink); }
/* The whole row is the link's hit area. */
html .ps-writing .ps-writing__link::after { content: ""; position: absolute; inset: 0; }
html .ps-writing :is(.ps-writing__lead-title, .ps-writing__item-title) {
  display: inline-block; margin: 0; font: 400 clamp(28px, 3.6vw, 56px)/1 var(--display);
  text-transform: uppercase; color: var(--ink); text-wrap: balance;
  transition: color var(--t) var(--ease), transform 420ms var(--ease);
}
html .ps-writing .ps-writing__lead-title { font-size: clamp(40px, 5.6vw, 88px); line-height: 0.95; }
html .ps-writing .ps-writing__lead-deck { margin: var(--s-4) 0 0; font: 300 clamp(19px, 1.6vw, 22px)/1.5 var(--body); color: var(--grey); max-width: 60ch; }
html .ps-writing .ps-writing__lead-line { display: none; }
html .ps-writing .ps-writing__meta { margin: var(--s-3) 0 0; font: 500 var(--fs-label)/1.4 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-2); }
html .ps-writing .ps-writing__arrow { display: block; text-align: right; font-size: 18px; color: var(--grey); transition: color var(--t) var(--ease), transform 420ms var(--ease); }
html .ps-writing .ps-writing__lead .ps-writing__lead-body { grid-column: 1 / -1; }
html .ps-writing .ps-writing__link:is(:hover, :focus-visible) :is(.ps-writing__lead-title, .ps-writing__item-title) { color: var(--grey); transform: translateX(var(--s-2)); }
html .ps-writing .ps-writing__item:has(.ps-writing__link:is(:hover, :focus-visible)) .ps-writing__arrow { color: var(--ink); transform: translateX(4px); }
html .ps-writing .ps-writing__link:focus-visible { outline: 0; }
html .ps-writing :is(.ps-writing__lead, .ps-writing__item):has(.ps-writing__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
html .ps-writing .ps-writing__year { display: flex; align-items: center; gap: var(--s-4); margin: 0; padding: var(--s-7) 0 var(--s-3); font: 500 var(--fs-label)/1.4 var(--body); letter-spacing: 0.24em; color: var(--grey-2); }
html .ps-writing .ps-writing__year::after { content: none; }

/* ---------- Phone and small tablet ---------- */
@media (max-width: 900px) {
  /* Header sits on black above the photo, so no nav text crosses the face. */
  .site-head, body:has(.hero, .ps-post) .site-head { position: relative; flex-direction: column; align-items: flex-start; gap: var(--s-1); padding: 20px var(--pad) var(--s-1); background: var(--bg); }
  .nav ul { flex-wrap: wrap; gap: 0 20px; }
  .hero { height: calc(100svh - 146px); min-height: 560px; }
  .hero img { left: 0; width: 100%; object-position: 38% 30%; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 8%, color-mix(in oklch, var(--bg) 75%, transparent) 42%, color-mix(in oklch, var(--bg) 15%, transparent) 70%, var(--scrim-0) 100%); }
  .counsel-grid, .who-grid, .book-grid, .speak-grid, .listen .wrap { grid-template-columns: 1fr; }
  .who-photo { aspect-ratio: 1 / 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: var(--s-4) var(--s-3) var(--s-4) 0; border-bottom: 1px solid var(--rule); }
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid var(--rule); }
  .inner { display: block; min-height: 0; }
  .inner img { position: relative; width: 100%; height: 60vh; object-position: 45% 20%; }
  .inner::before { background: linear-gradient(0deg, var(--bg) 45%, var(--scrim-0) 70%); }
  .inner .wrap { margin-top: -140px; padding-top: 0; }
  .inner-copy { max-width: 620px; }
  .posts a { grid-template-columns: 1fr 24px; gap: var(--s-1) var(--s-3); padding: var(--s-4) 0; }
  .posts .d { grid-column: 1; grid-row: 2; }
  .posts .arrow { grid-column: 2; grid-row: 1; }
  .stage { height: 56vh; }
  .speak-grid { margin-top: -0.4em; gap: var(--s-5); }
  .press { grid-template-columns: 1fr; gap: var(--s-4); }
  .listen .end { justify-self: start; }
  .foot-row { flex-direction: column; gap: var(--s-4); }
  /* Article: photo above the title on a phone. */
  html .ps-post .ps-post__header { height: auto; min-height: 0; max-height: none; padding: calc(100vw * 2 / 3 + var(--s-3)) var(--pad) 0; }
  html .ps-post .ps-post__header::before { bottom: auto; height: calc(100vw * 2 / 3); background-position: 60% 30%; }
  html .ps-post .ps-post__header::after { bottom: auto; height: calc(100vw * 2 / 3); background: linear-gradient(0deg, var(--bg) 0%, var(--scrim-0) 40%); }
  html .ps-post .ps-post__title { font-size: clamp(48px, 13vw, 96px); }
  html .ps-post .ps-post__body { font-size: 18px; line-height: 1.75; }
  html .ps-writing :is(.ps-writing__lead, .ps-writing__item) { grid-template-columns: 1fr 24px; gap: var(--s-1) var(--s-3); padding: var(--s-4) 0; }
  html .ps-writing .ps-writing__count { flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .posts a:hover .t, .posts a:focus-visible .t, .posts a:hover .arrow, .link:hover [aria-hidden] { transform: none; }
}

/* ------------------------------------------------------------------
   /wholehearted: the book's own teal-and-white page, kept from Wix.
   Not Look A. Every rule is scoped under .wh (or body:has(.wh) for the
   two page-wide switches), and every class is wh-*, so Look A cannot
   restyle it and it cannot leak into Look A pages.
   Teal for text bands is a touch darker than Wix's #10929f so white
   text passes WCAG AA (4.7:1); the hero keeps the teal in its image.
   ------------------------------------------------------------------ */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 200; font-display: swap; src: url("/fonts/poppins-latin-200.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-600.woff2") format("woff2"); }

body:has(.wh)::after { display: none; }
.wh {
  --wh-teal: #0e808b;
  --wh-teal-img: #0e8792;
  --wh-beige: #f1e7de;
  --wh-gold: #d0b562;
  --wh-gold-2: #e0c97f;
  --wh-ink: #232323;
  --wh-red: #8b0000;
  --wh-navy: #445076;
  --wh-wrap: 1180px;
  position: relative;
  font: 400 16px/1.6 "Poppins", system-ui, sans-serif;
  color: var(--wh-ink);
  background: #fff;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 48px);
  text-align: center;
}
.wh picture { display: block; }
.wh picture[class] img { width: 100%; }
.wh h1, .wh h2, .wh h3, .wh p { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; }
.wh h2, .wh h3 { font-weight: 400; }
.wh a { color: inherit; }
.wh :focus-visible { outline: 3px solid var(--wh-navy); outline-offset: 3px; }
.wh .wh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wh .wh-h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.2; }
.wh .wh-rule { display: block; width: 32px; height: 1px; background: currentColor; margin: var(--s-4) auto; }
.wh .wh-rule--light { background: #fff; margin-top: 18px; margin-bottom: clamp(32px, 4vw, 52px); }

/* Gold button, as on Wix. 44px minimum hit area. */
.wh .wh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 24px;
  background: var(--wh-gold); color: var(--wh-ink);
  font: 400 15px/1.3 "Poppins", system-ui, sans-serif; letter-spacing: 0.1em;
  transition: background-color var(--t) var(--ease);
}
.wh .wh-btn:hover, .wh .wh-btn:focus-visible { background: var(--wh-gold-2); }
.wh .wh-btn--big { min-height: 64px; padding: 14px clamp(24px, 6vw, 80px); font-size: clamp(17px, 1.6vw, 21px); }

/* Band 1: header band. Background art sets the white-to-teal edge. */
.wh-hero { background: var(--wh-teal-img); padding: 0; overflow: hidden; color: #fff; }
.wh .wh-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.wh .wh-hero__inner {
  position: relative; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); align-items: center;
  padding: clamp(16px, 2vw, 32px) clamp(12px, 3vw, 40px) clamp(24px, 3vw, 40px);
}
.wh .wh-hero__cover { position: relative; }
.wh .wh-hero__seal { position: absolute; width: 26%; right: 2%; bottom: 25%; }
.wh .wh-hero__store { position: relative; margin-top: -9%; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; padding: 8px 12px; font-size: 24px; line-height: 1.2; text-decoration: none; }
.wh .wh-hero__store img { width: clamp(140px, 13vw, 190px); }
.wh .wh-hero__store:hover span, .wh .wh-hero__store:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
.wh .wh-hero__portraits { width: 100%; }

/* Band 2: get your copy, country picker, Free to Shine. */
.wh-buy { padding-top: clamp(32px, 4vw, 56px); }
.wh .wh-buy__h { font-size: clamp(30px, 3.4vw, 42px); color: var(--wh-teal); line-height: 1.2; }
.wh .wh-buy__grid { position: relative; max-width: 1300px; margin: 0 auto; }
.wh .wh-buy__main { max-width: 720px; margin: 0 auto; }
.wh .wh-buy__choose { margin-top: clamp(16px, 3vw, 32px); font-size: 17px; }
.wh .wh-buy__stores { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(24px, 6vw, 96px); }
.wh .wh-store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px;
  font-size: 19px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.wh .wh-store img { width: 40px; height: auto; }
.wh .wh-store:hover, .wh .wh-store:focus-visible { color: var(--wh-teal); text-decoration-thickness: 2px; }
.wh .wh-other { position: relative; }
.wh .wh-other summary { list-style: none; cursor: pointer; }
.wh .wh-other summary::-webkit-details-marker { display: none; }
.wh .wh-other summary::after { content: ""; width: 8px; height: 8px; margin: -4px 0 0 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--t) var(--ease); }
.wh .wh-other[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.wh .wh-other__panel {
  position: absolute; z-index: 5; top: 100%; left: 50%; transform: translateX(-50%);
  width: 260px; padding: 16px 12px; background: #fff; border-top: 4px solid var(--wh-teal);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); text-align: center;
}
.wh .wh-other__h { font-size: 15px; margin-bottom: 4px; }
.wh .wh-other ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.wh .wh-other li a { display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.wh .wh-other li a:hover, .wh .wh-other li a:focus-visible { color: var(--wh-teal); text-decoration-thickness: 2px; }
.wh .wh-buy__thanks { margin-top: clamp(40px, 6vw, 80px); }
.wh .wh-buy__thanks-line { font-weight: 200; color: #4a4a4a; font-size: 15px; }
.wh .wh-buy__logo { width: 190px; margin: 8px auto 16px; }
.wh .wh-buy__charity { max-width: 600px; margin: 0 auto; font-weight: 200; color: #4a4a4a; font-size: 16px; line-height: 1.8; }
.wh .wh-buy__charity a { text-decoration: underline; text-underline-offset: 3px; }
.wh .wh-buy__charity a:hover, .wh .wh-buy__charity a:focus-visible { color: var(--wh-teal); }
.wh .wh-buy__charity strong { font-weight: 400; color: var(--wh-ink); }
.wh .wh-buy__stack { position: absolute; right: 0; top: clamp(-130px, -8vw, -60px); width: clamp(220px, 26vw, 410px); }

/* Band 3: three questions on beige. */
.wh-invite { background: var(--wh-beige); font-size: clamp(16px, 1.4vw, 19px); }
.wh-invite p { max-width: 800px; margin: 0 auto 1.6em; }
.wh-invite .wh-btn { margin-top: 0.6em; }

/* Band 4: why, the hardcover, and reviews, on teal. */
.wh-why { background: var(--wh-teal); color: #fff; }
.wh .wh-why__grid { max-width: 1000px; margin: 0 auto clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.wh .wh-why__text p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.wh .wh-why__text p + p { margin-top: 1.4em; }
.wh .wh-why__book { position: relative; max-width: 450px; margin: 0 auto; }
.wh .wh-why__seal { position: absolute; width: 37%; right: -6%; top: 50%; }
.wh-why .wh-h2 { margin-bottom: 16px; }
.wh .wh-review { max-width: 780px; margin: 0 auto; background: #fff; }

/* Band 5: join the Revolution, white. */
.wh-community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3vw, 40px) clamp(20px, 5vw, 48px); }
.wh .wh-community__img { width: 100%; max-width: 720px; justify-self: end; }
.wh .wh-community__text { max-width: 420px; }
.wh.wh-community h2 { color: var(--wh-navy); font-size: clamp(22px, 2vw, 27px); line-height: 1.3; margin-bottom: 8px; }
.wh.wh-community p { font-size: 15px; line-height: 1.85; }
.wh.wh-community .wh-btn { font-size: 14px; }

/* People grid: authors and publishers, beige cards on teal. */
.wh-people { background: var(--wh-teal); color: #fff; }
.wh-people--pair { padding-top: 0; }
.wh .wh-people__intro { max-width: 740px; margin: 4px auto 0; font-weight: 200; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; }
.wh .wh-people__grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1330px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 4vw, 60px) clamp(24px, 3vw, 60px); align-items: start; }
.wh-people--pair .wh-people__grid { max-width: 940px; }
.wh .wh-card { background: var(--wh-beige); color: var(--wh-ink); text-align: left; }
.wh .wh-card img { width: 100%; aspect-ratio: 403 / 334; object-fit: cover; object-position: center top; }
.wh .wh-card__body { padding: 28px 30px 32px; }
.wh .wh-card__role { font-size: 15px; }
.wh .wh-card__name { color: var(--wh-red); font-size: 20px; line-height: 1.3; margin: 4px 0 20px; }
.wh .wh-card__bio { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.wh .wh-card .wh-btn { display: flex; width: fit-content; margin: 0 auto; }

/* What is a Wholehearted Leader anyway? beige. */
.wh-leader { background: var(--wh-beige); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; text-align: left; }
.wh .wh-leader__img { width: 100%; max-width: 400px; justify-self: end; }
.wh .wh-leader__text { max-width: 560px; }
.wh.wh-leader h2 { color: var(--wh-red); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.25; margin-bottom: 12px; }
.wh.wh-leader p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; margin-bottom: 1.4em; }

@media (max-width: 760px) {
  .wh .wh-hero__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .wh .wh-hero__book { width: min(440px, 100%); }
  .wh .wh-hero__bg { height: 46%; object-position: center 70%; }
  .wh .wh-why__grid { grid-template-columns: minmax(0, 1fr); }
  .wh-community, .wh-leader { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .wh .wh-community__img, .wh .wh-leader__img { justify-self: center; }
  .wh .wh-community__text, .wh .wh-leader__text { justify-self: center; }
  .wh .wh-leader__img { width: min(300px, 76vw); }
  .wh .wh-buy__stores > li:last-child { flex-basis: 100%; }
  .wh .wh-other__panel { position: static; transform: none; width: min(300px, 100%); margin: 8px auto 0; }
  .wh .wh-why__seal { right: 0; }
}
@media (max-width: 1099px) {
  .wh .wh-buy__stack { position: static; margin: 24px auto 0; width: min(300px, 70vw); }
}

/* ------------------------------------------------------------------
   Inner pages (Inner game, Speaking and press, Contact): Look A.
   The page heads reuse the home .inner and .stage bands; these rules add
   the label-left grid, the ruled rows and the contact mailto.
   ------------------------------------------------------------------ */
.ar-prose, .ar-list { padding-top: var(--break); padding-bottom: var(--break); }
.ar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); align-items: start; }
.ar-grid .label { margin: 0; padding-top: 0.4em; }
.ar-prose__body p { font: 400 clamp(18px, 1.4vw, 20px)/1.7 var(--body); color: var(--read); max-width: 62ch; margin: 0 0 1.2em; }
.ar-prose__body .btn { margin-top: var(--s-4); max-width: 100%; line-height: 1.4; overflow-wrap: anywhere; }
.ar-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ar-row { display: grid; grid-template-columns: 1fr 40px; gap: var(--s-4); align-items: baseline; min-height: 44px; padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.ar-row__meta { display: block; margin-bottom: var(--s-2); font: 500 var(--fs-label)/1.4 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-2); }
.ar-row__title { display: block; font: 400 clamp(24px, 2.6vw, 40px)/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; transition: color var(--t) var(--ease), transform 420ms var(--ease); }
.ar-row .arrow { text-align: right; color: var(--grey); transition: color var(--t) var(--ease), transform 420ms var(--ease); }
a.ar-row:hover .ar-row__title, a.ar-row:focus-visible .ar-row__title { color: var(--grey); transform: translateX(var(--s-2)); }
a.ar-row:hover .arrow, a.ar-row:focus-visible .arrow { color: var(--ink); transform: translateX(4px); }
a.ar-row:focus-visible { outline-offset: -2px; }
.ar-contact { border-top: 0; padding-top: var(--break); }
.ar-contact h1 { margin: 0 0 var(--s-5); }
.ar-contact__exec { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--break); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.ar-contact__exec .label { margin: 0; }
/* The contact page already leads with the mailto, so the footer does not repeat it. */
body:has(.ar-contact) .site-foot .mail { display: none; }
body:has(.ar-contact) .site-foot .foot-row { margin-top: 0; }

@media (max-width: 900px) {
  .ar-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .ar-row { grid-template-columns: 1fr 24px; gap: var(--s-3); padding: var(--s-4) 0; }
}

@media (prefers-reduced-motion: reduce) {
  a.ar-row:hover .ar-row__title, a.ar-row:focus-visible .ar-row__title, a.ar-row:hover .arrow, a.ar-row:focus-visible .arrow { transform: none; }
}

/* ------------------------------------------------------------------
   /rise-above: the Rise Above Summit thank-you page, kept from Wix.
   Not Look A. Every rule is scoped under .ri (or body:has(.ri) for the
   film-grain switch), and every class is ri-*, so Look A cannot
   restyle it and it cannot leak into Look A pages. Poppins comes from
   the /wholehearted @font-face rules above.
   ------------------------------------------------------------------ */
body:has(.ri)::after { display: none; }
.ri {
  position: relative;
  font: 200 clamp(18px, 1.2vw + 12px, 24px)/1.4 "Poppins", system-ui, sans-serif;
  color: #000;
  background: #fff;
}
.ri picture { display: block; }
.ri h1, .ri h2, .ri p, .ri ul { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; }
.ri a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.ri a:hover, .ri a:focus-visible { color: #445076; text-decoration-thickness: 2px; }
.ri :focus-visible { outline: 3px solid #445076; outline-offset: 3px; }
.ri .ri-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ri.ri-hero img { width: 100%; height: clamp(150px, 46.4vw, 668px); object-fit: cover; object-position: center; }

.ri-thanks { padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 110px); }
.ri .ri-thanks__wrap { max-width: 852px; margin: 0 auto; }
.ri .ri-thanks__h { font-weight: 400; font-size: clamp(36px, 3.2vw + 10px, 55px); line-height: 1.4; text-align: center; margin-bottom: 0.3em; }
.ri .ri-thanks__wrap > p + p { margin-top: 1.4em; }
.ri .ri-thanks__video { position: relative; aspect-ratio: 839 / 474; max-width: 839px; margin: clamp(32px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); background: #000; }
.ri .ri-thanks__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ri .ri-thanks__speakers { padding-left: 1.6em; list-style: disc; }
.ri .ri-thanks__speakers a { display: inline-block; }
@media (max-width: 760px) {
  .ri .ri-thanks__speakers a { min-height: 44px; padding-block: 8px; }
}

/* /zoom and /meet (AR-11): the shared .room layout, mocked up in Claude Design.
   Phone first: one column, the Join button inside the first screen at 390px. */
.room { padding: clamp(24px, 6vw, 96px) var(--pad) clamp(72px, 10vw, 160px); border-top: 1px solid var(--rule); }
.room__wrap { max-width: 760px; margin: 0 auto; }
.room h1 { font-size: clamp(48px, 11vw, 112px); margin: var(--s-2) 0 clamp(32px, 6vw, 56px); }
.room__opt { display: grid; gap: 6px; }
.room__num { margin: 0; font: 400 clamp(28px, 5vw, 36px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--grey-2); }
.room__opt > p { margin: 0; font-size: var(--fs-body); color: var(--grey); }
.room__opt > .room__body { grid-column: 1 / -1; }
.room__join {
  display: flex; justify-content: center; align-items: center; gap: 0.8em;
  width: 100%; min-height: 72px; margin-top: var(--s-3); padding: 20px 28px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font: 600 15px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.room__join:hover, .room__join:focus-visible { background: var(--bg); color: var(--ink); }
.room__join:active { background: var(--grey); border-color: var(--grey); color: var(--bg); }
.room__join [aria-hidden] { transition: transform var(--t) var(--ease); }
.room__join:hover [aria-hidden] { transform: translateX(4px); }
.room__or { display: flex; align-items: center; gap: var(--s-3); margin: clamp(40px, 7vw, 64px) 0; }
.room__or::before, .room__or::after { content: ""; flex: 1; border-top: 1px solid var(--rule-2); }
.room__steps { list-style: none; counter-reset: room; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.room__steps li { counter-increment: room; display: grid; grid-template-columns: 2.2em 1fr; gap: 0 var(--s-1); padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-body); color: var(--grey); }
.room__steps li::before { content: counter(room) "."; color: var(--grey-2); font-variant-numeric: tabular-nums; }
.room__steps strong { color: var(--ink); font-weight: 600; }
.room__val { display: block; margin-top: 6px; font: 500 clamp(28px, 7vw, 40px)/1.15 var(--body); letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; }
.room__dial { padding: 20px 0 4px; }
.room__dial p { margin: 0 0 20px; color: var(--grey); font-size: var(--fs-body); }
/* Option B and C fold behind a native <details>: keyboard and screen-reader friendly. */
.room__fold { margin-top: var(--s-3); }
.room__fold > summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-2);
  min-height: 56px; padding: 14px 20px; list-style: none; cursor: pointer;
  border: 1px solid var(--rule-2); color: var(--ink);
  font: 600 13px/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.room__fold > summary::-webkit-details-marker { display: none; }
.room__fold > summary::after { content: "+"; flex: none; font: 400 24px/1 var(--body); letter-spacing: 0; color: var(--grey); }
.room__fold[open] > summary::after { content: "−"; }
.room__fold > summary:hover { border-color: var(--ink); }
.room__fold > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-color: var(--ink); }
.room__fold[open] > summary { margin-bottom: var(--s-2); }

/* /booking (AR-10): a short head, then the convo booking page in an iframe.
   The frame heights cover the tallest step of the convo flow (slot picked, form open)
   at each of convo's layouts, measured 21 Oct 2026: about 1092px at a 280px frame,
   1174px from 640px, 976px from 1040px. The container query reads the frame width. */
.ar-booking { padding: clamp(24px, 6vw, 96px) var(--pad) clamp(72px, 10vw, 160px); border-top: 1px solid var(--rule); }
.ar-booking__wrap { max-width: 1040px; margin: 0 auto; container-type: inline-size; }
.ar-booking h1 { font-size: clamp(48px, 11vw, 112px); margin: var(--s-2) 0 var(--s-4); }
.ar-booking__lead { margin: 0 0 clamp(24px, 4vw, 40px); font-size: var(--fs-body); color: var(--grey); }
.ar-booking__frame { display: block; width: 100%; height: 1120px; border: 0; background: #fff; margin-bottom: var(--s-6); }
@container (min-width: 640px) { .ar-booking__frame { height: 1200px; } }
@container (min-width: 1040px) { .ar-booking__frame { height: 1000px; } }

/* 404 (AR-12): the Engine's NotFound markup set in Look A. A huge Anton code,
   a short Anton heading, one grey line, then the ways on in a ruled row.
   Copy and links come from chrome.json "notFound". Every rule is under .ps-404
   and prefixed with html so it outranks the Engine's scoped defaults. */
html .ps-404[class] { box-sizing: content-box; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 9vw, 140px) var(--pad) var(--band); text-align: left; color: var(--ink); }
html .ps-404 .ps-404__code { margin: 0; font: 400 clamp(150px, 34vw, 420px)/0.82 var(--display); letter-spacing: -0.01em; color: var(--ink); }
html .ps-404 .ps-404__rule { display: none; }
html .ps-404 .ps-404__heading { margin: clamp(24px, 3vw, 40px) 0 var(--s-3); font: 400 clamp(36px, 5vw, 72px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.005em; color: var(--ink); }
html .ps-404 .ps-404__message { margin: 0; max-width: 48ch; font: 400 var(--fs-body)/1.6 var(--body); color: var(--grey); }
html .ps-404 .ps-404__links { justify-content: flex-start; gap: var(--s-2) var(--s-6); margin-top: clamp(40px, 5vw, 64px); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
html .ps-404 .ps-404__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; font: 500 var(--fs-label)/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 8px; transition: color var(--t) var(--ease), text-decoration-color var(--t) var(--ease); }
html .ps-404 .ps-404__link:hover, html .ps-404 .ps-404__link:focus-visible { color: var(--ink); text-decoration-color: var(--ink); border: 0; }
html .ps-404 .ps-404__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 0; }
html .ps-404 .ps-404__link--primary { min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
html .ps-404 .ps-404__link--primary:hover, html .ps-404 .ps-404__link--primary:focus-visible { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }

/* /book (round 2): the page head reuses the .inner band with the hardcover photo.
   On a phone the cover sits whole in a 4:3 crop and the copy starts below it, so the
   kicker never sits on the cover's own text. */
@media (max-width: 900px) {
  .inner[data-ps-section="book-head"] img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .inner[data-ps-section="book-head"]::before { background: linear-gradient(0deg, var(--bg) 0%, var(--scrim-0) 30%); }
  .inner[data-ps-section="book-head"] .wrap { margin-top: var(--s-4); }
}
