/* ==========================================================================
   Cambridge Publishing Press — design system
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted variable WOFF2, latin + latin-ext) ----------
   The "CPP … Fallback" faces are local system fonts rescaled to the web fonts' advance widths and vertical metrics
   (computed with fontTools), so text keeps its line breaks and height when the web font swaps in: no layout shift. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/cormorant-garamond-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/great-vibes-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/great-vibes-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "CPP Display Fallback"; font-style: normal; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Tinos"), local("Liberation Serif"); size-adjust: 96.54%; ascent-override: 95.71%; descent-override: 29.73%; line-gap-override: 0%; }
@font-face { font-family: "CPP Display Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Tinos Italic"), local("Liberation Serif Italic"); size-adjust: 87.14%; ascent-override: 106.04%; descent-override: 32.94%; line-gap-override: 0%; }
@font-face { font-family: "CPP Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Arimo"), local("Liberation Sans"); size-adjust: 99.71%; ascent-override: 106.91%; descent-override: 30.09%; line-gap-override: 0%; }

/* ---------- 1. Tokens ---------- */
:root {
  --crimson: #980E16;
  --crimson-bright: #B3141E;
  --crimson-soft: #DC575E;       /* accent text on dark grounds (AA on #101010/#1C1C1C) */
  --burgundy: #65070D;
  --black: #101010;
  --charcoal: #1C1C1C;
  --ivory: #F8F5F0;
  --ivory-deep: #EFE9DF;
  --white: #FFFFFF;
  --gold: #B69A63;

  --ink: #161515;
  --ink-soft: rgba(22, 21, 21, .72);
  --ink-faint: rgba(22, 21, 21, .62);
  --line: rgba(16, 16, 16, .12);
  --line-strong: rgba(16, 16, 16, .22);
  --on-dark: #F3EFE8;
  --on-dark-soft: rgba(243, 239, 232, .68);
  --on-dark-faint: rgba(243, 239, 232, .56);
  --line-dark: rgba(243, 239, 232, .14);

  --f-display: "Cormorant Garamond", "CPP Display Fallback", Garamond, "Times New Roman", serif;
  --f-caps: "Manrope", "CPP Sans Fallback", system-ui, sans-serif;   /* uppercase labels echo the sans wordmark */
  --f-body: "Manrope", "CPP Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --max-wide: 1560px;
  --section: clamp(88px, 11vw, 168px);
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
/* keep the scrollbar's space reserved so locking scroll (popup, menu) never shifts the page sideways (CLS) */
html { scrollbar-gutter: stable; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--crimson-soft); }
::selection { background: var(--crimson); color: var(--ivory); }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.arch > picture, .arch > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
main { display: block; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--black); color: var(--ivory); padding: 10px 16px; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 3. Typography ---------- */
.display, .h1, .h2, .h3, .h4, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.02;
  font-feature-settings: "liga", "dlig", "kern";
}
.display { font-size: clamp(3.1rem, 8.4vw, 8.6rem); line-height: .94; letter-spacing: -.02em; }
.h1, h1 { font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -.018em; }
.h2, h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.h3, h3 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.1; }
.h4 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.2; }
.display em, .h1 em, .h2 em, .h3 em, h1 em, h2 em, h3 em { font-style: italic; color: var(--crimson); font-weight: 500; }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .on-dark h1 em, .on-dark h2 em, .on-dark h3 em, .on-dark .h3 em { color: var(--crimson-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-caps);
  font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; color: var(--crimson); line-height: 1.4;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--crimson-soft); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.65; color: var(--ink-soft); max-width: 36em; }
.on-dark .lede { color: var(--on-dark-soft); }
.muted { color: var(--ink-soft); }
.on-dark .muted { color: var(--on-dark-soft); }
.serif { font-family: var(--f-display); }
.caps { font-family: var(--f-caps); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem); line-height: 1.16; letter-spacing: -.01em;
}
.statement em { font-style: italic; color: var(--crimson); }
.prose { max-width: 42em; }
.prose p + p { margin-top: 1.1em; }
.measure { max-width: 34em; }

/* Split-text helpers (populated by JS) */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > .split-inner { display: block; will-change: transform; }
.word-fade .w { opacity: .14; transition: none; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--max-wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--flush-top { padding-top: 0; }
.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-deep { background: var(--ivory-deep); }
.bg-black { background: var(--black); }
.bg-charcoal { background: var(--charcoal); }
.bg-burgundy { background: var(--burgundy); }
.bg-crimson { background: var(--crimson); }
.on-dark { color: var(--on-dark); }
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); opacity: .09; mix-blend-mode: overlay;
}
.grain > * { position: relative; z-index: 1; }
.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; }
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark .rule { background: var(--line-dark); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--crimson); --btn-fg: var(--ivory); --btn-fill: var(--black); --btn-fill-fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 30px;
  font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bg); border-radius: var(--radius);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-fill);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn__label { position: relative; display: inline-block; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--ivory); border-color: var(--line-strong); }
.on-dark .btn--ghost, .btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-fill: var(--ivory); --btn-fill-fg: var(--black); border-color: rgba(243,239,232,.32); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--black); --btn-fill: var(--black); --btn-fill-fg: var(--ivory); }
.on-dark .btn:not(.btn--ghost):not(.btn--light) { --btn-fill: var(--ivory); --btn-fill-fg: var(--black); }
.bg-crimson .btn:not(.btn--ghost):not(.btn--light), .bg-burgundy .btn:not(.btn--ghost):not(.btn--light) { --btn-bg: var(--black); --btn-fill: var(--ivory); --btn-fill-fg: var(--black); }
.magnetic { will-change: transform; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }
.link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .6s .1s var(--ease);
}
.link:hover::before { transform: scaleX(1); }
.link .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.link--crimson { color: var(--crimson); }
.on-dark .link--crimson { color: var(--crimson-soft); }
.text-link { color: var(--crimson); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.on-dark .text-link { color: var(--crimson-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

/* ---------- 6. 3D Book ---------- */
.book {
  --w: 240px; --d: 22px; --ry: -28deg; --rx: 4deg;
  width: var(--w); aspect-ratio: 700 / 1067;
  perspective: 1800px; position: relative; flex: none;
}
.book__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.book--hover .book__inner, .shelf__item .book__inner, .pf-card .book__inner { transition: transform 1s var(--ease); }
.book__cover, .book__back, .book__pages, .book__spine { position: absolute; }
.book__cover {
  inset: 0; transform: translateZ(calc(var(--d) / 2)); overflow: hidden;
  border-radius: 1px 3px 3px 1px; background: var(--charcoal);
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42) 0, rgba(255,255,255,.18) 1.6%, rgba(0,0,0,.18) 3.2%, rgba(255,255,255,.06) 5%, transparent 9%),
    linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 38%, transparent 70%, rgba(0,0,0,.18) 100%);
}
.book__pages {
  top: 1.2%; bottom: 1.2%; width: var(--d);
  left: calc(100% - var(--d) / 2 - 3px);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f4efe5 0 1px, #ddd5c7 1px 2px), #efe9df;
  box-shadow: inset 0 0 6px rgba(0,0,0,.25);
}
.book__spine {
  top: 0; bottom: 0; width: var(--d);
  left: calc(var(--d) / -2);
  transform: rotateY(-90deg);
  background: var(--img) left center / auto 100% no-repeat, var(--charcoal);
  filter: brightness(.55) saturate(.9);
}
.book__back {
  inset: 0; transform: translateZ(calc(var(--d) / -2)) rotateY(180deg);
  background: var(--charcoal);
}
.book__shadow {
  position: absolute; left: 6%; right: -8%; bottom: -7%; height: 12%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  filter: blur(10px); transform: translateZ(-40px); pointer-events: none;
}
.book--front { --ry: -12deg; }
.book--flat { --ry: 0deg; --rx: 0deg; }
.book--hard { --d: 34px; }
.book--hover:hover .book__inner, .book--hover:focus-within .book__inner { transform: rotateX(0deg) rotateY(-6deg) translateZ(30px); }

/* Flat cover (no 3D) with spine light */
.cover-flat { position: relative; overflow: hidden; border-radius: 1px 3px 3px 1px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6), 0 12px 24px -12px rgba(0,0,0,.35); }
.cover-flat img { width: 100%; height: auto; }
.cover-flat > picture { display: block; height: 100%; }
.cover-flat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(255,255,255,.16) 1.8%, rgba(0,0,0,.14) 3.6%, transparent 9%);
}

/* Gothic arch frame (echoes the spires in the logo) */
.arch {
  position: absolute; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--burgundy), #2a0306 85%);
}
.arch--outline { background: none; border: 1px solid rgba(182,154,99,.35); border-bottom: 0; }

/* ---------- 7. Header (premium black bar) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  color: var(--on-dark);
  transition: transform .6s var(--ease);
}
/* Charcoal bar (matches the logo's native background so its black books stay visible); solid on every page */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #292929;
  border-bottom: 1px solid rgba(243,239,232,.08);
}
.site-header.is-scrolled::before { box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; position: relative; line-height: 0; }
.brand img { width: 222px; height: auto; }
@media (min-width: 1180px) { .brand img { width: 254px; } }
@media (min-width: 1440px) { .brand img { width: 290px; } }
.nav__link { white-space: nowrap; }
/* Narrow desktops: keep logo, seven links and the CTA on one line */
@media (min-width: 1180px) and (max-width: 1339.98px) {
  .brand img { width: 212px; }
  .site-header__bar { gap: 16px; }
  .nav__list { gap: 0; }
  .nav__link { padding: 0 9px; font-size: 14px; }
  .nav__link::after { left: 9px; right: 9px; }
  .site-header .header-actions .btn { padding: 0 16px; font-size: 13.5px; gap: 8px; }
}
@media (max-width: 400px) {
  .lp-header .brand img { width: 168px !important; }
  .lp-header .btn--sm { padding: 0 12px; font-size: 10.5px; letter-spacing: .08em; }
}
@media (max-width: 360px) { .brand img { width: 196px; } }
/* Logo on near-black surfaces (footer, popup): sit it on its own charcoal so the black books remain visible */
.brand-plate { background: #292929; padding: 12px 16px; border-radius: 6px; box-sizing: content-box; }

.nav { display: none; align-self: stretch; }
.nav__list { display: flex; align-items: stretch; height: 100%; gap: clamp(4px, .9vw, 16px); list-style: none; margin: 0; padding: 0; }
.nav__list > li { display: flex; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 0 clamp(8px, .9vw, 16px);
  font-size: 15px; font-weight: 500; letter-spacing: .01em; color: rgba(243,239,232,.86);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: clamp(8px, .9vw, 16px); right: clamp(8px, .9vw, 16px); bottom: 24px; height: 1px; background: var(--crimson-soft);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover { color: var(--on-dark); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
/* Services trigger: burgundy column when open or current */
.nav__trigger { color: rgba(243,239,232,.86); }
.nav__trigger::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(101,7,13,.12), rgba(101,7,13,.62));
  box-shadow: inset 0 -2px 0 var(--crimson);
  opacity: 0; transition: opacity .35s var(--ease);
}
.nav__trigger::after { display: none; }
.nav__trigger[aria-expanded="true"], .nav__trigger[aria-current="page"] { color: var(--crimson-soft); }
.nav__trigger[aria-expanded="true"]::before { opacity: 1; }
.nav__trigger[aria-current="page"]:not([aria-expanded="true"])::before { opacity: .55; }
.nav__trigger .icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { display: none; }
.site-header .btn {
  --btn-fill: var(--ivory); --btn-fill-fg: var(--black);
  text-transform: none; letter-spacing: .01em; font-size: 14.5px; border-radius: 4px; min-height: 50px; padding: 0 24px;
}
.header-phone { display: none; font-size: 14px; font-weight: 500; align-items: center; gap: 8px; }
.header-phone .icon { width: 16px; height: 16px; }

.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; position: relative; z-index: 2; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger span:last-child { width: 18px; margin-left: auto; }
.burger:hover span:last-child { width: 26px; }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1180px) {
  .nav { display: block; }
  .burger { display: none; }
  .header-actions .btn { display: inline-flex; }
}
.header-phone, .lp-header__actions a[href^="tel:"] { white-space: nowrap; }
@media (min-width: 1680px) { .header-phone { display: inline-flex; } }
@media (max-width: 480px) {
  .lp-header__actions { font-size: 12.5px; }
  .lp-header__actions a[href^="tel:"] { gap: 6px !important; }
  .lp-header__actions .icon { width: 15px; height: 15px; }
}

