/*
Theme Name: Eterna
Theme URI: https://eternalongevitycollective.com
Author: Eterna Collective
Description: A bespoke editorial theme for Eterna — a private longevity collective. Ports the static design preview into WordPress + WooCommerce.
Version: 0.6.4
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: All Rights Reserved
Text Domain: eterna
Tags: editorial, custom, membership
*/

:root {
  --paper: #FAF8F4;
  --paper-warm: #F4F0E8;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8580;
  --line: #E5E0D6;
  --line-strong: #D0CABE;
  --accent: #7A2E2E;
  --accent-soft: #A85050;
  --leaf: #6B7B4F;
  --leaf-soft: #8A9970;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* ===== TOP STRIP ===== */
.top-strip {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
.top-strip .top-strip-dot { color: var(--accent-soft); margin: 0 8px; }
.top-strip-est-short { display: none; }
@media (max-width: 600px) {
  .top-strip-est-long { display: none; }
  .top-strip-est-short { display: inline; }
}

/* ===== NAV ===== */
nav.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 22px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-left, .nav-right {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a {
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s ease;
}
.nav-left a:hover, .nav-right a:hover { color: var(--accent); }
.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-align: center;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}
.logo-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: none;
  margin-top: 2px;
  text-align: center;
  font-weight: 400;
}
.nav-cta {
  border: 1px solid var(--ink) !important;
  padding: 8px 18px;
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

/* ===== MAGAZINE MASTHEAD ===== */
.masthead {
  padding: 24px 56px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.masthead .issue {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.05em;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===== HERO ===== */
.hero {
  padding: 56px 56px 96px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  font-weight: 500;
  white-space: nowrap;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '·';
  margin: 0 14px;
  color: var(--ink-muted);
}
@media (max-width: 600px) {
  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after { margin: 0 8px; }
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 auto 48px;
  max-width: 1100px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

/* ===== LEAF ORNAMENT ===== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 36px;
  color: var(--ink);
}
.ornament::before,
.ornament::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.ornament svg { color: var(--leaf); display: block; }
.final-cta .ornament { color: var(--paper); }
.final-cta .ornament svg { color: var(--leaf-soft); }

/* Vertical sprig in the editor's letter third column (desktop) */
.sprig {
  display: block;
  color: var(--leaf);
  margin: 12px auto 0;
  opacity: 0.85;
}

/* ===== LAYERED BACKGROUND FOLIAGE ===== */
.foliage {
  position: absolute;
  pointer-events: none;
  color: var(--leaf);
  z-index: 0;
  display: block;
}
.editors-letter .foliage-1 {
  width: 520px;
  top: -40px;
  left: -100px;
  opacity: 0.10;
  transform: rotate(-6deg);
}
.editors-letter .foliage-2 {
  width: 360px;
  top: 30px;
  right: -60px;
  opacity: 0.16;
  transform: rotate(165deg) scaleY(-1);
}
.editors-letter .foliage-3 {
  width: 220px;
  bottom: 40px;
  left: 35%;
  opacity: 0.22;
  transform: rotate(8deg);
}
.editors-letter-body { position: relative; z-index: 1; }
.editors-letter-meta { position: relative; z-index: 1; }

.final-cta .foliage {
  color: var(--leaf-soft);
}
.final-cta .foliage-1 {
  width: 640px;
  top: -60px;
  left: -120px;
  opacity: 0.10;
  transform: rotate(-10deg);
}
.final-cta .foliage-2 {
  width: 480px;
  bottom: -80px;
  right: -100px;
  opacity: 0.13;
  transform: rotate(170deg);
}
.final-cta .foliage-3 {
  width: 280px;
  top: 30%;
  right: 6%;
  opacity: 0.22;
  transform: rotate(-20deg);
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.5;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 36px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--ink);
}
.hero-cta:hover {
  background: transparent;
  color: var(--ink);
}
.hero-secondary {
  display: inline-block;
  margin-left: 24px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 0;
}
.hero-secondary:hover { color: var(--accent); }

/* Decorative serif numeral — hidden by request; previously these
   were intended as faint background letters (paper-warm on paper)
   but the `.hero > *` rule below was forcing them into document
   flow, blowing the hero up by ~770px of empty space. */
.hero-numeral { display: none; }
.hero > * { position: relative; z-index: 1; }

/* ===== EDITORS LETTER / INTRO ===== */
.editors-letter {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 80px;
  position: relative;
  overflow: hidden;
  align-items: start;
}
.editors-letter-meta {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 2;
}
.editors-letter-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.28em;
}
.editors-letter-body h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}
.editors-letter-body h2 em {
  font-style: italic;
  color: var(--accent);
}
.editors-letter-body p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 620px;
  font-weight: 300;
}
.editors-letter-body .lead {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 32px;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 32px;
}
.signature::before {
  content: '— ';
}

/* ===== THE EDIT / PILLARS ===== */
.the-edit {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}
.section-header .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-header h2 em { font-style: italic; }
.section-header-link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  padding-bottom: 8px;
}
.section-header-link:hover { color: var(--accent); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 0 40px;
  position: relative;
}
.pillar:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line-strong);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.pillar h3 em { font-style: italic; }
.pillar p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}
.pillar-divider {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}

