/* =========================================================
 *    Not Built to Break — style.css (clean rewrite)
 *       Notes:
 *          - Keeps your existing design and components
 *             - Removes duplicate hero blocks and consolidates motion/overlay
 *                - Adds: short hero variant, contact form layout, footer spacing,
 *                           social icons, toast + honeypot styles
 *                              - Fixes common encoding issues (bullets/arrows/copyright)
 *                                 ========================================================= */

:root{
  --bg: #0f0c09;
  --bg2:#0b0907;
  --panel: rgba(21,16,12,0.78);
  --panel-solid: #15100c;
  --text: #eae6df;
  --muted: #b9b2a7;
  --gold: #c9a44c;
  --gold2: #e1c980;
  --line: rgba(201,164,76,0.22);
  --shadow: 0 18px 40px rgba(0,0,0,0.55);
  --radius: 18px;

  /* Arrow-safe padding so scripture text never overlaps arrows */
  --arrow-safe: 64px;
  --arrow-safe-sm: 52px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;

  /* Single-tone dark base + soft gold glows (no 2-tone bands) */
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 650px at 18% 0%, rgba(201,164,76,0.12), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(201,164,76,0.08), transparent 58%),
    radial-gradient(1000px 700px at 50% 115%, rgba(201,164,76,0.06), transparent 62%);
  background-attachment: fixed;
}

body:before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.06) 0, transparent 55%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.05) 0, transparent 55%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.04) 0, transparent 55%);
  opacity: 0.12;
  mix-blend-mode: overlay;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: var(--gold2); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Used on contact page to make the form feel wider without going full-bleed */
.container-narrow{
  max-width: 980px;
}

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

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

/* ===== Header / Nav ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15,12,9,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,164,76,0.18);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
}

/* Brand container redesign (fixes "system header" vibe) */
.brand{
  display: inline-flex;
  flex-direction: column;
  gap: 3px;

  padding: 10px 14px;
  border-radius: 14px;

  background: linear-gradient(
    180deg,
    rgba(24,24,24,0.32),
    rgba(14,14,14,0.22)
  );

  border: 1px solid rgba(201,164,76,0.10);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.25);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.brand-title{
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.7px;
  font-size: 22px;
  line-height: 1.05;
  color: var(--text);
  text-decoration: none;
}

.brand-title:hover{
  text-decoration: none;
  color: var(--gold2);
}

.brand-subtitle{
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(234,230,223,0.68);
}

/* Optional: slightly tighten on small screens */
@media (max-width: 520px){
  .brand{
    padding: 8px 12px;
    border-radius: 12px;
  }
  .brand-title{ font-size: 20px; }
  .brand-subtitle{ font-size: 11px; }
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav-link{
  color: var(--text);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav-link:hover{ border-color: rgba(201,164,76,0.22); text-decoration:none; }
.nav-link.is-active{
  border-color: rgba(201,164,76,0.35);
  background: rgba(201,164,76,0.10);
}

.nav-cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,0.45);
  background: linear-gradient(180deg, rgba(201,164,76,0.22), rgba(201,164,76,0.10));
  color: var(--gold2);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  text-decoration:none;
  font-weight: 700;
}
.nav-cta:hover{ text-decoration:none; filter: brightness(1.05); }

/* Mobile menu button */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(201,164,76,0.30);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  cursor:pointer;
}
.nav-toggle:hover{ border-color: rgba(201,164,76,0.45); }


/* Off-canvas mobile drawer */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 80;
}

.drawer{
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100%;

  /* Nearly solid dark background */
  background: #121212;

  border-right: 1px solid rgba(201,164,76,0.35);
  box-shadow: 12px 0 40px rgba(0,0,0,0.85);

  transform: translateX(-100%);
  transition: transform 220ms ease;
  z-index: 90;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 4px 12px;
  border-bottom: 1px solid rgba(201,164,76,0.25);
}

