/* 1611 Publications v2 — Flourish-inspired structure + Royal Blue & Gold brand */
:root {
  --navy-near: #000a18;
  --navy-deep: #001030;
  --navy: #003060;
  --royal: #0060a0;
  --mid-blue: #0070b0;
  --cyan: #34d4f6;
  --cyan-soft: #5bc2e7;
  --white: #ffffff;
  --cream: #f4efe6;
  --surface: #eef2f7;
  --ink: #0c1624;
  --muted: #5c6b7e;
  --gold-light: #d4ba88;
  --gold: #bca373;
  --gold-dark: #a48c61;
  --silver: #bdbdbb;
  --yt-red: #e62117;
  --border-soft: rgba(12, 22, 36, 0.08);
  --border-gold: rgba(188, 163, 115, 0.4);
  --header-h: 56px;
  --pad-x: 16px;
  --pad-section: 5.5rem;
  --max: 1120px;
  --display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (min-width: 900px) {
  :root {
    --pad-x: 40px;
    --pad-section: 7.5rem;
    --header-h: 64px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 200;
  background: var(--gold); color: var(--navy-near); padding: .5rem 1rem;
}

.draft-banner {
  position: relative; z-index: 60;
  background: #3a1a00; color: #ffd9a8;
  text-align: center; font-family: var(--sans);
  font-size: .75rem; padding: .35rem var(--pad-x);
}

/* ——— Header: fixed, slim, centered logo, split nav ——— */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s, color .25s, box-shadow .25s;
  color: var(--white);
  background: transparent;
}
.site-header.is-solid {
  background: rgba(0, 10, 24, 0.94);
  box-shadow: 0 1px 0 rgba(188, 163, 115, 0.2);
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
}
.brand {
  grid-column: 2;
  display: flex; align-items: center; gap: .55rem;
  color: inherit; text-decoration: none !important;
  justify-self: center;
}
.brand-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(188,163,115,.35), 0 0 10px rgba(52,212,246,.25);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-badge img {
  width: 34px; height: 34px; object-fit: contain;
  filter: none;
}
.brand-text {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-left, .nav-right {
  display: flex; gap: 1.1rem; align-items: center;
  font-size: .78rem; letter-spacing: .04em;
  font-weight: 400;
}
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.site-header a.nav-link {
  color: inherit; opacity: .9; text-decoration: none;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}
.site-header a.nav-link:hover,
.site-header a.nav-link[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--gold-light);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  grid-column: 3; justify-self: end;
  background: transparent; border: 1px solid var(--gold-dark);
  color: var(--gold-light); padding: .35rem .65rem; border-radius: 999px;
  font-size: .75rem; letter-spacing: .06em; cursor: pointer;
}

/* ——— Hero: full viewport, airy corners ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0,10,24,.35) 0%, rgba(0,16,48,.55) 45%, rgba(0,10,24,.92) 100%),
    url("assets/bg_clean.png") center / cover no-repeat;
  padding: calc(var(--header-h) + 2rem) var(--pad-x) 3rem;
}
.hero-top {
  position: absolute;
  top: calc(var(--header-h) + 2rem);
  left: var(--pad-x);
  max-width: 22rem;
  font-size: .98rem;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.hero-frame {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero-frame {
    grid-template-columns: 1fr 1.1fr;
    align-items: end;
  }
}
.bookmark-card {
  width: min(300px, 78vw);
  background: #fff;
  /* arched top like the printed bookmark's circular field */
  border-radius: 999px 999px 22px 22px;
  padding: 1.35rem 1.4rem 1.15rem;
  box-shadow:
    0 22px 48px rgba(0, 8, 24, 0.45),
    0 0 0 1px rgba(188, 163, 115, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 1.15rem;
  text-align: center;
}
.bookmark-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto .55rem;
  object-fit: contain;
}
.bookmark-avb {
  margin: .15rem 0 0;
  align-items: center;
}
.bookmark-avb .avb-letters {
  color: #0a0a0a;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  letter-spacing: .16em;
}
.bookmark-avb .avb-sub {
  color: #1a1a1a;
  opacity: 1;
  font-size: clamp(.9rem, 1.7vw, 1.05rem);
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: .95;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--white);
  max-width: 14ch;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  align-items: center;
  margin-top: 1.5rem;
}
.link-arrow {
  font-size: .9rem;
  color: var(--gold-light) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(212,186,136,.55);
  padding-bottom: .15rem;
  letter-spacing: .02em;
}
.link-arrow:hover { color: var(--white) !important; border-bottom-color: var(--white); }
.hero-meta {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
  max-width: 18rem;
}
.hero-meta strong { color: var(--gold-light); font-weight: 500; display: block; margin-bottom: .2rem; }

