/* =========================================================
   BooksPublishingHub — Design Tokens
   Palette: Bordeaux #3B0F1F · Parchment #F7F3EA · Antique Gold #8C5E22
            Sage #6B7A63 · Charcoal #2A2A28 · White #FFFFFF
   Type: Fraunces (display) / Source Sans 3 (body) / Montserrat (utility)
   ========================================================= */

:root {
  --ink: #3B0F1F;
  --ink-2: #551A2E;
  --parchment: #F7F3EA;
  --parchment-2: #EFE8D8;
  --gold: #8C5E22;
  --gold-light: #D6AE73;
  --sage: #6B7A63;
  --charcoal: #2A2A28;
  --white: #FFFFFF;
  --line: rgba(59, 15, 31, 0.12);

  --font-display: 'Fraunces', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Montserrat', sans-serif;

  --container: 1240px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  --shadow-s: 0 2px 10px rgba(59, 15, 31, 0.06);
  --shadow-m: 0 12px 32px rgba(59, 15, 31, 0.10);
  --shadow-l: 0 24px 60px rgba(59, 15, 31, 0.16);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block
}

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

ul {
  list-style: none
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit
}

input,
textarea,
select {
  font: inherit
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px
}

.section {
  padding: 104px 0
}

.alt-bg {
  background: var(--parchment)
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.eyebrow.light {
  color: var(--gold-light)
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px
}

.section-head.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px
}

.section-head p {
  font-size: 17px;
  color: #5b5b57;
  max-width: 520px
}

.section-head.center p {
  margin: 0 auto
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink)
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-s)
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m)
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line)
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px)
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 14px 0;
}

.site-header .header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.scrolled {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-s);
  padding: 8px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  flex-shrink: 0
}

.brand-logo-light {
  display: none
}

.site-header:not(.scrolled) .brand-logo-dark {
  display: none
}

.site-header:not(.scrolled) .brand-logo-light {
  display: block
}

.brand-logo-mobile {
  height: 30px
}

.brand-logo-footer {
  height: auto
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0
}

.main-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.005em;
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.site-header:not(.scrolled) .nav-link {
  color: var(--white)
}

.nav-link:hover {
  background: rgba(59, 15, 31, 0.06)
}

.site-header:not(.scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, 0.12)
}

/* Chevron badge: a small dark circle behind the arrow so it always renders
   white and stays visible no matter what's behind it (light or dark bg). */
.chevron-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.nav-link .chevron-badge {
  width: 20px;
  height: 20px;
  margin-left: 1px
}

.has-mega {
  position: relative
}

.has-mega:hover .chevron-badge,
.has-mega:focus-within .chevron-badge {
  transform: rotate(180deg);
  background: var(--gold)
}

/* .mega-menu is a transparent hit-box that starts flush (top:100%) against the
   trigger so there's no dead zone for the cursor to lose :hover in; the visible
   card lives in .mega-menu-panel, pushed down by padding-top for visual breathing room. */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 640px;
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-panel {
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 28px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mega-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--charcoal);
  font-size: 14.5px;
  transition: background .2s
}

.mega-col a:hover {
  background: var(--parchment)
}

.mega-feature {
  background: var(--parchment);
  border-radius: var(--radius-s);
  padding: 14px;
  gap: 8px
}

.mega-feature img {
  border-radius: 6px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 6px
}

.mega-feature p {
  font-size: 13px;
  color: #6b6b66;
  line-height: 1.5
}

.mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s
}

.site-header:not(.scrolled) .icon-btn {
  color: var(--white)
}

.icon-btn:hover {
  background: rgba(59, 15, 31, 0.08)
}

.site-header:not(.scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.14)
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink)
}

.site-header:not(.scrolled) .call-btn {
  color: var(--white)
}

.mobile-toggle {
  display: none
}

.search-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: max-height .35s var(--ease);
}

.search-panel.open {
  max-height: 90px
}

.search-panel-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink)
}

.search-panel-inner input {
  flex: 1;
  border: none;
  font-size: 18px;
  background: transparent
}

.search-panel-inner input:focus {
  outline: none
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: var(--ink);
  color: var(--white);
  z-index: 1200;
  padding: 28px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0)
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px
}