.drawer-title{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #c9a44c;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(201,164,76,0.45);
  background: #1a1a1a;
  color: #eae6df;
  cursor: pointer;
}
.drawer-close:hover{
  background: #232323;
  border-color: rgba(201,164,76,0.65);
}

.drawer-links{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.drawer-links a{
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.30);
  background: #1a1a1a;
  color: #eae6df;
  font-size: 15px;
}
.drawer-links a:hover{
  text-decoration:none;
  background: #232323;
  border-color: rgba(201,164,76,0.45);
}

.drawer-links .drawer-cta{
  margin-top: 6px;
  background: #c9a44c;
  color: #121212;
  border-color: #c9a44c;
  font-weight: 700;
  text-align: center;
}
.drawer-links .drawer-cta:hover{
  background: #ddb85f;
  border-color: #ddb85f;
}

body.nav-open .drawer-overlay{
  opacity: 1;
  pointer-events: auto;
}

body.nav-open .drawer{
  transform: translateX(0);
}



/* ===== HERO: show entire image on desktop + cinematic motion ===== */
.hero{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,164,76,0.12);
  background:
    radial-gradient(900px 560px at 50% 45%, rgba(201,164,76,0.10), transparent 65%),
    linear-gradient(180deg, rgba(10,8,6,1) 0%, rgba(15,12,9,1) 100%);
}

.hero-media{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
  transform-origin: center center;
}

/* Short hero variant (contact page) */
.hero.hero--short{
  aspect-ratio: 16 / 6;
  min-height: 280px;
  max-height: 420px;
}

/* Hero cinematic motion (zoom + gentle drift) */
.hero-zoom{
  animation: heroCinematic 16s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
  transform-origin: center center;
}

@keyframes heroCinematic{
  from{ transform: translateZ(0) scale(1) translateY(0); }
  to{ transform: translateZ(0) scale(1.08) translateY(-12px); }
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(15,12,9,0.22) 0%,
    rgba(15,12,9,0.18) 45%,
    rgba(15,12,9,0.70) 100%
  );
  pointer-events:none;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .hero-zoom{
    animation: none !important;
    transform: none !important;
  }
}

/* ===== Main layout ===== */
main{ padding: 26px 0 54px; }
.section{ padding: 26px 0; }

.section-title{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--gold2);
}

.panel{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.kicker{
  display:inline-block;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold2);
  opacity: 0.95;
}

.h1{
  margin: 10px 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.4px;
}

.subline{
  margin: 0 0 14px;
  color: var(--muted);
}

.byline{
  margin: 2px 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  color: var(--gold2);
  opacity: 0.95;
  letter-spacing: 0.2px;
}

.feature-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

/* Prevent grid children (like carousels) from forcing horizontal overflow */
.feature-grid > * {
  min-width: 0;
}

/* Make sure slider pieces never exceed container width */
.carousel,
.carousel-viewport,
.carousel-track,
.carousel-slide {
  max-width: 100%;
}

/* Safety: keep the slider clipped */
.carousel {
  overflow: hidden;
}


.book-cover{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(201,164,76,0.22);
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.20);
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.35);
  text-decoration:none;
  font-weight: 900;
  cursor:pointer;
  user-select:none;
}

.btn-primary{
  background: linear-gradient(180deg, rgba(201,164,76,0.30), rgba(201,164,76,0.12));
  color: var(--gold2);
  box-shadow: 0 10px 22px rgba(0,0,0,0.30);
}
.btn-primary:hover{ text-decoration:none; filter: brightness(1.06); }

.btn-ghost{
  background: rgba(0,0,0,0.18);
  color: var(--text);
}
.btn-ghost:hover{ text-decoration:none; border-color: rgba(201,164,76,0.45); }

/* Outline button used in event side */
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.28);
  background: rgba(0,0,0,0.14);
  color: var(--text);
  text-decoration:none;
  font-weight: 900;
}
.btn-outline:hover{ text-decoration:none; border-color: rgba(201,164,76,0.45); }