/* ——— Sections ——— */
.band {
  position: relative;
  padding: var(--pad-section) var(--pad-x);
}
.band-dark {
  background: var(--navy-near);
  color: rgba(255,255,255,.92);
}
.band-navy {
  background: var(--navy-deep);
  color: rgba(255,255,255,.92);
}
.band-white { background: var(--white); color: var(--ink); }
.band-surface { background: var(--surface); color: var(--ink); }
.band-cream { background: var(--cream); color: var(--ink); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.wrap-wide { max-width: 1280px; margin: 0 auto; }

.eyebrow {
  display: block;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.band-dark .eyebrow, .band-navy .eyebrow { color: var(--gold-light); }

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 0 0 1.25rem;
}
.display-center { text-align: center; }
.band-dark .display, .band-navy .display { color: var(--white); }
.band-white .display, .band-surface .display, .band-cream .display { color: var(--navy-deep); }

.lead {
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 40rem;
  margin: 0 0 1.5rem;
}
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }
.band-dark .muted, .band-navy .muted { color: rgba(255,255,255,.62); }

/* Numbered rows like Flourish 01 / 02 */
.num-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .num-grid { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
}
.num-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; }
.num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.num-item h3 {
  margin: 0 0 .4rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
}
.num-item p { margin: 0; font-weight: 300; color: inherit; opacity: .85; }

/* Soft cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 16, 48, 0.04);
}
.band-dark .card, .band-navy .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(188,163,115,0.25);
  box-shadow: none;
  color: var(--white);
}
.card .thumb {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--navy);
}
.card-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}
.band-white .card-body h3, .band-surface .card-body h3, .band-cream .card-body h3 {
  color: var(--navy-deep);
}
.card-body p {
  margin: 0 0 1.1rem;
  font-size: .92rem;
  color: var(--muted);
  flex: 1;
}
.band-dark .card-body p, .band-navy .card-body p { color: rgba(255,255,255,.65); }

/* Soft feature / offer cards (Flourish "one-time support" style) */
.offer-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
.offer-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.75rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.offer-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.offer-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.offer-card ul {
  margin: 0; padding: 0; list-style: none;
  font-size: .92rem; color: var(--ink);
}
.offer-card li {
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  border-top: 1px solid var(--border-soft);
}
.offer-card li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--royal);
  font-size: .85rem;
}

/* Buttons — soft rounded, Flourish-like with trailing dot */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--sans);
  font-size: .9rem; font-weight: 500;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter .15s, background .15s, color .15s;
  align-self: flex-start;
}
.btn-dark {
  background: var(--navy-near); color: var(--white);
}
.btn-dark:hover { filter: brightness(1.15); color: var(--white); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-near);
}
.btn-gold:hover { filter: brightness(1.06); color: var(--navy-near); }
.btn-ghost {
  background: transparent; color: var(--gold-light);
  border-color: rgba(212,186,136,.45);
}
.btn-ghost:hover { background: rgba(212,186,136,.1); color: var(--white); }
.btn-yt {
  background: var(--yt-red); color: var(--white);
}
.btn-yt:hover { filter: brightness(1.08); color: var(--white); }
.btn-outline-dark {
  background: transparent; color: var(--navy-deep);
  border-color: rgba(0,48,96,.25);
}
.btn-outline-dark:hover { background: rgba(0,48,96,.05); color: var(--navy-deep); }

.pill-row {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1.25rem 0 0;
}
.pill {
  border: 1px solid var(--border-gold);
  color: var(--navy);
  background: rgba(0,96,160,.06);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .02em;
}
.band-dark .pill, .band-navy .pill {
  background: rgba(52,212,246,.08);
  color: var(--cyan-soft);
  border-color: rgba(52,212,246,.25);
}

/* Verse / quote block */
.verse {
  border-left: 2px solid var(--gold);
  padding: 1.25rem 0 1.25rem 1.35rem;
  margin: 2rem 0 0;
  max-width: 42rem;
}
.verse blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: inherit;
}
.verse cite {
  display: block;
  margin-top: .85rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.placeholder {
  display: inline-block;
  background: rgba(230, 33, 23, 0.1);
  border: 1px dashed #e62117;
  color: #a32018;
  padding: .12rem .4rem;
  border-radius: 3px;
  font-size: .82em;
  font-weight: 600;
}
.band-dark .placeholder, .band-navy .placeholder {
  color: #ffb4b0;
  background: rgba(230, 33, 23, 0.15);
}
.note {
  font-size: .88rem;
  color: var(--muted);
  border-left: 2px solid var(--gold-dark);
  padding-left: .9rem;
  margin: 1.5rem 0 0;
  max-width: 42rem;
}
.band-dark .note, .band-navy .note { color: rgba(255,255,255,.6); }

/* Split band (Stay connected style) */
.split-band {
  display: grid;
  min-height: auto;
}
@media (min-width: 900px) {
  .split-band { grid-template-columns: 1fr 1fr; min-height: 70vh; }
}
.split-dark {
  background: var(--navy-near);
  color: var(--white);
  padding: 3.5rem var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}
.split-light {
  background: var(--surface);
  color: var(--ink);
  padding: 3.5rem var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}
.split-dark .quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-transform: lowercase;
}
.info-dl dt {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 1rem;
}
.info-dl dt:first-child { margin-top: 0; }
.info-dl dd { margin: .25rem 0 0; font-weight: 400; }
.band-dark .info-dl dt, .split-dark .info-dl dt { color: var(--gold-light); }

