/* ============================================================
   Congress House Publishers — Figma-faithful stylesheet
   Tokens extracted from Figma file "Congress House Publishers"
   ============================================================ */

:root {
  --cream: #f7f0e7;
  --dark: #29201f;
  --dark-2: #3a2e2c;
  --maroon: #790d25;
  --gold: #c9a451;
  --beige: #efe3d2;
  --tan: #e1d3bf;
  --line: #d9ccba;
  --muted: #d9cfc3;
  --sand: #ebddd0;
  --body-dark: #4a3f3d;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --radius-card: 30px;
  --radius-bento: 40.75px;
  --wrap: 1920px;
  --content: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* Figma: text content sits in a 1440px centered column (200px gutters at 1920) */
.content {
  max-width: calc(var(--content) + 80px);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- shared bits ---------- */
.section-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--maroon);
  margin-bottom: 10px;
}
.section-label.center { text-align: center; }
.section-label.gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 3.2vw, 61px);
  line-height: 1.14;
  letter-spacing: -0.6px;
  color: var(--dark);
}
.section-title em {
  font-style: italic;
  color: var(--maroon);
}
.section-title.center { text-align: center; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head-left { max-width: 870px; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex: 0 0 auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .i-arrow { width: 18px; height: 18px; }

.btn-maroon { background: var(--maroon); color: var(--cream); }
.btn-maroon:hover { background: #8e1230; box-shadow: 0 12px 26px rgba(121, 13, 37, .28); }

.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #d4b165; box-shadow: 0 12px 26px rgba(201, 164, 81, .35); }

.btn-cream { background: var(--cream); color: var(--dark); }
.btn-cream:hover { background: var(--white); }

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--cream);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.btn-block { width: 100%; }

/* ---------- chips ---------- */
.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgba(201, 164, 81, .08);
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
}
.chip-label .dot { width: 7px; height: 7px; }

.chip-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .92em;
  height: .92em;
  border-radius: 50%;
  vertical-align: baseline;
  transform: translateY(.12em);
  margin: 0 .06em;
}
.chip-circle svg { width: 55%; height: 55%; }
.chip-maroon { background: var(--maroon); color: var(--cream); }
.chip-gold { background: var(--gold); color: var(--dark); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  max-width: var(--wrap);
  margin: 18px auto 0;
  padding: 0 40px;
}
.header-pill {
  background: rgba(247, 240, 231, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--tan);
  border-radius: 999px;
  padding: 12px 20px;
  box-shadow: 0 13px 36px rgba(41, 32, 31, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--content);
  margin: 0 auto;
  width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1.5px;
  color: var(--maroon);
}
.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--dark);
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--maroon); }
.nav-link.is-active { color: var(--maroon); font-weight: 600; }
.header-cta { padding: 14px 27px; font-size: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s ease;
}
.nav-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { margin-top: 22px; }
.hero-card {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Figma 8:1833 — books texture masked inside the card at 3% opacity
   (image sits at x:-225 / y:-34 relative to the card, ~76% of card width) */
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/intro-texture.webp") left -225px top -34px / 76% auto no-repeat;
  opacity: .03;
  pointer-events: none;
}
/* Figma 8:1647 — maroon radial glow behind the book scene */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 71% 53%,
    rgba(121, 13, 37, .95), rgba(121, 13, 37, .45) 38%, rgba(121, 13, 37, 0) 66%);
  pointer-events: none;
}
/* keep content above the texture/glow layers */
.hero-inner, .ticker { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  /* Figma 8:1794 copy column is 687px wide on the 1440 content grid —
     fixed value keeps the 78px title on exactly two lines */
  grid-template-columns: minmax(0, 687px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 110px 0 60px;
  max-width: var(--content);
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1640px) {
  /* laptop widths: hero-inner fills the card, so restore side gutters
     (at 1920 the 1440 max-width already centers the content) */
  .hero-inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    padding: 90px 60px 50px;
  }
}
.chip-label { margin-bottom: 26px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4.1vw, 78px);
  line-height: 1.06;
  letter-spacing: -1.2px;
  color: var(--cream);
}
.hero-title em { color: var(--gold); font-weight: 600; }
.hero-sub {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-stats {
  display: flex;
  align-items: stretch;
  margin-top: 44px;
  border-top: 1px solid rgba(247, 240, 231, .35);
  padding-top: 26px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
}
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid rgba(247, 240, 231, .35); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 45px;
  line-height: 1;
  color: var(--gold);
}
.stat-label { font-size: 15.5px; color: var(--muted); }
/* hero book scene — rebuilt in HTML/CSS (Figma 8:1681, 752x727) */
.book-scene {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 753px;
  margin-left: auto;
  aspect-ratio: 752 / 727;
}
.scene-shadow {
  position: absolute;
  left: 12.09%; top: 73.87%;
  width: 75.93%; height: 8.25%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 70%);
}
.book { position: absolute; }
.book-back, .book-cover, .book-spine { position: absolute; display: block; }
.book-back {
  box-shadow: inset 1.04cqw 0 1.73cqw rgba(0, 0, 0, .25),
              inset -0.35cqw 0 0 rgba(255, 255, 255, .1);
}
.book-cover { object-fit: cover; width: 100%; height: 100%; }