/* ===== Scripture carousel title ===== */
.carousel-block{ margin-top: 16px; }

.carousel-title{
  margin: 6px 0 10px;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold2);
  opacity: 0.95;
}

/* ===== Scripture carousel (controlled, arrow-safe) ===== */
.carousel{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,164,76,0.18);
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(201,164,76,0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.30));
  box-shadow: 0 14px 26px rgba(0,0,0,0.30);
}

.carousel-viewport{ overflow:hidden; }

.carousel-track{
  display:flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.carousel-slide{
  flex: 0 0 100%;
  padding: 16px var(--arrow-safe) 18px;
}

.quote{
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 10px;
}

.quote-cite{
  color: var(--muted);
  font-size: 13px;
}

.carousel-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.28);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  cursor:pointer;
  z-index: 5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.carousel-arrow:hover{ border-color: rgba(201,164,76,0.45); }
.carousel-prev{ left: 10px; }
.carousel-next{ right: 10px; }

.carousel-dots{
  display:flex;
  justify-content:center;
  gap: 10px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(201,164,76,0.12);
  background: rgba(0,0,0,0.14);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,0.45);
  background: rgba(201,164,76,0.18);
  cursor:pointer;
}
.dot.is-active{ background: rgba(201,164,76,0.60); }

/* ===== Event section (balanced columns; right side cannot grow taller) ===== */
.event-grid{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: stretch;
}

.event-card{ padding: 20px; }

.event-meta{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 12px;
}

.event-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  color: rgba(234,230,223,0.88);
  font-size: 14px;
}

.event-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,0.28);
  background: rgba(201,164,76,0.10);
  color: var(--gold2);
  font-weight: 800;
}

.event-sep{ color: rgba(234,230,223,0.45); }

.event-lede{
  margin: 10px 0 14px;
  font-size: 16px;
  color: rgba(234,230,223,0.92);
}

.event-copy p{
  margin: 0 0 12px;
  color: rgba(234,230,223,0.90);
}

.event-actions{ margin-top: 12px; }

.event-side{
  background:
    radial-gradient(900px 520px at 25% 0%, rgba(201,164,76,0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.24));
  display:flex;
}

.event-side-inner{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 12px;
  padding: 20px;
  width: 100%;
  height: 100%;
}

.event-side-title{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  color: var(--gold2);
  margin-top: -6px;
}

.event-side-text{
  margin: 0;
  color: rgba(234,230,223,0.88);
}

/* ===== Event list highlight (special inclusion) ===== */

.event-side-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 6px;
}

/* Base list items (unchanged behavior) */
.event-side-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: rgba(234,230,223,0.86);
  line-height: 1.45;
}

/* Default bullet */
.event-side-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold2);
  opacity: 0.7;
}

/* ===== Highlighted item ===== */
.event-side-list .event-highlight {
  font-weight: 900;
  color: var(--gold2);
  background: linear-gradient(
    180deg,
    rgba(201,164,76,0.18),
    rgba(201,164,76,0.08)
  );
  border: 1px solid rgba(201,164,76,0.35);
  border-radius: 12px;
  padding: 10px 14px 10px 38px;
  margin-bottom: 16px;
  box-shadow:
    0 6px 16px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Icon for highlighted item */
.event-side-list .event-highlight::before {
  content: "✦";
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 1;
}

/* Subtle emphasis without animation */
.event-side-list .event-highlight:hover {
  filter: brightness(1.06);
}


/* Optional: keep legacy points styles (in case old markup still exists) */
.event-side-points{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.event-point{
  border: 1px solid rgba(201,164,76,0.14);
  background: rgba(0,0,0,0.16);
  border-radius: 14px;
  padding: 12px;
}
.event-point-title{
  font-weight: 900;
  color: rgba(234,230,223,0.94);
  margin-bottom: 4px;
}
.event-point-text{
  color: rgba(234,230,223,0.82);
  font-size: 14px;
}

/* ===== Content cards ===== */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card{
  background:
    radial-gradient(900px 520px at 40% 0%, rgba(201,164,76,0.06), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.22));
  border: 1px solid rgba(201,164,76,0.18);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 26px rgba(0,0,0,0.30);
}

.card p{ margin: 0 0 12px; color: var(--text); opacity: 0.95; }

.figure{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(201,164,76,0.18);
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.18);
}

