/* ══════════════════════════════════════
   FUTURE LEADERS OF MAINE — STYLES
   Aesthetic: editorial, restrained, warm
   Palette: baby blue (#9DBED4 from book cover), white, black
══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Special+Elite&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --blue: #A6C7DC;            /* matches the baby-blue of book cover */
  --blue-deep: #5A8AA8;
  --blue-pale: #EAF2F8;
  --black: #1a1a1a;
  --ink: #2c2c2c;
  --grey: #6b6b6b;
  --grey-light: #d8d8d8;
  --cream: #faf8f3;
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-typewriter: 'Special Elite', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

p { margin-bottom: 1.2em; }

p:last-child { margin-bottom: 0; }

/* ──────── TYPOGRAPHY ──────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-deep);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}

h4 {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
  color: var(--black);
}

.eyebrow {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 2rem;
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--blue);
  padding: 0.5em 0 0.5em 1.5em;
  margin: 2em 0;
}

blockquote cite {
  display: block;
  margin-top: 1em;
  font-family: var(--font-typewriter);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--grey);
}

/* ──────── BUTTONS ──────── */

.btn {
  display: inline-block;
  padding: 0.95em 2em;
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--black);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.link-arrow {
  display: inline-block;
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  transition: all 0.25s ease;
}

.link-arrow:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateX(4px);
}

/* ──────── NAVIGATION ──────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--gutter);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-light);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .nav-logo img { height: 42px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-typewriter);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-deep);
}

.nav-donate {
  background: var(--black);
  color: var(--white) !important;
  padding: 0.65em 1.25em;
  border: 1px solid var(--black);
  transition: all 0.25s !important;
}

.nav-donate:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1rem var(--gutter) 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--grey-light);
  }
  .nav-links.active { display: flex; }
  .nav-donate { text-align: center; }
}

/* ──────── HERO ──────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  background: var(--blue-pale);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(166, 199, 220, 0.25));
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
}

.hero-logo {
  width: clamp(240px, 30vw, 320px);
  height: auto;
  display: block;
  margin: 0 auto 2.5rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 50vh; min-height: 360px; }
  .hero-content { padding: 3rem var(--gutter) 4rem; }
}

/* ──────── SECTIONS ──────── */

.section {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Mission */
.mission {
  text-align: center;
  max-width: 760px;
}

.mission-inner h2 {
  margin-bottom: 1.5rem;
}

.mission-inner p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
}

.mission-inner .link-arrow {
  margin-top: 1rem;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  max-width: var(--max-width);
}

.pillar {
  padding: 1rem 0;
}

.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.pillar h3 {
  margin-bottom: 0.75rem;
}

.pillar p {
  color: var(--grey);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; gap: 2rem; }
}

/* Spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  background: var(--blue-pale);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.spotlight > * { max-width: 600px; }
.spotlight-image { justify-self: end; width: 100%; max-width: 480px; }
.spotlight-content { justify-self: start; }

.spotlight-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.12);
}

.spotlight-caption {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-image { justify-self: center; }
}

/* Book feature */
.book-feature {
  background: var(--black);
  color: var(--white);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.book-feature-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.book-feature h2 {
  color: var(--white);
}

.book-feature .eyebrow {
  color: var(--blue);
}

.book-feature-cover img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.book-feature-cover img:hover {
  transform: rotate(0deg);
}

.book-feature-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.book-feature-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem !important;
  color: var(--blue) !important;
  margin: 1.5rem 0 2rem !important;
}

.book-feature .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.book-feature .btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--black);
}

@media (max-width: 800px) {
  .book-feature-inner { grid-template-columns: 1fr; text-align: center; }
  .book-feature-cover { display: flex; justify-content: center; }
}

/* CTA */
.cta {
  text-align: center;
  max-width: 700px;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.cta h2 { margin-bottom: 1.5rem; }

.cta p {
  font-size: 1.1rem;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

/* ──────── FOOTER ──────── */

footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem var(--gutter) 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-tagline {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--blue);
}

footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

footer a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

footer a:hover { color: var(--blue); }

.footer-address {
  font-family: var(--font-typewriter);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-bottom p { margin-bottom: 0.5rem; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ══════════════════════════════════════
   PAGE-SPECIFIC: ABOUT
══════════════════════════════════════ */

.page-hero {
  background: var(--blue-pale);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.page-hero .lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
}

.long-form {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}

.long-form h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 2.25rem;
}

.long-form h2:first-child { margin-top: 0; }

.long-form h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.long-form p {
  font-size: 1.08rem;
  line-height: 1.8;
}

.long-form ul {
  margin: 1.2em 0 1.8em;
  padding-left: 1.5em;
}

.long-form ul li {
  margin-bottom: 0.7em;
  font-size: 1.05rem;
  line-height: 1.7;
}

.long-form ul li strong {
  font-weight: 600;
  color: var(--black);
}

.about-figure {
  margin: 3rem 0;
}

.about-figure img {
  width: 100%;
  border: 8px solid var(--white);
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.1);
}

.about-figure-portrait {
  max-width: 360px;
  margin: 0 auto 3rem;
}

/* ──────── Pull quote (Tom in his own voice) ──────── */
.pull-quote {
  background: var(--blue-pale);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  margin: 4rem -2rem;
  text-align: center;
  position: relative;
}

.pull-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--blue-deep);
  opacity: 0.35;
  margin: 0 0 1rem;
  font-weight: 600;
}

.pull-quote-text {
  font-family: var(--font-typewriter);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 2rem;
  max-width: 640px;
}