/* book 1 — small, gold back (left) */
.book-1 { left: 5.28%; top: 26.13%; width: 29.34%; height: 44.64%; }
.book-1 .book-back {
  inset: 0;
  background: linear-gradient(135deg, #d6b567, #b08a35);
  border-radius: 0.35cqw 1.21cqw 1.21cqw 0.35cqw;
}
.book-1 .book-cover { left: 0.44%; top: 0.84%; border-radius: 0.8cqw; }

/* book 2 — small, dark back + spine (right) */
.book-2 { left: 62.91%; top: 20.96%; width: 32.87%; height: 44.64%; }
.book-2 .book-spine {
  left: 0; top: 0; width: 15.76%; height: 100%;
  background: #120c0b;
  border-left: 0.35cqw solid rgba(201, 164, 81, .2);
  border-right: 0.35cqw solid rgba(201, 164, 81, .2);
}
.book-2 .book-back {
  left: 10.73%; top: 0.22%; width: 89.27%; height: 100%;
  background: linear-gradient(135deg, #3a2d2b, #1c1413);
  border-radius: 0.35cqw 1.21cqw 1.21cqw 0.35cqw;
}
.book-2 .book-cover { left: 10.94%; top: 1.27%; width: 89.27%; border-radius: 1.33cqw; }

/* book 3 — large, maroon back + spine (center front) */
.book-3 { left: 25.60%; top: 8.87%; width: 44.21%; height: 61.61%; }
.book-3 .book-spine {
  left: 0; top: 0; width: 16.40%; height: 100%;
  background: #4a0816;
  border-left: 0.35cqw solid rgba(201, 164, 81, .2);
  border-right: 0.35cqw solid rgba(201, 164, 81, .2);
}
.book-3 .book-back {
  left: 6.28%; top: 0; width: 93.71%; height: 100%;
  background: linear-gradient(135deg, #9a1633, #5c0a1d);
  border-radius: 0.35cqw 1.21cqw 1.21cqw 0.35cqw;
}
.book-3 .book-cover { left: 11.74%; top: 1.29%; width: 93.71%; border-radius: 0.8cqw; }

/* floating pills — real text */
.scene-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1.73cqw;
  padding: 2.07cqw 3.11cqw;
  border-radius: 3.11cqw;
  font-size: 2.33cqw;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.pill-edit, .pill-globe {
  background: rgba(247, 240, 231, .12);
  border: 0.17cqw solid rgba(247, 240, 231, .25);
  backdrop-filter: blur(3.45cqw);
  -webkit-backdrop-filter: blur(3.45cqw);
  color: var(--cream);
}
.pill-edit { left: -0.04%; top: 11.42%; }
.pill-globe { left: 67.46%; top: 3.51%; }
.pill-print {
  left: 85.18%; top: 55.85%;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
}
.pill-icon-circle {
  width: 4.14cqw; height: 4.14cqw;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pill-icon-circle svg { width: 56%; height: 56%; }
.pill-icon-line { width: 3.45cqw; height: 3.45cqw; color: var(--gold); flex: 0 0 auto; }

/* ticker */
.ticker {
  border-top: 1px solid var(--gold);
  padding: 20px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.ticker-group span {
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.diamond {
  width: 8px; height: 8px;
  background: var(--cream);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { padding-top: 100px; position: relative; }
/* faint books texture on the right, as in Figma (20% opacity, flipped) */
.intro::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -34%;
  width: min(61%, 883px);
  aspect-ratio: 883 / 773;
  background: url("/assets/images/intro-texture.webp") right top / contain no-repeat;
  opacity: .2;
  transform: rotate(180deg);
  z-index: -1;
  pointer-events: none;
}
.intro-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 2.9vw, 54px);
  line-height: 1.32;
  letter-spacing: -0.5px;
  color: var(--maroon);
  max-width: 1210px;
  margin-top: 18px;
}
.intro-title .dark { color: var(--dark); }
.intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}
.intro-pills li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--dark);
}

/* ============================================================
   SERVICES (white card + bento)
   ============================================================ */
.services { padding-top: 100px; }
.services-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 100px 0 110px;
}
.services-card .section-head,
.services-card .bento {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }

.bento-card {
  position: relative;
  border-radius: var(--radius-bento);
  padding: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 1.9vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.bento-card p { font-size: 17px; line-height: 1.6; }
.bento-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.card-maroon { background: var(--maroon); color: var(--cream); }
.card-maroon p { color: var(--sand); }
.card-gold { background: var(--gold); color: var(--dark); }
.card-gold p { color: var(--dark); }
.card-white { background: var(--white); border: 1px solid var(--tan); color: var(--dark); }
.card-white p { color: var(--body-dark); }
.card-dark { background: var(--dark); color: var(--cream); }
.card-dark p { color: var(--muted); }
.card-beige { background: var(--beige); color: var(--dark); }
.card-beige p { color: var(--body-dark); }

.watermark {
  position: absolute;
  right: 36px;
  bottom: -30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 240px;
  line-height: 1;
  color: rgba(201, 164, 81, .10);
  pointer-events: none;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.tag-gold { color: var(--gold); }
.tag-dark { color: var(--dark); }
.tag-maroon { color: var(--maroon); }

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}
.mini-pills span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 240, 231, .55);
  font-size: 15px;
  color: var(--cream);
}
.card-white .mini-pills span,
.acc-item:not(.is-open) .mini-pills span {
  border-color: var(--line);
  color: var(--dark);
}

.bento-body {
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.bento-body .bento-text { max-width: 480px; }

/* editing mini-art */
.bento-art { position: relative; z-index: 1; }
.editor-art { flex: 0 0 320px; }
.editor-page {
  background: var(--cream);
  border-radius: 21px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotate(3deg);
  box-shadow: 0 35px 59px rgba(0, 0, 0, .35);
}
.editor-page .line {
  height: 18px;
  border-radius: 5px;
  background: var(--line);
}
.editor-page .line.gold { background: var(--gold); }
.w-45 { width: 45%; } .w-55 { width: 55%; } .w-65 { width: 65%; }
.w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; }
.w-85 { width: 85%; } .w-90 { width: 90%; }
.editor-note {
  position: absolute;
  top: -22px;
  right: -6px;
  z-index: 3;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 14.5px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .4);
  transform: rotate(3deg);
}
.card-maroon .editor-note { background: var(--dark); }

/* books art */
/* Book Design card — 3 covers fanned at card bottom (Figma 8:1880) */
.card-gold { container-type: inline-size; }
.card-gold .bento-text h3 { max-width: 51cqw; }
.card-gold .bento-text p { max-width: 65.6cqw; }
.books-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  min-height: 0;
  top: 40px;
  left: 30px;
}
.books-art .book {
  position: absolute;
  border-radius: 1.12cqw 2.24cqw 2.24cqw 1.12cqw;
  box-shadow: 0 3.9cqw 7.3cqw rgba(41, 32, 31, .35);
}
.books-art .b1 {
  left: 20cqw;
  top: 55.1cqw;
  width: 32cqw;
  transform: rotate(-14deg);
}
.books-art .b2 { left: 39.5cqw; top: 51.9cqw; width: 29cqw; z-index: 2; }
.books-art .b3 { left: 58cqw; top: 55.1cqw; width: 32cqw; transform: rotate(14deg); }