/* ---------- Services mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 0 clamp(16px, 2vw, 38px) 24px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, visibility 0s .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.mega.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .2s ease, visibility 0s; }
@media (max-width: 1179.98px) { .mega { display: none; } }
.mega__wrap { max-width: 1860px; margin: 0 auto; }
.mega__panel {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(300px, 1fr);
  background: var(--ivory); color: var(--ink);
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(243,239,232,.14);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.7), 0 18px 40px -24px rgba(0,0,0,.5);
}
.mega__cols {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 30px clamp(10px, 1vw, 18px) 26px;
}
.mega__col { display: flex; flex-direction: column; padding: 0 clamp(14px, 1.4vw, 28px); border-left: 1px solid var(--line); min-width: 0; }
.mega__col:first-child { border-left: 0; }
.mega__head { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line-strong); min-height: 108px; align-content: start; }
.mega__num { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--crimson); line-height: 1; padding-top: .62em; min-width: 1.2em; }
.mega__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1.85vw, 2.2rem); line-height: 1.04; letter-spacing: -.01em; color: var(--ink); transition: color .3s; }
.mega__title:hover { color: var(--crimson); }
.mega__desc { font-family: var(--f-display); font-size: 1.02rem; line-height: 1.32; color: rgba(22,21,21,.6); margin-top: 7px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; align-content: start; flex: 1; }
.mega__link {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) 14px; gap: 13px; align-items: center;
  padding: 7px 0; font-size: 14.5px; line-height: 1.3; color: var(--ink);
  transition: color .3s ease, transform .35s var(--ease);
}
.mega__ico { display: grid; place-items: center; color: rgba(22,21,21,.62); transition: color .3s ease; }
.mega__ico .licon { width: 19px; height: 19px; }
.mega__chev { display: grid; place-items: center; color: var(--crimson); opacity: .75; transition: transform .35s var(--ease), opacity .3s; }
.mega__chev .licon { width: 14px; height: 14px; stroke-width: 2; }
.mega__link:hover, .mega__link:focus-visible { color: var(--crimson); transform: translateX(4px); }
.mega__link:hover .mega__ico, .mega__link:focus-visible .mega__ico { color: var(--crimson); }
.mega__link:hover .mega__chev, .mega__link:focus-visible .mega__chev { transform: translateX(3px); opacity: 1; }
.mega__link[aria-current="page"] { color: var(--crimson); }
.mega__link:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; border-radius: 2px; }
.mega__media { display: block; margin-top: 18px; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--charcoal); }
.mega__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mega__col:hover .mega__media img { transform: scale(1.06); }
.mega__explore {
  position: relative; align-self: flex-start; margin-top: 18px; padding-bottom: 7px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--crimson);
}
.mega__explore::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.mega__explore:hover::after { transform: scaleX(.35); }
.mega__explore .licon { width: 14px; height: 14px; stroke-width: 2; transition: transform .4s var(--ease); }
.mega__explore:hover .licon { transform: translateX(4px); }

/* Rows align across columns: heads are equalised in JS on open; lists flex so images/CTAs sit on one baseline */
.mega__explore { white-space: nowrap; }

/* Featured consultation panel */
.mega__feature {
  position: relative; display: flex; flex-direction: column;
  padding: 30px clamp(22px, 1.8vw, 34px) 26px;
  background:
    radial-gradient(90% 55% at 70% 18%, rgba(101,7,13,.62), transparent 70%),
    radial-gradient(70% 50% at 10% 100%, rgba(101,7,13,.3), transparent 70%),
    var(--black);
  color: var(--on-dark); overflow: hidden;
}
.mega__feature::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.mega__label { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-soft); position: relative; z-index: 1; }
.mega__feature-visual { position: relative; height: clamp(170px, 24vh, 260px); display: grid; place-items: center; margin: 10px 0 6px; }
.mega__glow { position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(220,87,94,.38), rgba(101,7,13,.2) 55%, transparent); filter: blur(8px); }
.mega__book { --w: clamp(112px, 8.6vw, 158px); --ry: -26deg; --rx: 5deg; position: relative; z-index: 1; filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.mega__caption { position: relative; z-index: 1; font-size: 11.5px; color: var(--on-dark-faint); text-align: center; margin-bottom: 18px; }
.mega__ftitle { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 2.2vw, 2.6rem); line-height: 1.02; letter-spacing: -.01em; }
.mega__ftext { position: relative; z-index: 1; color: var(--on-dark-soft); font-size: 14.5px; line-height: 1.6; margin: 14px 0 22px; }
.site-header .mega__cta {
  position: relative; z-index: 1; width: 100%; justify-content: space-between;
  text-transform: none; letter-spacing: .01em; font-size: 15px; border-radius: 4px; min-height: 54px;
  --btn-fill: var(--ivory); --btn-fill-fg: var(--black);
}
.mega__guide {
  position: relative; z-index: 1; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 32px 1fr 16px; gap: 14px; align-items: center;
  font-size: 13.5px; line-height: 1.45; color: var(--on-dark-soft); transition: color .3s;
}
.mega__guide-ico { width: 30px; height: 30px; color: var(--crimson-soft); stroke-width: 1.3; }
.mega__guide-arrow { width: 16px; height: 16px; color: var(--crimson-soft); transition: transform .4s var(--ease); }
.mega__guide:hover { color: var(--on-dark); }
.mega__guide:hover .mega__guide-arrow { transform: translateX(4px); }

/* Laptop widths: tighten so five columns + panel always fit */
@media (max-width: 1600px) {
  .mega { padding: 0 14px 18px; }
  .mega__panel { grid-template-columns: minmax(0, 1fr) 258px; }
  .mega__cols { padding-inline: 8px; }
  .mega__col { padding: 0 11px; }
  .mega__chev .licon { width: 12px; height: 12px; }
  .mega__head { gap: 0 10px; min-height: 100px; }
  .mega__title { font-size: 1.5rem; }
  .mega__desc { font-size: .95rem; }
  .mega__link { font-size: 13.5px; gap: 9px; grid-template-columns: 17px minmax(0, 1fr) 12px; padding: 6px 0; }
  .mega__ico .licon { width: 17px; height: 17px; }
  .mega__explore { letter-spacing: .12em; font-size: 10.5px; gap: 8px; }
  .site-header .mega__cta { font-size: 14px; padding: 0 16px; gap: 8px; }
  .mega__feature { padding-inline: 22px; }
}
@media (max-width: 1280px) {
  .mega__title { font-size: 1.35rem; }
  .mega__desc { font-size: .9rem; }
  .mega__link { font-size: 13px; }
  .mega__panel { grid-template-columns: minmax(0, 1fr) 236px; }
  .mega__feature { padding-inline: 20px; }
  .mega__ftitle { font-size: 1.7rem; }
  .site-header .mega__cta { font-size: 14px; padding: 0 16px; gap: 8px; }
  .mega__explore { letter-spacing: .08em; }
}
/* Fit levels (no internal scrolling): JS applies the lightest level at which the menu fits the screen */
.mega--fit1 .mega__cols { padding-block: 22px 18px; }
.mega--fit1 .mega__head { padding-bottom: 12px; margin-bottom: 10px; }
.mega--fit1 .mega__link { padding: 4px 0; }
.mega--fit1 .mega__media { aspect-ratio: 16 / 9; margin-top: 12px; }
.mega--fit1 .mega__explore { margin-top: 12px; }
.mega--fit1 .mega__feature { padding-block: 22px 18px; }
.mega--fit1 .mega__feature-visual { height: 140px; }
.mega--fit1 .mega__book { --w: 86px; }
.mega--fit1 .mega__caption { margin-bottom: 12px; }
.mega--fit1 .mega__ftext { margin: 10px 0 14px; }
.mega--fit1 .mega__guide { margin-top: 14px; padding-top: 14px; }

.mega--fit2 .mega__media { aspect-ratio: 21 / 8; }
.mega--fit2 .mega__desc { font-size: .88rem; }
.mega--fit2 .mega__link { padding: 3px 0; line-height: 1.2; font-size: 13px; }
.mega--fit2 .mega__feature-visual { height: 100px; margin-top: 4px; }
.mega--fit2 .mega__book { --w: 62px; }
.mega--fit2 .mega__ftitle { font-size: 1.6rem; }

.mega--fit3 .mega__media { display: none; }
.mega--fit3 .mega__feature-visual, .mega--fit3 .mega__caption { display: none; }
.mega--fit3 .mega__label { margin-bottom: 14px; }

.mega--fit4 .mega__desc { display: none; }
.mega--fit4 .mega__ftext { display: none; }
.mega--fit4 .mega__cta { margin-top: 14px; }
@media (min-width: 1601px) {
  .mega__col { padding: 0 clamp(14px, 1.15vw, 22px); }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 89; background: var(--black); color: var(--on-dark);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 12px) var(--gutter) 32px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 40px) 42px); visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu-open .site-header { color: var(--on-dark); }
.menu-open .site-header::before { background: #292929; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list > li > a, .mobile-menu__list summary {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1; padding: 18px 0;
  list-style: none; cursor: pointer;
}
.mobile-menu__list summary::-webkit-details-marker { display: none; }
.mobile-menu__list summary .icon { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.mobile-menu__list details[open] > summary .icon { transform: rotate(45deg); }
.mobile-menu__sub { padding: 0 0 22px; display: grid; gap: 0; align-items: start; }
.mobile-menu__sub > .link { margin-top: 18px; justify-self: start; }
/* Category accordions (each expands independently) */
.mm-cat { border-top: 1px solid var(--line-dark); }
.mobile-menu__list .mm-cat > summary {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 12px; align-items: center;
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; padding: 15px 0;
}
.mm-cat__num { font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--crimson-soft); }
.mm-cat__title small { display: block; font-family: var(--f-body); font-size: 12.5px; line-height: 1.45; color: var(--on-dark-faint); margin-top: 4px; }
.mm-cat__toggle { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-dark); border-radius: 50%; }
.mobile-menu__list .mm-cat__toggle .icon { width: 14px; height: 14px; }
.mm-cat__body { overflow: hidden; padding-left: 40px; }
.mm-cat__body ul { list-style: none; margin: 0; padding: 0 0 4px; display: grid; }
.mm-cat__body li a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; line-height: 1.35; color: var(--on-dark-soft); transition: color .3s; }
.mm-cat__body li a:active, .mm-cat__body li a:hover { color: var(--on-dark); }
.mm-cat__body .licon { width: 18px; height: 18px; flex: none; color: var(--crimson-soft); }
.mm-cat__explore { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson-soft); }
.mm-cat__explore .licon { width: 14px; height: 14px; }
@media (min-width: 700px) {
  .mobile-menu__sub { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .mobile-menu__sub > .link { grid-column: 1 / -1; }
}
.mobile-menu__foot {
  margin-top: auto; padding-top: 28px; padding-bottom: 4px; display: grid; gap: 16px;
  position: sticky; bottom: -32px; background: linear-gradient(180deg, rgba(16,16,16,0), var(--black) 26px);
}
.mobile-menu__foot a.contact-line { color: var(--on-dark-soft); font-size: 15px; display: inline-flex; gap: 10px; align-items: center; }
.mobile-menu__foot .icon { width: 18px; height: 18px; }
.mobile-menu li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .05s); }

/* Mobile sticky CTA bar (PPC-friendly) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto; gap: 1px; background: var(--line-dark);
  transform: translateY(110%); transition: transform .6s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mobile-cta a:first-child { background: var(--crimson); color: var(--ivory); }
.mobile-cta a:last-child { background: var(--black); color: var(--ivory); padding: 0 22px; }
.mobile-cta .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- 8. Page transition & first-paint ---------- */
/* Hero elements wait (invisible, for a few ms) until GSAP has set their start state, so nothing flashes.
   The class is removed by main.js, or by an inline failsafe in head.php if scripts never run. */
/* Desktop only: on phones the hero renders immediately (no JS-gated intro), so its content paints without waiting for scripts */
@media (min-width: 900px) {
  .hero-pending [data-hero-title], .hero-pending [data-hero-fade], .hero-pending .hero__visual, .hero-pending .hero__guides,
  .hero-pending [data-phero-title], .hero-pending [data-phero-fade], .hero-pending .phero__visual, .hero-pending .phero__collage,
  .hero-pending .launch-stack, .hero-pending .audio-visual { opacity: 0; }
}

/* Leaving-page transition: book cover closes */
.page-curtain { position: fixed; inset: 0; z-index: 199; pointer-events: none; perspective: 2200px; visibility: hidden; }
.page-curtain__door { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--black); }
.page-curtain__door--l { left: 0; transform-origin: left center; }
.page-curtain__door--r { right: 0; transform-origin: right center; }
.page-curtain__mark { position: absolute; left: 50%; top: 50%; width: 76px; transform: translate(-50%, -50%); opacity: 0; }