/* ===== FEATURE QUOTE ===== */
.feature-quote {
  padding: 120px 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.feature-quote-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 40px;
}
.feature-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 1000px;
  margin: 0 auto 40px;
  color: var(--ink);
}
.feature-quote blockquote em {
  font-style: italic;
  color: var(--accent);
}
.feature-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ===== MEMBERSHIP ===== */
.membership {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
}
.membership-intro p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.55;
  margin: 0;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
}

/* ===== PRICING TOGGLE (Annual / Monthly) ===== */
.pricing-toggle {
  display: inline-flex;
  align-items: stretch;
  margin: 40px auto 0;
  padding: 4px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  /* Center the pill within its container (.section-header? no, sits between
     intro and .tiers — use auto-margins and a wrapping flex parent.) */
}
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
}
.pricing-toggle-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
  line-height: 1;
}
.pricing-toggle-btn:hover { color: var(--ink); }
.pricing-toggle-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}
.pricing-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Center the toggle within the membership section (parent has a centred
   .section-header but .tiers grid is full-width — wrap toggle in its own
   centred row). The toggle itself uses auto margins via flex below. */
.membership .pricing-toggle {
  display: flex;
  margin: 40px auto 0;
  width: max-content;
}

/* Same toggle on the membership product editorial page — sits between the
   ornament and the price block. */
.product-editorial .product-editorial-toggle {
  display: flex;
  margin: 0 auto 24px;
  width: max-content;
}

@media (max-width: 600px) {
  .pricing-toggle-btn {
    padding: 11px 22px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}
.tier {
  padding: 48px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.tier:first-child { padding-left: 0; }
.tier:last-child {
  padding-right: 0;
  border-right: none;
}
.tier.featured {
  background: var(--paper-warm);
  padding: 48px;
}
.tier-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 4px 12px;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.tier-spacer { height: 36px; }
.tier-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.tier-name em { font-style: italic; }
.tier-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.tier-price {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.tier-price .currency {
  font-size: 28px;
  vertical-align: top;
  margin-right: 6px;
  font-weight: 400;
}
.tier-price-suffix {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.tier-divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}
.tier ul {
  list-style: none;
}
.tier ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 300;
  display: flex;
  gap: 14px;
}
.tier ul li::before {
  content: '+';
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
}
.tier-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.tier-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
.tier.featured .tier-cta {
  background: var(--ink);
  color: var(--paper);
}
.tier.featured .tier-cta:hover {
  background: transparent;
  color: var(--ink);
}

/* ===== THE NETWORK / PARTNERS ===== */
.network {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.network-intro {
  max-width: 720px;
  margin: 60px auto 80px;
  text-align: center;
}
.network-intro p {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-style: italic;
  font-weight: 300;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.partner-cat {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 40px 36px;
  transition: background 0.3s ease;
  cursor: pointer;
}
.partner-cat:hover {
  background: var(--paper);
}
.partner-cat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.partner-cat h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.partner-cat h4 em { font-style: italic; }
.partner-cat p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}
.partner-cat .featured-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.partner-cat .featured-name span {
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.2em;
  font-size: 9px;
  color: var(--ink-muted);
  margin-right: 10px;
}

/* ===== JOURNAL / EDITORIAL TEASER ===== */
.journal {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 60px;
}
.journal-item {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.journal-cat {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.journal-item h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.journal-item h4 em { font-style: italic; }
.journal-item h4 a { color: inherit; text-decoration: none; }
.journal-item h4 a:hover { color: var(--accent); }
.journal-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
}
.journal-item .meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 96px 56px 96px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.final-cta > *:not(.foliage) { position: relative; z-index: 2; }
.final-cta .foliage { position: absolute; z-index: 1; }
.final-cta-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 36px;
}
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 auto 32px;
  max-width: 900px;
}
.final-cta h2 em {
  font-style: italic;
  color: var(--accent-soft);
}
.final-cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(244, 240, 232, 0.7);
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.5;
  font-weight: 300;
}
.final-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 20px 40px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--paper);
}
.final-cta-button:hover {
  background: transparent;
  color: var(--paper);
}

/* ===== FOOTER ===== */
footer.site-footer {
  padding: 80px 56px 32px;
  background: var(--paper);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.footer-tag {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.65;
  font-weight: 300;
}
.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li {
  padding: 6px 0;
  font-size: 13px;
}
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 300;
}
.footer-col a:hover { color: var(--accent); }

