:root {
  --ink: #180f18;
  --ink-2: #241723;
  --plum: #2b1928;
  --cream: #f7f0e5;
  --cream-2: #eadbc5;
  --paper: #fffaf1;
  --copper: #bd7541;
  --copper-dark: #96532c;
  --gold: #d5a16d;
  --muted: #735e55;
  --line: rgba(105, 69, 48, 0.20);
  --white: #fffaf2;
  --shadow: 0 18px 46px rgba(20, 10, 18, 0.16);
  --shadow-soft: 0 10px 28px rgba(20, 10, 18, 0.10);
  --radius: 22px;
  --radius-sm: 12px;
  --header-height: 76px;
  --cookie-safe: 0px;
  --floating-controls-safe: 72px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: #2b1c20;
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
  padding-bottom: var(--cookie-safe);
}
body.modal-open { overflow: hidden; }
body.assistant-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  color: #111;
  background: #fff;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 72px 0; }
.paper { background: var(--paper); }
.dark { color: var(--white); background: var(--ink); }
.section-bordered { border-block: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}
.dark .eyebrow, .page-hero--dark .eyebrow, .home-hero .eyebrow, .dual-cta .eyebrow { color: var(--gold); }
h1, h2, h3, .serif {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 { font-size: clamp(3.2rem, 6.5vw, 6.7rem); }
h2 { font-size: clamp(2rem, 3.7vw, 4rem); }
h3 { font-size: 1.42rem; }
p { margin: 0 0 1rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.lead-prose { font-size: 1.08rem; }
.small-note { color: var(--muted); font-size: 0.91rem; }
.dark .small-note { color: #d6c7bd; }
.optional { color: var(--muted); font-size: 0.9em; font-weight: 500; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--copper); box-shadow: 0 10px 22px rgba(189, 117, 65, 0.22); }
.button-primary:hover { background: var(--copper-dark); }
.button-outline { border-color: rgba(189, 117, 65, 0.58); background: transparent; }
.button-outline--light { color: var(--white); border-color: rgba(213, 161, 109, 0.70); }
.button:focus-visible,
.menu-toggle:focus-visible,
.assistant-trigger:focus-visible,
.assistant-close:focus-visible,
.back-top:focus-visible,
.footer-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #e6b27f;
  outline-offset: 3px;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--copper-dark);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link--light { color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  color: var(--white);
  background: rgba(24, 15, 24, 0.98);
  border-bottom: 1px solid rgba(213, 161, 109, 0.20);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease;
}
.site-header.site-header--boundary-reached { transform: translateY(-100%); }
.site-brand { flex: none; display: flex; align-items: center; text-decoration: none; }
.site-brand__logo { width: auto; height: 50px; max-width: 160px; object-fit: contain; }
.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 18px;
}
.wordmark {
  flex: none;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  color: #fff8ef;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: right 160ms ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-cta { flex: none; margin-left: 2px; min-height: 42px; padding-inline: 0.9rem; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  border: 1px solid rgba(213, 161, 109, 0.52);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--gold); }

/* Home hero */
.home-hero {
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.home-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 8, 15, 0.96) 0%, rgba(15, 8, 15, 0.78) 42%, rgba(15, 8, 15, 0.22) 78%, rgba(15, 8, 15, 0.45) 100%); }
.home-hero__content { padding-block: 66px; }
.home-hero__content h1 { max-width: 850px; }
.home-hero__content > p:not(.eyebrow):not(.home-hero__accent) { max-width: 660px; margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.home-hero__accent { margin-top: 15px; color: var(--gold); font-weight: 800; }

/* Page hero */
.page-hero { overflow: hidden; color: var(--ink); background: var(--cream-2); }
.page-hero--dark { color: var(--white); background: var(--ink); }
.page-hero__grid { min-height: 430px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); align-items: stretch; }
.page-hero__grid--single { min-height: 350px; grid-template-columns: 1fr; }
.page-hero__content { align-self: center; padding: 64px 52px 64px 0; }
.page-hero__content h1 { max-width: 800px; font-size: clamp(3rem, 5vw, 5.4rem); }
.page-hero__intro { max-width: 720px; margin-top: 22px; font-size: 1.1rem; color: inherit; opacity: 0.9; }
.page-hero__media { min-height: 430px; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero--dark .page-hero__media { position: relative; }
.page-hero--dark .page-hero__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--ink) 0%, rgba(24, 15, 24, 0.12) 36%, transparent 100%); }