.pull-quote-cite {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin: 0;
  position: relative;
  padding-top: 1.5rem;
}

.pull-quote-cite::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--blue-deep);
  margin: 0 auto 1.5rem;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .pull-quote { margin: 3rem -1rem; }
}

.about-figure figcaption {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  color: var(--grey);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.03em;
}

.legacy-quote {
  background: var(--blue-pale);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
}

.legacy-logo {
  display: block;
  width: clamp(280px, 38vw, 420px);
  height: auto;
  margin: 0 auto 3rem;
  opacity: 0.95;
}

.legacy-quote blockquote {
  max-width: 800px;
  margin: 0 auto;
  border: none;
  padding: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.4;
}

.legacy-quote cite {
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* ══════════════════════════════════════
   PAGE-SPECIFIC: SCHOLARSHIP
══════════════════════════════════════ */

.recipient-feature {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.recipient-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid var(--white);
  box-shadow: 0 25px 70px rgba(26, 26, 26, 0.15);
}

.recipient-info h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.recipient-info .eyebrow {
  margin-bottom: 0.75rem;
}

.recipient-meta {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  .recipient-feature { grid-template-columns: 1fr; }
}

.finalists {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
  text-align: center;
}

.finalists h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.finalists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.finalist-card {
  padding: 1.5rem;
  border-left: 2px solid var(--blue);
  background: var(--cream);
}

.finalist-card .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.finalist-card .school {
  font-family: var(--font-typewriter);
  font-size: 0.78rem;
  color: var(--grey);
  letter-spacing: 0.03em;
}

.apply-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  text-align: center;
}

.apply-inner {
  max-width: 720px;
  margin: 0 auto;
}

.apply-section h2 { color: var(--white); }
.apply-section .eyebrow { color: var(--blue); }
.apply-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  line-height: 1.75;
}

.apply-section .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  margin-top: 1rem;
}

.apply-section .btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.apply-meta {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  color: var(--blue);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

/* Ways to Give section (within Scholarship page) */

.give-section {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.give-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.give-intro p { font-size: 1.1rem; color: var(--grey); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.tier {
  background: var(--white);
  border: 1px solid var(--grey-light);
  padding: 2rem;
  transition: all 0.3s ease;
}

.tier:hover {
  border-color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(26, 26, 26, 0.08);
}

.tier-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.tier-name {
  font-family: var(--font-typewriter);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
}

.tier p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 0.75rem;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.tier ul li {
  font-size: 0.88rem;
  color: var(--grey);
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.tier ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
}

.other-ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--grey-light);
}

.other-ways h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.other-ways p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   PAGE-SPECIFIC: BOOK
══════════════════════════════════════ */

.book-page {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.book-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  margin-bottom: 5rem;
}

.book-cover-large {
  perspective: 1000px;
}

.book-cover-large img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 25px 50px rgba(26, 26, 26, 0.25)) drop-shadow(0 8px 15px rgba(26, 26, 26, 0.1));
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.book-cover-large img:hover {
  transform: rotate(0deg);
}

.book-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.book-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.book-author {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin-bottom: 2rem;
}

.book-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.book-price .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--black);
}

.book-price .note {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.03em;
}

.book-buy {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--black);
}

.qty-control button {
  width: 40px;
  height: 44px;
  background: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.2s;
}

.qty-control button:hover { background: var(--blue-pale); }

.qty-control input {
  width: 50px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--black);
  border-right: 1.5px solid var(--black);
  text-align: center;
  font-family: var(--font-typewriter);
  font-size: 1rem;
  background: var(--white);
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.book-buy .btn {
  font-size: 0.85rem;
}

.book-shipping-note {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ──────── Pre-order banner ──────── */
.preorder-banner {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue-deep);
  margin-bottom: 1.5rem;
}

.preorder-label {
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
  white-space: nowrap;
}

.preorder-text {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ──────── Retailer section (below pre-order direct) ──────── */
.retailer-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
}

.retailer-or {
  font-family: var(--font-typewriter);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-align: left;
  margin-bottom: 0.75rem !important;
}

.retailer-intro {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 1rem !important;
}

.retailer-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.retailer-btn {
  font-size: 0.8rem;
  padding: 0.75em 1.5em;
}

.retailer-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.retailer-btn.disabled::after {
  content: "Coming June 1";
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  font-family: var(--font-typewriter);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--grey);
  white-space: nowrap;
  opacity: 1;
}

.retailer-note {
  font-family: var(--font-typewriter);
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.02em;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .book-hero { grid-template-columns: 1fr; }
  .book-cover-large { display: flex; justify-content: center; }
}

.book-description {
  max-width: 760px;
  margin: 0 auto 5rem;
}

.book-description h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.book-description p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.book-blurbs {
  background: var(--blue-pale);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  margin: 0 calc(-1 * var(--gutter));
}

.blurbs-inner {
  max-width: 900px;
  margin: 0 auto;
}

.blurbs-inner h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.blurb {
  margin-bottom: 3rem;
  text-align: center;
}

.blurb:last-child { margin-bottom: 0; }

.blurb-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blurb-attr {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--grey);
}

.blurb-attr strong {
  color: var(--black);
  font-weight: 400;
}

.blurb-divider {
  width: 60px;
  height: 1px;
  background: var(--blue-deep);
  margin: 2rem auto;
  border: none;
}

/* Order success/cancel banners */

.order-banner {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  border-left: 4px solid var(--blue-deep);
  background: var(--blue-pale);
}

.order-banner.cancelled {
  border-color: #b85c5c;
  background: #fbeded;
}

.order-banner h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}