.footer-newsletter {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
}
.footer-newsletter p { margin-bottom: 16px; }
.footer-newsletter input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.footer-newsletter input::placeholder { color: var(--ink-muted); }
.footer-newsletter button {
  margin-top: 12px;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== GENERIC PAGE / POST CONTENT ===== */
.page-content,
.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.page-content h1,
.post-content h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-content h1 em,
.post-content h1 em { font-style: italic; color: var(--accent); }
.post-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 48px;
}
.page-content h2,
.post-content h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.2;
}
.page-content h3,
.post-content h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 12px;
}
.page-content p,
.post-content p { margin-bottom: 22px; }
.page-content a,
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.page-content ul,
.page-content ol,
.post-content ul,
.post-content ol { margin: 0 0 22px 24px; }
.page-content li,
.post-content li { margin-bottom: 8px; }
.page-content blockquote,
.post-content blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
}

/* ===== ARCHIVE / JOURNAL LISTING ===== */
.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.archive-header {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}
.archive-header .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.archive-header h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.archive-header h1 em { font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .top-strip {
    padding: 9px 16px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }
  .top-strip span { margin: 0 6px; }
  nav.site-nav { padding: 16px 24px; grid-template-columns: 1fr; gap: 16px; }
  .nav-left, .nav-right { display: none; }
  .masthead { padding: 16px 24px; font-size: 9px; }
  .masthead .issue { display: none; }
  .hero { padding: 60px 24px 80px; }
  .hero-numeral { display: none; }

  .editors-letter { grid-template-columns: 1fr; padding: 60px 24px; gap: 32px; text-align: center; }
  .editors-letter-meta { line-height: 1.9; }
  .editors-letter-body p { max-width: none; text-align: left; }
  .editors-letter-body .signature { text-align: center; }
  .sprig { display: none; }

  .the-edit, .feature-quote, .membership, .network, .journal { padding: 60px 24px; }
  .section-header { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .section-header > div { width: 100%; }
  .section-header-link { padding-bottom: 4px; }

  .pillars { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .pillar { padding: 0; }
  .pillar-divider { margin: 24px auto; background: var(--leaf); }
  .pillar:not(:last-child)::after {
    width: 32px; height: 1px;
    top: auto; bottom: -28px; right: auto; left: 50%;
    transform: translateX(-50%);
    background: var(--leaf);
    opacity: 0.6;
  }

  .membership > p { margin-left: auto; margin-right: auto; text-align: center; }
  .tiers { grid-template-columns: 1fr; gap: 0; }
  .tier {
    padding: 40px 0 !important;
    border-right: none;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .tier ul { display: inline-block; text-align: left; }
  .tier ul li { justify-content: flex-start; }
  .tier.featured { padding: 40px 24px !important; margin: 0 -24px; }

  .hero-secondary { display: block; margin-left: 0; margin-top: 18px; padding: 0; }

  .partner-grid, .journal-grid { grid-template-columns: 1fr; }
  .partner-grid { text-align: center; }
  .partner-cat .featured-name { text-align: left; }
  .journal-grid { gap: 40px; }
  .journal-item { text-align: center; }

  .final-cta { padding: 56px 24px 64px; }
  .final-cta h2 { margin-bottom: 24px; }
  .final-cta p { margin-bottom: 36px; }
  .final-cta .ornament { margin-bottom: 24px; }
  .final-cta-label { margin-bottom: 24px; }
  .editors-letter .foliage-1 { width: 280px; opacity: 0.08; top: -30px; left: -60px; }
  .editors-letter .foliage-2 { width: 220px; opacity: 0.12; right: -50px; top: 10px; }
  .editors-letter .foliage-3 { display: none; }
  .final-cta .foliage-1 { width: 320px; opacity: 0.08; left: -80px; }
  .final-cta .foliage-2 { width: 260px; opacity: 0.10; right: -60px; }
  .final-cta .foliage-3 { display: none; }
  footer.site-footer { padding: 60px 24px 24px; }
  /* 2-column grid on mobile so Collective + Members sit side by side,
     with Legal + Newsletter spanning full width below them. */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 40px;
    text-align: center;
  }
  /* Brand block: full width, centred */
  .footer-top > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-tag { max-width: none; margin-left: auto; margin-right: auto; }
  /* Legal: full width with menu items in a horizontal flex row */
  .footer-col--legal { grid-column: 1 / -1; }
  .footer-col--legal h5 { text-align: center; margin-bottom: 16px; }
  .footer-col--legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
  }
  .footer-col--legal li { padding: 0; }
  /* Newsletter: full width, centred, with breathing room between
     the email input and the Subscribe button. */
  .footer-newsletter { grid-column: 1 / -1; text-align: center; }
  .footer-newsletter input { text-align: center; }
  .footer-newsletter button { margin-top: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 420px) {
  .top-strip { font-size: 9px; letter-spacing: 0.1em; padding: 8px 12px; }
  .top-strip span { margin: 0 4px; }
}

/* ===========================================================
 * WOOCOMMERCE
 * Bespoke product page + overrides for cart, checkout, account.
 * =========================================================== */

/* --- BESPOKE SINGLE-PRODUCT (membership tier) --- */
.product-editorial {
  position: relative;
  overflow: hidden;
  padding: 120px 56px 160px;
  text-align: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.product-editorial-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.product-editorial .foliage {
  z-index: 1;
  opacity: 0.12;
  color: var(--leaf);
}
.product-editorial .foliage-1 {
  width: 600px;
  top: 20px;
  left: -120px;
  transform: rotate(-8deg);
}
.product-editorial-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  font-weight: 500;
}
.product-editorial-eyebrow::before,
.product-editorial-eyebrow::after {
  content: '·';
  margin: 0 14px;
  color: var(--ink-muted);
}
.product-editorial-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.product-editorial-title em { font-style: italic; }
.product-editorial-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  line-height: 1.4;
  font-weight: 300;
}
.product-editorial-tagline p { margin: 0; }
.product-editorial .ornament { margin: 0 auto 40px; }
.product-editorial-price {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-editorial-price .currency {
  font-size: 0.4em;
  vertical-align: top;
  margin-right: 8px;
  font-weight: 400;
  color: var(--ink-muted);
}
.product-editorial-price-suffix {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.product-editorial-description {
  text-align: left;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.product-editorial-description p { margin-bottom: 18px; }
.product-editorial-description p strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  display: block;
  margin-bottom: 24px;
}
.product-editorial-description ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.product-editorial-description ul li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.product-editorial-description ul li::before {
  content: '+';
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.2;
}
.product-editorial-description ul li:last-child { border-bottom: none; }
.product-editorial-cart { margin-top: 16px; }
.product-editorial-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 48px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  cursor: pointer;
}
.product-editorial-cta:hover {
  background: transparent;
  color: var(--ink);
}
.product-editorial-note {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Hide WC default elements that we don't want on memberships
   (in case anything else surfaces them via hooks). */
.woocommerce-product-gallery,
.woocommerce-breadcrumb,
.product .product_meta,
.woocommerce-tabs,
#reviews,
.related.products,
.upsells.products,
.product-editorial .price,
.product-editorial .summary,
.single-product #sidebar { display: none !important; }

/* --- GENERIC WC PAGE WRAPPER (cart, checkout, account, shop) --- */
.woocommerce-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  font-family: var(--sans);
  color: var(--ink-soft);
}
.woocommerce-page-wrap h1,
.woocommerce-page-wrap h2,
.woocommerce-page-wrap h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.woocommerce-page-wrap h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 48px; text-align: center; }
.woocommerce-page-wrap h2 { font-size: 28px; margin: 40px 0 20px; font-weight: 400; }
.woocommerce-page-wrap h3 { font-size: 20px; margin: 32px 0 16px; font-weight: 500; letter-spacing: 0; }
.woocommerce-page-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.woocommerce-page-wrap a:hover { color: var(--accent-soft); }

/* WC notice ribbons */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  padding: 18px 24px;
  margin-bottom: 28px;
  font-size: 14px;
  font-family: var(--sans);
  list-style: none;
  border-radius: 0;
}
.woocommerce-error { border-left-color: var(--accent); background: #FBF1F1; }
.woocommerce-message a.button,
.woocommerce-info a.button { float: right; margin-left: 16px; }

/* Tables (cart, order review) */
.woocommerce-page-wrap table.shop_table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 32px;
}
.woocommerce-page-wrap table.shop_table th {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-warm);
  text-align: left;
}
.woocommerce-page-wrap table.shop_table td {
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}
.woocommerce-page-wrap table.shop_table td.product-name,
.woocommerce-page-wrap table.shop_table td.product-name a {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: 17px;
  text-decoration: none;
}
.woocommerce-page-wrap table.shop_table td.product-price bdi,
.woocommerce-page-wrap table.shop_table td.product-subtotal bdi,
.woocommerce-Price-amount bdi {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: 17px;
}
.woocommerce-page-wrap td.product-thumbnail img { max-width: 64px; height: auto; }

