/* asansevero.com — one stylesheet for every page.
   Copies the Divi design Outset built in 2026: alternating dark-teal and cream sections
   with a gold bottom border, Cormorant Garamond headings, Karla body text. */

/* ---------- Fonts (self-hosted, latin subset, variable weight) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/cormorant-garamond-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/karla-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/fonts/karla-italic-latin.woff2") format("woff2"); }

/* ---------- Palette (from the live Divi site) ---------- */
:root {
  --ink: #2e2a26;          /* dark brown body text on cream */
  --ink-muted: #5c544c;    /* muted brown */
  --heading: #333333;      /* headings on cream */
  --grey: #666666;         /* small print, meta text */
  --cream: #faf4ea;        /* cream section background */
  --paper: #fffdf7;        /* card / button text */
  --mist: #e7f1f0;         /* headings on teal */
  --sea: #c4dedd;          /* body text on teal */
  --gold: #c1841f;         /* buttons, links on cream, borders */
  --gold-light: #e9a93d;   /* links and labels on teal */
  --gold-soft: #c59b27;    /* dividers, pills */
  --teal-900: #132e34;     /* header, top of gradient */
  --teal-700: #1b3f46;
  --teal-500: #24555a;     /* bottom of gradient */
  --footer: #171717;

  --heading-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(80%, 1080px);
  --header-h: 80px;
  --shadow-btn: 0 2px 18px rgba(0, 0, 0, 0.3);
  --glow: 0 2px 60px var(--gold);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--teal-900); color: var(--grey); font: 600 14px/1.7 var(--body-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 700; margin: 0; padding-bottom: 10px; line-height: 1; color: var(--heading); }
p { margin: 0; }
p + p { margin-top: 1em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--teal-900); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 32px 0 33px; }
.site-header__logo img { width: 80px; height: 80px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { color: var(--cream); font-size: 15px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { opacity: 0.7; color: var(--cream); }
.site-nav a[aria-current="page"] { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--cream); cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 980px) {
  .site-header__inner { padding: 0 max(10%, 20px); }
  .site-header__logo img { width: 60px; height: 60px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--teal-900); border-top: 3px solid var(--gold); box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.4); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px max(10%, 20px) 18px; }
  .site-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 54px 0; }