/* ---------- 9. Home: hero ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--black); color: var(--on-dark);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 46%, rgba(152,14,22,.34), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(101,7,13,.35), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.hero__guides { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__guides span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-dark); transform-origin: top; }
.hero__guides span:nth-child(1) { left: var(--gutter); }
.hero__guides span:nth-child(2) { left: 50%; opacity: .5; }
.hero__guides span:nth-child(3) { right: var(--gutter); }
.hero__running { position: relative; display: flex; justify-content: flex-end; gap: 16px; padding-top: calc(var(--header-h) + 18px); font-family: var(--f-caps); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-faint); }
.hero__running span:last-child { display: none; }
.hero__body { flex: 1; display: grid; align-items: center; gap: 40px; padding-block: 28px 40px; }
.hero__copy { position: relative; z-index: 2; max-width: 780px; }
.hero__title { font-size: clamp(3.05rem, 6.3vw, 6.7rem); line-height: .94; letter-spacing: -.022em; margin: 22px 0 28px; }
.hero__title em { display: inline; }
.hero__lede { max-width: 32em; }
.hero__ctas { margin-top: 36px; }
.hero__assure { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; font-size: 13.5px; color: var(--on-dark-soft); }
.hero__assure li { display: inline-flex; align-items: center; gap: 9px; }
.hero__assure .icon { width: 16px; height: 16px; color: var(--crimson-soft); }

.hero__visual { position: relative; height: clamp(360px, 92vw, 520px); margin-inline: auto; width: min(100%, 560px); }
.hero__visual .arch { left: 50%; width: 62%; transform: translateX(-50%); bottom: 8%; top: 0; }
.hero__visual .arch--outline { width: 76%; top: -6%; bottom: 8%; }
.hero__shelf { position: absolute; left: 4%; right: 4%; bottom: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(182,154,99,.7), transparent); }
.hero__shelf::after { content: ""; position: absolute; left: 10%; right: 10%; top: 1px; height: 40px; background: radial-gradient(closest-side, rgba(152,14,22,.28), transparent); }
.hero__book { position: absolute; bottom: 8%; }
.hero__book--1 { left: 50%; margin-left: calc(var(--w) / -2); z-index: 3; --w: clamp(170px, 42vw, 250px); --ry: -16deg; }
.hero__book--2 { left: 4%; z-index: 2; --w: clamp(130px, 31vw, 190px); --ry: 26deg; bottom: 9%; }
.hero__book--3 { right: 2%; z-index: 4; --w: clamp(138px, 33vw, 200px); --ry: -32deg; bottom: 7.5%; }
.hero__book--2 .book__inner { transform: rotateX(4deg) rotateY(var(--ry)); }
.hero__book--2 .book__spine { display: none; }
.hero__badge { position: absolute; z-index: 5; left: 0; top: 10%; width: 112px; height: 112px; display: none; }
.hero__badge svg { width: 100%; height: 100%; }
.hero__badge text { font-family: var(--f-caps); font-size: 10.4px; letter-spacing: .32em; fill: var(--on-dark-soft); text-transform: uppercase; }
.hero__scroll { display: none; }

.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); padding-block: 22px; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.9rem); color: var(--on-dark-soft); }
.marquee__item::after { content: "\2726"; font-style: normal; font-size: .55em; color: var(--crimson-soft); }

@media (min-width: 640px) {
  .hero__running span:last-child { display: inline; }
}
@media (min-width: 1024px) {
  .hero__body { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; padding-block: 20px 56px; }
  .hero__visual { height: min(66vh, 640px); width: 100%; }
  .hero__badge { display: block; }
  .hero__scroll { display: flex; position: absolute; left: var(--gutter); bottom: 96px; writing-mode: vertical-rl; transform: rotate(180deg); align-items: center; gap: 14px; font-family: var(--f-caps); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark-faint); }
  .hero__scroll::before { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--crimson-soft), transparent); }
  .hero__copy { padding-left: clamp(0px, 3vw, 48px); }
}

/* ---------- 10. Home: intro ---------- */
.intro { display: grid; gap: clamp(48px, 6vw, 96px); }
.intro__aside { display: grid; gap: 28px; align-content: start; }
.intro__figure { position: relative; max-width: 420px; }
.intro__figure .mask { overflow: hidden; }
.intro__figure figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-faint); display: flex; gap: 12px; }
.intro__figure figcaption::before { content: "Fig. 01"; font-family: var(--f-caps); letter-spacing: .14em; color: var(--crimson); font-size: 11px; padding-top: 2px; }
.intro__main { display: grid; gap: clamp(40px, 5vw, 72px); }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; }
.pillar__num { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--crimson); line-height: 1; grid-row: span 2; }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (min-width: 700px) {
  .pillars { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1024px) {
  .intro { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .intro__figure { margin-top: 40px; }
}

/* ---------- 11. Home: services index ---------- */
.svc-index { display: grid; gap: 48px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); position: relative; }
.svc-row__head { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 26px 0; position: relative; }
.svc-row__num { font-family: var(--f-caps); font-size: 13px; color: var(--crimson); letter-spacing: .08em; }
.svc-row__title { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1; transition: transform .7s var(--ease), color .5s; }
.svc-row__count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.svc-row__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc-row.is-active .svc-row__bar { transform: scaleX(1); }
.svc-row.is-active .svc-row__title { color: var(--crimson); transform: translateX(12px); }
.svc-row__body { display: grid; gap: 18px; padding: 0 0 30px 60px; }
.svc-row__body p { color: var(--ink-soft); max-width: 34em; }
.svc-row__links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.svc-row__links a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.svc-row__links a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.svc-row__img { margin-top: 6px; }
.svc-stage { display: none; }
@media (min-width: 1024px) {
  .svc-index { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
  .svc-row__img { display: none; }
  .svc-stage { display: block; position: sticky; top: calc(var(--header-h) + 32px); height: min(72vh, 680px); background: var(--black); overflow: hidden; }
  .svc-stage__slide { position: absolute; inset: 0; display: grid; place-items: center; clip-path: inset(100% 0 0 0); }
  .svc-stage__slide.is-active { clip-path: inset(0 0 0 0); }
  .svc-stage__slide .arch { width: 62%; height: 74%; left: 19%; bottom: 0; }
  .svc-stage__slide .book { --w: clamp(190px, 18vw, 270px); z-index: 2; margin-top: 6%; }
  .svc-stage__label { position: absolute; left: 28px; bottom: 24px; z-index: 3; color: var(--on-dark); font-family: var(--f-caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
  .svc-stage__numeral { position: absolute; right: 22px; top: 6px; z-index: 1; font-family: var(--f-display); font-size: 10rem; line-height: 1; color: rgba(243,239,232,.06); font-style: italic; }
}
@media (max-width: 1023.98px) {
  .svc-row__img { height: 260px; background: var(--black); position: relative; overflow: hidden; display: grid; place-items: center; }
  .svc-row__img .arch { width: 56%; height: 82%; left: 22%; bottom: 0; }
  .svc-row__img .book { --w: 128px; z-index: 2; }
  .svc-row__body { padding-left: 0; }
}

/* ---------- 12. Home: why ---------- */
.why { display: grid; gap: 56px; }
.why__sticky { display: grid; gap: 26px; align-content: start; }
.why__list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why__item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 8px 22px; padding: 34px 0; }
.why__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); transform-origin: left; }
.why__item:last-child { border-bottom: 1px solid var(--line-dark); }
.why__num { font-family: var(--f-display); font-style: italic; font-size: 3rem; color: var(--crimson-soft); line-height: .9; grid-row: span 2; }
.why__item h3 { font-size: clamp(1.6rem, 2.3vw, 2.15rem); }
.why__item p { color: var(--on-dark-soft); max-width: 34em; }
.why__watermark { position: absolute; right: -4%; bottom: -6%; width: min(46vw, 620px); opacity: .05; pointer-events: none; filter: grayscale(1) brightness(3); z-index: 0; }
@media (min-width: 1024px) {
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; }
  .why__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* ---------- 13. Process (horizontal chapters) ---------- */
.chapters { position: relative; }
.chapters__viewport { overflow: hidden; }
.chapters__track { display: grid; gap: 0; position: relative; }
.chapter {
  position: relative; display: grid; gap: 14px; align-content: start;
  padding: 36px 0 36px 44px;
}
.chapter__dot { position: absolute; left: 0; top: 44px; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--crimson); z-index: 2; transition: background .4s; }
.chapter.is-on .chapter__dot { background: var(--crimson); }
.chapters__line { position: absolute; left: 6px; top: 50px; bottom: 50px; width: 1px; background: var(--line-strong); }
.chapters__progress { position: absolute; left: 6px; top: 50px; width: 1px; height: calc(100% - 100px); background: var(--crimson); transform: scaleY(0); transform-origin: top; }
.chapter__label { font-family: var(--f-caps); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--crimson); }
.chapter__num { font-family: var(--f-display); font-style: italic; font-size: clamp(4rem, 7vw, 6.5rem); line-height: .8; color: var(--ink); opacity: .1; position: absolute; right: 0; top: 20px; }
.chapter h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); max-width: 10em; }
.chapter p { color: var(--ink-soft); max-width: 26em; }
.chapter__detail { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.chapter__detail .icon { width: 15px; height: 15px; color: var(--crimson); }
@media (min-width: 1024px) {
  .chapters.is-pinned .chapters__viewport { overflow: visible; }
  .chapters.is-pinned .chapters__track { display: flex; width: max-content; gap: 0; padding-right: 20vw; }
  .chapters.is-pinned .chapter { width: clamp(340px, 30vw, 440px); padding: 80px 56px 20px 0; flex: none; }
  .chapters.is-pinned .chapter__dot { top: 0; left: 0; }
  .chapters.is-pinned .chapters__line { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .chapters.is-pinned .chapters__progress { left: 0; top: 6px; height: 1px; width: 100%; transform: scaleX(0); transform-origin: left; }
  .chapters.is-pinned .chapter__num { top: 40px; right: 56px; }
}

/* ---------- 14. Portfolio shelf ---------- */
.shelf { position: relative; }
.shelf__scroller {
  display: flex; gap: clamp(28px, 4vw, 64px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 40px var(--gutter) 30px;
  margin-inline: calc(var(--gutter) * -1);
  cursor: grab;
}
.shelf__scroller::-webkit-scrollbar { display: none; }
.shelf__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf__item { scroll-snap-align: start; flex: none; display: grid; gap: 22px; width: clamp(190px, 22vw, 270px); text-align: left; }
.shelf__item .book { --w: 100%; --ry: -24deg; width: 100%; }
.shelf__item:hover .book__inner, .shelf__item:focus-visible .book__inner { transform: rotateX(0deg) rotateY(-4deg) translateY(-12px); }
.shelf__meta { display: grid; gap: 4px; }
.shelf__genre { font-family: var(--f-caps); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--crimson-soft); }
.shelf__title { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.1; }
.shelf__floor { height: 1px; background: linear-gradient(90deg, transparent, rgba(182,154,99,.55), transparent); margin-top: -8px; }
.shelf__controls { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.shelf__progress { flex: 1; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.shelf__progress i { position: absolute; inset: 0; background: var(--crimson-soft); transform-origin: left; transform: scaleX(.2); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .75; transition: background .3s, color .3s, opacity .3s; }
.round-btn:hover { opacity: 1; background: var(--ivory); color: var(--black); }
.round-btn .icon { width: 18px; height: 18px; }
.round-btn--prev .icon { transform: rotate(180deg); }
.bg-ivory .round-btn:hover, .bg-white .round-btn:hover { background: var(--ink); color: var(--ivory); }
.label-note { display: inline-flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-faint); letter-spacing: .02em; }
.on-dark .label-note { color: var(--on-dark-faint); }
.label-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Book detail dialog */
.book-dialog { border: 0; padding: 0; max-width: min(1040px, calc(100vw - 32px)); width: 100%; background: var(--ivory); color: var(--ink); }
.book-dialog::backdrop { background: rgba(10,10,10,.78); backdrop-filter: blur(4px); }
.book-dialog__inner { display: grid; }
.book-dialog__visual { background: var(--black); display: grid; place-items: center; padding: 48px 24px; position: relative; overflow: hidden; }
.book-dialog__visual .arch { width: 60%; height: 80%; left: 20%; bottom: 0; }
.book-dialog__visual .book { --w: min(52vw, 260px); z-index: 2; }
.book-dialog__body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.book-dialog__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ivory); color: var(--ink); border-radius: 50%; }
.book-dialog__close .icon { width: 20px; height: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.on-dark .tag-list li { border-color: var(--line-dark); }
@media (min-width: 800px) { .book-dialog__inner { grid-template-columns: 1fr 1fr; } }

/* ---------- 15. Solutions (alternating) ---------- */
.solutions { display: grid; gap: clamp(80px, 10vw, 150px); }
.solution { display: grid; gap: 40px; align-items: center; }
.solution__visual { position: relative; height: clamp(360px, 46vw, 560px); background: var(--black); overflow: hidden; display: grid; place-items: center; }
.solution__visual .arch { width: 54%; height: 78%; left: 23%; bottom: 0; }
.solution__visual .book { --w: clamp(150px, 17vw, 240px); z-index: 2; }
.solution__visual-num { position: absolute; left: 24px; top: 18px; font-family: var(--f-display); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); color: rgba(243,239,232,.08); line-height: 1; }
.solution__copy { display: grid; gap: 22px; max-width: 520px; }
.solution__points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.solution__points li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.solution__points .icon { width: 16px; height: 16px; color: var(--crimson); flex: none; transform: translateY(3px); }
@media (min-width: 1024px) {
  .solution { grid-template-columns: 1fr 1fr; gap: 96px; }
  .solution:nth-child(even) .solution__visual { order: 2; }
}

/* ---------- 16. Testimonials ---------- */
.quotes { position: relative; display: grid; gap: 40px; }
.quotes__mark { width: 64px; height: 64px; color: var(--crimson); }
.quotes__stage { position: relative; min-height: 15em; }
.quote { position: absolute; inset: 0; display: grid; gap: 30px; align-content: start; visibility: hidden; }
.quote.is-active { position: relative; visibility: visible; }
.quote blockquote { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.16; max-width: 24em; }
.quote figcaption { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.quote figcaption strong { font-weight: 600; letter-spacing: .04em; }
.quote figcaption span { color: var(--ink-faint); }
.placeholder-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); background: rgba(152,14,22,.08); padding: 6px 12px; border-radius: 999px; }
.quotes__nav { display: flex; align-items: center; gap: 16px; }
.quotes__count { font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; min-width: 4.5em; }
.quotes__bar { flex: 1; max-width: 280px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.quotes__bar i { position: absolute; inset: 0; background: var(--crimson); transform-origin: left; transform: scaleX(0); }

/* ---------- 17. Conversion CTA ---------- */
.convert { display: grid; overflow: hidden; }
.convert__panel { padding: clamp(48px, 7vw, 110px) var(--gutter); position: relative; }
.convert__panel--red { background: var(--crimson); color: var(--ivory); isolation: isolate; overflow: hidden; }
.convert__panel--red::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 0% 100%, var(--burgundy), transparent 70%); }
.convert__panel--red .arch--outline { border-color: rgba(248,245,240,.22); width: 60%; height: 120%; right: -14%; bottom: -30%; left: auto; }
.convert__panel--dark { background: var(--black); color: var(--on-dark); }
.convert__title { font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .94; max-width: 7.5em; }
.convert__title em { color: var(--black) !important; }
.convert__copy { display: grid; gap: 28px; max-width: 520px; position: relative; }
.convert__contact { display: grid; gap: 12px; margin-top: 10px; }
.convert__contact a { display: inline-flex; gap: 12px; align-items: center; font-size: 15px; }
.convert__contact .icon { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .convert { grid-template-columns: 1fr 1fr; }
  .convert__panel { padding-inline: clamp(40px, 6vw, 96px); }
}