/* Cart totals box */
.cart_totals {
  background: var(--paper-warm);
  padding: 32px;
  border: 1px solid var(--line-strong);
  margin-top: 32px;
}
.cart_totals h2 {
  margin-top: 0;
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
}
.cart_totals .order-total .woocommerce-Price-amount {
  font-size: 28px;
  font-family: var(--serif);
}
.wc-proceed-to-checkout { margin-top: 24px; }

/* Coupons + quantity */
.coupon { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.cart .actions { padding: 24px 0 !important; }
.qty {
  width: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

/* Buttons (Woo + form submit) */
.woocommerce-page-wrap .button,
.woocommerce-page-wrap button[type="submit"],
.woocommerce-page-wrap input[type="submit"],
.woocommerce-page-wrap .wc-block-components-button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper) !important;
  border: 1px solid var(--ink);
  padding: 16px 32px;
  text-decoration: none !important;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  line-height: 1.2;
}
.woocommerce-page-wrap .button:hover,
.woocommerce-page-wrap button[type="submit"]:hover,
.woocommerce-page-wrap input[type="submit"]:hover {
  background: transparent;
  color: var(--ink) !important;
}
.woocommerce-page-wrap .button.alt,
.woocommerce-page-wrap a.checkout-button {
  background: var(--accent);
  border-color: var(--accent);
}
.woocommerce-page-wrap .button.alt:hover,
.woocommerce-page-wrap a.checkout-button:hover {
  background: transparent;
  color: var(--accent) !important;
}
.woocommerce-page-wrap a.checkout-button {
  display: block;
  text-align: center;
  padding: 22px 32px;
  font-size: 12px;
}

