/* ==========================================================================
   Richard Oluyinka — Pastor · Peak Performance & Life Coach · Speaker
   main.css
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Header / navigation
   7.  Hero
   8.  Page hero (inner pages)
   9.  Components
   10. Forms
   11. Footer
   12. Motion / reveal
   13. Utilities
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Ink / neutrals */
  --ink:        #0E1420;
  --ink-700:    #1B2230;
  --ink-600:    #2B3444;
  --body:       #4A5361;
  --muted:      #6E7684;
  --line:       #E3DDD2;
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* Paper */
  --paper:      #FBF9F5;
  --paper-2:    #F4EFE6;
  --paper-3:    #EDE6D9;
  --white:      #FFFFFF;

  /* Accent */
  --gold:       #A9853C;
  --gold-600:   #8F6F2E;
  --gold-300:   #C9A96A;
  --gold-100:   #EFE3CA;

  /* Typography */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   clamp(1.0625rem, 0.99rem + 0.36vw, 1.1875rem);
  --fs-xl:   clamp(1.1875rem, 1.09rem + 0.49vw, 1.375rem);
  --fs-h4:   clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h3:   clamp(1.375rem, 1.24rem + 0.65vw, 1.75rem);
  --fs-h2:   clamp(1.875rem, 1.55rem + 1.6vw, 3rem);
  --fs-h1:   clamp(2.25rem, 1.72rem + 2.6vw, 4rem);
  --fs-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  /* Spacing */
  --space-section: clamp(4rem, 2.4rem + 8vw, 8.5rem);
  --space-gap:     clamp(1.5rem, 1rem + 2.4vw, 3.5rem);

  /* Shell */
  --shell:       1240px;
  --shell-wide:  1440px;
  --shell-text:  68ch;
  --gutter:      clamp(1.25rem, 0.8rem + 2.2vw, 3rem);

  /* Effects */
  --radius:     4px;
  --radius-lg:  8px;
  --shadow-sm:  0 1px 2px rgba(14, 20, 32, .05), 0 2px 8px rgba(14, 20, 32, .04);
  --shadow-md:  0 4px 12px rgba(14, 20, 32, .07), 0 16px 40px rgba(14, 20, 32, .07);
  --shadow-lg:  0 8px 24px rgba(14, 20, 32, .10), 0 32px 72px rgba(14, 20, 32, .13);
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --header-h:   74px;
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-variation-settings: "opsz" 144; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-variation-settings: "opsz" 96;  line-height: 1.1; }
h3 { font-size: var(--fs-h3); font-variation-settings: "opsz" 40;  line-height: 1.22; }
h4 { font-size: var(--fs-h4); font-variation-settings: "opsz" 24;  line-height: 1.3; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong, b { font-weight: 600; color: var(--ink-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-300); }
.eyebrow--light::before { background: var(--gold-300); }

.lede {
  font-size: var(--fs-xl);
  line-height: 1.62;
  color: var(--ink-600);
  font-weight: 400;
}

.prose { max-width: var(--shell-text); }
.prose p { font-size: var(--fs-lg); line-height: 1.78; }
.prose h3 { margin: 2.4em 0 .7em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 1.4em 0; padding: 0; list-style: none; }
.prose li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .75rem;
  font-size: var(--fs-lg);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.prose blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 1.8rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: var(--fs-h4);
  font-variation-settings: "opsz" 40;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}

/* Drop-cap for lead paragraphs in editorial blocks */
.has-dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: 3.6em;
  line-height: .82;
  font-weight: 600;
  color: var(--ink);
  padding: .06em .12em 0 0;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: var(--shell-wide); }
.shell--narrow { max-width: 820px; }

.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }

.section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lede { color: rgba(255, 255, 255, .82); }
.section--ink strong { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; font-size: var(--fs-lg); }

.grid { display: grid; gap: var(--space-gap); }

@media (min-width: 640px)  { .grid--sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Two-column media + text */
.split {
  display: grid;
  gap: clamp(2rem, 1.2rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
}
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split--top .split__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
}

.rule { height: 1px; background: var(--line); border: 0; }

/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 20, 32, .16);
}
.btn:active { transform: translateY(0); }