/* ---------- 18. Forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; position: relative; }
.field label, .field .label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field label .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .6; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent; border-radius: 0; font-size: 16px; line-height: 1.5;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23980E16' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; padding-right: 28px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--crimson); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--crimson); }
.on-dark .field.has-error input, .on-dark .field.has-error select, .on-dark .field.has-error textarea { border-bottom-color: #ff8f94; }
.field label .req { color: var(--crimson); margin-left: 3px; letter-spacing: 0; }
.on-dark .field label .req { color: var(--crimson-soft); }
.field__error { font-size: 13px; color: var(--crimson); min-height: 0; }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { border-bottom-color: rgba(243,239,232,.3); color: var(--on-dark); }
.on-dark .field select option { color: var(--ink); }
.on-dark .field::after { background: var(--crimson-soft); }
.on-dark .field__error { color: #ff8f94; }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: var(--on-dark-faint); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); }
.on-dark .form__consent { color: var(--on-dark-faint); }
.form__consent a { text-decoration: underline; text-underline-offset: .2em; }
.form__status { font-size: 14.5px; line-height: 1.5; padding: 14px 16px; border-left: 2px solid currentColor; display: none; }
.form__status.is-error { display: block; color: var(--crimson); background: rgba(152,14,22,.06); }
.on-dark .form__status.is-error { color: #ff9ea2; background: rgba(255,255,255,.04); }
.form__status.is-success { display: block; color: #1f5f3a; background: rgba(31,95,58,.08); }
.on-dark .form__status.is-success { color: #9fe0b7; background: rgba(255,255,255,.04); }
.form .btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.form .btn[aria-busy="true"] .btn__label::after { content: "…"; }
.form-card { background: var(--white); padding: clamp(28px, 3.6vw, 48px); box-shadow: 0 50px 90px -60px rgba(16,16,16,.45); position: relative; }
.form-card--dark { background: var(--charcoal); color: var(--on-dark); }
/* A light card inside a dark section keeps light-theme form styling */
.on-dark .form-card:not(.form-card--dark) { color: var(--ink); }
.on-dark .form-card:not(.form-card--dark) .field input,
.on-dark .form-card:not(.form-card--dark) .field select,
.on-dark .form-card:not(.form-card--dark) .field textarea { color: var(--ink); border-bottom-color: var(--line-strong); }
.on-dark .form-card:not(.form-card--dark) .field input::placeholder,
.on-dark .form-card:not(.form-card--dark) .field textarea::placeholder { color: var(--ink-faint); }
.on-dark .form-card:not(.form-card--dark) .field::after { background: var(--crimson); }
.on-dark .form-card:not(.form-card--dark) .field__error,
.on-dark .form-card:not(.form-card--dark) .form__status.is-error { color: var(--crimson); }
.on-dark .form-card:not(.form-card--dark) .form__status.is-success { color: #1f5f3a; }
.on-dark .form-card:not(.form-card--dark) .form__consent { color: var(--ink-faint); }
.on-dark .form-card:not(.form-card--dark) .form-card__head p { color: var(--ink-soft); }
.on-dark .form-card:not(.form-card--dark) h2 em, .on-dark .form-card:not(.form-card--dark) h3 em { color: var(--crimson); }
.on-dark .form-card:not(.form-card--dark) .choice span { border-color: var(--line-strong); }
.on-dark .form-card:not(.form-card--dark) .choice input:checked + span { background: var(--ink); color: var(--ivory); }
.on-dark .form-card:not(.form-card--dark) .btn { --btn-fill: var(--black); --btn-fill-fg: var(--ivory); }
.form-card__head { display: grid; gap: 8px; margin-bottom: 26px; }
.form-card__head h2, .form-card__head h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.form-card__head p { font-size: 14.5px; color: var(--ink-soft); }
.form-card--dark .form-card__head p { color: var(--on-dark-soft); }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field label.choice { text-transform: none; letter-spacing: normal; font-weight: 400; font-size: inherit; }
.choice span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; transition: background .3s, color .3s, border-color .3s; }
.choice input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 2px; }
.on-dark .choice span { border-color: rgba(243,239,232,.3); }
.on-dark .choice input:checked + span { background: var(--ivory); color: var(--black); }

/* ---------- 19. Blog cards ---------- */
.posts { display: grid; gap: 48px 32px; }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--black); position: relative; display: grid; place-items: center; }
.post-card__media > picture, .post-card__media > picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card__media--book .arch { width: 48%; height: 78%; left: 26%; bottom: 0; }
.post-card__media--book .book { --w: clamp(96px, 30%, 150px); z-index: 2; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media > picture img { transform: scale(1.05); }
.post-card:hover .post-card__media--book .book { transform: translateY(-8px); }
.post-card__meta { display: flex; gap: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.post-card__meta span:first-child { color: var(--crimson); font-weight: 600; }
.post-card h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); line-height: 1.12; transition: color .3s; }
.post-card:hover h3 { color: var(--crimson); }
.post-card p { color: var(--ink-soft); font-size: 15px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .posts--feature .post-card:first-child { grid-column: span 2; grid-row: span 2; }
  .posts--feature .post-card:first-child .post-card__media { aspect-ratio: 16 / 11; }
  .posts--feature .post-card:first-child h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
}

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.footer-cta { display: grid; gap: 28px; align-items: end; padding-block: clamp(72px, 9vw, 130px) clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-cta__title { font-size: clamp(2.8rem, 7vw, 7rem); line-height: .92; letter-spacing: -.02em; }
.footer-cta__title em { color: var(--crimson-soft); font-style: italic; }
@media (min-width: 1024px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-grid { display: grid; gap: 44px 32px; padding-block: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-col address a { overflow-wrap: anywhere; }
/* The email address stays on one line: the contact column spans the row where columns are narrow */
.footer-col address a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }
.footer-col--contact { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 22px; align-content: start; max-width: 380px; }
.footer-brand img { width: 260px; height: auto; }
.footer-brand p { color: var(--on-dark-soft); font-size: 14.5px; line-height: 1.7; }
.footer-col h2 { font-family: var(--f-caps); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--crimson-soft); margin-bottom: 18px; line-height: 1.4; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14.5px; color: var(--on-dark-soft); transition: color .3s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col address { font-style: normal; display: grid; gap: 12px; font-size: 14.5px; color: var(--on-dark-soft); }
.footer-col address a, .footer-col address span { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-col address .icon { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--crimson-soft); }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.social a:hover { background: var(--ivory); color: var(--black); }
.social .icon { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 26px 34px; display: grid; gap: 16px; font-size: 13px; color: var(--on-dark-faint); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--on-dark); }
.footer-disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--on-dark-faint); max-width: 70em; }
/* Large CAMBRIDGE outline: charcoal at rest, crimson light sweep on reveal, letter glow on hover (main.js initFooterWord) */
.footer-word {
  --fw-stroke: 1.5px;
  position: relative; font-family: var(--f-body); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 13.2vw, 14rem); line-height: .82; letter-spacing: -.01em;
  white-space: nowrap; text-align: center; padding: .08em 0 2vw; user-select: none; overflow: hidden;
}
.fw__base, .fw__light { display: block; }
.fw__l {
  --c: #494949; --g: rgba(229,43,54,0);
  /* Stroke is painted under a background-coloured fill: only the outer half shows, which hides the
     internal overlapping contours of the variable font (e.g. inside the "A") and keeps glows outside the letter. */
  display: inline-block; color: #101010; paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--fw-stroke) * 2) var(--c);
  text-shadow: 0 0 .18em var(--g);
  will-change: transform;
}
.js .footer-word:not(.is-revealed) .fw__base .fw__l { --c: #2c2c2c; }
/* Light layer: an exact copy of the word in bright crimson, revealed only inside a moving soft-edged band */
.fw__light {
  --sx: -30%;
  position: absolute; left: 0; right: 0; top: .08em; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), rgba(0,0,0,.55) calc(var(--sx) - 5%), #000 var(--sx), rgba(0,0,0,.55) calc(var(--sx) + 5%), transparent calc(var(--sx) + 14%));
          mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), rgba(0,0,0,.55) calc(var(--sx) - 5%), #000 var(--sx), rgba(0,0,0,.55) calc(var(--sx) + 5%), transparent calc(var(--sx) + 14%));
  opacity: 0;
}
.fw__light .fw__l {
  --c: #e52b36;
  -webkit-text-stroke-width: calc(var(--fw-stroke) * 2 + 1px);
  text-shadow: 0 0 .12em rgba(229,43,54,.55), 0 0 .4em rgba(101,7,13,.6);
}
@media (max-width: 760px) { .footer-word { --fw-stroke: 1px; } }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) minmax(280px, 1.25fr); }
  .footer-col--contact { grid-column: auto; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* Consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 460px;
  background: var(--black); color: var(--on-dark); padding: 24px; display: grid; gap: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border-top: 2px solid var(--crimson);
  transform: translateY(140%); transition: transform .7s var(--ease);
}
.consent.is-visible { transform: none; }
.consent p { font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); }
.consent p a { text-decoration: underline; text-underline-offset: .2em; color: var(--on-dark); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { min-height: 44px; padding: 0 18px; font-size: 11.5px; }
@media (max-width: 899px) { .consent { bottom: 72px; padding: 18px; } .consent p { font-size: 13px; } }
@media (min-width: 900px) { .consent { left: auto; right: 24px; bottom: 24px; max-width: 400px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Breadcrumbs */
.crumbs { font-size: 12.5px; letter-spacing: .06em; color: var(--ink-faint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; gap: 10px; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { color: var(--crimson); }
.crumbs [aria-current] { color: var(--ink-soft); }
.on-dark .crumbs { color: var(--on-dark-faint); }
.on-dark .crumbs [aria-current] { color: var(--on-dark-soft); }

/* Page hero: shared */
.phero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); }
.phero__grid { display: grid; gap: 48px; padding-bottom: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 4vw, 56px); }
.phero__copy { display: grid; gap: 24px; align-content: center; position: relative; z-index: 2; }
.phero__title { font-size: clamp(2.9rem, 6.2vw, 6.4rem); line-height: .96; letter-spacing: -.02em; max-width: 11em; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 13.5px; }
.phero__facts li { display: inline-flex; gap: 9px; align-items: center; }
.phero__facts .icon { width: 16px; height: 16px; color: var(--crimson); }
.on-dark .phero__facts { color: var(--on-dark-soft); }
.on-dark .phero__facts .icon { color: var(--crimson-soft); }

/* Variant: dark split with arch + book */
.phero--dark { background: var(--black); color: var(--on-dark); }
.phero--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 80% 55%, rgba(152,14,22,.3), transparent 70%); }
.phero--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.phero__visual { position: relative; min-height: clamp(340px, 80vw, 520px); display: grid; place-items: end center; }
.phero__visual .arch { width: min(70%, 380px); height: 92%; left: 50%; transform: translateX(-50%); bottom: 0; }
.phero__visual .arch--outline { width: min(86%, 470px); height: 102%; }
.phero__visual .book { --w: clamp(170px, 46vw, 270px); z-index: 2; margin-bottom: 8%; }
.phero__visual .phero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(182,154,99,.6), transparent); }

