:root {
  --bg: #f4eadf;
  --surface: rgba(255, 252, 248, 0.82);
  --surface-strong: rgba(255, 252, 248, 0.92);
  --ink: #1f262e;
  --muted: #5c6272;
  --line: rgba(31, 38, 46, 0.13);
  --accent: #1f6f95;
  --accent-strong: #185a79;
  --warm: #bf6d3f;
  --warm-soft: rgba(191, 109, 63, 0.14);
  --cool-soft: rgba(31, 111, 149, 0.14);
  --shadow: 0 18px 42px rgba(22, 38, 48, 0.12);
  --radius: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(191, 109, 63, 0.22), transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(31, 111, 149, 0.2), transparent 36%),
    radial-gradient(circle at 52% 110%, rgba(214, 169, 123, 0.18), transparent 42%),
    var(--bg);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    linear-gradient(rgba(31, 111, 149, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 149, 0.06) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: radial-gradient(circle at 50% 34%, black 30%, transparent 78%);
  opacity: 0.34;
}

body::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.4), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.34), transparent 24%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transition: opacity 560ms cubic-bezier(0.2, 0.7, 0.1, 1);
  background:
    radial-gradient(circle at 16% 22%, rgba(191, 109, 63, 0.42), transparent 42%),
    radial-gradient(circle at 84% 70%, rgba(31, 111, 149, 0.42), transparent 44%),
    linear-gradient(135deg, rgba(244, 234, 223, 0.98), rgba(241, 247, 251, 0.96), rgba(255, 242, 231, 0.98));
}

body.page-ready .page-transition {
  opacity: 0;
}

body.is-transitioning .page-transition {
  opacity: 1;
}

.book-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.38) 0.7px, transparent 1px),
    radial-gradient(rgba(31, 38, 46, 0.16) 0.7px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

.book-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.book-glow-a {
  width: 300px;
  height: 300px;
  left: -90px;
  top: -70px;
  background: rgba(191, 109, 63, 0.22);
}

.book-glow-b {
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -110px;
  background: rgba(31, 111, 149, 0.18);
}

.book-topbar,
.book-main {
  width: min(var(--max-width), calc(100% - 2rem));
}

.book-topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  margin: 1rem auto 0;
  padding: 0.76rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.book-topbar-menu {
  display: contents;
}

.route-nav,
.route-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  min-width: 0;
  padding: 0.18rem;
  border: 1px solid rgba(31, 38, 46, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(22, 38, 48, 0.1);
}

.mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.book-topbar.is-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.book-topbar.is-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.book-topbar.is-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.route-nav {
  flex: 1 1 23rem;
  justify-content: flex-start;
}

.route-actions {
  flex: 1 1 16rem;
  justify-content: flex-end;
}

.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.route-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(22, 38, 48, 0.1);
}

.route-link.is-current,
.route-link[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, rgba(31, 111, 149, 0.96), rgba(191, 109, 63, 0.92));
  box-shadow: 0 12px 20px rgba(31, 111, 149, 0.18);
}

.route-link-cta {
  color: var(--ink);
}

.topbar-title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  flex: 0 1 auto;
  max-width: min(100%, 18rem);
  padding: 0 0.35rem;
  text-align: center;
}

.book-main {
  margin: 1.35rem auto 2.2rem;
  position: relative;
  z-index: 1;
}

.book-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  margin: 0 0 0.9rem;
  padding: 0.42rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.book-breadcrumb a {
  color: var(--accent);
}

.hero,
.insight-card,
.note-card,
.visual-card,
.sample-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1rem;
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.1rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(191, 109, 63, 0.12), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(31, 111, 149, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 244, 0.78));
}

.hero-copy,
.hero-panel,
.hero-note,
.sample-copy,
.sample-actions {
  display: grid;
  gap: 0.72rem;
}

.hero-panel {
  align-content: start;
  justify-items: center;
}

.eyebrow,
.section-tag {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--warm);
}

h1,
h2,
h3,
.topbar-title {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  max-width: 12ch;
}

.subtitle {
  margin: 0;
  color: var(--accent);
  font-size: 1.04rem;
  font-weight: 700;
}