/* Forms */
.woocommerce-page-wrap form .form-row {
  margin-bottom: 20px;
  display: block;
}
.woocommerce-page-wrap form .form-row label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.woocommerce-page-wrap form input[type="text"],
.woocommerce-page-wrap form input[type="email"],
.woocommerce-page-wrap form input[type="password"],
.woocommerce-page-wrap form input[type="tel"],
.woocommerce-page-wrap form input[type="number"],
.woocommerce-page-wrap form input[type="url"],
.woocommerce-page-wrap form select,
.woocommerce-page-wrap form textarea,
.woocommerce-page-wrap .select2-container .select2-selection {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  font-weight: 300;
  line-height: 1.4;
  height: auto;
}
.woocommerce-page-wrap form input:focus,
.woocommerce-page-wrap form select:focus,
.woocommerce-page-wrap form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.woocommerce-page-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--ink);
}
.woocommerce-page-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}
.woocommerce-page-wrap .select2-dropdown { border-color: var(--line-strong); border-radius: 0; }

/* Checkout */
.woocommerce-checkout #customer_details { margin-bottom: 48px; }
.woocommerce-checkout #order_review_heading {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 24px;
  letter-spacing: -0.01em;
  text-align: left;
}
.woocommerce-checkout #order_review {
  background: var(--paper-warm);
  padding: 32px;
  border: 1px solid var(--line-strong);
}
.woocommerce-checkout-payment {
  background: var(--paper) !important;
  border-radius: 0 !important;
  padding: 24px !important;
  margin-top: 24px;
  border: 1px solid var(--line);
}
.woocommerce-checkout-payment ul.payment_methods {
  border-bottom: 1px solid var(--line) !important;
  padding-bottom: 16px !important;
}
.woocommerce-checkout-payment ul.payment_methods li {
  padding: 12px 0;
  list-style: none;
}
.woocommerce-checkout-payment ul.payment_methods li label {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-checkout-payment div.payment_box {
  background: var(--paper-warm) !important;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 16px;
  margin-top: 8px;
}
.woocommerce-checkout-payment div.payment_box::before { display: none !important; }
#place_order { width: 100%; margin-top: 16px; padding: 22px 32px; font-size: 12px; }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 25%;
  float: left;
}
.woocommerce-account .woocommerce-MyAccount-content {
  width: 70%;
  float: right;
}
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
}
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 400;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--accent); }

/* Login / register forms */
.woocommerce-form-login,
.woocommerce-form-register {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
}
.woocommerce-form-login p,
.woocommerce-form-register p { margin-bottom: 16px; }
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row { margin-bottom: 20px; }
.woocommerce-form-login__rememberme,
.woocommerce-form-login__submit ~ * { font-size: 13px; }
.woocommerce-LostPassword a { font-size: 13px; }

/* Page-content area for Account login wrapper */
.u-columns.woocommerce-Address,
.u-columns.col2-set { display: flex; gap: 32px; flex-wrap: wrap; }
.u-columns .col-1, .u-columns .col-2 { flex: 1 1 320px; }

/* Mobile: tighter padding */
@media (max-width: 768px) {
  .product-editorial { padding: 60px 24px 80px; }
  .woocommerce-page-wrap { padding: 48px 16px 80px; }
  .cart_totals { padding: 24px; }
  .woocommerce-checkout #order_review { padding: 24px; }
}

/* ===========================================================
 * BRIEF v1.0 — magazine-editorial pages
 * Home (hero / statement / three things / journal teaser / closing CTA),
 * Membership (5 inclusions), Approach (founder letter + sections),
 * Apply (form), Contact (triage rows).
 * =========================================================== */

/* --- Hero: brief variant (centered, with eyebrow "By Application") --- */
.hero-brief {
  padding: 140px 56px 160px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--paper);
}
.hero-brief h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 auto 48px;
  max-width: 1100px;
  color: var(--ink);
}
.hero-brief h1 em { font-style: italic; }
.hero-brief .ornament { margin: 0 auto 56px; }
.hero-brief .hero-eyebrow { margin-bottom: 36px; }
.hero-brief .hero-secondary { margin-left: 24px; }