/* Variant: ivory typographic */
.phero--type { background: var(--ivory); }
.phero--type .phero__grid { text-align: left; }
.phero--type .phero__title { font-size: clamp(3rem, 7.6vw, 7.8rem); max-width: 12em; }
.phero__index { font-family: var(--f-display); font-style: italic; font-size: clamp(8rem, 22vw, 20rem); line-height: .8; color: var(--crimson); opacity: .08; position: absolute; right: var(--gutter); top: calc(var(--header-h) + 10px); z-index: 0; pointer-events: none; }

/* Variant: illustration collage */
.phero--art { background: var(--ivory-deep); }
.phero__collage { position: relative; min-height: clamp(380px, 90vw, 560px); }
.phero__collage figure { position: absolute; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(16,16,16,.55); background: var(--white); padding: 8px; }
.phero__collage figure img { width: 100%; height: 100%; object-fit: cover; }
.phero__collage figure picture { height: 100%; }
.phero__collage figure:nth-child(1) { width: 54%; aspect-ratio: 3/4; left: 22%; top: 4%; z-index: 2; }
.phero__collage figure:nth-child(2) { width: 38%; aspect-ratio: 3/4; left: 0; top: 30%; z-index: 1; transform: rotate(-5deg); }
.phero__collage figure:nth-child(3) { width: 38%; aspect-ratio: 3/4; right: 0; top: 22%; z-index: 3; transform: rotate(4deg); }

/* Variant: burgundy (marketing) */
.phero--burgundy { background: var(--burgundy); color: var(--on-dark); }
.phero--burgundy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 30%, rgba(179,20,30,.55), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(16,16,16,.6), transparent 70%); }
.phero--burgundy::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.phero--burgundy em { color: var(--ivory) !important; }
.phero--burgundy .eyebrow, .phero--burgundy .phero__facts .icon { color: #f2b9bc; }
.launch-stack { position: relative; min-height: clamp(340px, 80vw, 520px); }
.launch-stack .book { position: absolute; }
.launch-stack .book:nth-of-type(1) { --w: clamp(140px, 36vw, 220px); left: 6%; bottom: 10%; --ry: 24deg; z-index: 1; }
.launch-stack .book:nth-of-type(2) { --w: clamp(160px, 42vw, 250px); left: 50%; margin-left: calc(var(--w) / -2); bottom: 6%; z-index: 3; --ry: -14deg; }
.launch-stack .book:nth-of-type(3) { --w: clamp(140px, 36vw, 220px); right: 4%; bottom: 12%; z-index: 2; --ry: -32deg; }
.launch-stack__ring { position: absolute; left: 50%; top: 48%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px dashed rgba(248,245,240,.18); border-radius: 50%; }

/* Variant: audio */
.phero--audio { background: var(--black); color: var(--on-dark); }
.phero--audio::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.wave { display: flex; align-items: center; gap: clamp(3px, .5vw, 6px); height: 180px; }
.wave i { display: block; flex: 1; min-width: 2px; background: linear-gradient(180deg, var(--crimson-soft), var(--crimson)); border-radius: 2px; height: calc(var(--h) * 1%); transform-origin: center; }
.audio-visual { position: relative; display: grid; gap: 28px; align-content: center; }
.audio-visual .book { --w: clamp(150px, 36vw, 210px); justify-self: center; z-index: 2; }

@media (min-width: 1024px) {
  .phero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 64px; }
  .phero--type .phero__grid { grid-template-columns: 1fr; }
  .phero__visual { min-height: min(66vh, 600px); }
  .phero__collage, .launch-stack { min-height: min(66vh, 600px); }
}

/* Type hero band (manuscript sheet) */
.ms-band { position: relative; margin-top: 8px; }

/* Manuscript sheet (editorial signature) */
.ms {
  position: relative; background: var(--white); padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 72px) clamp(28px, 5vw, 56px);
  box-shadow: 0 60px 100px -70px rgba(16,16,16,.6), 0 2px 0 rgba(16,16,16,.04);
  max-width: 880px; margin-inline: auto;
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(2.15em - 1px), rgba(16,16,16,.05) calc(2.15em - 1px) 2.15em);
  font-family: var(--f-display); font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 2.15em;
}
.ms__head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; font-family: var(--f-body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); line-height: 1; margin-bottom: 1.6em; }
.ms p { position: relative; }
.ms del {
  --s: 1; text-decoration: none; color: var(--ink-faint);
  background: linear-gradient(var(--crimson), var(--crimson)) no-repeat 0 58% / calc(var(--s) * 100%) 1.5px;
}
.ms ins { text-decoration: none; color: var(--crimson); font-style: italic; position: relative; opacity: var(--o, 1); }
.ms__note {
  position: relative; display: block; margin: 14px 0 0; padding: 12px 16px; border-left: 2px solid var(--crimson);
  font-family: var(--f-body); font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); background: rgba(152,14,22,.04);
}
.ms__note b { color: var(--crimson); font-weight: 600; letter-spacing: .08em; font-size: 11px; text-transform: uppercase; display: block; margin-bottom: 2px; }
@media (min-width: 1100px) {
  .ms { margin-right: 300px; }
  .ms__note { position: absolute; right: -300px; width: 260px; margin: 0; top: var(--top, 0); }
}

/* Intro split (service pages) */
.svc-intro { display: grid; gap: 48px; }
.svc-intro__quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.2; color: var(--ink); position: relative; padding-top: 34px; }
.svc-intro__quote::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: var(--crimson); }
.svc-intro__body { display: grid; gap: 22px; }
.svc-intro__body h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.svc-intro__body p { color: var(--ink-soft); }
@media (min-width: 1024px) { .svc-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 110px; align-items: start; } .svc-intro--flip .svc-intro__quote { order: 2; } }

/* Benefits A: ruled grid */
.benefits { display: grid; gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 36px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; position: relative; }
.benefit__num { font-family: var(--f-caps); font-size: 12px; color: var(--crimson); letter-spacing: .1em; }
.benefit h3 { font-size: clamp(1.55rem, 2.2vw, 2.05rem); }
.benefit p { color: var(--ink-soft); max-width: 30em; }
.on-dark .benefits, .on-dark .benefit { border-color: var(--line-dark); }
.on-dark .benefit p { color: var(--on-dark-soft); }
.on-dark .benefit__num { color: var(--crimson-soft); }
@media (min-width: 800px) {
  .benefits { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}
/* Benefits B: large rows */
.benefits--rows { grid-template-columns: 1fr !important; }
.benefits--rows .benefit { padding: 40px 0; }
@media (min-width: 900px) {
  .benefits--rows .benefit { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: baseline; }
  .benefits--rows .benefit h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
}

/* Included list on paper card */
.included { display: grid; gap: 48px; align-items: start; }
.included__card { background: var(--white); padding: clamp(28px, 4vw, 56px); box-shadow: 0 50px 90px -70px rgba(16,16,16,.5); position: relative; }
.included__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--crimson); }
.included__list { list-style: none; margin: 0; padding: 0; display: grid; }
.included__list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line-strong); font-size: 16px; }
.included__list li:last-child { border-bottom: 0; }
.included__list .icon { width: 18px; height: 18px; color: var(--crimson); margin-top: 4px; }
.ideal { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.ideal li { font-family: var(--f-display); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.25; padding-left: 34px; position: relative; }
.ideal li::before { content: "\2726"; position: absolute; left: 0; top: .2em; font-size: .6em; color: var(--crimson); }
@media (min-width: 1024px) { .included { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; } }

/* Steps A: horizontal */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 0 32px 64px; border-top: 1px solid var(--line); }
.step__n { position: absolute; left: 0; top: 30px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--crimson); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.2rem; color: var(--crimson); background: inherit; }
.step h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }
.on-dark .step { border-color: var(--line-dark); }
.on-dark .step p { color: var(--on-dark-soft); }
.on-dark .step__n { border-color: var(--crimson-soft); color: var(--crimson-soft); }
@media (min-width: 1000px) {
  .steps--h { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps--h .step { padding: 76px 0 0; border-top: 0; }
  .steps--h .step__n { top: 0; }
  .steps--h::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-strong); }
  .on-dark .steps--h::before { background: var(--line-dark); }
  .steps--h .steps__fill { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--crimson); transform: scaleX(0); transform-origin: left; }
}
.steps__fill { display: none; }
@media (min-width: 1000px) { .steps--h .steps__fill { display: block; } }
/* Steps B: vertical with sticky title */
.steps-split { display: grid; gap: 48px; }
@media (min-width: 1024px) { .steps-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; } .steps-split__head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; } }

/* FAQ */
.faq { display: grid; gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.25; transition: color .3s; }
.faq__q:hover { color: var(--crimson); }
.faq__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--crimson); color: var(--ivory); border-color: var(--crimson); }
.faq__a { overflow: hidden; height: 0; }
.faq__a > div { padding: 0 64px 28px 0; color: var(--ink-soft); max-width: 46em; }
.no-js .faq__a, .faq__a.is-static { height: auto; }
@media (min-width: 1024px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 96px; } }

/* Related services */
.related { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related__card { background: var(--ivory); padding: 34px 30px; display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; min-height: 240px; align-content: start; transition: color .5s var(--ease); }
.related__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.related__card:hover { color: var(--on-dark); }
.related__card:hover::before { transform: scaleY(1); }
.related__card .caps { color: var(--crimson); font-size: 10.5px; }
.related__card:hover .caps { color: var(--crimson-soft); }
.related__card h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.related__card p { font-size: 14.5px; color: var(--ink-soft); transition: color .5s; }
.related__card:hover p { color: var(--on-dark-soft); }
.related__card .icon { width: 22px; height: 22px; margin-top: auto; transition: transform .5s var(--ease); }
.related__card:hover .icon { transform: translate(4px, -4px); }
@media (min-width: 800px) { .related { grid-template-columns: repeat(3, 1fr); } }

/* CTA band (inner pages) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--crimson); color: var(--ivory); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, var(--burgundy), transparent 70%); }
.cta-band__inner { display: grid; gap: 32px; padding-block: clamp(64px, 8vw, 120px); align-items: end; }
.cta-band h2 { font-size: clamp(2.5rem, 5.4vw, 5.2rem); max-width: 11em; line-height: .98; }
.cta-band h2 em { color: var(--black) !important; }
.cta-band p { color: rgba(248,245,240,.82); max-width: 34em; }
.cta-band .arch--outline { border-color: rgba(248,245,240,.2); width: 520px; height: 640px; right: -120px; top: 10%; left: auto; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* Enquiry split (service pages) */
.enquire { display: grid; gap: 48px; }
.enquire__copy { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) { .enquire { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; } .enquire__copy { position: sticky; top: calc(var(--header-h) + 48px); } }

/* Signature: formats trio */
.formats { display: grid; gap: 1px; background: var(--line-dark); }
.format { background: var(--black); padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px); display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; }
.format__visual { height: 280px; display: grid; place-items: center; position: relative; }
.format__visual .book { --w: 150px; }
.format__device { width: 164px; aspect-ratio: 9 / 14; border: 9px solid #2a2a2a; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); }
.format__device img { width: 100%; height: 100%; object-fit: cover; }
.format h3 { font-size: clamp(1.7rem, 2.3vw, 2.1rem); }
.format p { color: var(--on-dark-soft); font-size: 15px; }
.format ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--on-dark-soft); }
.format li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-dark); padding-bottom: 8px; }
.format li span:last-child { color: var(--on-dark); text-align: right; }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }

/* Signature: cover wall */
.cover-wall { display: grid; gap: clamp(16px, 2vw, 28px); overflow: hidden; padding-block: 12px; }
.cover-wall__row { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; will-change: transform; }
.cover-wall__row .cover-flat { width: clamp(130px, 14vw, 200px); flex: none; }

/* Signature: illustration gallery */
.art-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.art-tabs button { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; transition: background .3s, color .3s; }
.art-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.art-grid { columns: 2 180px; column-gap: clamp(12px, 1.6vw, 22px); }
.art-grid figure { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 22px); overflow: hidden; background: var(--white); position: relative; }
.art-grid figure img { width: 100%; transition: transform 1.2s var(--ease); }
.art-grid figure:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .art-grid { columns: 3; } }
@media (min-width: 1300px) { .art-grid { columns: 4; } }

/* Signature: launch timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline__item { position: relative; padding: 0 0 40px 44px; display: grid; gap: 8px; }
.timeline__item::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -12px; width: 1px; background: var(--line-dark); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--crimson-soft); background: var(--black); }
.timeline__item.is-on .timeline__dot { background: var(--crimson-soft); }
.timeline__when { font-family: var(--f-caps); font-size: 11px; letter-spacing: .26em; color: var(--crimson-soft); text-transform: uppercase; }
.timeline__item h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); }
.timeline__item p { color: var(--on-dark-soft); font-size: 15px; max-width: 26em; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .timeline__item { padding: 48px 0 0; }
  .timeline__item::before { left: 0; right: -32px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .timeline__item:last-child::before { display: block; right: 0; }
  .timeline__dot { top: 0; }
}

/* Signature: chapter list (audio) */
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.tracklist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.tracklist__n { font-family: var(--f-display); font-style: italic; color: var(--crimson-soft); font-size: 1.3rem; }
.tracklist__t { font-family: var(--f-display); font-size: 1.35rem; }
.tracklist__d { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); }
.mini-wave { display: flex; gap: 3px; align-items: center; height: 26px; }
.mini-wave i { width: 3px; background: var(--crimson-soft); height: calc(var(--h) * 1%); border-radius: 2px; }

/* Services hub: table of contents */
.toc { display: grid; gap: clamp(64px, 8vw, 110px); }
.toc__part { display: grid; gap: 28px; }
.toc__head { display: grid; gap: 14px; }
.toc__part-label { font-family: var(--f-caps); letter-spacing: .3em; font-size: 12px; color: var(--crimson); text-transform: uppercase; }
.toc__head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.toc__list a:hover { color: var(--crimson); padding-left: 10px; }
.toc__t { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; }
.toc__dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-6px); min-width: 20px; }
.toc__d { font-size: 13.5px; color: var(--ink-faint); max-width: 18em; text-align: right; display: none; }
.toc__p { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--crimson); min-width: 2ch; text-align: right; }
@media (min-width: 900px) { .toc__d { display: block; } }
@media (min-width: 1024px) { .toc__part { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } .toc__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }

/* Generic content blocks */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } .split--wide-left { grid-template-columns: 7fr 5fr; } }
.img-frame { position: relative; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--ivory); padding: 40px 32px; display: grid; gap: 14px; align-content: start; }
.value__num { font-family: var(--f-display); font-style: italic; font-size: 2.6rem; color: var(--crimson); line-height: 1; }
.value h3 { font-size: 1.7rem; }
.value p { color: var(--ink-soft); font-size: 15px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.notice { border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 14.5px; color: var(--ink-soft); background: rgba(182,154,99,.06); }
.on-dark .notice { border-color: var(--line-dark); border-left-color: var(--gold); color: var(--on-dark-soft); }

/* Article */
.article { max-width: 760px; margin-inline: auto; font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.8; }
.article > * + * { margin-top: 1.2em; }
.article h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 1.8em; line-height: 1.1; }
.article h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: .5em; }
.article li::marker { color: var(--crimson); }
.article a { color: var(--crimson); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.article blockquote { font-family: var(--f-display); font-style: italic; font-size: 1.6em; line-height: 1.3; border-left: 2px solid var(--crimson); padding-left: 24px; color: var(--ink); }
.article > p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--crimson); }
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); margin-top: 2em; }
.legal h3 { font-size: 1.4rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal > * + * { margin-top: 1em; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--crimson); text-decoration: underline; }
.legal > h2:first-child { margin-top: 0; }
.legal h2 { scroll-margin-top: 110px; padding-top: .9em; border-top: 1px solid var(--line); }
.legal > h2:first-child { border-top: 0; padding-top: 0; }
.legal h3 { scroll-margin-top: 110px; }
.legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: .45em; }
.legal li::marker { color: var(--crimson); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .legal-note { border-left: 3px solid var(--gold); background: rgba(182,154,99,.08); padding: 14px 18px; font-size: 15px; }
.legal .legal-summary { background: var(--ivory); border: 1px solid var(--line); padding: 22px 24px; border-radius: 4px; }
.legal .legal-summary h3 { margin-top: 0; font-size: 1.3rem; }
.legal .confirm { background: rgba(152,14,22,.08); color: var(--burgundy); font-weight: 600; padding: 0 4px; border-radius: 2px; white-space: normal; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal th { color: var(--ink); font-weight: 600; background: var(--ivory); }
.legal-table-wrap { overflow-x: auto; max-width: 100%; }
.legal-layout > * { min-width: 0; }
@media (max-width: 640px) { .legal th, .legal td { padding: 9px 8px; font-size: 13.5px; } .legal td:first-child { word-break: break-word; } }
.legal-meta { font-size: 13.5px; letter-spacing: .04em; color: var(--ink-faint); }
.legal-layout { display: grid; gap: 40px; }
.legal-toc__box { border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); padding: 16px 20px; }
.legal-toc__box summary { cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--crimson); list-style: none; }
.legal-toc__box summary::-webkit-details-marker { display: none; }
.legal-toc__box ol { list-style: none; counter-reset: toc; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.legal-toc__box li { counter-increment: toc; }
.legal-toc__box a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 5px 0; font-size: 14px; line-height: 1.35; color: var(--ink-soft); transition: color .25s; }
.legal-toc__box a::before { content: counter(toc, decimal-leading-zero); font-size: 11.5px; color: var(--crimson); padding-top: 2px; }
.legal-toc__box a:hover, .legal-toc__box a.is-active { color: var(--crimson); }
.legal-toc__pages { margin-top: 24px; }
.legal-toc__pages p { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.legal-toc__pages ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-toc__pages a { font-size: 14px; color: var(--ink-soft); }
.legal-toc__pages a[aria-current] { color: var(--crimson); font-weight: 600; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 290px minmax(0, 820px); gap: 72px; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; scrollbar-width: thin; }
}

