@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */

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

:root {
  --navy:      #0d1a2e;
  --navy-mid:  #13243d;
  --navy-card: #1a2c4a;
  --gold:      #d4a840;
  --gold-soft: #b08830;
  --cream:     #faf6ee;
  --cream-hero:#f5efe3;
  --cream-border: rgba(180, 140, 60, 0.2);
  --ink:       #2a1f0e;
  --ink-mid:   #4a3a28;
  --ink-light: #6b5c3e;
  --parchment: #c8b89a;
  --slate:     #8899aa;
  --card-bg:   #ffffff;
  --footer:    #080f1c;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   NAV  (shared)
═══════════════════════════════════════════ */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: var(--navy);
  border-bottom: 0.5px solid rgba(212, 168, 64, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--parchment);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover  { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ═══════════════════════════════════════════
   FOOTER  (shared)
═══════════════════════════════════════════ */

footer {
  background: var(--footer);
  padding: 32px 48px;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  color: rgba(212, 168, 64, 0.4);
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 12px;
}

.footer-links a {
  color: #445566;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: 11px; color: #445566; letter-spacing: 0.5px; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS  (shared)
═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > *,
  .hero-cover-wrap, .hero-text-wrap,
  .page-hero-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════
   BUTTONS  (shared)
═══════════════════════════════════════════ */

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  margin-right: 12px;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover { background: #e8bc55; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Lora', serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-outline:hover { background: rgba(212, 168, 64, 0.08); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   INDEX.HTML — HERO
═══════════════════════════════════════════ */

.hero {
  background: var(--navy);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.hero-portrait {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 420px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.17;
  pointer-events: none;
  user-select: none;
}

.hero-portrait-placeholder {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 380px;
  border: 1.5px dashed rgba(212, 168, 64, 0.2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.3;
  pointer-events: none;
}

.hero-portrait-placeholder span {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.6;
}

.hero-portrait-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1;
}

.hero-cover {
  width: 180px;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.hero-cover-placeholder {
  width: 180px;
  height: 270px;
  background: var(--navy-card);
  border: 1px solid rgba(212, 168, 64, 0.3);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.hero-cover-placeholder span {
  font-size: 11px;
  color: rgba(212, 168, 64, 0.4);
  text-align: center;
  padding: 12px;
  line-height: 1.6;
}

.hero-text {
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #f5ead4;
  line-height: 1.05;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-hook {
  font-size: 15px;
  color: var(--parchment);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cover-wrap {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-text-wrap {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

/* ═══════════════════════════════════════════
   INDEX.HTML — DIVIDERS
═══════════════════════════════════════════ */

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px;
}

.divider-line { flex: 1; height: 0.5px; background: rgba(212, 168, 64, 0.25); }

.divider-icon {
  color: var(--gold);
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.divider-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.divider-cream { background: var(--cream); }
.divider-dark  { background: var(--navy); }
.divider-mid   { background: var(--navy-mid); }

/* ═══════════════════════════════════════════
   INDEX.HTML — SECTIONS
═══════════════════════════════════════════ */

section { padding: 72px 48px; }

.section-cream { background: var(--cream); }
.section-dark  { background: var(--navy); }
.section-mid   { background: var(--navy-mid); }

.section-label {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

.heading-dark  { color: var(--ink); }
.heading-light { color: #f5ead4; }

/* About the book */
.about-book-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
}

.quote-bar {
  width: 3px;
  min-height: 100px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

.about-book-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-mid);
  margin-bottom: 16px;
}

/* About Brenda */
.about-author-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}

.author-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  object-fit: cover;
}

.author-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 168, 64, 0.5);
  font-size: 11px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.5;
  padding: 12px;
}

.about-author-inner p {
  font-size: 15px;
  color: var(--parchment);
  line-height: 1.9;
  margin-bottom: 12px;
}

.about-author-inner em { color: var(--gold); }

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.00s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.56s; }

.event-card {
  background: var(--navy-card);
  border: 0.5px solid rgba(212, 168, 64, 0.2);
  border-radius: 4px;
  padding: 20px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.event-card:hover {
  border-color: rgba(212, 168, 64, 0.5);
  transform: translateY(-2px);
}

.event-date {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.event-name {
  font-size: 15px;
  color: #f5ead4;
  font-weight: 500;
  margin-bottom: 6px;
}

.event-loc { font-size: 12px; color: var(--slate); }

.event-card-empty {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.event-card-empty span { font-size: 12px; color: var(--slate); text-align: center; }

/* Contact */
.contact-form { max-width: 520px; margin: 0 auto; }

.contact-intro {
  text-align: center;
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 32px;
  line-height: 1.75;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  background: #fff8ee;
  border: 0.5px solid rgba(180, 140, 60, 0.3);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Lora', serif;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus { border-color: var(--gold); }

.field textarea { height: 110px; resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: 'Lora', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: #e8bc55; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   CONTRIBUTORS.HTML — PAGE HERO
═══════════════════════════════════════════ */

.page-hero {
  background: var(--cream-hero);
  padding: 72px 48px 56px;
  text-align: center;
  border-bottom: 0.5px solid rgba(180, 140, 60, 0.2);
}

.page-hero-inner {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.page-label {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-sub {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 24px;
}

.page-ornament { color: var(--gold-soft); font-size: 20px; opacity: 0.5; }

/* ═══════════════════════════════════════════
   CONTRIBUTORS.HTML — BODY & CARDS
═══════════════════════════════════════════ */

.contrib-body {
  padding: 64px 48px;
  background: var(--cream);
}

.contrib-quote {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}

.contrib-quote p {
  font-size: 15px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.85;
}

.contrib-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-style: normal;
}

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.contrib-card {
  background: var(--card-bg);
  border: 0.5px solid rgba(180, 140, 60, 0.25);
  border-radius: 4px;
  padding: 24px 20px;
  transition: border-color 0.25s, transform 0.25s;
}

.contrib-card:hover {
  border-color: rgba(180, 140, 60, 0.55);
  transform: translateY(-3px);
}

.contrib-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0e6ce;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #8a6820;
}

.contrib-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.contrib-role {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
}

.contrib-note {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.contrib-divider {
  height: 0.5px;
  background: rgba(180, 140, 60, 0.15);
  margin-bottom: 12px;
}

.contrib-contact {
  font-size: 12px;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contrib-contact a { color: var(--gold-soft); text-decoration: none; }
.contrib-contact a:hover { text-decoration: underline; }

.icon-mail,
.icon-phone {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: var(--gold-soft);
  fill: none;
  stroke-width: 1.5;
  vertical-align: middle;
}

.contrib-card-empty {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.contrib-card-empty span {
  font-size: 13px;
  color: #b0a080;
  font-style: italic;
  text-align: center;
  line-height: 1.6;
}

.contrib-footnote {
  max-width: 560px;
  margin: 44px auto 0;
  text-align: center;
}

.contrib-footnote p {
  font-size: 12px;
  color: #8a7a60;
  font-style: italic;
  line-height: 1.75;
}

.contrib-footnote a { color: var(--gold-soft); text-decoration: none; }
.contrib-footnote a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   UNDER CONSTRUCTION BANNER - Floating
═══════════════════════════════════════════ */
.wip-banner-wrapper {
    position: fixed;
    bottom: 0; /* Changed from top: 0 to sit at the bottom */
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #1a1a1a;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2); /* Shadow reversed to glow upward */
    z-index: 999999; 
    box-sizing: border-box;
}

.wip-banner-stripes {
    height: 6px;
    width: 100%;
    background: repeating-linear-gradient(
        45deg,
        #fcd34d,
        #fcd34d 10px,
        #1a1a1a 10px,
        #1a1a1a 20px
    );
}

.wip-banner-body {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.wip-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wip-banner-badge {
    background-color: #fcd34d;
    color: #1a1a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.wip-banner-text {
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1;
}

.wip-banner-link {
    color: #fcd34d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.wip-banner-link:hover {
    color: #f59e0b;
}