/* ============================================================
   Every Book Shelf — Warm Literary (flat editorial)
   Palette: warm ivory · espresso ink · terracotta · warm gold
   Type: Newsreader (display) · Hanken Grotesk (body)
   Real cover images; warm depth via soft shadows, not glows.
   ============================================================ */

:root {
  --paper:      #fdfcf9;  /* near-white page */
  --paper-2:    #f0ece2;  /* light panels / chips */
  --card:       #f6f2ea;  /* subtle off-white panels */
  --ink:        #211c15;  /* near-black text */
  --ink-soft:   #574f43;
  --ink-faint:  #8a8173;
  --blue:       #bf5730;  /* rust — primary accent */
  --blue-deep:  #a1471f;  /* rust hover */
  --blue-2:     #7d3a1e;
  --red:        #bf5730;  /* rust — pops */
  --gold:       #c99a45;  /* small warm accent (on dark bands) */
  --cream:      #f4eddd;  /* light text on dark bands */
  --line:       #211c15;
  --line-soft:  rgba(33,28,21,.16);
  --rule:       rgba(33,28,21,.16);

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --wrap: 1600px;
  --r: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--blue); color: var(--cream); }

/* ---------- shared type ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; }

.eyebrow, .section-tag {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--red);
}
.section-tag { display: inline-flex; align-items: center; gap: .6rem; }
.section-tag::before { content: ""; width: 22px; height: 2px; background: var(--ink); }
.section-tag.light { color: var(--cream); }
.section-tag.light::before { background: var(--red); }

.ink { color: var(--red); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: .8rem 1.5rem; border-radius: var(--r); cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s var(--ease), background .18s, color .18s;
  white-space: nowrap;
}
.btn--sm { padding: .55rem 1.05rem; font-size: .82rem; }
.btn--primary { background: var(--blue); color: var(--cream); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--blue); color: var(--cream); border-color: var(--blue); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ============================================================ NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: var(--paper); box-shadow: 0 1.5px 0 var(--ink); }
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 1rem clamp(1.2rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand__mark { color: var(--blue); display: grid; place-items: center; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand__logo { height: 66px; width: auto; display: block; }

.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px; background: var(--red); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================================ HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem clamp(1.2rem,4vw,2.5rem) 3.5rem;
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
  overflow: hidden;
}
.hero__grain { display: none; }
.hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; width: 100%; z-index: 2; }

.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: .96; letter-spacing: -.02em; font-weight: 700;
  margin: 1.3rem 0 1.5rem; max-width: 15ch;
}
.hero__title span { display: block; }
.hero__title em { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--red); }

.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 52ch; color: var(--ink-soft); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 3.4rem; border-top: 1.5px solid var(--rule); max-width: 620px; }
.hero__stats li { display: flex; flex-direction: column; padding: 1.1rem 1.6rem 0 0; margin-right: 1.6rem; }
.hero__stats strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.hero__stats span { font-size: .8rem; color: var(--ink-faint); letter-spacing: .01em; margin-top: .35rem; max-width: 16ch; }

/* right-side tight cluster of real book covers (fanned, kept together) */
.hero__shelf {
  position: absolute; right: clamp(1.5rem, 4vw, 4.5rem); top: 50%; transform: translateY(-50%);
  display: flex; align-items: flex-end; justify-content: flex-end;
  z-index: 1; pointer-events: none;
}
.hero__shelf .bk {
  width: clamp(118px, 11.5vw, 176px); height: auto; margin-left: -5.6rem;
  border-radius: 2px 6px 6px 2px; border: 3px solid var(--paper);
  box-shadow: 0 24px 40px -16px rgba(0,0,0,.6);
  transform-origin: bottom center; pointer-events: auto;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero__shelf .bk:hover {
  transform: translateY(-26px) rotate(0deg) scale(1.12) !important;
  z-index: 30 !important;
  box-shadow: 0 40px 60px -18px rgba(0,0,0,.75);
}
.hero__shelf .bk:first-child { margin-left: 0; }
.hero__shelf .bk:nth-child(1){ transform: rotate(-7deg);   z-index: 1; }
.hero__shelf .bk:nth-child(2){ transform: rotate(-4deg);   z-index: 2; }
.hero__shelf .bk:nth-child(3){ transform: rotate(-1.5deg); z-index: 3; }
.hero__shelf .bk:nth-child(4){ transform: rotate(1.5deg);  z-index: 4; }
.hero__shelf .bk:nth-child(5){ transform: rotate(4deg);    z-index: 5; }
.hero__shelf .bk:nth-child(6){ transform: rotate(7deg);    z-index: 6; }

/* ============================================================ MARQUEE */
.marquee { background: #17120c; color: var(--cream); overflow: hidden; padding: .95rem 0; }
.marquee__track { display: inline-flex; gap: 1.6rem; align-items: center; white-space: nowrap; animation: scroll 34s linear infinite; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; }
.marquee__track span { opacity: .95; }
.marquee__track span:nth-child(even){ color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================ INTRO */
.intro { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem,10vw,8rem) clamp(1.2rem,4vw,2.5rem); }
.intro__grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.intro__head { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; max-width: 20ch; }
.intro__body { font-size: clamp(1.05rem,1.6vw,1.25rem); color: var(--ink-soft); max-width: 62ch; }

/* ============================================================ SERVICES */
.services { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem,4vw,2.5rem) clamp(4rem,9vw,7rem); }
.services__head { margin-bottom: 3rem; }
.services__head h2 { font-size: clamp(2rem,4.6vw,3.4rem); margin-top: .9rem; }

.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.svc {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 14px;
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -28px rgba(36,29,21,.5); border-color: var(--red); }
.svc:last-child { grid-column: 1 / -1; }   /* 5th box spans full width */
.svc__no { position: absolute; top: clamp(1.6rem,2.4vw,2.4rem); right: clamp(1.6rem,2.4vw,2.4rem); font-family: var(--font-display); font-size: 1.5rem; color: var(--red); font-weight: 600; opacity: .85; }
.svc__icon { color: var(--blue); width: 46px; margin-bottom: .3rem; }
.svc__icon svg { width: 46px; height: 46px; }
.svc__body h3 { font-size: clamp(1.4rem,2.6vw,2rem); margin-bottom: .6rem; }
.svc__body > p { color: var(--ink-soft); max-width: 60ch; }
.svc__points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .7rem; margin-top: 1.1rem; }
.svc__points li { font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft); padding: .3rem .7rem; border: 1.5px solid var(--line-soft); border-radius: 100px; }
.svc__link { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1.2rem; font-weight: 600; font-size: .88rem; color: var(--blue); transition: gap .2s var(--ease); }
.svc__link:hover { gap: .7rem; color: var(--red); }