/* Portfolio grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filters button { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; transition: background .3s, color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pf-grid { display: grid; gap: 56px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.pf-card { display: grid; gap: 18px; text-align: left; }
.pf-card__stage { background: var(--black); aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.pf-card__stage .arch { width: 60%; height: 76%; left: 20%; bottom: 0; transition: transform .9s var(--ease); }
.pf-card__stage .book { --w: 52%; width: 52%; z-index: 2; }
.pf-card:hover .pf-card__stage .arch { transform: scaleY(1.06); transform-origin: bottom; }
.pf-card:hover .book__inner { transform: rotateY(-6deg) translateY(-10px); }
.pf-card .caps { color: var(--crimson); font-size: 10.5px; }
.pf-card h3 { font-size: 1.6rem; }

/* Landing pages */
.lp-header { position: absolute; inset: 0 0 auto 0; z-index: 20; height: var(--header-h); color: var(--on-dark); background: #292929; border-bottom: 1px solid rgba(243,239,232,.08); }
.lp-header .site-header__bar { justify-content: space-between; }
.lp-header .brand img { width: 254px; height: auto; }
.lp-header__actions { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.lp-header__actions .icon { width: 18px; height: 18px; }
.lp-hero { background: var(--black); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + 24px); }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 20% 30%, rgba(152,14,22,.32), transparent 70%); }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.lp-hero__grid { display: grid; gap: 40px; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 100px); }
.lp-hero__copy { display: grid; gap: 22px; align-content: start; }
.lp-hero__title { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.02em; }
.lp-bullets { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-bullets li { display: flex; gap: 12px; align-items: baseline; color: var(--on-dark-soft); }
.lp-bullets .icon { width: 17px; height: 17px; color: var(--crimson-soft); flex: none; transform: translateY(3px); }
.lp-hero__books { display: none; gap: 14px; align-items: flex-end; margin-top: 18px; }
@media (min-width: 1024px) { .lp-hero__books { display: flex; } }
@media (max-width: 520px) {
  .lp-header .brand img { width: 200px; }
  .lp-header .btn--sm { min-height: 40px; padding: 0 12px; font-size: 10.5px; letter-spacing: .08em; }
}
.lp-hero__books .cover-flat { width: clamp(70px, 9vw, 104px); }
.lp-trust { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.lp-trust div { background: var(--white); padding: 26px 24px; display: grid; gap: 6px; }
.lp-trust strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; }
.lp-trust span { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 800px) { .lp-trust { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .lp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; } .lp-hero__copy { padding-top: 24px; } }
.lp-footer { background: var(--black); color: var(--on-dark-faint); font-size: 13px; padding-block: 36px; }
.lp-footer .container { display: grid; gap: 16px; }
.lp-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.lp-footer a:hover { color: var(--on-dark); }

/* Thank-you / 404 */
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.center-page__inner { display: grid; gap: 24px; justify-items: center; max-width: 720px; }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.text-center { text-align: center; }
.overflow-hidden { overflow: hidden; }
.max-ch { max-width: 36em; }

/* ==========================================================================
   Promotional consultation popup (native <dialog>)
   ========================================================================== */
.promo { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(12px, 3vw, 44px); border: 0; background: transparent; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.promo:not([open]) { display: none; }
.promo[open] { display: grid; place-items: start center; }   /* "safe" centring: the modal uses auto margins, so tall content never clips above the fold */
.promo::backdrop { background: transparent; }
.promo__overlay { position: fixed; inset: 0; background: rgba(8, 6, 6, .72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.promo__modal {
  position: relative; width: min(1460px, 100%); margin-block: auto;
  display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr);
  border-radius: 24px; overflow: hidden; background: var(--ivory);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  transform-origin: 50% 50%;
}
.promo__close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); color: var(--ivory);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: background .3s, transform .4s var(--ease);
}
.promo__close .licon { width: 22px; height: 22px; stroke-width: 1.8; transition: transform .4s var(--ease); }
.promo__close:hover, .promo__close:focus-visible { background: var(--crimson); }
.promo__close:hover .licon { transform: rotate(90deg); }

/* Left: artwork + promise */
.promo__art { position: relative; min-height: min(780px, calc(100dvh - 88px)); background: #120b08; overflow: hidden; isolation: isolate; }
.promo__bg, .promo__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -1; }
.promo__left { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: clamp(32px, 3.6vw, 60px) clamp(28px, 4.2vw, 70px); max-width: 560px; }
.promo__logo { width: clamp(190px, 16vw, 250px); height: auto; margin-bottom: clamp(24px, 3.2vh, 44px); }
.promo__headline { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: .96; letter-spacing: -.015em; color: var(--on-dark); max-width: 6.8em; }
.promo__headline span { color: #d3262f; }
.promo__rule { display: block; width: 66px; height: 2px; background: #c8222c; margin: clamp(18px, 2.4vh, 28px) 0; }
.promo__lede { color: rgba(243,239,232,.86); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; max-width: 21em; }
.promo__benefits { list-style: none; margin: clamp(20px, 3vh, 34px) 0 0; padding: 0; display: grid; gap: clamp(10px, 1.6vh, 18px); }
.promo__benefits li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; color: var(--on-dark); }
.promo__benefits strong { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.promo__benefits li > span:last-child { font-size: 15px; line-height: 1.3; color: rgba(243,239,232,.78); }
.promo__bicon { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(214,179,107,.75); display: grid; place-items: center; color: #d6b36b; }
.promo__bicon .licon { width: 21px; height: 21px; }
.promo__tagline { margin-top: auto; padding-top: clamp(20px, 3vh, 36px); font-family: "Great Vibes", "Brush Script MT", cursive; font-size: clamp(1.9rem, 2.5vw, 2.7rem); line-height: 1.05; color: rgba(243,239,232,.92); transform: rotate(-7deg); transform-origin: left bottom; position: relative; }
.promo__tagline svg { display: block; width: 72%; margin-top: 4px; }

/* 60% OFF badge */
.promo__badge {
  position: absolute; z-index: 2; left: 80%; top: 6%; width: clamp(190px, 19vw, 300px); aspect-ratio: 1;
  border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
  color: var(--ivory);
  background: radial-gradient(circle at 38% 30%, #b3141e 0%, #8a0d15 45%, #5e070d 100%);
  box-shadow: 0 0 0 3px rgba(214,179,107,.9), 0 0 0 9px rgba(94,7,13,.55), 0 0 0 10px rgba(214,179,107,.5), 0 30px 50px -18px rgba(0,0,0,.8), inset 0 0 40px rgba(0,0,0,.35);
  transform: translateX(-50%);
}
.promo__badge-top, .promo__badge-bottom { font-size: clamp(10px, .95vw, 14.5px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.35; max-width: 13em; }
.promo__pct { display: flex; align-items: flex-start; font-family: var(--f-display); font-weight: 700; line-height: .8; margin: 4px 0 6px; }
.promo__num { font-size: clamp(4.6rem, 8.4vw, 8.6rem); letter-spacing: -.04em; }
.promo__po { display: grid; justify-items: start; padding-top: .12em; margin-left: 2px; }
.promo__pc { font-size: clamp(2.4rem, 4.2vw, 4.4rem); line-height: .85; }
.promo__off { font-size: clamp(1.2rem, 2vw, 2.1rem); letter-spacing: .02em; line-height: 1; margin-top: .12em; }
.promo__orn { width: 60px; margin-top: 4px; }

/* Right: form */
.promo__side { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 4.6vw, 72px) clamp(26px, 3.4vw, 52px) clamp(28px, 3vw, 44px); background: var(--ivory); }
.promo__eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--crimson); }
.promo__eyebrow::after { content: ""; width: 66px; height: 1px; background: currentColor; }
.promo__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.3rem, 3.4vw, 3.9rem); line-height: 1; letter-spacing: -.015em; margin: 18px 0 16px; color: var(--ink); }
.promo__title em { display: block; font-style: italic; color: #8e0d15; font-weight: 600; }
.promo__desc { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 28em; }
.promo__form { display: grid; gap: 12px; align-items: start; margin-top: clamp(18px, 2.6vh, 30px); }
.pfield { position: relative; display: block; }
.pfield::after { display: none; }
.pfield input, .pfield select, .pfield textarea {
  width: 100%; min-height: 52px; padding: 13px 16px 13px 50px; font-size: 15.5px; line-height: 1.4; color: var(--ink);
  background: rgba(255,255,255,.7); border: 1px solid rgba(16,16,16,.14); border-radius: 9px;
  transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.pfield textarea { min-height: 96px; resize: vertical; padding-top: 14px; }
.pfield select { cursor: pointer; padding-right: 44px; }
.pfield select:invalid { color: rgba(22,21,21,.55); }
.pfield input::placeholder, .pfield textarea::placeholder { color: rgba(22,21,21,.55); }
.pfield input:focus, .pfield select:focus, .pfield textarea:focus { outline: none; border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 4px rgba(152,14,22,.09); }
.pfield__ico { position: absolute; left: 16px; top: 15px; color: rgba(22,21,21,.55); pointer-events: none; transition: color .25s; }
.pfield__ico .licon { width: 21px; height: 21px; }
.pfield:focus-within .pfield__ico { color: var(--crimson); }
.pfield__chev { position: absolute; right: 16px; top: 16px; color: var(--ink-soft); pointer-events: none; }
.pfield__chev .licon { width: 18px; height: 18px; }
.pfield .field__error { font-size: 12.5px; color: var(--crimson); margin: 4px 2px 0; }
.pfield .field__error:empty { display: none; }
.pfield.has-error input, .pfield.has-error select { border-color: var(--crimson); }
.promo__submit {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 8px; min-height: 62px; width: 100%; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 18px; font-weight: 600; letter-spacing: .005em; color: var(--ivory);
  background: linear-gradient(180deg, #a3121b, #7f0b12); box-shadow: 0 10px 20px -14px rgba(152,14,22,.75);
  transition: box-shadow .4s;   /* no transform transition: it fights the GSAP entrance and leaves the button offset */
}
.promo__submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #7f0b12, #5a070c); opacity: 0; transition: opacity .4s; }
.promo__submit:hover::before, .promo__submit:focus-visible::before { opacity: 1; }
.promo__submit:hover { box-shadow: 0 20px 36px -16px rgba(152,14,22,.95); }
.promo__submit .licon { width: 22px; height: 22px; stroke-width: 2; transition: transform .45s var(--ease); }
.promo__submit:hover .licon { transform: translateX(6px); }
.promo__submit[aria-busy="true"] { opacity: .75; pointer-events: none; }
.promo__submit[aria-busy="true"] .btn__label::after { content: "…"; }
.promo__submit--ghost { background: var(--black); margin-top: 24px; }
.promo__privacy { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin-top: 4px; text-align: center; text-wrap: balance; }
.promo__privacy .licon { width: 15px; height: 15px; flex: none; color: var(--ink); }
.promo__privacy a, .promo__terms a { text-decoration: underline; text-underline-offset: .2em; }
.promo__terms { font-size: 11.5px; line-height: 1.5; color: var(--ink-faint); text-align: center; text-wrap: balance; max-width: 32em; margin: -6px auto 0; }
.promo .form__status { font-size: 14px; }
.promo__success { display: grid; justify-items: start; gap: 4px; }
.promo__success[hidden] { display: none; }
.promo__success-ico { color: var(--crimson); margin-bottom: 8px; }
.promo__success-ico .licon { width: 56px; height: 56px; stroke-width: 1.4; }
.promo__success .promo__title:focus { outline: none; }
.promo__success .promo__terms { text-align: left; margin-top: 10px; }

/* Shorter desktop screens */
@media (min-width: 861px) and (max-height: 940px) {
  .promo__art { min-height: calc(100dvh - 60px); }
  .promo__headline { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  .promo__logo { margin-bottom: 18px; }
  .promo__benefits { gap: 9px; margin-top: 18px; }
  .promo__bicon { width: 40px; height: 40px; }
  .promo__benefits li { grid-template-columns: 40px 1fr; }
  .promo__side { padding-top: 34px; padding-bottom: 24px; }
  .promo__title { font-size: clamp(2.1rem, 3vw, 3.2rem); margin: 12px 0 10px; }
  .promo__form { gap: 9px; margin-top: 16px; }
  .pfield input, .pfield select { min-height: 46px; padding-block: 10px; }
  .pfield__ico { top: 12px; } .pfield__chev { top: 13px; }
  .pfield textarea { min-height: 70px; }
  .promo__submit { min-height: 54px; font-size: 16.5px; }
}
@media (min-width: 861px) and (max-height: 780px) {
  .promo { padding-block: 12px; }
  .promo__art { min-height: calc(100dvh - 24px); }
  .promo__tagline, .promo__lede { display: none; }
  .promo__side { padding-top: 26px; padding-bottom: 18px; }
  .promo__title { font-size: clamp(1.9rem, 2.6vw, 2.7rem); margin: 10px 0 8px; }
  .promo__desc { font-size: 14px; line-height: 1.5; }
  .promo__form { gap: 8px; margin-top: 12px; }
  .pfield input, .pfield select { min-height: 42px; padding-block: 8px; font-size: 14.5px; }
  .pfield__ico { top: 10px; } .pfield__chev { top: 11px; }
  .pfield__ico .licon { width: 19px; height: 19px; }
  .pfield textarea { min-height: 56px; padding-top: 10px; }
  .promo__submit { min-height: 50px; font-size: 16px; margin-top: 6px; }
  .promo__privacy { font-size: 12px; margin-top: 4px; }
}

/* Tablet */
@media (max-width: 1100px) and (min-width: 861px) {
  .promo__modal { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  .promo__badge { left: 70%; width: clamp(170px, 20vw, 220px); top: 5%; }
  .promo__benefits li > span:last-child, .promo__benefits strong { font-size: 14px; }
}

/* Mobile / small tablet: stacked, compact promo banner + form, internal scrolling */
@media (max-width: 860px) {
  .promo { padding: 12px; place-items: start center; }
  .promo__modal { grid-template-columns: 1fr; border-radius: 18px; margin-block: auto; }
  .promo__close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; }
  .promo__art { min-height: 0; }
  .promo__bg img { object-position: 82% 40%; }
  .promo__art::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,6,5,.2), rgba(10,6,5,.55)); }
  .promo__left { padding: 22px 20px 24px; max-width: none; }
  .promo__logo { width: 170px; margin-bottom: 16px; padding: 8px 11px; }
  .promo__headline { font-size: clamp(2.3rem, 9.6vw, 3.4rem); max-width: 6em; }
  .promo__rule { margin: 14px 0; }
  .promo__lede { font-size: 14.5px; max-width: 17em; }
  .promo__benefits, .promo__tagline { display: none; }
  .promo__badge { left: auto; right: 16px; top: auto; bottom: 18px; transform: none; width: clamp(128px, 36vw, 168px); box-shadow: 0 0 0 2px rgba(214,179,107,.9), 0 0 0 6px rgba(94,7,13,.55), 0 0 0 7px rgba(214,179,107,.5), 0 20px 30px -14px rgba(0,0,0,.8); }
  .promo__badge-top, .promo__badge-bottom { font-size: 8.5px; letter-spacing: .14em; }
  .promo__num { font-size: clamp(3rem, 13vw, 4.4rem); }
  .promo__pc { font-size: clamp(1.6rem, 6.4vw, 2.3rem); }
  .promo__off { font-size: clamp(.85rem, 3.4vw, 1.15rem); }
  .promo__orn { display: none; }
  .promo__side { padding: 26px 20px 24px; }
  .promo__eyebrow { font-size: 11.5px; }
  .promo__eyebrow::after { width: 44px; }
  .promo__title { font-size: clamp(2rem, 8.6vw, 2.6rem); margin: 12px 0 10px; }
  .promo__desc { font-size: 14.5px; }
  .pfield input, .pfield select, .pfield textarea { font-size: 16px; }   /* no iOS zoom */
  .promo__submit { min-height: 58px; font-size: 16.5px; }
}
@media (max-width: 479.98px) {
  .promo__lede { display: none; }
  .promo__art { min-height: 262px; }
  .promo__left { padding-bottom: 30px; }
  .promo__headline { max-width: 5.2em; }
}
@media (max-width: 860px) and (min-width: 560px) {
  .promo__art { min-height: 360px; }
  .promo__badge { width: 190px; right: 28px; bottom: 28px; }
  .promo__lede { max-width: 22em; }
}

/* ---------- Cover spotlight (Book Cover Design page) ---------- */
.cover-spot__stage { display: grid; gap: 36px; margin-top: clamp(32px, 4vw, 56px); align-items: center; }
.cover-spot__books { position: relative; display: grid; place-items: end center; height: clamp(380px, 42vw, 560px); perspective: 2000px; }
.cover-spot__books .arch { width: min(62%, 340px); height: 86%; left: 50%; transform: translateX(-50%); bottom: 0; }
.cover-spot__books .arch--outline { width: min(74%, 400px); height: 96%; }
.cover-spot__book { grid-area: 1 / 1; position: relative; z-index: 2; margin-bottom: 4%; opacity: 0; visibility: hidden; }
.cover-spot__book.is-active { opacity: 1; visibility: visible; }
.cover-spot__book .book { --w: clamp(190px, 21vw, 290px); --ry: -22deg; filter: drop-shadow(0 40px 40px rgba(0,0,0,.55)); }
.cover-spot__copy { display: grid; gap: 28px; }
.cover-spot__notes { display: grid; }
.cover-spot__note { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; opacity: 0; visibility: hidden; }
.cover-spot__note.is-active { opacity: 1; visibility: visible; }
.cover-spot__note .caps { color: var(--gold); }
.cover-spot__note h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.02; }
.cover-spot__note p { color: rgba(248,245,240,.74); max-width: 34em; }
.cover-spot__note .cover-spot__by { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(248,245,240,.55); margin-top: -4px; }
.cover-spot__dots { display: flex; gap: 10px; }
.cover-spot__dots button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.cover-spot__dots i { width: 28px; height: 3px; border-radius: 2px; background: rgba(248,245,240,.22); transition: background .4s, width .4s; }
.cover-spot__dots [aria-pressed="true"] i { background: var(--crimson-soft); width: 40px; }
.cover-spot__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 900px) { .cover-spot__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); } }

