/* =============================================================================
   PARCHMENT PRESS — main.css
   ============================================================================= */

/* =============================================================================
   CUSTOM PROPERTIES
   ============================================================================= */
:root {
  /* Palette */
  --parchment:      #F4ECD8;   /* page background */
  --parchment-mid:  #E8D9BC;   /* slightly deeper parchment */
  --parchment-dark: #D4C4A0;   /* borders, accents */
  --cream:          #FBF7EF;   /* card backgrounds */
  --ink:            #1C1208;   /* primary text */
  --ink-mid:        #3D2B1F;   /* secondary text */
  --sepia:          #6B4226;   /* primary accent (buttons, links) */
  --sepia-light:    #9B7050;   /* lighter sepia for hover/muted */
  --gold:           #8B6C1C;   /* ornamental gold */
  --gold-light:     #B8920A;   /* lighter gold for hover */
  --border:         #CDB898;   /* standard border */
  --border-light:   #DDD0B8;   /* subtle border */
  --dark:           #160E06;   /* hero / footer background */
  --dark-mid:       #2A180E;   /* slightly lighter dark */
  --dark-overlay:   rgba(22, 14, 6, 0.75);

  /* Typography */
  --font-display:  'IM Fell English', Georgia, 'Times New Roman', serif;
  --font-body:     'Crimson Pro', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-width:  1100px;
  --gutter:     2rem;
  --section-v:  5rem;

  /* Motion */
  --ease: 0.2s ease;
}


/* =============================================================================
   RESET & BASE
   ============================================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--parchment);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sepia);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover { color: var(--sepia-light); }

ul, ol { list-style: none; }

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.2;
  color: var(--ink);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-v) 0; }

.section-dark {
  background-color: var(--dark);
  color: var(--parchment);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p { color: var(--parchment); }


/* =============================================================================
   SECTION TITLES
   ============================================================================= */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--border);
  margin: 0.8rem auto 0;
}
.section-title-light       { color: var(--parchment); }
.section-title-light::after { background: var(--sepia-light); }


/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 0.65rem 1.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  text-align: center;
  line-height: 1.4;
}

/* Primary — dark sepia fill */
.btn-primary {
  background: var(--sepia);
  color:      var(--parchment);
  border-color: var(--sepia);
}
.btn-primary:hover {
  background: var(--ink-mid);
  border-color: var(--ink-mid);
  color: var(--parchment);
}

/* Secondary — outline */
.btn-secondary {
  background:   transparent;
  color:        var(--sepia);
  border-color: var(--sepia);
}
.btn-secondary:hover {
  background:   var(--sepia);
  color:        var(--parchment);
}

/* Outline (for dark backgrounds) */
.btn-outline {
  background:   transparent;
  color:        var(--parchment);
  border-color: var(--parchment);
}
.btn-outline:hover {
  background: var(--parchment);
  color:      var(--ink);
}

/* Small outline */
.btn-outline-sm {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.2rem;
  background:   transparent;
  color:        rgba(244, 236, 216, 0.6);
  border: 1px solid rgba(244, 236, 216, 0.3);
  transition: all var(--ease);
}
.btn-outline-sm:hover {
  color:        var(--parchment);
  border-color: var(--parchment);
}

/* Hero CTA */
.btn-hero {
  background:   transparent;
  color:        var(--parchment);
  border-color: var(--gold);
  letter-spacing: 0.18em;
  font-size:    0.8rem;
  padding:      0.8rem 2.5rem;
}
.btn-hero:hover {
  background:   var(--gold);
  color:        var(--dark);
}

/* Block modifier */
.btn-block { display: block; width: 100%; text-align: center; }


/* =============================================================================
   SITE HEADER
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-mid);
  padding: 0.9rem 0;
  transition: box-shadow var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Wordmark */
.site-logo { text-decoration: none; }
.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--parchment);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.site-logo:hover .logo-text { color: var(--gold-light); }

/* Nav */
.site-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size:   0.9rem;
  color:       rgba(244, 236, 216, 0.7);
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--parchment); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--parchment);
  transition: transform var(--ease), opacity var(--ease);
}


/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 50% 0%,   rgba(107, 66,  38, 0.2)  0%, transparent 65%),
    radial-gradient(ellipse at 50% 100%, rgba(0,   0,   0,  0.4)  0%, transparent 50%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle paper grain */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem var(--gutter) 5rem;
}