/* --- Statement block: 2 stanzas, centered, with subtle foliage --- */
.statement-block {
  padding: 120px 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.statement-block .foliage {
  z-index: 0;
  color: var(--leaf);
  opacity: 0.08;
}
.statement-block .foliage-1 {
  width: 540px;
  top: 30px;
  left: -110px;
  transform: rotate(-6deg);
}
.statement-block-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.statement-block p {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 36px;
}
.statement-block p:last-child { margin-bottom: 0; }

/* --- The Three Things --- */
.three-things {
  padding: 120px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.three-things .pillar-num {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0;
  line-height: 1;
}

/* --- Journal teaser (homepage, list variant) --- */
.home-journal {
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.journal-list {
  margin-top: 40px;
}
.journal-list-item {
  border-top: 1px solid var(--line-strong);
  padding: 36px 0 40px;
}
.journal-list-item:last-child { border-bottom: 1px solid var(--line-strong); }
.journal-list-meta {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.journal-list-item h4 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--ink);
}
.journal-list-item h4 em { font-style: italic; }
.journal-list-item h4 a {
  color: inherit;
  text-decoration: none;
}
.journal-list-item h4 a:hover { color: var(--accent); }
.journal-list-item p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 760px;
}
.journal-list-read {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  font-weight: 500;
}
.journal-list-read:hover { color: var(--accent); }
.journal-list-read--disabled {
  color: var(--ink-muted);
  cursor: default;
  text-decoration: none;
}

/* --- Generic brief page wrapper (Membership / Approach / Apply / Contact) --- */
.page-brief {
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}
.page-brief-header {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-strong);
}
.page-brief-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}
.page-brief-header h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 1000px;
}
.page-brief-header h1 em { font-style: italic; }
.page-brief-cta {
  margin-top: 80px;
  text-align: center;
}
.page-brief-cta .hero-secondary { padding: 0; }

/* --- Membership: 5 inclusions, alternating two-column --- */
.inclusions { margin-bottom: 80px; }
.inclusion {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.inclusion:last-child { border-bottom: none; }
.inclusion--reverse {
  grid-template-columns: 1.4fr 1fr;
}
.inclusion--reverse .inclusion-image { order: 2; }
.inclusion-image {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf);
  position: relative;
}
.inclusion-image svg { width: 40px; height: 180px; opacity: 0.65; }
.inclusion-image::after {
  content: 'Editorial image';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
/* Real photo: fill the placeholder box, no caption. */
.inclusion-image--photo {
  background: var(--ink);
  border: none;
  padding: 0;
  overflow: hidden;
}
.inclusion-image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inclusion-image--photo::after { display: none; }
.inclusion-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.inclusion-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  color: var(--ink);
}
.inclusion-title em { font-style: italic; }
.inclusion-body p {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
}

.qualifying {
  padding-top: 60px;
  border-top: 1px solid var(--line-strong);
}
.qualifying .section-header { margin-bottom: 40px; }
.qualifying p {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 820px;
}

.pricing-note {
  margin-top: 80px;
  text-align: center;
}
.pricing-note hr {
  border: none;
  border-top: 1px solid var(--line-strong);
  width: 80px;
  margin: 0 auto;
}
.pricing-note p {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 24px 0;
  font-weight: 500;
}