.lead,
.summary,
.section-lead,
.insight-card p,
.note-card p,
.sample-copy p,
figcaption span,
.hero-note p,
.process-step p,
.process-example p,
.process-example span {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--ink);
  max-width: 58ch;
}

.summary {
  max-width: 66ch;
}

.hero-actions,
.sample-actions {
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.amazon-purchase-panel {
  display: grid;
  gap: 0.58rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 111, 149, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 242, 0.82)),
    linear-gradient(95deg, rgba(191, 109, 63, 0.08), rgba(31, 111, 149, 0.08));
}

.amazon-region-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.amazon-region-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 0.52rem;
}

.amazon-region-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.38rem 0.74rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 180ms ease;
}

.amazon-region-links a.is-suggested {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, rgba(31, 111, 149, 0.96), rgba(191, 109, 63, 0.92));
  box-shadow: 0 12px 20px rgba(31, 111, 149, 0.18);
}

.amazon-region-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(22, 38, 48, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(31, 111, 149, 0.28);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats {
  margin: 0.18rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.hero-stat-card {
  display: grid;
  gap: 0.44rem;
  padding: 0.92rem 0.96rem 0.98rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 251, 247, 0.88)),
    linear-gradient(95deg, rgba(191, 109, 63, 0.08), rgba(31, 111, 149, 0.06));
  box-shadow:
    0 14px 28px rgba(22, 38, 48, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.36) inset;
  position: relative;
  overflow: hidden;
}

.hero-stat-card::before {
  content: "";
  position: absolute;
  left: 0.96rem;
  right: 0.96rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
}

.hero-stat-card-a::before {
  background: linear-gradient(90deg, rgba(191, 109, 63, 0.84), rgba(191, 109, 63, 0.18));
}

.hero-stat-card-b::before {
  background: linear-gradient(90deg, rgba(31, 111, 149, 0.84), rgba(31, 111, 149, 0.18));
}

.hero-stat-card-c::before {
  background: linear-gradient(90deg, rgba(31, 111, 149, 0.84), rgba(191, 109, 63, 0.62));
}

.hero-stat-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--warm);
}

.hero-stat-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: center;
}

.hero-stats strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  min-width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(31, 111, 149, 0.18);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.46) 48%, transparent 78%),
    linear-gradient(145deg, rgba(31, 111, 149, 0.12), rgba(191, 109, 63, 0.12));
  color: var(--accent);
  font-size: 1.64rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(22, 38, 48, 0.08);
}

.hero-stats span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.34;
}

.hero-stat-card small {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.5;
}

.cover-card {
  margin: 0;
  width: min(100%, 360px);
  padding: 0.85rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 14%, rgba(191, 109, 63, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(31, 111, 149, 0.16), transparent 28%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 244, 0.82));
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(22, 38, 48, 0.12);
}

.cover-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}

.hero-note {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(95deg, var(--warm-soft), var(--cool-soft));
  border: 1px solid var(--line);
}

.hero-contact-card {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 111, 149, 0.16);
  background:
    radial-gradient(circle at 86% 18%, rgba(31, 111, 149, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 255, 0.84));
  box-shadow: 0 14px 28px rgba(22, 38, 48, 0.08);
}

.hero-contact-title {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.14rem;
  line-height: 1.28;
}

.hero-contact-card p:last-of-type {
  margin: 0;
  color: var(--muted);
}

.hero-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
}

.hero-note-label,
.note-kicker,
.insight-index {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note-label,
.note-kicker {
  color: var(--warm);
}

.book-section {
  margin-top: 2.2rem;
}

.section-head {
  display: grid;
  gap: 0.34rem;
  margin-bottom: 0.98rem;
}

.section-tag {
  color: var(--accent);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.45rem);
  max-width: 24ch;
}

.section-lead {
  max-width: 72ch;
}

.insight-grid,
.gallery-grid {
  display: grid;
  gap: 0.9rem;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card,
.note-card {
  padding: 1rem 1.05rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.82)),
    linear-gradient(95deg, var(--warm-soft), var(--cool-soft));
}

.insight-index {
  color: var(--accent);
}