/* Generic layouts */
.split-copy { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.split-copy--dark { align-items: center; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { max-width: 880px; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.media-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 82px); align-items: center; }
.media-copy-grid--reverse .media-frame { order: 2; }
.media-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); background: var(--ink); }
.media-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.check-list li { position: relative; margin: 9px 0; padding-left: 28px; }
.check-list li::before { position: absolute; left: 0; top: 0.05em; color: var(--copper); font-weight: 900; content: "✓"; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.28); }
.service-card { min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card:nth-child(3n) { border-right: 0; }
.service-card:nth-last-child(-n+3) { border-bottom: 0; }
.service-card__icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--copper); }
.icon { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 13px; }
.service-card p { margin: 0; color: var(--muted); }
.service-card__detail { margin-top: 12px !important; color: #4b3632 !important; }
.services-grid--detailed .service-card { min-height: 330px; }
.scenario-grid, .feature-grid { display: grid; gap: 22px; }
.scenario-grid { grid-template-columns: repeat(3, 1fr); }
.scenario-grid article, .feature-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,250,241,.64); }
.scenario-grid span { display: block; margin-bottom: 18px; color: var(--copper); font-weight: 900; letter-spacing: 0.12em; }
.scenario-grid h3, .feature-grid h3 { margin-bottom: 12px; }
.scenario-grid p, .feature-grid p { margin: 0; color: var(--muted); }
.feature-grid--three { grid-template-columns: repeat(3, 1fr); }
.feature-grid--four { grid-template-columns: repeat(4, 1fr); }