.hero-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.8rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.2rem, 9vw, 6rem);
  color: var(--parchment);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(244, 236, 216, 0.75);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 0.95rem;
  color: rgba(244, 236, 216, 0.45);
  max-width: 480px;
  margin: 0 auto 3rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}


/* =============================================================================
   MODULE CARD
   ============================================================================= */
.module-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  background: var(--cream);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(28, 18, 8, 0.07);
  transition: box-shadow var(--ease), transform var(--ease);
}
.module-card:hover {
  box-shadow: 0 8px 28px rgba(28, 18, 8, 0.14);
  transform: translateY(-2px);
}

.module-card-cover {
  overflow: hidden;
  background: var(--parchment-mid);
  min-height: 300px;
}
.module-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.module-card:hover .module-card-cover img { transform: scale(1.04); }

.module-card-cover-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
}

.module-card-body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-light);
  gap: 0;
}

.module-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

/* Tags */
.module-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  color: var(--sepia);
  background: transparent;
}
.module-tag-system {
  background:   var(--sepia);
  color:        var(--parchment);
  border-color: var(--sepia);
}

.module-card-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}
.module-card-title a { color: var(--ink); }
.module-card-title a:hover { color: var(--sepia); }

.module-card-subtitle {
  font-style: italic;
  color: var(--sepia-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.module-card-description {
  color: var(--ink-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.module-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: auto;
}


/* =============================================================================
   MODULES LIST PAGE
   ============================================================================= */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.no-content {
  font-style: italic;
  color: var(--sepia-light);
  text-align: center;
  padding: 4rem 0;
}

/* Filter */
.modules-filter {
  display: none;           /* hidden until JS adds js-enabled class */
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.js-enabled .modules-filter { display: flex; }

.filter-label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sepia-light);
  font-size: 0.9rem;
  margin-right: 0.25rem;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background:   var(--sepia);
  color:        var(--parchment);
  border-color: var(--sepia);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}


/* =============================================================================
   MODULE SINGLE PAGE
   ============================================================================= */
.module-single-hero {
  background-color: var(--dark);
  background-size: cover;
  background-position: center top;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.module-single-hero-overlay {
  background: linear-gradient(to top, var(--dark) 0%, rgba(22, 14, 6, 0.6) 60%, transparent 100%);
  width: 100%;
  padding: 5rem 0 3rem;
}
.module-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.module-single-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-style: italic;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.module-single-subtitle {
  font-style: italic;
  color: rgba(244, 236, 216, 0.65);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.module-single-author {
  font-size: 0.85rem;
  color: rgba(244, 236, 216, 0.45);
  letter-spacing: 0.05em;
}

.module-single-body {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 4rem;
  padding: 4rem 0 3rem;
}

/* Sidebar */
.sidebar-cover {
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(28, 18, 8, 0.14);
}
.sidebar-cover img { width: 100%; display: block; }

.sidebar-details {
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
}
.sidebar-details h3 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--sepia-light);
}
.sidebar-details dl { margin-bottom: 1.5rem; }
.sidebar-details dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia-light);
  margin-top: 0.85rem;
}
.sidebar-details dd { color: var(--ink); font-size: 0.95rem; }

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}
.tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--border-light);
  color: var(--ink-mid);
  letter-spacing: 0.06em;
}

/* Back link */
.module-single-back {
  background: var(--parchment-mid);
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 0;
}
.back-link {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sepia);
}
.back-link:hover { color: var(--sepia-light); }


/* =============================================================================
   PAGE HEADER (interior pages)
   ============================================================================= */
.page-header {
  background: var(--dark);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--dark-mid);
}
.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
  color: var(--parchment);
  line-height: 1.1;
}
.page-subtitle {
  font-style: italic;
  color: rgba(244, 236, 216, 0.5);
  margin-top: 0.5rem;
  font-size: 1rem;
}


/* =============================================================================
   PROSE (about, single pages)
   ============================================================================= */
.prose {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.85;
}
.prose h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 0.85rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.prose p  { margin-bottom: 1.1rem; }
.prose ul, .prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--sepia); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--sepia-light); }
.prose hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.5rem 0;
}
.prose em { font-style: italic; }
.prose strong { font-weight: 600; }


/* =============================================================================
   HOME — ABOUT STRIP
   ============================================================================= */