/* --- Approach page --- */
.founder-letter {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.founder-letter .foliage {
  z-index: 0;
  color: var(--leaf);
  opacity: 0.10;
}
.founder-letter .foliage-1 {
  width: 460px;
  top: 60px;
  right: -100px;
  transform: rotate(8deg);
}
.founder-letter-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.founder-letter-inner p {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
}
.founder-letter-inner p:first-child {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 36px;
}
.founder-signature {
  margin-top: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.founder-signature-role {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}

.approach-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.approach-section .section-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: none;
  flex-direction: column;
  align-items: flex-start;
}
.approach-section-body p,
.approach-list li {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 820px;
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.approach-list li {
  padding: 18px 0 18px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.approach-list li:last-child { border-bottom: none; }
.approach-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

/* --- Apply page --- */
.apply-page .apply-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.apply-page .apply-intro p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
}
.apply-form-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}
.apply-privacy-note {
  max-width: 580px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.6;
}

/* CF7 / form styling within the apply wrapper */
.apply-form-wrap .wpcf7-form p {
  margin-bottom: 24px;
}
.apply-form-wrap label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 500;
  font-family: var(--sans);
}
.apply-form-wrap input[type="text"],
.apply-form-wrap input[type="email"],
.apply-form-wrap input[type="tel"],
.apply-form-wrap textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-muted);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  font-weight: 300;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
}
.apply-form-wrap input:focus,
.apply-form-wrap textarea:focus {
  border-bottom-color: var(--accent);
}
.apply-form-wrap textarea { resize: vertical; min-height: 80px; }
.apply-form-wrap .form-submit { text-align: right; margin-top: 32px; }
.apply-form-wrap input[type="submit"],
.apply-form-wrap button[type="submit"] {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 18px 40px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.3s ease;
}
.apply-form-wrap input[type="submit"]:hover,
.apply-form-wrap button[type="submit"]:hover {
  background: transparent;
  color: var(--ink);
}
.apply-form-wrap .wpcf7-response-output {
  border: none !important;
  border-top: 1px solid var(--line-strong) !important;
  padding: 32px 0 0 !important;
  margin: 32px 0 0 !important;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  font-style: italic;
}
.apply-form-wrap .wpcf7-not-valid-tip {
  color: var(--accent) !important;
  font-size: 12px !important;
  font-family: var(--sans) !important;
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.apply-form-wrap .wpcf7 form.sent .wpcf7-form { display: none; }
.apply-form-wrap .wpcf7-spinner { vertical-align: middle; }

/* --- Contact page --- */
.contact-rows {
  max-width: 760px;
  margin: 0 auto;
}
.contact-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.contact-row:last-child { border-bottom: none; }
.contact-row-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.contact-row-body p {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 12px;
  max-width: 540px;
}
.contact-row-email {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px !important;
  color: var(--ink) !important;
  margin-bottom: 0 !important;
  margin-top: 12px !important;
}
.contact-row-email a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.contact-row-email a:hover { color: var(--accent); }

/* --- Final CTA tightening: brief variant uses the same .final-cta class --- */
.final-cta h2 br + em { color: var(--accent-soft); }

/* --- Mobile breakpoints for brief sections --- */
@media (max-width: 900px) {
  .hero-brief { padding: 80px 24px 100px; }
  .statement-block { padding: 80px 24px; }
  .statement-block p { font-size: clamp(22px, 5vw, 32px); }
  .three-things { padding: 80px 24px; }
  .home-journal { padding: 60px 24px; }
  .journal-list-item h4 { font-size: clamp(22px, 5vw, 30px); }

  .page-brief { padding: 60px 16px 80px; }
  .page-brief-header { margin-bottom: 48px; padding-bottom: 24px; }

  .inclusion,
  .inclusion--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .inclusion--reverse .inclusion-image { order: 0; }
  .inclusion-image { aspect-ratio: 3 / 2; max-height: 280px; }

  .approach-section { padding: 40px 0; }
  .approach-section-body p { font-size: 17px; }

  .apply-form-wrap { padding: 40px 24px; }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
}

/* --- Footer (brief v1.0) --- */
.site-footer--brief {
  padding: 80px 56px 32px;
  background: var(--paper);
}
.footer-brief-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  gap: 56px;
  flex-wrap: wrap;
}
.footer-brief-brand .footer-brand-name {
  margin-bottom: 4px;
}
.footer-brief-nav {
  text-align: right;
}
.footer-brief-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-end;
}
.footer-brief-list li {
  padding: 0;
}
.footer-brief-list a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}
.footer-brief-list a:hover { color: var(--accent); }
.footer-bottom--brief {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-footer--brief { padding: 48px 24px 24px; }
  .footer-brief-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .footer-brief-nav { text-align: center; }
  .footer-brief-list { justify-content: center; gap: 20px; }
  .footer-bottom--brief { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===========================================================
 * MOBILE HAMBURGER + OVERLAY MENU
 * =========================================================== */

.nav-hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 8px;
  z-index: 60;
}
.nav-hamburger-bar {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  nav.site-nav {
    grid-template-columns: 1fr;
    padding: 16px 24px;
    position: sticky;
    text-align: center;
  }
  .nav-left-wrap, .nav-right-wrap { display: none; }
  .nav-logo-wrap { width: 100%; }
  .nav-hamburger { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  overflow-y: auto;
  padding: 60px 24px 32px;
}
body.mobile-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
body.mobile-menu-open { overflow: hidden; }

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 1px;
  background: var(--ink);
  transform-origin: center;
}
.mobile-menu-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu-inner {
  text-align: center;
  width: 100%;
  max-width: 480px;
}
.mobile-menu-logo {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-logo a {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}
.mobile-menu-logo .logo-sub {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-top: 4px;
}
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.mobile-menu-list li { padding: 0; }
.mobile-menu-list a {
  display: block;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu-list a:hover { color: var(--accent); }

.mobile-menu-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.mobile-menu-cta {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.mobile-menu-cta--secondary {
  background: var(--paper);
  color: var(--ink);
}
.mobile-menu-cta--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.mobile-menu-cta--primary {
  background: var(--ink);
  color: var(--paper);
}
.mobile-menu-cta--primary:hover {
  background: transparent;
  color: var(--ink);
}

/* ===========================================================
 * SCROLL-TO-TOP BUTTON
 * =========================================================== */

.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--sans);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  padding: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.scroll-top:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.scroll-top svg { display: block; }
.scroll-top-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1px;
}

@media (max-width: 600px) {
  .scroll-top {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
  }
  .scroll-top-label { display: none; }
}

/* ============================================================
   WooCommerce button overrides — beat WC's a.button selectors.

   WC's stylesheet uses selectors like `.woocommerce a.button.alt`
   (specificity 0,2,1) which out-rank the earlier rules in this
   sheet that target `.woocommerce-page-wrap .button.alt`
   (specificity 0,2,0). The block below re-asserts the theme's
   intent — black secondary, accent (maroon) primary — at a
   specificity that wins, on every WC surface (cart, checkout,
   account, notices).
   ============================================================ */

/* Base button — secondary (black) */
body .woocommerce-page-wrap a.button,
body .woocommerce-page-wrap button.button,
body .woocommerce-page-wrap input.button,
body .woocommerce-page-wrap button[type="submit"],
body .woocommerce-page-wrap input[type="submit"],
body .woocommerce-page-wrap .wc-block-components-button,
body .woocommerce-message a.button,
body .woocommerce-info a.button,
body .woocommerce-error a.button {
  background-color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  color: var(--paper) !important;
  padding: 16px 32px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  text-decoration: none !important;
  border-radius: 0;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  display: inline-block;
  float: none;
}
body .woocommerce-page-wrap a.button:hover,
body .woocommerce-page-wrap button.button:hover,
body .woocommerce-page-wrap input.button:hover,
body .woocommerce-page-wrap button[type="submit"]:hover,
body .woocommerce-page-wrap input[type="submit"]:hover,
body .woocommerce-message a.button:hover,
body .woocommerce-info a.button:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--paper) !important;
}