.section--dark { background: linear-gradient(var(--teal-900) 0%, var(--teal-700) 50%, var(--teal-500) 100%); color: var(--sea); box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); z-index: 1; }
.section--light { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.3); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--teal { background: var(--teal-500); color: var(--sea); }
.section--rule { border-bottom: 3px solid var(--gold); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--teal h2 { color: var(--mist); }
.section--dark a:not(.btn), .section--teal a:not(.btn) { color: var(--gold-light); }
.container { width: var(--container); margin: 0 auto; }
.stack > * + * { margin-top: 30px; }
.measure { max-width: 760px; }
.measure-narrow { max-width: 560px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.section--dark .eyebrow { color: var(--gold-light); }
.section-title { font-size: 42px; }
.lead { font-size: 18px; font-weight: 500; line-height: 1.4; }
.section--dark .lead { font-weight: 600; }
.lead--sm { font-size: 17px; font-weight: 600; }
.lead p + p { margin-top: 1em; }

/* Gold line-star-line divider */
.divider { display: flex; align-items: center; gap: 12px; max-width: 350px; margin-left: auto; margin-right: auto; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(to right, transparent, var(--gold-soft)); }
.divider::after { background: linear-gradient(to right, var(--gold-soft), transparent); }
.divider svg { width: 20px; height: 20px; flex-shrink: 0; }
.divider--top { margin-top: -30px; margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-block; padding: 15px 32px; background: var(--gold); border: 2px solid var(--gold); border-radius: 6px; box-shadow: var(--shadow-btn); color: var(--paper); font: 700 16px/1.7 var(--body-font); text-decoration: none; text-align: center; transition: background 0.2s, border-color 0.2s; }
.btn:hover { background: #a86f14; border-color: #a86f14; color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 30px 110px; }
.btn-col { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.text-link { font-size: 17px; font-weight: 700; text-decoration: none; }

/* ---------- Hero (two columns: text + framed image) ---------- */
.hero { display: grid; grid-template-columns: 624fr 396fr; gap: 40px 5.5%; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.17; padding-bottom: 0; }
.hero h1 .accent { display: block; color: var(--gold-light); font-style: italic; }
.hero__lead { font-size: 19px; line-height: 32px; max-width: 480px; }
.hero__lead--wide { max-width: none; font-style: italic; }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; border-radius: 10px; box-shadow: var(--glow); }
.page-hero { text-align: center; }
.page-hero h1 { font-size: 58px; }
.page-hero .hero__lead { max-width: none; margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__figure { order: -1; width: 50%; margin: 0 auto; }
  .hero__lead { margin: 0 auto; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .btn-row, .btn-col { flex-direction: column; align-items: center; gap: 30px; }
}

/* ---------- Book cards (home "What are you in the mood for?") ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 60px; }
.card { display: flex; flex-direction: column; gap: 30px; }
.card img { width: 246px; margin: 0 auto; border-radius: 4px; box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3); }
.card h3 { font-size: 24px; }
.card p { font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

/* Blockquote on teal */
.pull-quote { border-left: 3px solid var(--gold-light); padding-left: 20px; }
.pull-quote p { font: italic 400 24px/1.2 var(--heading-font); color: var(--mist); }
.pull-quote cite { display: block; margin-top: 1em; font: italic 600 14px/1.5 var(--body-font); color: var(--sea); }

/* ---------- Book list (Books & Short Stories) ---------- */
.book { display: grid; grid-template-columns: 225px 1fr; gap: 40px 60px; align-items: start; }
.book + .book { margin-top: 60px; }
.book img { border-radius: 10px; box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); }
.section--dark .book img { box-shadow: 0 2px 30px var(--gold); }
.book h2 { font-size: 26px; padding-bottom: 10px; }
.section--dark .book h2 { font-size: 28px; }
.book__body { font-size: 14px; color: var(--grey); }
.section--dark .book__body { color: var(--sea); }
.book .divider { margin: 20px auto 10px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; font-size: 11.9px; }
.buy__label { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); margin-right: 5px; }
.section--dark .buy__label { color: var(--sea); }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid var(--gold-soft); border-radius: 20px; background: rgba(197, 155, 39, 0.08); color: #222; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.pill:hover { background: rgba(197, 155, 39, 0.2); color: #222; }
.section--dark .pill { color: var(--paper); }
@media (max-width: 767px) { .book { grid-template-columns: 1fr; } .book img { width: 60%; margin: 0 auto; } }

/* Rotating cover strip in the Books header */
/* Soft edges instead of a hard box: the strip fades out at both sides, and each cover carries its own glow. */
.cover-strip { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.cover-strip__track { display: flex; transition: transform 1s ease-in-out; }
.cover-strip__item { flex: 0 0 33.333%; padding: 60px 12px; }
.cover-strip__item img { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; object-position: 45% 50%; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); transition: transform 1s ease-in-out, box-shadow 1s ease-in-out; }
.cover-strip__item.is-active img { transform: scale(1.12); box-shadow: 0 2px 28px var(--gold); position: relative; z-index: 1; }
.books-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 5.5%; align-items: center; }
@media (max-width: 980px) { .books-hero { grid-template-columns: 1fr; } .cover-strip { max-width: 420px; margin: 0 auto; } .cover-strip__item { padding: 48px 8px; } }

/* ---------- Carousel (reviews, blurbs, testimonials) ---------- */
.carousel { max-width: 900px; margin: 0 auto; padding: 20px 16px 40px; color: #2b2620; }
.carousel__rule { height: 1px; background: rgba(0, 0, 0, 0.15); margin: 0 0 40px; }
.section--dark .carousel__rule { background: rgba(255, 255, 255, 0.2); }
.carousel__heading { text-align: center; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; margin: 0 0 28px; color: #000; }
.section--dark .carousel__heading { color: #fff; }
.carousel__frame { display: flex; align-items: center; gap: 10px; }
.carousel__viewport { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--per-view, 1), 1fr); gap: 20px; align-items: start; }
.carousel__slide { display: none; background: #fffdf8; border: 1px solid #e8e0d0; border-radius: 14px; box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); padding: 30px 32px; min-height: 220px; animation: slide-in 0.6s ease; }
.carousel__slide.is-active { display: block; }
@keyframes slide-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.carousel__arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e8e0d0; background: #fffdf8; color: #2b2620; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, transform 0.15s; }
.carousel__arrow:hover { background: #c99a3c; color: #fff; transform: scale(1.05); }
.carousel__arrow svg { width: 16px; height: 16px; fill: currentColor; }
.carousel__controls { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; background: #e8e0d0; border: 0; padding: 0; cursor: pointer; }
.carousel__dot.is-active { background: #c99a3c; }
.carousel__progress { width: 100%; max-width: 220px; height: 3px; background: #e8e0d0; border-radius: 999px; overflow: hidden; }
.carousel__bar { height: 100%; width: 0; background: #c99a3c; }
.review__stars { color: #c99a3c; margin-bottom: 10px; display: flex; gap: 2px; }
.review__stars svg { width: 16px; height: 16px; fill: currentColor; }
.review__title { font-size: 18px; margin: 0 0 6px; }
.review__meta { color: #746c60; font-size: 13px; margin: 0 0 16px; }
.review__body { font-size: 15.5px; line-height: 1.65; }
.review__body p + p { margin-top: 12px; }
.review__cite { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: #a67c2e; }
.review__link { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 999px; background: #c99a3c; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.review__link:hover { background: #a67c2e; color: #fff; }
.blurb__mark { color: #c99a3c; opacity: 0.55; margin-bottom: 10px; }
.blurb__mark svg { width: 38px; height: 38px; fill: currentColor; display: block; }
.blurb__text { font-size: 17px; line-height: 1.7; font-style: italic; }
@media (max-width: 560px) { .carousel__slide { padding: 22px 20px; } .carousel__arrow { width: 34px; height: 34px; } }

/* Testimonials (Author Services): two per view on desktop */
.testimonials { --per-view: 2; max-width: none; padding: 0; }
.testimonials .carousel__viewport { gap: 0; background: var(--paper); box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); align-items: stretch; }
.testimonials .carousel__slide { border: 0; border-radius: 0; box-shadow: none; padding: 40px 30px 64px; position: relative; font-size: 14px; line-height: 1.5; color: var(--grey); min-height: 0; }
.testimonials .carousel__slide::before { content: ""; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14.5' fill='none' stroke='%23666' stroke-width='2.5'/%3E%3Ctext x='16' y='25' text-anchor='middle' font-family='Georgia' font-weight='700' font-size='22' fill='%23666'%3E%E2%80%9D%3C/text%3E%3C/svg%3E") center/32px no-repeat; }
.testimonials .carousel__slide p + p { margin-top: 14px; }
.testimonial__author { display: block; margin-top: 28px; font-weight: 700; color: var(--grey); }
.testimonials .carousel__arrow { background: none; border: 0; color: var(--cream); width: 48px; height: 48px; }
.testimonials .carousel__arrow svg { width: 28px; height: 28px; }
.testimonials .carousel__arrow:hover { background: none; transform: scale(1.1); }
.testimonials .carousel__controls { margin-top: -50px; padding-bottom: 24px; position: relative; }
.testimonials .carousel__progress { display: none; }
.testimonials .carousel__dot { background: #f0dbb5; }
.testimonials .carousel__dot.is-active { background: var(--gold); }
@media (max-width: 980px) { .testimonials { --per-view: 1; } }

/* ---------- Marked by Magic ---------- */
.subhead { font-size: 26px; color: #fff; }
.bullets { margin: 0; padding-left: 17px; line-height: 26px; }
.bullets li + li { margin-top: 0; }

/* ---------- Appearances ---------- */
.events { max-width: 640px; display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 48px; background: var(--paper); border: 1px solid rgba(193, 132, 31, 0.2); border-left: 5px solid var(--gold); border-radius: 10px; box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); padding: 34px 40px 40px 54px; }
.event__date { align-self: start; text-align: center; background: var(--cream); border: 1px solid rgba(193, 132, 31, 0.3); border-radius: 6px; padding: 14px 0 12px; font-size: 14px; color: var(--grey); }
.event__month { display: block; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.event__day { display: block; font: 700 32px/1.3 var(--heading-font); color: var(--ink); }
.event__time { display: block; font-size: 12px; margin: 2px 0 8px; }
.event__thumb { display: block; width: 56px; height: auto; margin: 2px auto 8px; }
.event__month--small { font-size: 11px; margin-bottom: 8px; }
.event h3 { font-size: 28px; }
.event p { font-size: 15px; color: var(--grey); margin-top: 0; }
.event p + p { margin-top: 15px; }
.event a { font-weight: 700; text-decoration: none; }
@media (max-width: 767px) { .event { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; } .event__date { width: 84px; } }

.presentations { text-align: center; font-size: 19px; line-height: 26px; color: var(--sea); }
.presentations h2 { font-size: 26px; color: #e09900 !important; padding-bottom: 6px; }
.presentations h3 { font: 900 19px/32px var(--body-font); color: var(--sea) !important; text-decoration: underline; padding: 0; margin-top: 12px; }
.presentations ol { list-style-position: inside; margin: 12px 0 0; padding: 0; }
.presentations p { margin-top: 18px; }

.booking { max-width: 1080px; margin: 0 auto; padding: 20px; }
.booking h2 { font-size: 39px; font-weight: 500; color: var(--paper) !important; text-align: center; padding-bottom: 16px; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.booking__full { grid-column: 1 / -1; }
.booking input, .booking select, .booking textarea { width: 100%; padding: 16px; border: 0; border-radius: 0; background: #eee; color: #333; font: 400 14px var(--body-font); }
.booking select { appearance: none; background: #eee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23666'/%3E%3C/svg%3E") right 16px center/10px no-repeat; }
.booking textarea { min-height: 150px; resize: vertical; }
.booking ::placeholder { color: #999; }
.booking__submit { display: block; width: 90%; margin: 15px auto 0; padding: 10px; border: 0; border-radius: 999px; background: var(--gold); color: var(--paper); font: 600 18px/1.4 var(--body-font); cursor: pointer; }
.booking__submit:hover { background: #a86f14; }
.booking__submit svg { width: 18px; height: 18px; fill: currentColor; vertical-align: -3px; margin-left: 4px; }
.booking__status { margin-top: 16px; text-align: center; font-size: 16px; color: var(--mist); min-height: 1.7em; }
.booking__trap { display: none; }
@media (max-width: 767px) { .booking__grid { grid-template-columns: 1fr; } .booking__submit { width: 100%; } }

.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 60px; margin-top: 60px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3); }
.video__frame iframe, .video__play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video__play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 34px; transform: translate(-50%, -50%); border-radius: 8px; background: rgba(23, 23, 23, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5v9l7.5-4.5z' fill='%23fff'/%3E%3C/svg%3E") center/16px no-repeat; transition: background-color 0.2s; }
.video__play:hover::after { background-color: var(--gold); }
.video p { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.video a { font-weight: 700; text-decoration: none; }
@media (max-width: 980px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

/* Video pop-up player (opened from the thumbnails above) */
.video-modal { width: min(92vw, 1000px); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 10px; background: #132e34; overflow: visible; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
.video-modal::backdrop { background: rgba(19, 46, 52, 0.88); backdrop-filter: blur(4px); }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: 10px 10px 0 0; overflow: hidden; background: #000; }
.video-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal__close, .video-modal__nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(233, 169, 61, 0.5); background: rgba(255, 255, 255, 0.08); color: var(--paper); cursor: pointer; transition: background-color 0.2s; }
.video-modal__close:hover, .video-modal__nav:hover, .video-modal__close:focus-visible, .video-modal__nav:focus-visible { background: var(--gold); }
.video-modal__close { position: absolute; top: -56px; right: 0; }
.video-modal__close svg, .video-modal__nav svg { width: 16px; }
.video-modal__nav[hidden] { visibility: hidden; display: grid; }
.video-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.video-modal__caption { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; text-align: center; }
.video-modal__caption strong { font: italic 400 22px/1.2 var(--heading-font); color: var(--mist); }
.video-modal__caption span { font-size: 13px; color: var(--sea); }
@media (max-width: 640px) {
  .video-modal { width: 100vw; border-radius: 0; }
  .video-modal__frame { border-radius: 0; }
  .video-modal__close { top: -52px; right: 12px; }
}

/* ---------- Author Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; }
.services h2 { font-size: 26px; }
.services p, .services li { font-size: 14px; }
.services ul { margin: 0; padding-left: 14px; line-height: 26px; }
.tagline { font: 700 22px/1 var(--heading-font); color: #fff; }
.title-shadow { text-shadow: 2px 2px 0 var(--gold); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; } }

/* ---------- Blog posts ---------- */
.post-layout { background: #fff; padding: 58px 0 0; }
.post-layout .container { display: grid; grid-template-columns: 1fr 226px; gap: 60px; }
.post { padding-bottom: 58px; }
.post h1 { font-size: 30px; color: var(--heading); }
.post__meta { color: var(--grey); padding-bottom: 50px; }
.post__meta a { color: inherit; text-decoration: none; }
.post__body { font-size: 14px; color: var(--grey); }
.post__body p + p, .post__body figure { margin-top: 1.3em; }
.post figure { margin-left: 0; margin-right: 0; max-width: 730px; background: #f1f1f1; border: 1px solid #ddd; padding: 10px; text-align: center; }
.post figcaption { font-size: 12px; color: var(--grey); }
.sidebar { border-left: 1px solid #e2e2e2; padding: 0 0 58px 30px; }
.sidebar h2 { font-size: 26px; padding-bottom: 10px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 4px 0; }
.sidebar a { color: var(--grey); text-decoration: none; }
.sidebar a:hover { color: var(--gold); }
@media (max-width: 980px) { .post-layout .container { grid-template-columns: 1fr; gap: 0; } .sidebar { border-left: 0; border-top: 1px solid #e2e2e2; padding: 30px 0 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); padding: 15px 0 15px; }
.site-footer p { font-size: 14px; font-weight: 700; color: #8c8c8c; }  /* lighter than the old #666 for readability */
.site-footer a { color: #8c8c8c; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

/* ---------- Phone tweaks ---------- */
@media (max-width: 767px) {
  .section-title { font-size: 36px; }
  .eyebrow { font-size: 15px; }
}

/* ---------- Layout fixes from the side-by-side check ---------- */
/* Keep the footer at the bottom on short pages (blog posts, 404). */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:has(.post-layout) { background: #fff; }

@media (max-width: 980px) {
  /* Phone/tablet hero order matches the original: label, image, heading, text, buttons. */
  .hero > .stack { display: contents; }
  .hero > .stack > * + * { margin-top: 0; }
  .hero > .stack > .eyebrow:first-child { order: -2; }
  .hero__figure { order: -1; }
  /* Books header: cover strip above the title. */
  .cover-strip { order: -1; }
}
@media (max-width: 767px) {
  /* Testimonials use the full width on phones; swipe-free dots replace the side arrows. */
  .testimonials .carousel__arrow { display: none; }
}
.events__empty { margin-top: 30px; font-size: 18px; color: var(--ink); }