.insight-card h3,
.note-card h3,
.process-step h3 {
  margin: 0.22rem 0 0.36rem;
  font-size: 1.08rem;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.92rem;
  align-items: start;
}

.process-board {
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 14%, rgba(191, 109, 63, 0.12), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(31, 111, 149, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 245, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.process-example {
  display: grid;
  gap: 0.32rem;
  margin-bottom: 0.92rem;
  padding: 0.9rem 0.98rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.84)),
    linear-gradient(95deg, rgba(191, 109, 63, 0.12), rgba(31, 111, 149, 0.1));
}

.process-example-kicker,
.process-step-index,
.process-turn-label,
.process-loopback-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-example-kicker,
.process-turn-label,
.process-loopback-label {
  color: var(--warm);
}

.process-example strong {
  font-size: 1.06rem;
  color: var(--ink);
}

.process-flow {
  display: grid;
  gap: 0.78rem;
}

.process-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 0.56rem;
  align-items: stretch;
}

.process-step {
  padding: 0.92rem 0.96rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.86)),
    linear-gradient(95deg, rgba(191, 109, 63, 0.08), rgba(31, 111, 149, 0.06));
  box-shadow: 0 12px 24px rgba(22, 38, 48, 0.08);
}

.process-step-core {
  background:
    radial-gradient(circle at 86% 18%, rgba(31, 111, 149, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(247, 252, 255, 0.9));
}

.process-step-review {
  background:
    radial-gradient(circle at 12% 18%, rgba(191, 109, 63, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 245, 0.9));
}

.process-step-index {
  color: var(--accent);
}

.process-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(191, 109, 63, 0.52), rgba(31, 111, 149, 0.52));
}

.process-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(31, 111, 149, 0.7);
  border-right: 2px solid rgba(31, 111, 149, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.process-arrow-reverse::after {
  right: auto;
  left: -1px;
  border-top: 0;
  border-right: 0;
  border-left: 2px solid rgba(31, 111, 149, 0.7);
  border-bottom: 2px solid rgba(31, 111, 149, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.process-turn {
  position: relative;
  width: 100%;
  height: 54px;
}

.process-turn::before {
  content: "";
  position: absolute;
  left: 83.333%;
  top: 0;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(191, 109, 63, 0.54), rgba(31, 111, 149, 0.62));
  transform: translateX(-50%);
}

.process-turn::after {
  content: "";
  position: absolute;
  left: 16.666%;
  right: 16.666%;
  top: 18px;
  border-top: 2px dashed rgba(31, 111, 149, 0.34);
}

.process-turn-label {
  position: absolute;
  right: 0.4rem;
  top: 0;
  padding: 0 0.42rem;
  background: rgba(244, 234, 223, 0.92);
}

.process-turn-drop {
  position: absolute;
  left: 16.666%;
  top: 18px;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(191, 109, 63, 0.54), rgba(31, 111, 149, 0.62));
  transform: translateX(-50%);
}

.process-turn-drop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(31, 111, 149, 0.72);
  border-bottom: 2px solid rgba(31, 111, 149, 0.72);
  transform: translateX(-50%) rotate(45deg);
}

.process-loopback {
  position: relative;
  width: 100%;
  height: 40px;
}

.process-loopback::before {
  content: "";
  position: absolute;
  left: 83.333%;
  top: 0;
  width: 2px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31, 111, 149, 0.54), rgba(191, 109, 63, 0.62));
  transform: translateX(-50%);
}

.process-loopback::after {
  content: "";
  position: absolute;
  left: 16.666%;
  right: 16.666%;
  top: 14px;
  border-top: 2px dashed rgba(191, 109, 63, 0.34);
}

.process-loopback-label {
  position: absolute;
  left: 50%;
  top: 0;
  padding: 0 0.42rem;
  background: rgba(244, 234, 223, 0.92);
  transform: translateX(-50%);
}

.process-dims {
  margin: 0.64rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.process-dims li {
  padding: 0.24rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 149, 0.18);
  background: rgba(31, 111, 149, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.process-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.88rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.visual-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.84)),
    linear-gradient(95deg, var(--warm-soft), var(--cool-soft));
}