/* ===== Forms (base) ===== */
.form .field{ margin-bottom: 14px; }

.form label{
  display:block;
  font-size: 13px;
  color: rgba(234,230,223,0.86);
  margin-bottom: 8px;
}

.form input,
.form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201,164,76,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  outline: none;
}

.form textarea{ resize: vertical; }

/* Contact form refinements */
.contact-card{
  padding: clamp(18px, 3.2vw, 28px);
}

.contact-intro{
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-form .form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form textarea{
  min-height: 220px;
}

.contact-form .form-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== Dedication slideshow (same height, full image, "beautiful" background fill) ===== */
.image-carousel{
  position: relative;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(201,164,76,0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.28));
}

.img-viewport{ overflow:hidden; }

.img-track{
  display:flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.img-slide{ flex: 0 0 100%; }

.img-frame{
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.18);
}

.img-frame:before{
  content:"";
  position:absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.05) contrast(1.05);
  transform: scale(1.18);
  opacity: 0.55;
}

.img-frame:after{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,0.38) 100%);
  opacity: 0.9;
}

.img-frame img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.02);
}

.caption{
  padding: 10px 12px;
  background: rgba(0,0,0,0.22);
  color: var(--muted);
  font-size: 13px;
}

.img-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.28);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  cursor:pointer;
  z-index: 5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.img-arrow:hover{ border-color: rgba(201,164,76,0.45); }
.img-prev{ left: 10px; }
.img-next{ right: 10px; }

.img-dots{
  display:flex;
  justify-content:center;
  gap: 10px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(201,164,76,0.12);
  background: rgba(0,0,0,0.14);
}

.img-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,0.45);
  background: rgba(201,164,76,0.18);
  cursor:pointer;
}
.img-dot.is-active{ background: rgba(201,164,76,0.60); }

/* ===== Footer ===== */
.page-footer-gap{ height: clamp(24px, 5vw, 64px); }

.site-footer{
  border-top: 1px solid rgba(201,164,76,0.18);
  background: rgba(10,8,6,0.88);
  padding-top: clamp(28px, 5vw, 56px);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  padding: 26px 0 14px;
}

.footer-title{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--gold2);
  font-size: 18px;
}

.enews-form{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.enews-form input{
  flex: 1;
  min-width: 200px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201,164,76,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  outline:none;
  max-width: 220px;
  width: 100%;
}

.enews-form input::placeholder{ color: rgba(234,230,223,0.55); }

.enews-form button{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201,164,76,0.35);
  background: linear-gradient(180deg, rgba(201,164,76,0.30), rgba(201,164,76,0.12));
  color: var(--gold2);
  font-weight: 900;
  cursor:pointer;
}
.enews-form button:hover{ filter: brightness(1.06); }

.footer-bottom{
  padding: 14px 0 22px;
  border-top: 1px solid rgba(201,164,76,0.12);
  margin-top: clamp(18px, 3vw, 30px);
}

.footer-bottom-inner{
  display: grid;
  gap: 8px;
  text-align: center;
  justify-items: center;
}

.fineprint{
  color: rgba(234,230,223,0.70);
  font-size: 12px;
  margin: 10px 0 0;
}