/* ============================================================ PROCESS */
.process { background: var(--card); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.process__head, .steps { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.2rem,4vw,2.5rem); }
.process__head { padding-top: clamp(4rem,9vw,7rem); }
.process__head h2 { font-size: clamp(2rem,4.6vw,3.4rem); margin-top: .9rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; padding-top: 3rem; padding-bottom: clamp(4rem,9vw,7rem); }
.step { border-top: 3px solid var(--rule); padding-top: 1.1rem; }
.step__no { font-family: var(--font-display); font-size: 2.6rem; color: var(--blue); font-weight: 600; display: block; line-height: 1; }
.step h3 { font-size: 1.3rem; margin: .8rem 0 .5rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* ============================================================ RESULTS */
.results { background: #100c09; color: var(--cream); position: relative; overflow: hidden; border-bottom: 1.5px solid var(--rule); }
.results__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem,9vw,7rem) clamp(1.2rem,4vw,2.5rem); position: relative; z-index: 1; }
.results__head { font-size: clamp(2rem,4.6vw,3.4rem); margin: .9rem 0 2.6rem; color: var(--cream); }
.results__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat { padding-right: 1.4rem; border-left: 1.5px solid rgba(242,236,221,.28); padding-left: 1.3rem; }
.stat strong { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4rem); font-weight: 600; display: block; line-height: 1; color: var(--blue); }
.stat span { display: block; margin-top: .6rem; font-size: .88rem; color: rgba(242,236,221,.75); max-width: 22ch; }

/* ============================================================ QUOTES */
.quotes { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem,9vw,7rem) clamp(1.2rem,4vw,2.5rem); }
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 2.4rem; border-top: 1.5px solid var(--rule); }
.quote { padding: 2rem 1.6rem; position: relative; border-left: 1.5px solid var(--line-soft); }
.quote:first-child { border-left: 0; padding-left: 0; }
.quote::before { content:"\201C"; font-family: var(--font-display); font-size: 3.4rem; color: var(--red); position: absolute; top: 1rem; right: .6rem; line-height: 1; }
.quote blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; font-style: italic; color: var(--ink); }
.quote figcaption { margin-top: 1.3rem; display: flex; flex-direction: column; }
.q-name { font-weight: 700; font-family: var(--font-body); }
.q-role { font-size: .84rem; color: var(--ink-faint); }