.section-about-strip { text-align: center; }
.about-strip-inner { max-width: 620px; margin: 0 auto; }
.about-strip-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.5rem;
  margin-bottom: 1.75rem;
}
.section-about-strip p {
  color: rgba(244, 236, 216, 0.72);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
}


/* =============================================================================
   HOME — NEWSLETTER STRIP
   ============================================================================= */
.section-newsletter-strip {
  background: var(--parchment-mid);
  text-align: center;
}
.newsletter-strip-inner { max-width: 560px; margin: 0 auto; }
.newsletter-strip-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.5rem;
  margin-bottom: 1.75rem;
}
.newsletter-strip-blurb {
  font-style: italic;
  color: var(--ink-mid);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}


/* =============================================================================
   NEWSLETTER PAGE
   ============================================================================= */
.newsletter-page { max-width: 640px; }

.newsletter-signup-box {
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  margin: 2.5rem 0;
}
.newsletter-box-title {
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}
.newsletter-form-full { max-width: 440px; }

.newsletter-unsubscribe {
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}
.newsletter-unsubscribe h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.newsletter-unsubscribe p { font-size: 0.95rem; color: var(--ink-mid); }


/* =============================================================================
   CONTACT PAGE
   ============================================================================= */
.contact-page { max-width: 580px; }
.contact-form { max-width: 540px; }


/* =============================================================================
   FORMS (shared)
   ============================================================================= */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 0.4rem;
}
.form-optional {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  color: var(--sepia-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease);
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--sepia); }
.form-group textarea { min-height: 150px; resize: vertical; }


/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  background: var(--dark);
  color: var(--parchment-dark);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--dark-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.site-footer p {
  font-size: 0.88rem;
  color: rgba(244, 236, 216, 0.45);
  line-height: 1.7;
}

.footer-nav-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--parchment) !important;
  margin-bottom: 0.85rem !important;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(244, 236, 216, 0.45);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--parchment); }

.footer-newsletter p { margin-bottom: 1.25rem; }

.footer-bottom { text-align: center; }
.footer-legal {
  font-size: 0.72rem !important;
  color: rgba(244, 236, 216, 0.22) !important;
  margin-top: 0.4rem !important;
}


/* =============================================================================
   RESPONSIVE — TABLET
   ============================================================================= */
@media (max-width: 960px) {
  .module-single-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .module-single-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.75rem;
    align-items: start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-grid > .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root { --gutter: 1.25rem; --section-v: 3.5rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--dark-mid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.is-open { display: flex; }
  /* Make header the positioning context for the dropdown */
  .site-header .container { position: relative; }
  .site-header { position: relative; }

  /* Module cards go single-column */
  .module-card {
    grid-template-columns: 1fr;
  }
  .module-card-cover {
    min-height: 220px;
    max-height: 280px;
  }
  .module-card-cover img { height: 100%; }
  .module-card-body {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
  }
  .module-card-actions { flex-direction: column; }
  .module-card-actions .btn { text-align: center; }

  /* Module single sidebar goes below content */
  .module-single-sidebar { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > .footer-about { grid-column: auto; }

  /* Hero */
  .hero { min-height: 75vh; }
}


/* =============================================================================
   SUBSCRIBED (thank-you) PAGE
   ============================================================================= */
.subscribed-page {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 50% 0%,   rgba(107, 66, 38, 0.2) 0%, transparent 65%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.4)     0%, transparent 50%);
  min-height: calc(100vh - 58px); /* full viewport minus header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Same subtle grain as the hero */
.subscribed-page::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
}

.subscribed-inner {
  position: relative;
  z-index: 1;
  padding: 6rem var(--gutter);
  max-width: 620px;
}

.subscribed-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.8rem;
  margin-bottom: 2rem;
}

.subscribed-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--parchment);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.subscribed-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
}

.subscribed-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(244, 236, 216, 0.8);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.subscribed-note {
  font-size: 0.88rem;
  color: rgba(244, 236, 216, 0.38);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

.subscribed-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Ghost button — text-only, for secondary action on dark background */
.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.65rem 1.6rem;
  background: transparent;
  color: rgba(244, 236, 216, 0.4);
  border: 1px solid rgba(244, 236, 216, 0.15);
  transition: all var(--ease);
}
.btn-ghost:hover {
  color: var(--parchment);
  border-color: rgba(244, 236, 216, 0.4);
}


/* =============================================================================
   REDUCED MOTION
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