.btn--gold  { --btn-bg: var(--gold); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-600); --btn-bd: var(--gold-600); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(14,20,32,.26); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4);
}
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn--sm { padding: .72rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

/* Text link with animated rule */
.link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .35s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.link:hover { gap: .8rem; color: var(--gold-600); }
.link svg { flex: none; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--light { color: #fff; }
.link--light:hover { color: var(--gold-300); }

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  width: 100%;
  max-width: var(--shell-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Solid state — inner pages by default, home page after scroll */
.site-header--solid,
.site-header.is-stuck {
  background: rgba(251, 249, 245, .92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-variation-settings: "opsz" 40;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-variation-settings: "opsz" 40;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.brand__role {
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .62;
  font-weight: 500;
  white-space: nowrap;
}

/* Header colour contexts */
.site-header--over { color: #fff; }
.site-header--over .brand { color: #fff; }
.site-header--over.is-stuck,
.site-header--over.is-open { color: var(--ink); }
.site-header--over.is-stuck .brand,
.site-header--over.is-open .brand { color: var(--ink); }

.site-header--solid { color: var(--ink); }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, .4rem + 1.6vw, 2.5rem);
  }
}
.nav__link {
  position: relative;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: .82;
  padding-block: .4rem;
  transition: opacity .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
  height: 2px;
}

.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger {
  --bar: var(--ink);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header--over:not(.is-stuck):not(.is-open) .burger { --bar: #fff; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 1.5px;
  background: var(--bar);
  border-radius: 2px;
  transition: transform .34s var(--ease), opacity .2s var(--ease), width .34s var(--ease);
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; margin-left: auto; }
.burger span:nth-child(3) { width: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--serif);
  font-variation-settings: "opsz" 60;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav__link span {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold);
}
.mobile-nav__link[aria-current="page"] { color: var(--gold-600); }
.mobile-nav__foot { margin-top: auto; padding-top: 2.5rem; }
.mobile-nav__meta {
  margin-top: 1.75rem;
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: var(--muted);
}
.mobile-nav__meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   7. HERO (home)
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 7vw, 6rem));
  padding-bottom: clamp(3rem, 1.5rem + 7vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 78% 22%, rgba(169, 133, 60, .22), transparent 62%),
    radial-gradient(70% 60% at 8% 88%, rgba(120, 150, 190, .12), transparent 64%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero__title {
  font-size: var(--fs-display);
  font-variation-settings: "opsz" 144;
  color: #fff;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-300);
  font-variation-settings: "opsz" 144;
}
.hero__text {
  margin-top: 1.5rem;
  font-size: var(--fs-xl);
  line-height: 1.62;
  color: rgba(255, 255, 255, .78);
  max-width: 34rem;
}

.hero__media { position: relative; }
.hero__figure {
  position: relative;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.hero__figure img { width: 100%; }
.hero__media::after {
  /* thin gold frame offset behind the portrait */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201, 169, 106, .45);
  z-index: -1;
  pointer-events: none;
}

/* Location / credential strip */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .62);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { flex: none; color: var(--gold-300); }

/* Marquee-style credibility bar */
.trustbar {
  background: var(--ink-700);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem clamp(1.5rem, .6rem + 3vw, 4rem);
}
.trustbar__item {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-size: clamp(.8rem, .74rem + .28vw, .95rem);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}

/* ==========================================================================
   8. PAGE HERO (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(3rem, 1.6rem + 6vw, 6rem));
  padding-bottom: clamp(3rem, 1.6rem + 6vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(14,20,32,.94) 18%, rgba(14,20,32,.72) 58%, rgba(14,20,32,.55) 100%);
}
.page-hero h1 { color: #fff; max-width: 17ch; }
.page-hero p {
  margin-top: 1.25rem;
  max-width: 54ch;
  font-size: var(--fs-xl);
  line-height: 1.62;
  color: rgba(255, 255, 255, .78);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.4rem;
  font-size: var(--fs-xs);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.3); }

/* ==========================================================================
   9. COMPONENTS
   ========================================================================== */

/* --- Figure with caption ------------------------------------------------ */
.figure { margin: 0; position: relative; }
.figure img { width: 100%; border-radius: 2px; }
.figure figcaption {
  margin-top: .9rem;
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}
.figure--framed { position: relative; }
.figure--framed::after {
  content: "";
  position: absolute;
  inset: -16px -16px 24px 16px;
  border: 1px solid var(--gold);
  opacity: .5;
  z-index: -1;
}

/* --- Stats -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem) clamp(1rem, .7rem + 1vw, 1.75rem);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.03em;
}
.stat__num sup {
  display: inline-block;
  font-size: .4em;
  font-weight: 600;
  vertical-align: super;
  line-height: 1;
  margin-left: .04em;
  top: 0;
  color: var(--gold);
}
.stat__label {
  display: block;
  margin-top: .7rem;
  font-size: var(--fs-xs);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.section--ink .stats { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.section--ink .stat { background: var(--ink); }
.section--ink .stat__num { color: #fff; }
.section--ink .stat__label { color: rgba(255,255,255,.55); }

/* --- Cards -------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-100);
}
.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-600);
  margin-bottom: 1.5rem;
  flex: none;
}
.card__num {
  font-family: var(--serif);
  font-variation-settings: "opsz" 40;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .75rem; }
.card h4 { margin-bottom: .6rem; }
.card p { font-size: var(--fs-base); }
.card .link { margin-top: auto; padding-top: 1.5rem; align-self: flex-start; }

.card--bare { background: transparent; border: 0; padding: 0; }
.card--bare:hover { transform: none; box-shadow: none; }
.card--ink {
  background: var(--ink-700);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.74);
}
.card--ink:hover { border-color: rgba(201,169,106,.5); }

/* Numbered process list */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  gap: .4rem 1.5rem;
  grid-template-columns: auto 1fr;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--serif);
  font-variation-settings: "opsz" 40;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  padding-top: .2rem;
  min-width: 2ch;
}
.step h3 { font-size: var(--fs-h3); }
.step p { grid-column: 2; max-width: 66ch; font-size: var(--fs-lg); line-height: 1.72; }
.section--ink .step { border-color: rgba(255,255,255,.14); }

/* --- Quote / testimonials ----------------------------------------------- */
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
}
.quote__mark {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: 3.2rem;
  line-height: .7;
  color: var(--gold);
  opacity: .45;
  margin-bottom: 1rem;
}
.quote__text {
  font-family: var(--serif);
  font-variation-settings: "opsz" 32;
  font-size: var(--fs-xl);
  line-height: 1.52;
  color: var(--ink);
  letter-spacing: -.008em;
}
.quote__by {
  margin-top: auto;
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.quote__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote__role { font-size: var(--fs-sm); color: var(--muted); }

/* Big pull quote band */
.pullquote { text-align: center; max-width: 900px; margin-inline: auto; }
.pullquote blockquote {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.5rem, 1.05rem + 2.2vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: #fff;
  font-weight: 500;
}
.pullquote cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* --- Books -------------------------------------------------------------- */
.book {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2.4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.book:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 768px) {
  .book { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; }
  /* Alternate the cover to the right without shrinking the text column */
  .book--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .book--flip .book__cover { order: 2; }
}
@media (min-width: 1100px) {
  .book { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 4.5rem; }
  .book--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}
.book__cover {
  position: relative;
  max-width: 300px;
  margin-inline: auto;
}
.book__cover img {
  width: 100%;
  filter: drop-shadow(0 16px 30px rgba(14, 20, 32, .22))
          drop-shadow(0 3px 6px rgba(14, 20, 32, .12));
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.book__cover:hover img {
  filter: drop-shadow(0 26px 44px rgba(14, 20, 32, .26))
          drop-shadow(0 4px 8px rgba(14, 20, 32, .14));
}
.book__cover:hover img { transform: translateY(-6px) scale(1.015); }
.book__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .3rem .7rem;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.book__title { font-size: var(--fs-h2); margin-bottom: .5rem; }
.book__sub {
  font-family: var(--serif);
  font-variation-settings: "opsz" 32;
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--gold-600);
  margin-bottom: 1.25rem;
}
.book__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.book__meta strong { color: var(--ink); font-weight: 600; }

.stars {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: var(--fs-sm);
}
.stars span { color: var(--muted); }

/* Amazon button */
.btn--amazon {
  --btn-bg: #FF9900;
  --btn-fg: #111;
  --btn-bd: #FF9900;
}
.btn--amazon:hover { --btn-bg: #E88B00; --btn-bd: #E88B00; }

/* Book grid (home teaser) */
.bookstack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, .4rem + 1.6vw, 2rem);
  align-items: end;
}
.bookstack a { display: block; transition: transform .45s var(--ease); }
.bookstack a:hover { transform: translateY(-8px); }
.bookstack img {
  filter: drop-shadow(0 14px 26px rgba(14,20,32,.24))
          drop-shadow(0 2px 5px rgba(14,20,32,.12));
}
.bookstack a:nth-child(2) { transform: translateY(-14px); }
.bookstack a:nth-child(2):hover { transform: translateY(-22px); }