/* format art */
.format-art {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-height: 130px;
}
.fmt-square {
  width: 80px; height: 110px;
  background: var(--maroon);
  border-radius: 8px;
  box-shadow: 0 11px 20px rgba(41, 32, 31, .25);
}
.fmt-card {
  flex: 1;
  background: var(--dark);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fmt-card .line { height: 6px; border-radius: 3px; background: var(--line); display: block; }
.fmt-card .line.gold { background: var(--gold); }
.fmt-book {
  width: 52px; height: 96px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}
.fmt-book svg { width: 26px; height: 26px; }

/* bars art */
.bars-art {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 125px;
}
.bars-art .bar {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: var(--gold);
}
.bar.h-30 { height: 30%; opacity: .35; }
.bar.h-48 { height: 48%; opacity: .5; }
.bar.h-66 { height: 66%; opacity: .7; }
.bar.h-100 { height: 100%; }

/* globe art */
.globe-art {
  margin-top: auto;
  color: var(--maroon);
  display: flex;
  justify-content: flex-end;
}
.globe-art svg { width: 190px; height: 190px; opacity: .9; }

/* chat art */
.chat-art {
  flex: 0 0 335px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bubble {
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 16px;
  max-width: 100%;
}
.bubble-cream { background: var(--cream); color: var(--dark); align-self: flex-start; }
.bubble-maroon { background: var(--maroon); color: var(--cream); align-self: flex-end; }

/* cta card — Figma 8:1956: title top-left, maroon button bottom-left,
   large CH logo bleeding off the right edge (card clips it) */
.cta-card { align-items: flex-start; gap: 22px; }
.cta-logo {
  position: absolute;
  right: -14px;
  bottom: 6px;
  width: min(366px, 58%);
  z-index: 0;
  pointer-events: none;
}
.cta-card h3 { max-width: 340px; position: relative; z-index: 1; }
.cta-card h3 em { font-style: italic; font-weight: 700; color: var(--dark); }
.cta-card .btn { margin-top: auto; position: relative; z-index: 1; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding-top: 100px; }
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}

.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 30px);
  letter-spacing: -0.3px;
  color: var(--dark);
  text-align: left;
  transition: color .2s ease;
}
.acc-head:hover { color: var(--maroon); }
/* diagonal arrow — plain on closed rows, cream circle on the open row (Figma) */
.acc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  color: var(--dark);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: background .3s ease, color .3s ease;
}
.acc-icon svg { width: 22px; height: 22px; }
.acc-item.is-open .acc-icon {
  width: 42px; height: 42px;
  background: var(--cream);
  color: var(--dark);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.acc-body-inner { overflow: hidden; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }

.acc-item.is-open {
  border: none;
  background: var(--maroon);
  border-radius: 27px;
  padding: 12px 20px 24px;
  margin: 6px 0;
}
.acc-item.is-open .acc-head { color: var(--cream); padding: 20px 14px; }
.acc-item.is-open + .acc-item { border-top: 1px solid var(--line); }
.acc-item .mini-pills { padding: 0 14px; margin-top: 0; }
.acc-item .mini-pills span { border-color: var(--gold); color: var(--cream); }

.process-side {
  background: var(--dark);
  border-radius: 36px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: sticky;
  top: 120px;
}
/* side card art — two fanned covers + step counter badge (Figma 8:2370) */
.process-art {
  position: relative;
  width: 100%;
  aspect-ratio: 371 / 283;
  background: #3a2e2c;
  border-radius: 22px;
  overflow: hidden;
}
.pa-book {
  position: absolute;
  width: 47%;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
  transition: opacity .3s ease;
}
.pa-1 { left: 6.5%; top: 8%; transform: rotate(-4.8deg); }
.pa-2 { left: 45%; top: 21%; transform: rotate(15.7deg); }
.process-art.is-switching .pa-book { opacity: 0; }
.process-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.process-side h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--cream);
}
.process-side p { color: var(--muted); font-size: 17px; line-height: 1.65; }

/* ============================================================
   PLANS
   ============================================================ */