/* Primary CTA — accent (maroon) */
body .woocommerce-page-wrap a.button.alt,
body .woocommerce-page-wrap a.checkout-button,
body .woocommerce-page-wrap button.button.alt,
body .woocommerce-page-wrap input.button.alt,
body .woocommerce-page-wrap #place_order {
  background-color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: var(--paper) !important;
}
body .woocommerce-page-wrap a.button.alt:hover,
body .woocommerce-page-wrap a.checkout-button:hover,
body .woocommerce-page-wrap button.button.alt:hover,
body .woocommerce-page-wrap input.button.alt:hover,
body .woocommerce-page-wrap #place_order:hover {
  background-color: var(--accent-soft) !important;
  border-color: var(--accent-soft) !important;
  color: var(--paper) !important;
}

/* Proceed-to-checkout block button stays full-width / centred */
body .woocommerce-page-wrap a.checkout-button {
  display: block;
  text-align: center;
  padding: 22px 32px;
  font-size: 12px;
}

/* Disabled — Update Cart sits disabled until quantity changes.
   Keep it on-brand (black) but visibly inert. */
body .woocommerce-page-wrap button.button[disabled],
body .woocommerce-page-wrap input.button[disabled],
body .woocommerce-page-wrap a.button.disabled,
body .woocommerce-page-wrap a.button[disabled] {
  background-color: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--paper) !important;
  opacity: 0.35;
  cursor: not-allowed;
}
body .woocommerce-page-wrap button.button[disabled]:hover,
body .woocommerce-page-wrap input.button[disabled]:hover,
body .woocommerce-page-wrap a.button.disabled:hover,
body .woocommerce-page-wrap a.button[disabled]:hover {
  background-color: var(--ink) !important;
  border-color: var(--ink) !important;
}

/* Continue Shopping sits inside the success notice — give it
   breathing room from the message text on mobile. */
body .woocommerce-message a.button,
body .woocommerce-info a.button {
  margin-top: 12px;
  margin-left: 0;
}
@media (min-width: 600px) {
  body .woocommerce-message a.button,
  body .woocommerce-info a.button {
    float: right;
    margin-top: 0;
    margin-left: 16px;
  }
}

/* Static "1" quantity readout for sold-individually products
   (membership tiers). The hidden input renders an empty cell
   otherwise — this gives the customer a visible quantity. */
body .woocommerce-page-wrap td.product-quantity .eterna-qty-static {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

/* ============================================================
   APPLY THANK-YOU HERO
   Rendered by page-apply.php when ?applied=1. Full-bleed nature
   image, large serif headline in white, supportive subhead,
   frosted two-part CTA. References Clinique La Prairie's pattern.
   ============================================================ */
.apply-thanks {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 78vh, 820px);
  background-image:
    linear-gradient(180deg, rgba(10,18,28,0.35) 0%, rgba(10,18,28,0.55) 60%, rgba(10,18,28,0.70) 100%),
    url("assets/thank-you-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
  text-align: center;
  overflow: hidden;
}

.apply-thanks-inner {
  max-width: 720px;
  width: 100%;
}

.apply-thanks-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  margin: 0 0 32px;
}

.apply-thanks-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: rgba(250, 248, 244, 0.92);
  max-width: 560px;
  margin: 0 auto 48px;
}

.apply-thanks-cta {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  border: 1px solid rgba(250, 248, 244, 0.55);
  background: rgba(250, 248, 244, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.apply-thanks-cta-label {
  padding: 18px 28px;
  border-right: 1px solid rgba(250, 248, 244, 0.45);
  line-height: 1.2;
}
.apply-thanks-cta-icon {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0;
}
.apply-thanks-cta:hover {
  background: rgba(250, 248, 244, 0.20);
  border-color: rgba(250, 248, 244, 0.85);
  color: var(--paper);
}

@media (max-width: 600px) {
  .apply-thanks {
    min-height: 72vh;
    padding: 72px 20px;
  }
  .apply-thanks-heading {
    letter-spacing: 0.04em;
  }
  .apply-thanks-cta {
    font-size: 10px;
    letter-spacing: 0.22em;
  }
  .apply-thanks-cta-label { padding: 16px 22px; }
  .apply-thanks-cta-icon  { padding: 16px 18px; }
}