/* --- Topic / pill list -------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.pills li {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--ink-600);
}
.section--ink .pills li {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
}

/* --- Timeline ----------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 2.25rem 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 11px; height: 11px;
  border: 1px solid var(--gold);
  background: var(--paper);
  border-radius: 50%;
}
.timeline__year {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold-600);
  margin-bottom: .35rem;
}
.timeline h4 { margin-bottom: .3rem; }
.timeline p { font-size: var(--fs-base); }

/* --- Accordion ---------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-variation-settings: "opsz" 32;
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  transition: color .25s var(--ease);
}
.accordion__btn:hover { color: var(--gold-600); }
.accordion__icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  margin-top: .35rem;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--gold);
  transition: transform .34s var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height .38s var(--ease);
}
.accordion__panel > div { padding: 0 3rem 1.6rem 0; max-width: 68ch; }

/* --- Event list --------------------------------------------------------- */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events li {
  display: grid;
  gap: .3rem 1.75rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 768px) {
  .events li { grid-template-columns: 120px 1fr auto; }
}
.events__date {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.events__name { font-weight: 600; color: var(--ink); }
.events__place { font-size: var(--fs-sm); color: var(--muted); }
.section--ink .events, .section--ink .events li { border-color: rgba(255,255,255,.14); }
.section--ink .events__name { color: #fff; }
.section--ink .events__date { color: var(--gold-300); }
.section--ink .events__place { color: rgba(255,255,255,.55); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,20,32,.86), rgba(14,20,32,.94));
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 1.1rem; font-size: var(--fs-xl); color: rgba(255,255,255,.8); }