.plans { padding-top: 100px; }
.plans-card {
  background: var(--beige);
  border-radius: var(--radius-card);
  padding: 90px 40px 100px;
}
.plans-card .section-title { max-width: 720px; margin: 0 auto; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: var(--content);
  margin: 64px auto 0;
}
.plan-card {
  border-radius: var(--radius-bento);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.plan-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.4px;
}
.plan-desc { font-size: 17px; line-height: 1.55; }
.plan-card hr {
  border: none;
  height: 1px;
  background: var(--tan);
}
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* long feature lists scroll inside the card; price/button stay pinned below */
  max-height: 400px;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.plan-list::-webkit-scrollbar { width: 6px; }
.plan-list::-webkit-scrollbar-track { background: rgba(201, 164, 81, .15); border-radius: 3px; }
.plan-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
/* subtle fade at the bottom edge hints there is more to scroll */
.plan-list {
  mask-image: linear-gradient(to bottom, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
}
.plan-price { margin-top: auto; }
.plan-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16.5px;
}
.plan-list li::before {
  content: "";
  width: 25px; height: 25px;
  border-radius: 50%;
  flex: 0 0 auto;
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%23f7f0e7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.plan-price { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.plan-from { font-size: 13.5px; font-weight: 600; letter-spacing: 2px; opacity: .85; }
.plan-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.1;
}

.plan-light { background: var(--white); border: 1px solid var(--tan); color: var(--dark); }
.plan-light .plan-desc { opacity: .9; }

.plan-maroon { background: var(--maroon); border: 1px solid var(--gold); color: var(--cream); }
.plan-maroon hr { background: rgba(201, 164, 81, .55); }
.plan-maroon .plan-list li::before {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%2329201f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-card { min-width: 0; }
.plan-badge {
  background: var(--gold);
  color: var(--dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.plan-dark { background: var(--dark); border: 1px solid var(--gold); color: var(--cream); }
.plan-dark hr { background: rgba(201, 164, 81, .4); }
.plan-dark .plan-list li::before {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%2329201f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================================
   BOOKS STRIP
   ============================================================ */
.books { padding-top: 100px; }
.books-strip {
  margin-top: 96px;
  overflow: hidden;
  padding: 30px 0 40px;
}
.books-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.books-strip:hover .books-track { animation-play-state: paused; }
.books-track img {
  width: 2346px;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-top: 100px; }
.contact-card {
  display: grid;
  /* Figma: maroon card 583px, beige form card overlaps it by 154px */
  grid-template-columns: minmax(0, 583px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
}
.contact-info {
  position: relative;
  z-index: 2;
  background: var(--maroon);
  border-radius: 16px;
  overflow: hidden;
  padding: 64px 56px;
  min-height: 654px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  box-shadow: 0 0 78px rgba(0, 0, 0, .13);
}
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/texture-books.webp") center / cover no-repeat;
  opacity: .2;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 3.6vw, 69px);
  line-height: 0.97;
  letter-spacing: -1px;
  color: var(--cream);
}
.contact-info h2 em { font-style: italic; font-weight: 700; }
.contact-info p { color: var(--white); font-size: 18px; line-height: 1.65; max-width: 430px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; }
.contact-lines a {
  color: var(--sand);
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 600;
  line-height: 1.65;
  transition: color .2s ease;
}
.contact-lines a:hover { color: var(--gold); }

/* beige card behind the form (Figma 8:2791), pulled 154px under the maroon card */
.contact-form-card {
  background: var(--beige);
  border-radius: 16px;
  margin-left: -154px;
  padding: 76px 100px 76px 234px;
}
.contact-form h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.05vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.6px;
  color: var(--dark);
  margin-bottom: 34px;
}
.contact-form h2 em { color: var(--maroon); font-style: italic; font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea,
.chp-modal__form input,
.chp-modal__form textarea,
.upload-field {
  width: 100%;
  height: 60px;
  border-radius: 60px;
  border: 1px solid #727272;
  background: transparent;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  margin-bottom: 16px;
  transition: border-color .2s ease, background .2s ease;
  appearance: none;
}
.contact-form textarea,
.chp-modal__form textarea {
  height: auto;
  border-radius: 24px;
  padding: 20px 32px;
  resize: vertical;
  min-height: 129px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.chp-modal__form input::placeholder,
.chp-modal__form textarea::placeholder { color: rgba(70, 70, 70, .7); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.chp-modal__form input:focus,
.chp-modal__form textarea:focus {
  border-color: var(--maroon);
  background: var(--white);
}
.contact-form select {
  color: rgba(70, 70, 70, .7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23727272' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  background-size: 18px;
  cursor: pointer;
}
.contact-form select:valid { color: var(--dark); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.upload-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: rgba(70, 70, 70, .7);
}
.upload-field svg { width: 24px; height: 24px; color: var(--maroon); }
.upload-field:hover { border-color: var(--maroon); }
.upload-field.has-file span { color: var(--dark); font-weight: 500; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--maroon); font-weight: 500; min-height: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-top: 100px; padding-bottom: 30px; }
.footer-card {
  background: var(--dark);
  border-radius: var(--radius-card);
  padding: 64px 40px 26px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.newsletter,
.footer-grid,
.footer-bottom {
  max-width: var(--content);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* newsletter */
.newsletter {
  background: linear-gradient(135deg, rgba(121, 13, 37, .9), rgba(121, 13, 37, .35));
  border: 1px solid rgba(201, 164, 81, .4);
  border-radius: var(--radius-bento);
  padding: 52px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-copy { max-width: 620px; }
.newsletter-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.1vw, 40.75px);
  color: var(--cream);
  margin: 12px 0 14px;
}
.newsletter-copy h3 em { color: var(--gold); font-style: italic; font-weight: 700; }
.newsletter-copy p { color: var(--sand); font-size: 17px; }
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 8px 8px 30px;
  min-width: min(560px, 100%);
  flex: 1;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 16px;
  height: 48px;
  min-width: 0;
}
.newsletter-form input::placeholder { color: #757575; }
.newsletter-form .btn { padding: 16px 32px; }

/* footer columns */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.1fr);
  gap: 54px;
}
.footer-brand { display: flex; flex-direction: column; gap: 27px; }
.footer-logo-box {
  background: var(--cream);
  border-radius: 27px;
  padding: 22px 30px;
  display: inline-flex;
  align-self: flex-start;
  box-shadow: 0 0 0 rgba(201, 164, 81, .18);
}
.footer-logo-box img { width: 150px; }
.footer-brand p { color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 450px; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.socials a svg { width: 22px; height: 22px; }
.socials a:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 16.5px;
  transition: color .2s ease;
}
.footer-col a::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.footer-col a:hover { color: var(--cream); }

.footer-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-contact .contact-line a { color: var(--muted); font-size: 16.5px; }
.footer-contact .contact-line a::before { display: none; }
.footer-contact .contact-line a:hover { color: var(--cream); }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201, 164, 81, .14);
  color: var(--gold);
  flex: 0 0 auto;
}
.icon-circle svg { width: 20px; height: 20px; }
.serving-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
}

/* bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(247, 240, 231, .25);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 15.5px;
}
.footer-bottom-links { display: flex; align-items: center; gap: 26px; }
.footer-bottom-links a { color: var(--muted); transition: color .2s ease; }
.footer-bottom-links a:hover { color: var(--cream); }
.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(201, 164, 81, .4); }

/* ============================================================
   QUOTE MODAL
   ============================================================ */
.chp-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.chp-modal.is-open { display: flex; }
body.modal-open { overflow: hidden; }
.chp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 32, 31, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chp-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.chp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(41, 32, 31, .18);
  transition: transform .2s ease, background .2s ease;
}
.chp-modal__close:hover { background: var(--gold); transform: rotate(90deg); }
.chp-modal__close svg { width: 18px; height: 18px; }
.chp-modal__panel {
  position: relative;
  overflow: hidden;
  background: var(--maroon);
  padding: 54px 44px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chp-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/texture-books.webp") center / cover no-repeat;
  opacity: .2;
}
.chp-modal__panel > * { position: relative; z-index: 1; }
.chp-modal__panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.15;
}
.chp-modal__panel p { color: var(--sand); font-size: 16.5px; line-height: 1.6; }
.chp-modal__panel ul { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.chp-modal__panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--cream);
}
.chp-modal__panel li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%2329201f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.chp-modal__form { padding: 54px 44px; }