.visual-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 20px rgba(22, 38, 48, 0.08);
}

.visual-card figcaption {
  display: grid;
  gap: 0.26rem;
  padding: 0.82rem 0.18rem 0.1rem;
}

.visual-card strong {
  font-size: 1rem;
}

.sample-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.16rem;
  background:
    radial-gradient(circle at 8% 24%, rgba(191, 109, 63, 0.14), transparent 30%),
    radial-gradient(circle at 90% 78%, rgba(31, 111, 149, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 244, 0.82));
}

.sample-panel-consult {
  background:
    radial-gradient(circle at 12% 20%, rgba(191, 109, 63, 0.16), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(31, 111, 149, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.84));
}

.summary-links {
  display: grid;
  gap: 0.72rem;
  min-width: min(360px, 100%);
}

.consulting-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.48rem;
  color: var(--muted);
}

.consulting-list li {
  line-height: 1.55;
}

.sample-actions-stack {
  display: grid;
  gap: 0.68rem;
  align-content: start;
}

.summary-link-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.58rem;
  color: var(--muted);
}

.summary-link-list a {
  color: var(--accent);
  font-weight: 700;
}

.book-faq-list {
  display: grid;
  gap: 0.72rem;
}

.book-faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.84)),
    linear-gradient(95deg, var(--warm-soft), var(--cool-soft));
  box-shadow: 0 12px 24px rgba(22, 38, 48, 0.08);
  padding: 0.92rem 1rem;
}

.book-faq-list summary {
  cursor: pointer;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.book-faq-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.book-faq-list a {
  color: var(--accent);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms cubic-bezier(0.2, 0.7, 0.1, 1), transform 420ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .sample-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .insight-grid,
  .gallery-grid,
  .process-notes {
    grid-template-columns: 1fr 1fr;
  }

  .process-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-arrow,
  .process-turn,
  .process-loopback {
    display: none;
  }
}

@media (max-width: 980px) {
  .book-topbar {
    top: 0.6rem;
    padding: 0.7rem 0.76rem;
  }

  .topbar-title {
    width: 100%;
    order: -1;
    max-width: none;
  }

  .route-nav,
  .route-actions {
    width: 100%;
    justify-content: center;
  }

  .route-nav .route-link {
    flex: 1 1 calc(50% - 0.38rem);
    text-align: center;
  }

  .route-actions .route-link {
    flex: 1 1 calc(33.333% - 0.38rem);
    text-align: center;
  }
}

@media (max-width: 760px) {
  .book-topbar,
  .book-main {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .book-breadcrumb {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .book-topbar {
    top: 0.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 0.58rem 0.62rem;
    gap: 0.45rem;
    transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
    will-change: transform, opacity;
  }

  .topbar-title {
    width: 100%;
    order: -1;
    font-size: 0.98rem;
    padding: 0;
    text-align: left;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .book-topbar-menu {
    display: none;
    grid-column: 1 / -1;
    gap: 0.34rem;
  }

  .book-topbar.is-menu-open .book-topbar-menu {
    display: grid;
  }

  .route-nav,
  .route-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.22rem;
    border-radius: 16px;
  }

  .route-nav .route-link,
  .route-actions .route-link {
    width: 100%;
    text-align: center;
    min-width: 0;
    min-height: 46px;
    padding: 0.44rem 0.42rem;
    line-height: 1.08;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    border-radius: 13px;
    font-size: 0.76rem;
  }

  .hero-stats,
  .insight-grid,
  .gallery-grid,
  .process-notes {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .sample-actions {
    flex-direction: column;
  }

  body.mobile-nav-hidden .book-topbar {
    transform: translateY(calc(-100% - 1rem));
    opacity: 0.02;
    pointer-events: none;
    box-shadow: none;
  }

  body.mobile-nav-hidden .book-topbar.is-menu-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 12px 28px rgba(22, 38, 48, 0.08);
  }

  .btn {
    width: 100%;
  }

  .process-board {
    padding: 0.82rem;
  }

  .process-example,
  .process-step {
    border-radius: 14px;
  }

  .sample-panel {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