/* Social icons */
.footer-social{
  display:flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.social-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-icon svg{
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.social-icon:hover{
  background: rgba(201,164,76,0.18);
  transform: translateY(-2px);
}

.social-icon:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== Toast + Honeypot (newsletter/contact submissions) ===== */
/* Honeypot hidden */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Subtle toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(16px);
  background: rgba(18,18,18,0.92);
  border: 1px solid rgba(201,164,76,0.35);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(92vw, 520px);
  text-align: center;
  z-index: 9999;
}

.toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .toast{ transition: none; }
}

/* ===== Back to Top Button ===== */
.back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,76,0.45);
  background:
    radial-gradient(circle at 30% 30%, rgba(201,164,76,0.45), rgba(201,164,76,0.15)),
    linear-gradient(180deg, rgba(201,164,76,0.35), rgba(201,164,76,0.15));
  color: var(--gold2);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, filter 180ms ease;
  z-index: 999;
}

.back-to-top:hover{ filter: brightness(1.1); }

.back-to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== Page Loader ===== */
.page-loader{
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.page-loader.is-hidden{
  opacity: 0;
  visibility: hidden;
}

.loader-ring{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(201,164,76,0.22);
  border-top-color: rgba(201,164,76,0.90);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
  animation: loaderSpin 0.85s linear infinite;
}

@keyframes loaderSpin{
  to{ transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .feature-grid{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .event-grid{ grid-template-columns: 1fr; }

  .hero{ max-height: none; }

  .carousel-slide{
    padding-left: var(--arrow-safe-sm);
    padding-right: var(--arrow-safe-sm);
  }

  .img-frame{ height: 320px; }

  .contact-form .form-row{
    grid-template-columns: 1fr;
  }
}

/* Hover zoom */
.book-cover--zoom{
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform;
  cursor: zoom-in;
}

.book-cover--zoom:hover{
  transform: scale(1.04);
  filter: brightness(1.03);
}

.book-cover--zoom:focus-visible{
  outline: 2px solid rgba(201,164,76,0.75);
  outline-offset: 4px;
}

/* Modal (JS-injected) */
.img-pop{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2600;
}

.img-pop[hidden]{ display:none; }

.img-pop__overlay{
  position:absolute;
  inset:0;
  background: rgba(10,8,6,0.82);
  backdrop-filter: blur(6px);
}

.img-pop__panel{
  position: relative;
  width: min(94vw, 980px);
  max-height: 88vh;
  border-radius: 18px;
  border: 1px solid rgba(201,164,76,0.22);
  background:
    radial-gradient(900px 520px at 30% 0%, rgba(201,164,76,0.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  box-shadow: 0 22px 70px rgba(0,0,0,0.65);
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.img-pop.is-open .img-pop__panel{
  opacity: 1;
  transform: translateY(0);
}

.img-pop__img{
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  padding: 14px;
}

.img-pop__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(201,164,76,0.30);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

.img-pop__close:hover{
  border-color: rgba(201,164,76,0.45);
}

@media (prefers-reduced-motion: reduce){
  .book-cover--zoom{ transition:none; }
  .book-cover--zoom:hover{ transform:none; }
  .img-pop__panel{ transition:none; transform:none; }
}

.author-tagline {
  margin-top: 1.25rem;
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #c9a44c; /* soft gold */
  letter-spacing: 0.03em;
}

/* Add to style.css (Footer CTA banner) */
.footer-cta{
  background: rgba(201, 164, 76, 0.10);
  border-top: 1px solid rgba(201, 164, 76, 0.28);
  border-bottom: 1px solid rgba(201, 164, 76, 0.18);
}

.footer-cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0;
}

.footer-cta-kicker{
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 230, 223, 0.85);
  margin-bottom: 0.25rem;
}

.footer-cta-title{
  font-size: 1.2rem;
  font-weight: 700;
  color: #eae6df;
  margin-bottom: 0.15rem;
}

.footer-cta-sub{
  color: rgba(234, 230, 223, 0.82);
  max-width: 52ch;
}

.footer-cta-actions{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-cta-btn{
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 820px){
  .footer-cta-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta-actions{
    justify-content: flex-start;
  }
}