/* Video list */
.video-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.video-list li {
  border-top: 1px solid var(--border-soft);
  padding: 1rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between; align-items: baseline;
}
.video-list li:last-child { border-bottom: 1px solid var(--border-soft); }
.video-list .title { color: var(--navy-deep); font-weight: 450; flex: 1 1 16rem; }
.video-list .title:hover { color: var(--royal); }
.video-list .meta { font-size: .78rem; color: var(--muted); white-space: nowrap; }

.plain-list { padding-left: 1.15rem; }
.plain-list li { margin-bottom: .45rem; }

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(180deg, #0b2a6b, #001030);
  color: var(--white);
  padding: calc(var(--header-h) + 3.5rem) var(--pad-x) 3.5rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin: 0 0 .75rem;
  line-height: 1.05;
}
.page-hero p { margin: 0; max-width: 36rem; opacity: .85; font-weight: 300; }

/* Footer */
.site-footer {
  background: var(--navy-near);
  color: rgba(255,255,255,.7);
  padding: 3.5rem var(--pad-x) 2.5rem;
  font-size: .88rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-size: .85rem;
  margin-bottom: .75rem;
}
.site-footer a { color: var(--cyan-soft); }
.site-footer h4 {
  margin: 0 0 .75rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(188,163,115,.2);
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* Mobile nav */
@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    display: grid;
  }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-left, .nav-right { display: none !important; }
  .nav-toggle {
    display: inline-block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .hero-top {
    position: static;
    max-width: none;
    margin: 0 0 1.5rem;
    order: -1;
  }
  .hero { justify-content: flex-end; padding-top: calc(var(--header-h) + 1.25rem); }
  .hero-frame { display: flex; flex-direction: column; }
  .site-header.nav-open {
    background: rgba(0, 10, 24, 0.97);
    height: auto;
    align-items: stretch;
    padding-bottom: .75rem;
  }
  .site-header.nav-open .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: .75rem;
  }
  .site-header.nav-open .mobile-nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: .15rem;
    padding-bottom: .5rem;
  }
}
.mobile-nav { display: none; }
.mobile-nav a {
  color: var(--white);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  font-size: .92rem;
}


/* Books & shop */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 16, 48, 0.04);
}
.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--navy-deep);
}
.book-cover-missing {
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #003060, #000a18);
  color: var(--gold-light);
  font-family: var(--display);
  font-size: .95rem;
  text-align: center;
  padding: 1rem;
}
.book-card .card-body { padding: 1.1rem 1.15rem 1.35rem; }
.book-card h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-deep);
}
.book-card .byline {
  margin: 0 0 .75rem;
  font-size: .8rem;
  color: var(--muted);
}
.format-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
}
.format-row .btn { font-size: .78rem; padding: .55rem .85rem; }
.shop-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.shop-cat {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  background: var(--white);
}
.shop-cat h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--navy-deep);
  text-transform: lowercase;
}
.shop-cat p { margin: 0; font-size: .88rem; color: var(--muted); }
.also-pub {
  border: 1px dashed rgba(188,163,115,.55);
  border-radius: 14px;
  padding: 1.5rem;
  background: rgba(188,163,115,.06);
}





/* A.V.B. bookmark-style mark */
.avb-mark {
  margin: .4rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  line-height: 1.15;
}
.avb-mark.avb-mark-center { align-items: center; text-align: center; }
.avb-letters {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: .12em;
  color: var(--gold-light);
  font-style: normal;
}
.avb-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  letter-spacing: .04em;
  color: var(--gold-light);
  opacity: .95;
}
.footer-avb.avb-mark {
  margin: .4rem 0 .85rem;
  align-items: flex-start;
}
.footer-avb .avb-letters {
  font-size: 1.05rem;
  letter-spacing: .14em;
}
.footer-avb .avb-sub {
  font-size: .88rem;
  color: var(--gold);
}