/* ============================================================
   THANK YOU
   ============================================================ */
.thank-hero {
  padding: 120px 0 40px;
  display: flex;
  justify-content: center;
}
.thank-card {
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius-card);
  padding: 70px 60px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 30px 70px rgba(41, 32, 31, .08);
}
.thank-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.thank-icon svg { width: 40px; height: 40px; }
.thank-card h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.2;
  color: var(--dark);
}
.thank-card p { color: var(--body-dark); font-size: 17px; line-height: 1.6; max-width: 480px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .hero-inner { padding: 70px 60px 50px; }
  .process-grid { gap: 40px; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 40px;
    right: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(247, 240, 231, .97);
    border: 1px solid var(--tan);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 24px 50px rgba(41, 32, 31, .15);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { width: 100%; padding: 14px 18px; border-radius: 14px; }
  .nav-link:hover { background: var(--beige); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-header { z-index: 200; }

  /* minmax(0,…) so the column can shrink below content min-content —
     otherwise the long hero title / chip force the card to overflow */
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .book-scene { margin: 0 auto; }

  .bento { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-7 { grid-column: span 1; }
  .bento-body { flex-direction: column; align-items: flex-start; }
  .editor-art, .chat-art { flex: none; width: 100%; max-width: 420px; }

  /* stacked card loses its fixed height — bring the fanned books in flow
     so they stay visible instead of clipping below the card bottom */
  .books-art { position: relative; inset: auto; height: 37cqw; margin-top: 12px; }
  .books-art .b1 { top: 1.2cqw; bottom: auto; }
  .books-art .b2 { top: -4.4cqw; bottom: auto; }
  .books-art .b3 { top: 1.2cqw; bottom: auto; }

  .process-grid { grid-template-columns: 1fr; }
  .process-side { position: static; }

  .plans-grid { grid-template-columns: 1fr; max-width: 620px; }

  .books-strip { margin-top: 50px; }

  .contact-card { grid-template-columns: 1fr; gap: 26px; }
  .contact-info { min-height: 0; padding: 50px 40px; }
  .contact-form-card { margin-left: 0; padding: 54px 46px; }
  .contact { padding-top: 90px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { min-width: 100%; }
}

@media (max-width: 640px) {
  .wrap, .content { padding-left: 18px; padding-right: 18px; }
  .chp-modal { padding: 12px; }
  .chp-modal__dialog { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
  .chp-modal__panel { padding: 40px 28px 30px; }
  .chp-modal__form { padding: 30px 28px 40px; }
  .thank-hero { padding: 80px 0 20px; }
  .thank-card { padding: 46px 28px; }
  .site-header { padding: 0 14px; top: 10px; margin-top: 10px; }
  .header-pill { padding-left: 20px; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 8px; letter-spacing: 3.5px; }

  .hero-inner { padding: 50px 26px 40px; }
  .chip-label { font-size: 11px; letter-spacing: 1.4px; padding: 8px 13px; gap: 7px; max-width: 100%; }
  .hero-title { font-size: clamp(30px, 8.7vw, 40px); }
  .hero-actions .btn { padding: 15px 22px; font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat { padding: 0; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(247, 240, 231, .35); padding-top: 18px; }

  .services-card { padding: 60px 0 70px; }
  .services-card .section-head,
  .services-card .bento { padding-left: 20px; padding-right: 20px; }
  .bento-card { padding: 30px 24px; min-height: 0; }
  .watermark { font-size: 150px; }

  .plans-card { padding: 60px 20px 70px; }
  .plan-card { padding: 32px 26px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 34px 22px; }
  .cta-logo { width: 46%; }
  .books-track img { width: 1400px; }

  .footer-card { padding: 40px 24px 22px; gap: 44px; }
  .newsletter { padding: 34px 24px; }
  .newsletter-form { flex-direction: column; align-items: stretch; padding: 14px; border-radius: 28px; gap: 10px; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .books-track { animation-duration: 90s; }
  html { scroll-behavior: auto; }
}

@media print {
  .acc-item:not(.is-open) .acc-body { display: none; }
}