/* ============================================================ ABOUT */
.about { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem,7vw,5rem) clamp(1.2rem,4vw,2.5rem); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about__text h2 { font-size: clamp(2rem,4vw,3.1rem); margin: .9rem 0 1.4rem; }
.about__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 52ch; }
.about__text .btn { margin-top: .6rem; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--rule); }
.mini-card { padding: 1.5rem; border-right: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.about__cards .mini-card:nth-child(2n){ border-right: 0; }
.about__cards .mini-card:nth-last-child(-n+2){ border-bottom: 0; }
.mini-card h4 { font-size: 1.2rem; color: var(--blue); margin-bottom: .4rem; }
.mini-card p { font-size: .88rem; color: var(--ink-soft); }

/* ============================================================ FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: clamp(3rem,7vw,5rem) clamp(1.2rem,4vw,2.5rem) clamp(4rem,9vw,7rem); }
.faq__head { margin-bottom: 2rem; }
.faq__head h2 { font-size: clamp(2rem,4.6vw,3.4rem); margin-top: .9rem; }
.faq__item { border-bottom: 1.5px solid var(--rule); padding: 1.3rem 0; }
.faq__item:first-of-type { border-top: 1.5px solid var(--rule); }
.faq__item summary { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; color: var(--red); transition: transform .3s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); margin-top: .8rem; max-width: 66ch; }

/* ============================================================ CONTACT */
.contact { position: relative; background: #100c09; color: var(--cream); overflow: hidden; border-top: 1.5px solid var(--rule); }
.contact__grain { display: none; }
.contact__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem,9vw,7rem) clamp(1.2rem,4vw,2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.contact__pitch h2 { font-size: clamp(2rem,4.4vw,3.4rem); margin: .9rem 0 1.2rem; color: var(--cream); }
.contact__sub { color: rgba(242,236,221,.72); max-width: 44ch; }
.contact__list { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: rgba(242,236,221,.92); }
.contact__list span { color: var(--red); width: 1.4rem; text-align: center; font-size: 1.1rem; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: rgba(242,236,221,.05); border: 1.5px solid rgba(242,236,221,.2); border-radius: var(--r); padding: clamp(1.4rem,3vw,2.2rem); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(242,236,221,.78); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--cream);
  background: rgba(242,236,221,.06); border: 1.5px solid rgba(242,236,221,.22); border-radius: var(--r);
  padding: .75rem .9rem; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242,236,221,.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field select option { color: #171512; }
.contact__form .btn--full { grid-column: 1 / -1; margin-top: .4rem; background: var(--red); color: var(--cream); }
.contact__form .btn--full:hover { background: #b22f18; }
.form__note { grid-column: 1/-1; font-size: .85rem; color: #f2b8ac; min-height: 1rem; }

/* ============================================================ FOOTER */
.footer { background: #060504; color: var(--cream); border-top: 1.5px solid var(--rule); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem,6vw,4.5rem) clamp(1.2rem,4vw,2.5rem) 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2rem; }
.brand--footer .brand__name, .footer .brand { color: var(--cream); }
.footer__brand p { color: rgba(242,236,221,.58); font-size: .9rem; margin-top: 1rem; max-width: 34ch; }
.footer__col h5 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #f2b8ac; margin-bottom: 1rem; }
.footer__col a { display: block; color: rgba(242,236,221,.78); font-size: .92rem; padding: .28rem 0; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--cream); padding-left: .35rem; }
.footer__bar { border-top: 1.5px solid rgba(242,236,221,.16); padding: 1.4rem clamp(1.2rem,4vw,2.5rem); max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: rgba(242,236,221,.55); }
.footer__made { font-family: var(--font-display); font-style: italic; }

/* ============================================================ REVEAL ANIM */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 940px) {
  .nav__links, .nav .btn--sm { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 1.2rem clamp(1.2rem,4vw,2.5rem) 1.6rem; gap: 1.1rem;
    border-top: 1.5px solid var(--rule); box-shadow: 0 2px 0 var(--ink);
  }
  .hero__shelf { opacity: .3; left: auto; right: -4%; top: auto; bottom: 2rem; transform: none; width: 64%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .results__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .stat { border-left: 0; padding-left: 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--line-soft); }
  .quote:first-child { border-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .about__cards .mini-card { border-right: 0; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 0; }
  .hero__shelf { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ NAV DROPDOWN */
.has-dd { position: relative; display: inline-flex; }
.dd-trigger { display: inline-flex; align-items: center; gap: .35rem; }
.caret { font-size: .7em; transition: transform .25s var(--ease); color: var(--red); }
.has-dd:hover .caret, .has-dd:focus-within .caret { transform: rotate(180deg); }
.dd {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 268px; background: var(--paper); border: 1.5px solid var(--rule);
  border-radius: var(--r); padding: .5rem; margin-top: .6rem;
  box-shadow: 6px 6px 0 rgba(23,21,18,.14);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 20;
}
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dd a { display: block; padding: .6rem .8rem; border-radius: var(--r); font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.dd a::after { display: none; }
.dd a:hover { background: var(--card); color: var(--blue); padding-left: 1.1rem; }

/* ============================================================ SERVICE PAGE */
.subhero {
  position: relative; overflow: hidden;
  padding: 9rem clamp(1.2rem,4vw,2.5rem) clamp(3rem,6vw,5rem);
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
}
.subhero__inner { max-width: var(--wrap); margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-faint); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .6; }
.subhero__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); font-weight: 600; letter-spacing: .04em; }
.subhero h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin: .6rem 0 1.2rem; max-width: 18ch; }
.subhero h1 em { font-style: italic; color: var(--red); }
.subhero__lede { font-size: clamp(1.05rem,1.7vw,1.3rem); color: var(--ink-soft); max-width: 60ch; }
.subhero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.subhero__icon { position: absolute; right: clamp(1rem,5vw,4rem); top: 50%; transform: translateY(-30%); color: rgba(31,46,160,.09); z-index: 1; }
.subhero__icon svg { width: clamp(160px, 22vw, 300px); height: auto; }

.spage { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem,8vw,6rem) clamp(1.2rem,4vw,2.5rem); }
.spage__split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.spage__split h2 { font-size: clamp(1.9rem,3.8vw,2.9rem); line-height: 1.02; }
.spage__split p { color: var(--ink-soft); margin-top: 1rem; max-width: 60ch; }
.spage__split .lead { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink); margin-top: 0; }

.include { background: var(--card); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.include__wrap { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem,8vw,6rem) clamp(1.2rem,4vw,2.5rem); }
.include h2 { font-size: clamp(1.9rem,3.8vw,2.9rem); margin: .7rem 0 2.4rem; }
.include-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1.5px solid var(--rule); }
.inc-card { padding: 1.7rem; border-right: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); background: var(--paper); }
.inc-card__mk { width: 40px; height: 40px; border-radius: var(--r); background: var(--blue); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.inc-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.inc-card p { font-size: .9rem; color: var(--ink-soft); }

.cta-band { position: relative; overflow: hidden; background: #17120c; color: var(--cream); text-align: center; }
.cta-band__inner { max-width: 760px; margin: 0 auto; padding: clamp(3.5rem,8vw,6rem) clamp(1.2rem,4vw,2.5rem); position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem,4vw,3rem); color: var(--cream); margin-bottom: 1rem; }
.cta-band p { color: rgba(242,236,221,.78); max-width: 48ch; margin: 0 auto 2rem; }
.cta-band .btn--primary { background: var(--red); color: var(--cream); }
.cta-band .btn--primary:hover { background: #b22f18; }

.related { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem,6vw,4.5rem) clamp(1.2rem,4vw,2.5rem); }
.related h2 { font-size: 1.6rem; margin: .6rem 0 1.6rem; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1.5px solid var(--rule); }
.rel-card { display: block; padding: 1.4rem; border-right: 1.5px solid var(--rule); transition: background .25s var(--ease); }
.rel-card:last-child { border-right: 0; }
.rel-card:hover { background: var(--card); }
.rel-card span { font-family: var(--font-display); font-size: 1rem; color: var(--red); }
.rel-card h4 { font-size: 1.05rem; margin-top: .3rem; }

@media (max-width: 940px) {
  .dd { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: .2rem 0 .2rem .8rem; margin: .3rem 0 0; min-width: 0; }
  .caret { display: none; }
  .has-dd { display: block; width: 100%; }
  .spage__split { grid-template-columns: 1fr; }
  .include-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .inc-card:nth-child(2n){ border-right: 0; }
  .rel-card:nth-child(2n){ border-right: 0; }
  .subhero__icon { opacity: .5; }
}
@media (max-width: 560px) {
  .include-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .inc-card, .rel-card { border-right: 0; }
  .subhero__icon { display: none; }
}
