:root {
  /* Evolved brand: warm near-black + gold (from new look/feel) */
  --ink: #0A0A0C;
  --ink-2: #101013;
  --surface: #16161B;
  --surface-2: #1C1C22;
  --line: rgba(201, 162, 75, 0.22);
  --line-soft: rgba(245, 242, 234, 0.08);

  --gold: #C9A24B;
  --gold-bright: #E6C46A;
  --gold-deep: #A47E2F;
  --carolina: #4B9CD3;
  --carolina-bright: #7BAFD4;
  --offwhite: #F5F2EA;
  --gray: #A8A29A;

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 480px;
  --gap: 13px;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--offwhite);
  background: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layered ambient glow + subtle grain for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 60% at 78% -8%, rgba(201, 162, 75, 0.20), rgba(201, 162, 75, 0) 60%),
    radial-gradient(70% 55% at 6% 38%, rgba(75, 156, 211, 0.10), rgba(75, 156, 211, 0) 58%),
    radial-gradient(80% 55% at 12% 8%, rgba(201, 162, 75, 0.06), rgba(201, 162, 75, 0) 55%),
    radial-gradient(120% 90% at 50% 120%, rgba(36, 28, 12, 0.55), rgba(10, 10, 12, 0) 60%),
    var(--ink);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Scroll-in reveal (progressive enhancement; JS adds .is-in) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }

.hero__monogram { width: 54px; height: 54px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 4px 12px rgba(201, 162, 75, 0.35)); }

.hero__portrait-wrap {
  position: relative;
  width: 172px; height: 172px; border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 200deg, var(--gold-bright), var(--gold) 30%, rgba(201, 162, 75, 0.15) 62%, var(--gold-deep) 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 162, 75, 0.25);
  margin-bottom: 16px;
}
.hero__portrait-wrap::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.30), rgba(201, 162, 75, 0) 70%);
  z-index: -1;
}
.hero__portrait {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%; display: block;
  background: var(--surface);
  border: 3px solid var(--ink);
}

.hero__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.1rem, 9vw, 2.7rem);
  letter-spacing: 0.5px;
  line-height: 1.05;
}

.hero__tagline {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-top: 6px;
}

.hero__bio {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 340px;
  margin-top: 12px;
}

/* ---------- Shared glass surface ---------- */
.featured,
.podcast,
.btn,
.capture {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.04), rgba(245, 242, 234, 0));
  background-color: rgba(22, 22, 27, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}

/* ---------- FEATURED BOOK ---------- */
.featured {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 20px 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  overflow: visible;
}
.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 85% 0%, rgba(201, 162, 75, 0.18), rgba(201, 162, 75, 0) 70%),
    radial-gradient(70% 60% at 8% 100%, rgba(75, 156, 211, 0.10), rgba(75, 156, 211, 0) 70%);
  pointer-events: none;
}

.featured__badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.35);
}

.featured__headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.34rem;
  line-height: 1.25;
  margin-top: 8px;
  position: relative;
}

.featured__hook {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 12px auto 18px;
  max-width: 360px;
  position: relative;
}

/* ---------- PODCAST GROUP ---------- */
.podcast {
  border-radius: var(--radius);
  padding: 18px 16px 18px;
  text-align: center;
}
.podcast__title { font-weight: 700; font-size: 0.98rem; letter-spacing: 0.6px; }
.podcast__sub { color: var(--gray); font-size: 0.78rem; margin-top: 4px; line-height: 1.35; }
.podcast__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.pbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.5);
  color: var(--offwhite);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.pbtn svg { width: 22px; height: 22px; fill: var(--gold-bright); transition: fill 0.2s ease, transform 0.2s ease; }
.pbtn span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3px; }
.pbtn:hover { border-color: var(--gold-bright); background: rgba(201, 162, 75, 0.08); transform: translateY(-2px); }
.pbtn:hover svg { transform: scale(1.08); }
.pbtn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

/* ---------- LINK ROWS (icon-led) ---------- */
.links { display: flex; flex-direction: column; gap: var(--gap); }

.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  color: var(--offwhite);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: left;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--gold-bright);
  background-color: rgba(28, 28, 34, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 75, 0.2);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

.btn__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(201, 162, 75, 0.18), rgba(201, 162, 75, 0.04));
  border: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn__icon svg { width: 22px; height: 22px; fill: var(--gold-bright); transition: fill 0.25s ease; }
.btn:hover .btn__icon {
  background: linear-gradient(145deg, rgba(75, 156, 211, 0.28), rgba(75, 156, 211, 0.06));
  border-color: rgba(75, 156, 211, 0.55);
  box-shadow: 0 0 18px rgba(75, 156, 211, 0.28);
}
.btn:hover .btn__icon svg { fill: var(--carolina-bright); }

.btn__text { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.btn__label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.btn__sub {
  color: var(--gray);
  font-size: 0.78rem;
  margin-top: 3px;
  line-height: 1.35;
}

.btn__chev {
  flex: 0 0 auto;
  display: flex; align-items: center;
  color: var(--gold);
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn__chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__chev { transform: translateX(3px); opacity: 1; color: var(--carolina-bright); }

/* Primary gold CTA (the book) */
.btn--book {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ink);
  border: none;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.98rem;
  padding: 16px 18px;
  position: relative;
}
.btn--book::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn--book:hover {
  background: linear-gradient(135deg, #f0d27e, var(--gold-bright));
  box-shadow: 0 16px 40px rgba(201, 162, 75, 0.45);
  transform: translateY(-2px);
}
.btn--book:hover::after { left: 130%; }

/* ---------- EMAIL CAPTURE ---------- */
.capture {
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.capture__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.55rem;
}
.capture__copy {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 8px auto 18px;
  max-width: 320px;
}
.capture__form { display: flex; flex-direction: column; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 12, 0.6);
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.field input::placeholder { color: var(--gray); }
.field input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.2);
}

.btn--submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.btn--submit:hover { box-shadow: 0 14px 36px rgba(201, 162, 75, 0.42); transform: translateY(-2px); }
.btn--submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.capture__status {
  font-size: 0.86rem;
  min-height: 1.1em;
  margin-top: 4px;
}
.capture__status.is-success { color: var(--gold-bright); }
.capture__status.is-error { color: #ff9b9b; }

/* ---------- SOCIAL PROOF ---------- */
.proof { text-align: center; }
.proof__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
}
.proof__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.proof__badges li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(201, 162, 75, 0.05);
}

/* ---------- SOCIAL ICONS ---------- */
.socials { display: flex; justify-content: center; gap: 16px; }
.social {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(22, 22, 27, 0.6);
  color: var(--gold-bright);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.4);
}
.social:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

/* ---------- FOOTER ---------- */
.footer { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; }
.footer__sign {
  font-family: var(--script);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 2px;
}
.footer__motto {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
}
.footer__copy { color: var(--gray); font-size: 0.75rem; margin-top: 4px; }

/* ---------- DESKTOP ---------- */
@media (min-width: 540px) {
  .page { padding-top: 48px; }
  .featured__headline { font-size: 1.5rem; }
}

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