.mobile-menu-head button {
  color: var(--white)
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mobile-menu nav>a,
.mobile-menu summary {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  cursor: pointer
}

.mobile-menu details a {
  display: block;
  padding: 12px 4px 12px 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75)
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 15, 31, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s;
  z-index: 1100
}

.overlay.open {
  opacity: 1;
  visibility: visible
}

/* ---------- Map embed ---------- */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  display: block
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 26px
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12)
}

.hours-list li strong {
  color: var(--white);
  font-weight: 600
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color .2s
}

.breadcrumb a:hover {
  color: var(--gold-light)
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4)
}

.breadcrumb .current {
  color: var(--gold-light)
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(214, 174, 115, 0.28) 0%, transparent 70%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow.hero-eyebrow {
  color: var(--gold-light)
}

.hero-copy .eyebrow {
  color: var(--gold-light)
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light)
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin-bottom: 34px
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35)
}

.hero .btn-ghost:hover {
  border-color: var(--white)
}

.trust-badges {
  display: flex;
  gap: 26px;
  flex-wrap: wrap
}

.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75)
}

.trust-badges .badge svg {
  color: var(--gold-light)
}

.hero-visual {
  position: relative;
  height: 520px
}

.stack-card {
  position: absolute;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 6px solid var(--white)
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.card-1 {
  width: 280px;
  height: 360px;
  top: 10px;
  left: 60px;
  z-index: 2;
  animation: float1 7s ease-in-out infinite
}

.card-2 {
  width: 230px;
  height: 300px;
  bottom: 0;
  right: 10px;
  z-index: 1;
  animation: float2 8s ease-in-out infinite
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg)
  }

  50% {
    transform: translateY(-14px) rotate(-1deg)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(2deg)
  }

  50% {
    transform: translateY(-10px) rotate(3deg)
  }
}

.float-stat {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  box-shadow: var(--shadow-m);
  z-index: 3;
}

.float-stat .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink)
}

.float-stat .suffix {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600
}

.float-stat small {
  display: block;
  font-size: 11.5px;
  color: #75756f;
  font-family: var(--font-mono)
}

.stat-a {
  top: 36px;
  right: 0
}

.stat-b {
  bottom: 40px;
  left: 0
}

.hero.hero-page {
  min-height: auto;
  padding-bottom: 64px
}

.hero.hero-page .hero-inner {
  padding-top: 30px;
  padding-bottom: 0
}

.hero.hero-page .hero-visual {
  height: 420px
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.55);
  z-index: 1;
}

.hero-scroll span {
  width: 1px;
  height: 30px;
  background: linear-gradient(rgba(255, 255, 255, 0.7), transparent);
  animation: scrollLine 1.8s ease-in-out infinite
}

@keyframes scrollLine {
  0% {
    opacity: 0;
    transform: scaleY(0.4)
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: scaleY(1)
  }
}

/* reveal-on-load for hero */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .8s var(--ease) forwards;
  color: var(--white)
}

.hero-copy .eyebrow {
  animation-delay: .05s
}

.hero h1 {
  animation-delay: .15s
}

.hero-sub {
  animation-delay: .28s
}

.hero-ctas {
  animation-delay: .4s
}

.trust-badges {
  animation-delay: .52s
}

.hero-visual {
  animation-delay: .3s
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ---------- Trusted ---------- */
.trusted {
  padding: 44px 0;
  border-bottom: 1px solid var(--line)
}

.trusted-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a8a83;
  margin-bottom: 22px
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px
}

.logo-item {
  font-family: var(--font-display);
  font-size: 19px;
  color: #9a9a92;
  font-weight: 500
}

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: transparent
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--parchment);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px
}

.service-card p {
  font-size: 14.5px;
  color: #5b5b57;
  margin-bottom: 16px
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: gap .2s
}

.card-link:hover {
  gap: 10px;
  color: var(--gold)
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center
}

.why-media {
  position: relative
}

.why-media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m)
}

.why-media-tag {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-media-tag svg {
  color: var(--gold)
}

.why-media-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink)
}

.why-media-tag span {
  font-size: 12.5px;
  color: #75756f
}

.why-copy .eyebrow {
  margin-top: 0
}

.why-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 18px
}