/* --- Contact cards ------------------------------------------------------ */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-list li { background: var(--paper); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--gold); margin-top: .2rem; }
.contact-list strong {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .3rem;
}
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold-100); }
.contact-list a:hover { border-bottom-color: var(--gold); }

/* --- Social ------------------------------------------------------------- */
.socials { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: rgba(255,255,255,.7);
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ==========================================================================
   10. FORMS
   ========================================================================== */

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .5rem; }
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E7684' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 133, 60, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #A8AEB8; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error {
  font-size: var(--fs-xs);
  color: #B3261E;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B3261E; }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: .75rem; align-items: flex-start; }
.checkbox input { width: 18px; height: 18px; flex: none; margin-top: .25rem; accent-color: var(--gold); }
.checkbox label {
  font-size: var(--fs-sm);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--body);
  line-height: 1.6;
}
.checkbox a { color: var(--ink); }

.form__status {
  display: none;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-100);
  color: var(--ink);
  font-size: var(--fs-sm);
}
.form__status.is-visible { display: block; }

/* Newsletter inline form */
.subscribe { display: grid; gap: .75rem; max-width: 460px; }
@media (min-width: 520px) {
  .subscribe { grid-template-columns: 1fr auto; }
}
.subscribe input {
  padding: .95rem 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 2px;
  font-size: var(--fs-base);
}
.subscribe input::placeholder { color: rgba(255,255,255,.45); }
.subscribe input:focus { outline: 0; border-color: var(--gold-300); }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-size: var(--fs-sm);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1.6fr; gap: 3rem; }
}
.footer__brand .brand { color: #fff; margin-bottom: 1.4rem; }
.footer__brand p { max-width: 34ch; line-height: 1.75; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__list a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer__list a:hover { color: var(--gold-300); }
.footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
}
.footer__bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-300); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ==========================================================================
   12. MOTION / REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Fail-safe: if JavaScript never runs, nothing stays invisible */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. UTILITIES
   ========================================================================== */

.u-center     { text-align: center; }
.u-mt-0       { margin-top: 0 !important; }
.u-mt-sm      { margin-top: 1rem; }
.u-mt-md      { margin-top: 2rem; }
.u-mt-lg      { margin-top: 3rem; }
.u-mb-lg      { margin-bottom: 3rem; }
.u-maxw-text  { max-width: var(--shell-text); }
.u-mx-auto    { margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Print */
@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  .page-hero, .hero { background: #fff; color: #000; padding-top: 1rem; }
  .page-hero h1, .hero__title { color: #000; }
}