/* Portfolio grid: pointer tilt lives on the stage wrapper, never on .book__inner (which has a CSS transition) */
.pf-card__stage .book { will-change: transform; }

/* ---------- Landing-page disclaimer ticker (sits on the bottom edge of the LP headers) ---------- */
.page-landing, .page-cbp { --disclaimer-h: 34px; }
.disclaimer-ticker {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1; height: var(--disclaimer-h);
  display: flex; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  background: var(--burgundy); color: var(--ivory); border-bottom: 1px solid rgba(248,245,240,.1);
  font-family: var(--f-body); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; line-height: 1;
}
.disclaimer-ticker::-webkit-scrollbar { display: none; }
.disclaimer-ticker.is-running { overflow: hidden; }
.disclaimer-ticker:focus-visible { outline: 2px solid var(--ivory); outline-offset: -3px; }
.disclaimer-ticker__track { display: flex; flex: none; white-space: nowrap; will-change: transform; }
.disclaimer-ticker__group { display: inline-flex; flex: none; align-items: center; gap: 28px; padding: 0 28px 0 0; }
.disclaimer-ticker.is-static .disclaimer-ticker__track { padding-left: var(--gutter); }
/* with JS, the text waits until the loop starts it from the right edge (no flash at the left first) */
.js .disclaimer-ticker:not(.is-running):not(.is-static) .disclaimer-ticker__track { visibility: hidden; }
.disclaimer-ticker__sep { font-size: 10px; color: rgba(248,245,240,.55); }
/* /lp/ pages: the header bar is opaque, so content simply moves down by the ticker height */
main.lpx { padding-top: var(--disclaimer-h); }

/* ==========================================================================
   Seasonal popup theme: Halloween — "The Haunted Library" (config promo.theme = 'halloween')
   Decoration is CSS/SVG only; covers are the studio originals. Default popup styles above are untouched.
   ========================================================================== */
.promo--halloween { --pumpkin: #F28C28; --pumpkin-deep: #b4531a; }
.promo--halloween .promo__overlay { background: rgba(6, 3, 4, .84); -webkit-backdrop-filter: none; backdrop-filter: none; } /* opaque enough without a full-screen blur */
.promo--halloween .promo__modal { background: #120a0b; box-shadow: 0 60px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(242,140,40,.16), 0 0 90px -30px rgba(152,14,22,.5); }
.hw { background: #0b0607; }
.hw__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hw__sky { position: absolute; inset: 0; background:
  radial-gradient(42% 38% at 84% 12%, rgba(236,222,190,.15), transparent 62%),
  radial-gradient(60% 55% at 6% 100%, rgba(152,14,22,.55), transparent 70%),
  radial-gradient(46% 40% at 72% 94%, rgba(242,140,40,.14), transparent 70%),
  linear-gradient(180deg, #0d0709 0%, #170a0c 52%, #2a0a0e 100%); }
.hw__moon { position: absolute; right: 9%; top: 8%; width: clamp(64px, 7.5vw, 112px); aspect-ratio: 1; border-radius: 50%; opacity: .92;
  background: radial-gradient(circle at 34% 36%, rgba(80,60,30,.16) 0 7%, transparent 8%), radial-gradient(circle at 64% 58%, rgba(80,60,30,.12) 0 10%, transparent 11%),
    radial-gradient(circle at 42% 72%, rgba(80,60,30,.1) 0 6%, transparent 7%), radial-gradient(circle at 42% 40%, #fff7e4, #eadbb6 62%, #c9b386);
  box-shadow: 0 0 40px rgba(246,232,196,.32), 0 0 120px rgba(246,232,196,.14); }
.hw__shelves { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; opacity: .36;
  background:
    linear-gradient(180deg, transparent 0 30%, #070304 30% 33%, transparent 33% 64%, #070304 64% 67%, transparent 67%),
    repeating-linear-gradient(90deg, #2b1412 0 13px, #160909 13px 15px, #3a1716 15px 27px, #120808 27px 29px, #47211a 29px 37px, #140909 37px 40px, #2a1010 40px 52px, #100607 52px 54px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.hw__fog { position: absolute; left: -25%; width: 150%; height: 40%; background: radial-gradient(50% 50% at 50% 50%, rgba(214,200,214,.15), transparent 70%); will-change: transform; }
.hw__fog--1 { bottom: -6%; }
.hw__fog--2 { bottom: 20%; opacity: .7; }
.hw__web { position: absolute; top: 0; width: clamp(100px, 11vw, 165px); color: rgba(248,245,240,.2); }
.hw__web svg { display: block; width: 100%; height: auto; }
.hw__web--tl { left: 0; }
.hw__web--tr { right: 0; transform: scaleX(-1); }
.hw__bat { position: absolute; color: #050305; opacity: .9; transform: rotate(var(--r)); filter: drop-shadow(0 0 6px rgba(152,14,22,.45)); will-change: transform; }
.hw__bat svg { display: block; width: 100%; height: auto; }
.hw__books { position: absolute; right: 4%; bottom: 7%; width: min(46%, 520px); height: 60%; perspective: 1800px; }
.hw__books-glow { position: absolute; left: 50%; bottom: 4%; width: 90%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(242,140,40,.26), rgba(152,14,22,.18) 55%, transparent); }
.hw__floor { position: absolute; left: 8%; right: 8%; bottom: 0; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); }
.hw__book { position: absolute; bottom: 6%; will-change: transform; }
.hw__bk { filter: drop-shadow(0 30px 28px rgba(0,0,0,.65)); }
.hw__book--0 { left: 2%; bottom: 14%; z-index: 1; } .hw__book--0 .hw__bk { --w: clamp(108px, 10vw, 160px); --ry: 28deg; }
.hw__book--1 { --bw: clamp(150px, 14vw, 225px); left: 50%; margin-left: calc(var(--bw) / -2); z-index: 3; } .hw__book--1 .hw__bk { --w: var(--bw); --ry: -16deg; }
.hw__book--2 { right: 0; bottom: 13%; z-index: 2; } .hw__book--2 .hw__bk { --w: clamp(104px, 9.6vw, 155px); --ry: -36deg; }
.hw__lantern { position: absolute; right: calc(4% + min(46%, 520px) - 30px); bottom: 5%; z-index: 4; width: clamp(64px, 6.4vw, 96px); }
.hw__lantern svg { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,.6)); }
.hw__lantern-glow { position: absolute; left: 50%; top: 55%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242,140,40,.42), rgba(242,140,40,.12) 50%, transparent); }
/* copy */
.promo .hw__copy { max-width: 560px; width: 58%; }
.hw__copy .hw__headline { max-width: 9.5em; }
.hw__copy .hw__lede { max-width: 21em; }
.hw__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--pumpkin); }
.hw__eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hw__headline { margin-top: clamp(14px, 2vh, 22px); font-family: var(--f-display); font-weight: 600; font-size: clamp(2.5rem, 4.1vw, 4.4rem); line-height: .98; letter-spacing: -.015em; color: var(--ivory); max-width: 8.4em; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hw__headline em { font-style: italic; color: var(--pumpkin); }
.hw__deal { position: relative; display: inline-flex; align-items: flex-end; gap: 12px; margin-top: clamp(16px, 2.6vh, 30px); isolation: isolate; }
.hw__deal-glow { position: absolute; left: -10%; top: -20%; width: 120%; height: 140%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,140,40,.32), rgba(152,14,22,.2) 55%, transparent); will-change: transform, opacity; }
.hw__deal-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(4.6rem, 8.2vw, 8.4rem); line-height: .82; letter-spacing: -.04em; color: transparent; background: linear-gradient(180deg, #ffe0b2 0%, var(--pumpkin) 52%, #c0391a 100%); -webkit-background-clip: text; background-clip: text; }
.hw__deal-num small { font-size: .5em; vertical-align: top; margin-left: 2px; }
.hw__deal-off { font-family: var(--f-caps); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 2.2rem); letter-spacing: .12em; color: var(--ivory); padding-bottom: .4em; }
.hw__lede { margin-top: clamp(14px, 2.2vh, 24px); color: rgba(248,245,240,.84); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; max-width: 22em; }
/* form side: warm parchment, crimson + pumpkin accents (fields unchanged for readability) */
.promo--halloween .promo__side { background: linear-gradient(180deg, #fbf6ee, #f3e9dc); }
.promo--halloween .promo__side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--pumpkin), var(--crimson)); }
.promo--halloween .promo__eyebrow { color: var(--pumpkin-deep); }
.promo--halloween .promo__title em { color: var(--crimson); }
.promo--halloween .promo__submit { background: linear-gradient(180deg, #b3141e, #7f0b12); }
.promo--halloween .promo__submit::before { background: linear-gradient(100deg, #8a0d15, #c2410c); }
.promo--halloween .promo__submit:hover, .promo--halloween .promo__submit:focus-visible { box-shadow: 0 20px 40px -14px rgba(242,140,40,.7); }
.promo--halloween .promo__close { background: #1a0d0e; box-shadow: 0 0 0 1px rgba(242,140,40,.35), 0 10px 24px -10px rgba(0,0,0,.6); }
.promo--halloween .promo__close:hover, .promo--halloween .promo__close:focus-visible { background: var(--crimson); }
@media (min-width: 861px) and (max-height: 780px) { .hw__lede { display: none; } .hw__headline { font-size: clamp(2.2rem, 3.4vw, 3.4rem); } .hw__deal-num { font-size: clamp(3.8rem, 6.6vw, 6.4rem); } }
@media (max-width: 1100px) and (min-width: 861px) { .hw__books { width: 56%; height: 48%; } .hw__book--0 { display: none; } }
@media (max-width: 860px) {
  .hw { min-height: 0; }
  .promo .hw__copy { max-width: 64%; width: auto; padding-bottom: 26px; }
  .hw__eyebrow { font-size: 10px; letter-spacing: .16em; gap: 8px; white-space: nowrap; }
  .hw__eyebrow::before { width: 18px; }
  .hw__headline { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hw__deal-num { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .hw__deal-off { font-size: clamp(1rem, 4.4vw, 1.5rem); }
  .hw__lede { font-size: 14px; }
  .hw__books { right: 2%; bottom: 6%; width: 38%; height: 62%; }
  .hw__book--0 { display: none; }
  .hw__book--1 { --bw: clamp(92px, 22vw, 140px); }
  .hw__book--2 { bottom: 20%; } .hw__book--2 .hw__bk { --w: clamp(70px, 16vw, 104px); }
  .hw__lantern { display: none; }
  .hw__web { width: 84px; }
  .hw__moon { right: 6%; top: 5%; width: 54px; }
  .promo--halloween .promo__art::after { background: linear-gradient(180deg, rgba(10,4,5,.05), rgba(10,4,5,.35)); }
}
@media (max-width: 479.98px) { .hw__lede { display: none; } .promo .hw__copy { max-width: 66%; } .hw__books { width: 40%; } }

/* ---------- LiveChat: brand launcher (LiveChat's default bubble is hidden until the chat is opened) ---------- */
html:not(.lc-open) #chat-widget-container { visibility: hidden !important; }
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--crimson); color: var(--ivory); box-shadow: 0 14px 30px -10px rgba(101,7,13,.75), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: background .3s, transform .4s var(--ease), bottom .4s var(--ease); }
.chat-launcher:hover { background: var(--burgundy); transform: translateY(-2px); }
.chat-launcher:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher__dot { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--crimson); opacity: 0; transition: opacity .3s; }
.chat-launcher.has-unread .chat-launcher__dot { opacity: 1; }
.chat-launcher[hidden] { display: none; }
/* clear the sticky mobile CTA bar when it is showing */
@media (max-width: 899px) { .mobile-cta.is-visible ~ .chat-launcher { bottom: 76px; } .chat-launcher { right: 14px; width: 52px; height: 52px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .word-fade .w { opacity: 1 !important; }
}