/* Voice bank */
.voice-preview-panel, .empty-state { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 34px; border: 1px solid rgba(213,161,109,.30); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.voice-preview-panel__visual, .empty-state__icon { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(213,161,109,.10); }
.voice-preview-icon { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.voice-preview-panel h3, .empty-state h3 { font-size: 1.8rem; margin-bottom: 10px; }
.voice-preview-panel p, .empty-state p { max-width: 720px; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }
.voice-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(213,161,109,.28); border-radius: var(--radius-sm); background: rgba(255,255,255,.04); }
.voice-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: rgba(213,161,109,.08); }
.voice-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.voice-card__body { flex: 1; display: flex; flex-direction: column; padding: clamp(14px, 1.5vw, 18px); }
.voice-card__body h3 { margin-bottom: 6px; color: var(--white); font-size: 1.28rem; }
.voice-card__type { margin: 0 0 8px; color: var(--gold); font-size: .88rem; font-weight: 800; }
.voice-card__description { margin: 0 0 12px; color: #ddd0c8; font-size: .9rem; line-height: 1.5; }
.voice-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.voice-card__tags span { padding: 4px 7px; border: 1px solid rgba(213,161,109,.24); border-radius: 999px; color: #eaded7; font-size: .73rem; line-height: 1.25; }
.voice-card__audio-status { margin: auto 0 12px; color: #cdbdb4; font-size: .8rem; font-style: italic; }
.voice-card__cta { align-self: flex-start; min-height: 40px; padding: .55rem .78rem; font-size: .82rem; }
.voice-demo-note { margin-top: 18px; color: #cdbdb4; font-size: .82rem; }

/* Books */
.books-grid { display: grid; gap: 24px; }
.books-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.books-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 290px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fffdf8; box-shadow: 0 8px 24px rgba(43,28,32,.05); }
.book-card__cover-wrap { background: var(--cream-2); }
.book-card__cover { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.books-grid--catalog .book-card__cover { object-fit: contain; background: var(--cream-2); }
.book-card__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.book-card__body h3 { margin-bottom: 14px; font-size: 1.48rem; }
.book-card__body p { color: var(--muted); }
.book-meta { width: 100%; margin: 0 0 15px; }
.book-meta div { display: grid; grid-template-columns: minmax(92px, 104px) minmax(0, 1fr); column-gap: 14px; align-items: start; margin: 5px 0; }
.book-meta dt { color: var(--muted); font-size: 0.79rem; font-weight: 800; line-height: 1.45; text-transform: uppercase; letter-spacing: .045em; white-space: nowrap; }
.book-meta dd { min-width: 0; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.book-card .text-link { margin-top: auto; }
.book-card--compact { grid-template-columns: 1fr; min-height: 0; }
.book-card--compact .book-card__cover { min-height: 0; aspect-ratio: 1 / 1; }
.book-card--compact .book-card__body { min-height: 220px; padding: 20px; }
.book-card--compact .book-meta div { grid-template-columns: 76px minmax(0, 1fr); column-gap: 10px; }
.home-listening-section .book-card--compact .book-meta div { grid-template-columns: 86px minmax(0, 1fr); column-gap: 12px; }



/* Homepage audiobook carousel */
.book-carousel { position: relative; }
.book-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.book-carousel__viewport::-webkit-scrollbar { display: none; }
.book-carousel__track { display: flex; gap: 24px; width: max-content; }
.book-carousel__item {
  flex: 0 0 min(360px, calc((min(var(--container), 100vw - 48px) - 48px) / 3));
  width: min(360px, calc((min(var(--container), 100vw - 48px) - 48px) / 3));
  scroll-snap-align: start;
}
.book-carousel__controls { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.book-carousel__button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(189,117,65,.42);
  border-radius: 50%;
  color: var(--copper-dark);
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.book-carousel__button:hover { border-color: var(--copper); background: rgba(189,117,65,.08); transform: translateY(-1px); }
.book-carousel__button:focus-visible { outline: 3px solid #e6b27f; outline-offset: 3px; }

/* Process */
.process-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-strip li { min-height: 200px; padding: 26px; border-right: 1px solid var(--line); }
.process-strip li:last-child { border-right: 0; }
.process-strip__anchor { display: inline-block; margin-bottom: 18px; color: var(--copper); font-size: .96rem; font-weight: 900; letter-spacing: .10em; line-height: 1; text-decoration: none; }
.process-strip__anchor:hover { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 4px; }
.process-strip__anchor:focus-visible { outline: 3px solid #e6b27f; outline-offset: 4px; border-radius: 2px; }
.process-strip strong { display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.3rem; }
.process-strip p { margin: 0; color: var(--muted); }
.process-timeline { position: relative; }
.process-timeline::before { position: absolute; top: 0; bottom: 0; left: 36px; width: 1px; content: ""; background: var(--line); }
.process-timeline article { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 0 0 34px; scroll-margin-top: calc(var(--header-height) + 24px); }
.process-timeline article:last-child { padding-bottom: 0; }
.process-step__anchor { z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); background: var(--paper); font-size: 1.08rem; font-weight: 900; letter-spacing: .04em; line-height: 1; text-decoration: none; transition: background .16s ease, color .16s ease, transform .16s ease; }
.process-step__anchor:hover { color: var(--paper); background: var(--copper); transform: translateY(-1px); }
.process-step__anchor:focus-visible { outline: 3px solid #e6b27f; outline-offset: 3px; }
.process-step:target .process-step__anchor { color: var(--paper); background: var(--copper); }
.process-timeline h2 { margin-top: 5px; font-size: 2rem; }
.process-timeline p { max-width: 820px; margin-top: 9px; color: var(--muted); }

/* Values */
.value-stack { display: grid; gap: 12px; }
.value-stack article { padding: 22px; border: 1px solid rgba(213,161,109,.28); border-radius: var(--radius-sm); background: rgba(255,255,255,.035); }
.value-stack h3 { margin-bottom: 7px; }
.value-stack p { margin: 0; color: #d8c9c0; }

/* Collaboration */
.collaborator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.collaborator-grid > article { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.collaborator-grid h2 { font-size: clamp(2rem, 3vw, 3.1rem); margin-bottom: 16px; }
.collaborator-grid h3 { margin-top: 26px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.faq-grid--home { grid-template-columns: repeat(3, 1fr); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,250,241,.74); overflow: clip; }
.faq-item summary { position: relative; padding: 22px 54px 22px 24px; cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--copper); font-family: system-ui; font-size: 1.5rem; content: "+"; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { padding: 0 24px 22px; color: var(--muted); }
.faq-item > div p { margin: 0; }
.faq-categories { display: grid; gap: 48px; }
.faq-category { display: grid; grid-template-columns: 260px 1fr; gap: 38px; align-items: start; }
.faq-category > h2 { position: sticky; top: calc(var(--header-height) + 22px); font-size: 2rem; }
.faq-stack { display: grid; gap: 14px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 38px; align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-height) + 24px); padding: 38px; border-radius: var(--radius); color: var(--white); background: linear-gradient(145deg, var(--ink), var(--plum)); box-shadow: var(--shadow); }
.contact-intro h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 20px; }
.contact-points { display: grid; gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.contact-points li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.contact-point-icon { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-intro .small-note { color: #cdbdb4; }
.contact-form-wrap { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-soft); }
.contact-form { display: grid; gap: 24px; }
.honeypot { position: absolute; left: -9999px; }
.form-choice { margin: 0; padding: 0; border: 0; }
.form-choice legend, .conditional-fields > h2 { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.form-choice > p { margin: 4px 0 14px; color: var(--muted); }
.choice-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-card { display: block; cursor: pointer; }
.choice-card input { position: absolute; width: 1px; min-height: 0; height: 1px; opacity: 0; pointer-events: none; }
.choice-card span { min-height: 135px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fffdf8; transition: border-color .16s, box-shadow .16s, background .16s; }
.choice-card strong { font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.25; }
.choice-card small { color: var(--muted); }
.choice-card input:checked + span { border-color: var(--copper); background: #fff7eb; box-shadow: 0 0 0 3px rgba(189,117,65,.12); }
.choice-card input:focus-visible + span { outline: 3px solid #e6b27f; outline-offset: 3px; }
.form-grid { display: grid; gap: 18px; }
.form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form label { display: grid; gap: 7px; font-weight: 800; }
.required-label { display: inline-flex; align-items: baseline; gap: .25rem; }
.required-marker { color: var(--copper-dark); font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(105,69,48,.25); border-radius: 9px; color: var(--ink); background: #fffdf9; }
.contact-form .choice-card input { width: 1px; min-height: 0; height: 1px; border: 0; padding: 0; background: transparent; }
.contact-form input, .contact-form select { min-height: 48px; padding: 0 13px; }
.contact-form select option[disabled][hidden] { display: none; }
.contact-form textarea { padding: 13px; resize: vertical; }
.conditional-fields { display: grid; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff8ee; }
.checkbox-group { margin: 0; padding: 0; border: 0; }
.checkbox-group legend { margin-bottom: 10px; font-weight: 800; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.contact-form .checkbox-grid label, .contact-form .check-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.contact-form .checkbox-grid input, .contact-form .check-consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 3px; flex: none; }
.file-field input { padding: 9px; }
.file-field small { color: var(--muted); font-weight: 500; }
.form-submit { justify-self: start; min-width: 190px; }
.form-status { min-height: 1.4em; margin: 0; color: var(--copper-dark); font-weight: 700; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-notice { position: sticky; top: calc(var(--header-height) + 24px); padding: 24px; border: 1px solid rgba(189,117,65,.4); border-radius: var(--radius-sm); background: #fff5e7; }
.legal-notice strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.2rem; }
.legal-notice p { margin: 0; color: var(--muted); }
.legal-content { max-width: 900px; }
.legal-content h2 { font-size: 2rem; }
.legal-data { margin: 18px 0 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal-data div { display: grid; grid-template-columns: 260px 1fr; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legal-data div:last-child { border-bottom: 0; }
.legal-data dt { font-weight: 800; }
.legal-data dd { margin: 0; }
.legal-table-wrap { overflow-x: auto; margin: 20px 0; }
.legal-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--cream-2); }
.legal-updated { margin-top: 38px !important; padding-top: 20px; border-top: 1px solid var(--line); }

/* CTAs */
.cta-band { padding: 52px 0; color: var(--white); background: linear-gradient(120deg, var(--ink), var(--plum)); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.cta-band h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); }
.cta-band p:not(.eyebrow) { max-width: 760px; margin: 10px 0 0; color: #dfd2ca; }
.dual-cta { color: var(--white); background: var(--ink); }
.dual-cta__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(213,161,109,.25); border: 1px solid rgba(213,161,109,.25); border-radius: var(--radius); overflow: hidden; }
.dual-cta article { min-height: 350px; padding: 48px; background: var(--ink); }
.dual-cta article:nth-child(2) { background: var(--plum); }
.dual-cta h2 { font-size: clamp(2.2rem, 3.5vw, 3.7rem); margin-bottom: 15px; }
.dual-cta p { max-width: 520px; color: #dccfc7; }

/* Footer */
.site-footer { color: #eaded7; background: #0f090f; padding: 58px 0 calc(26px + var(--cookie-safe) + var(--floating-controls-safe)); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 42px; }
.footer-brand__logo-link { display: inline-block; max-width: 180px; text-decoration: none; }
.footer-brand__logo { width: 100%; height: auto; object-fit: contain; }
.footer-brand p { max-width: 350px; margin-top: 20px; color: #c9b8af; }
.footer-heading { margin: 0 0 18px; color: var(--gold); font-family: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a, .footer-button, .footer-pending { color: #e4d6ce; text-decoration: none; }
.footer-links a:hover, .footer-button:hover { color: var(--gold); }
.footer-button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-pending { opacity: .58; cursor: default; }
.footer-bottom { margin-top: 40px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(213,161,109,.15); }
.footer-bottom p { margin: 0; color: #c7b6ad; font-size: .9rem; }
.footer-powered { text-align: right; }
.footer-powered a { color: var(--gold); text-decoration: none; }
.footer-powered a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Assistant and back to top */
.assistant-trigger, .back-top {
  position: fixed;
  z-index: 1180;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.assistant-trigger.is-visible, .back-top.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.assistant-trigger { right: 84px; bottom: calc(var(--cookie-safe) + 20px); min-height: 52px; padding: 0 20px; border: 1px solid rgba(213,161,109,.55); border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-weight: 800; cursor: pointer; }
.back-top { right: 24px; bottom: calc(var(--cookie-safe) + 20px); width: 48px; height: 48px; border: 1px solid rgba(213,161,109,.65); border-radius: 50%; color: var(--white); background: var(--ink); cursor: pointer; }
body.assistant-open .assistant-trigger, body.assistant-open .back-top { display: none; }
.assistant-panel {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 24px;
  z-index: 1200;
  width: min(440px, calc(100vw - 48px));
  max-height: calc(100dvh - var(--header-height) - var(--cookie-safe) - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.99);
  border: 1px solid rgba(213,161,109,.38);
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 26px 70px rgba(10,4,10,.35);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.assistant-panel.open { visibility: visible; opacity: 1; transform: none; }
.assistant-panel__header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid rgba(213,161,109,.22); background: var(--ink); }
.assistant-panel__header h2 { font-size: 1.7rem; }
.assistant-close { flex: none; width: 40px; height: 40px; border: 1px solid rgba(213,161,109,.5); border-radius: 50%; color: var(--white); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.assistant-panel__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.assistant-options { display: grid; gap: 9px; margin: 18px 0; }
.assistant-options a { padding: 13px 15px; border: 1px solid rgba(213,161,109,.25); border-radius: 9px; color: var(--white); background: rgba(255,255,255,.04); text-decoration: none; font-weight: 700; }
.assistant-options a:hover { border-color: var(--gold); background: rgba(213,161,109,.11); }
.assistant-note { color: #cdbdb4; font-size: .88rem; }

/* Cookies */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1250; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(24px, calc((100vw - var(--container)) / 2)); color: var(--white); background: #21151f; border-top: 1px solid rgba(213,161,109,.28); box-shadow: 0 -8px 28px rgba(10,4,10,.16); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy { display: grid; gap: 2px; max-width: 760px; }
.cookie-banner__copy strong { color: var(--gold); }
.cookie-banner__copy span { font-size: .86rem; color: #d8cbc4; }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .button { min-height: 40px; padding: .55rem .8rem; font-size: .82rem; }
.cookie-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; background: rgba(10,4,10,.72); transition: .18s; }
.cookie-modal.open { visibility: visible; opacity: 1; }
.cookie-modal__panel { width: min(620px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.cookie-modal__panel > header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.cookie-modal__panel .assistant-close { color: var(--ink); border-color: var(--line); }
.cookie-modal__body { padding: 22px; }
.cookie-choice { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cookie-choice p { margin: 4px 0 0; color: var(--muted); }
.cookie-choice > span { color: var(--copper-dark); font-weight: 800; white-space: nowrap; }
.cookie-choice--disabled { opacity: .72; }
.cookie-modal__panel > footer { padding: 0 22px 22px; }

/* Thanks */
.thank-you { min-height: calc(100dvh - var(--header-height)); display: grid; place-items: center; padding: 60px 0; background: linear-gradient(145deg, var(--cream), var(--cream-2)); }
.thank-you__card { max-width: 760px; padding: 54px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; background: var(--paper); box-shadow: var(--shadow); }
.thank-you__card h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.thank-you__card p:not(.eyebrow) { max-width: 600px; margin: 20px auto 28px; font-size: 1.1rem; }

@media (max-width: 1180px) {
  .book-carousel__item { flex-basis: calc((100vw - 48px - 24px) / 2); width: calc((100vw - 48px - 24px) / 2); }
  :root { --header-height: 72px; }
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px; background: rgba(24,15,24,.99); border-bottom: 1px solid rgba(213,161,109,.20); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: 0; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-last-child(-n+2) { border-bottom: 0; }
  .books-grid--featured { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 840px) {
  .book-carousel__item { flex-basis: calc((100vw - 32px - 24px) / 2); width: calc((100vw - 32px - 24px) / 2); }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 58px 0; }
  .header-cta { display: none; }
  .home-hero { min-height: 540px; }
  .home-hero__content { padding-block: 54px; }
  .page-hero__grid, .page-hero__grid--single { min-height: 0; grid-template-columns: 1fr; }
  .page-hero__content { padding: 52px 0 34px; }
  .page-hero__media { min-height: 300px; margin-inline: -16px; }
  .page-hero--dark .page-hero__media::after { background: linear-gradient(180deg, var(--ink) 0%, transparent 32%); }
  .split-copy, .media-copy-grid, .contact-layout, .legal-layout { grid-template-columns: 1fr; }
  .media-copy-grid--reverse .media-frame { order: 0; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 14px; }
  .scenario-grid, .feature-grid--three { grid-template-columns: 1fr; }
  .voice-preview-panel, .empty-state { grid-template-columns: 90px 1fr; }
  .voice-preview-panel .button, .empty-state .button { grid-column: 1 / -1; justify-self: start; }
  .voice-preview-panel__visual, .empty-state__icon { width: 86px; height: 86px; }
  .voice-preview-icon { width: 52px; height: 52px; }
  .books-grid--catalog { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .process-strip li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-strip li:last-child { border-bottom: 0; }
  .collaborator-grid { grid-template-columns: 1fr; }
  .faq-grid, .faq-grid--home { grid-template-columns: 1fr; }
  .faq-category { grid-template-columns: 1fr; gap: 16px; }
  .faq-category > h2 { position: static; }
  .contact-intro, .legal-notice { position: static; }
  .choice-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: auto; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .dual-cta__grid { grid-template-columns: 1fr; }
  .cookie-banner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .button { flex: 1; }
}

@media (max-width: 640px) {
  .book-carousel__track { gap: 14px; }
  .book-carousel__item { flex-basis: calc(100vw - 24px); width: calc(100vw - 24px); }
  .book-carousel__controls { justify-content: center; }
  :root { --header-height: 68px; }
  body { font-size: 15px; }
  .container { width: min(100% - 24px, var(--container)); }
  .wordmark { font-size: .9rem; letter-spacing: .12em; }
  .site-brand__logo { height: 44px; max-width: 132px; }
  .nav-wrap { gap: 10px; }
  .home-hero { min-height: 600px; align-items: end; }
  .home-hero__image { object-position: 62% center; }
  .home-hero__overlay { background: linear-gradient(180deg, rgba(15,8,15,.35), rgba(15,8,15,.94) 62%, rgba(15,8,15,.98)); }
  .home-hero__content { padding-block: 46px; }
  .home-hero__content h1 { font-size: clamp(3.2rem, 16vw, 4.5rem); }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }
  .page-hero__content h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .page-hero__media { min-height: 230px; }
  .services-grid, .feature-grid--four { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card, .services-grid--detailed .service-card { min-height: 0; padding: 25px; }
  .voice-preview-panel, .empty-state { grid-template-columns: 1fr; padding: 26px; }
  .books-grid--featured { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 125px 1fr; min-height: 230px; }
  .book-card__cover { min-height: 230px; }
  .book-card__body { padding: 18px; }
  .book-card--compact { grid-template-columns: 120px 1fr; }
  .book-card--compact .book-card__cover { height: 100%; aspect-ratio: auto; }
  .book-card--compact .book-card__body { min-height: 0; }
  .book-meta div { grid-template-columns: 1fr; gap: 0; margin: 7px 0; }
  .book-meta dt { font-size: .72rem; }
  .process-timeline::before { left: 25px; }
  .process-timeline article { grid-template-columns: 52px 1fr; gap: 16px; }
  .process-step__anchor { width: 50px; height: 50px; font-size: .95rem; }
  .process-timeline h2 { font-size: 1.55rem; }
  .collaborator-grid > article, .dual-cta article, .contact-form-wrap, .contact-intro { padding: 26px; }
  .form-grid--two, .checkbox-grid { grid-template-columns: 1fr; }
  .conditional-fields { padding: 20px; }
  .legal-data div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-powered { text-align: left; }
  .footer-brand__logo-link { max-width: 150px; }
  .assistant-panel {
    top: var(--header-height);
    right: 0;
    bottom: var(--cookie-safe);
    width: 100%;
    max-height: calc(100dvh - var(--header-height) - var(--cookie-safe));
    border-radius: 0;
  }
  .assistant-trigger { right: 72px; bottom: calc(var(--cookie-safe) + 16px); min-height: 48px; padding-inline: 14px; }
  .back-top { right: 12px; bottom: calc(var(--cookie-safe) + 16px); }
  .cookie-banner__actions { flex-wrap: wrap; }
  .cookie-banner__actions .button { min-width: 30%; }
  .thank-you__card { padding: 36px 24px; }
}

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