.why-copy>p {
  color: #5b5b57;
  font-size: 16.5px;
  margin-bottom: 30px
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.why-list li {
  display: flex;
  gap: 14px
}

.why-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px
}

.why-list strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px
}

.why-list span {
  font-size: 14px;
  color: #6b6b66
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px
}

.timeline.cols-4 {
  grid-template-columns: repeat(4, 1fr)
}

.timeline-line {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0
}

.timeline-item {
  position: relative;
  padding-top: 34px
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
}

.chapter {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px
}

.timeline-item h3 {
  font-size: 17.5px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3
}

.timeline-item p {
  font-size: 13.8px;
  color: #6b6b66
}

/* ---------- Split services ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.split-grid.reverse .split-copy {
  order: 2
}

.split-grid.reverse .split-media {
  order: 1
}

.split-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  margin: 8px 0 16px
}

.split-copy>p {
  color: #5b5b57;
  font-size: 16px;
  margin-bottom: 22px
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #3d3d38
}

.check-list svg {
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 3px
}

.split-media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  width: 100%;
  height: 380px;
  object-fit: cover
}

/* ---------- Genres ---------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px
}

.genre-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-s)
}

.genre-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.genre-card:hover img {
  transform: scale(1.08)
}

.genre-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 15, 31, 0.75), transparent 55%)
}

.genre-card span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center
}

.stat-block .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold-light)
}

.stat-block .plus {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-light)
}

.stat-block p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: .03em
}

/* ---------- Testimonials ---------- */
.testimonial-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m)
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  transition: transform .5s var(--ease)
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  background: var(--parchment);
  padding: 56px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.quote-icon {
  color: var(--gold);
  margin-bottom: 18px;
  flex-shrink: 0
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 28px;
  max-width: 560px
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0
}

.testimonial-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink)
}

.testimonial-card figcaption span {
  font-size: 12.5px;
  color: #75756f
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px
}

.slider-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s
}

.slider-controls button:hover {
  background: var(--parchment);
  border-color: var(--gold)
}

.slider-dots {
  display: flex;
  gap: 8px
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  padding: 0;
  flex-shrink: 0
}

.slider-dots button.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
  transition: width .3s
}

@media (max-width:640px) {
  .testimonial-card {
    padding: 36px 26px;
    min-height: auto
  }

  .testimonial-card blockquote {
    font-size: 16.5px;
    margin-bottom: 22px
  }

  .testimonial-card img {
    width: 40px;
    height: 40px
  }
}

/* ---------- Portfolio slider ---------- */
.book-slider {
  overflow: hidden
}

.book-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none
}

.book-track::-webkit-scrollbar {
  display: none
}

.book-card {
  min-width: 220px;
  scroll-snap-align: start
}

.book-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  margin-bottom: 14px;
  transition: transform .3s var(--ease)
}

.book-card:hover img {
  transform: translateY(-6px)
}

.book-card h4 {
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 3px
}

.book-card span {
  font-size: 12.5px;
  color: #75756f
}

/* ---------- Awards ---------- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.award-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m)
}

.award-item svg {
  color: var(--gold);
  margin-bottom: 14px
}

.award-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 14px
}

.award-item h4 {
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.35
}

.award-item span {
  font-size: 12.5px;
  color: #75756f;
  font-family: var(--font-mono)
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px
}

.faq-intro p {
  color: #5b5b57;
  margin-top: 14px;
  font-size: 15px
}

.faq-intro a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline
}

.accordion-item {
  border-bottom: 1px solid var(--line)
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.accordion-trigger .chevron-badge {
  width: 26px;
  height: 26px
}

.accordion-trigger[aria-expanded="true"] .chevron-badge {
  transform: rotate(180deg);
  background: var(--gold)
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease)
}

.accordion-panel p {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: #5b5b57;
  max-width: 560px
}

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.article-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m)
}

.article-card img {
  height: 190px;
  object-fit: cover;
  width: 100%
}

.article-body {
  padding: 24px
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold)
}

.article-body h3 {
  font-size: 17.5px;
  font-weight: 500;
  margin: 10px 0 8px;
  line-height: 1.35
}

.article-body p {
  font-size: 13.8px;
  color: #6b6b66;
  margin-bottom: 14px
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start
}

.final-cta-copy h2 {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin: 10px 0 16px
}

.final-cta-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  margin-bottom: 26px;
  max-width: 440px
}

.trust-badges.light .badge {
  color: rgba(255, 255, 255, 0.75)
}

.trust-badges.light svg {
  color: var(--gold-light)
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-l);
  display: flex;
  flex-direction: column;
  gap: 16px
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink)
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold);
  outline: none
}

.form-note {
  font-size: 13px;
  color: var(--sage);
  font-weight: 600;
  min-height: 16px
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 0
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12)
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 14px 0 22px;
  max-width: 320px;
  line-height: 1.6
}

.newsletter label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .05em
}

.newsletter form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 6px 6px 16px
}

.newsletter svg {
  color: var(--gold-light);
  flex-shrink: 0
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 14px;
  padding: 8px 0
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45)
}

.newsletter button {
  background: var(--gold);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap
}

.footer-payments {
  margin-top: 26px
}

.payments-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .05em
}

.payments-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 14px
}

.payments-badge img {
  height: 26px;
  width: auto;
  display: block
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s
}

.footer-col a:hover {
  color: var(--white)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5)
}

.footer-legal {
  display: flex;
  gap: 22px
}

.footer-legal a:hover {
  color: var(--white)
}

/* ---------- Article modal ---------- */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}

.article-modal.open {
  opacity: 1;
  visibility: visible
}

.article-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 15, 31, 0.72);
  backdrop-filter: blur(4px)
}

.article-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: calc(100% - 40px);
  margin: 40px auto;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform .35s var(--ease);
}

.article-modal.open .article-modal-panel {
  transform: translateY(0)
}

.article-modal-close {
  position: fixed;
  top: 20px;
  right: calc(20px + max(0px, (100vw - 760px)/2));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-m);
  z-index: 2;
}

.article-modal-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-l) var(--radius-l) 0 0
}

.article-modal-body {
  padding: 40px 44px 56px
}

.article-modal-body .article-tag {
  margin-bottom: 12px;
  display: inline-block
}

.article-modal-body h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  margin-bottom: 24px
}

.article-modal-content p {
  color: #4a4a45;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px
}

.article-modal-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px
}

@media (max-width:760px) {
  .article-modal-close {
    right: 20px
  }
}

@media (max-width:640px) {
  .article-modal-panel {
    margin: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0
  }

  .article-modal-image {
    height: 220px;
    border-radius: 0
  }

  .article-modal-body {
    padding: 28px 22px 48px
  }

  .article-modal-close {
    top: 14px;
    right: 14px
  }
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    height: 420px
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 44px
  }

  .genre-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .award-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .footer-top {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:980px) {
  .call-btn {
    display: none
  }
}

@media (max-width:860px) {
  .main-nav {
    display: none
  }

  .mobile-toggle {
    display: flex
  }

  .site-header .header-inner {
    padding: 0 16px;
    gap: 10px
  }

  .header-actions {
    gap: 6px
  }

  .header-actions .btn {
    display: none
  }

  .brand {
    gap: 7px;
    min-width: 0
  }

  .brand-logo {
    height: auto
  }

  .icon-btn {
    width: 34px;
    height: 34px
  }
}

@media (max-width:360px) {
  .brand-logo {
    height: 24px
  }
}

@media (max-width:900px) {

  .split-grid,
  .split-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .split-grid.reverse .split-copy,
  .split-grid.reverse .split-media {
    order: 0
  }

  .split-media img {
    height: 260px
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px
  }
}

@media (max-width:640px) {
  .container {
    padding: 0 20px
  }

  .section {
    padding: 72px 0
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .timeline-line {
    display: none
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .award-grid {
    grid-template-columns: 1fr
  }

  .article-grid {
    grid-template-columns: 1fr
  }

  .footer-top {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .hero-visual {
    height: 340px
  }

  .card-1 {
    width: 190px;
    height: 250px;
    left: 20px
  }

  .card-2 {
    width: 160px;
    height: 210px
  }

  .stack-card {
    border-width: 4px
  }

  .float-stat {
    padding: 10px 14px
  }

  .quote-form {
    padding: 24px
  }

  .final-cta {
    padding: 72px 0
  }
}