/*
Theme Name: Votisky
Theme URI: https://votisky.com
Author: Peter Votisky
Version: 4.1.0
Text Domain: votisky
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Sora:wght@300;400;500;600&display=swap');

/* ── Variables ───────────────────────────────── */
:root {
  --bg:        #F4F0E8;
  --bg-alt:    #EDE9DF;
  --ink:       #1A1814;
  --ink-soft:  #4A4640;
  --accent:    #B5601E;
  --accent-lt: #E8C4A0;
  --white:     #FDFAF4;
  --border:    rgba(26,24,20,0.11);
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'Sora', system-ui, sans-serif;
  --max:       1100px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { color: var(--ink-soft); max-width: 66ch; }
strong { color: var(--ink); font-weight: 500; }

/* ── Typography ──────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 0.95rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.03em; }

/* ── Layout ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section--alt {
  background: var(--bg-alt);
  background-image: radial-gradient(rgba(26,24,20,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}
.section--dark { background: var(--ink); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(253,250,244,0.62); }
.section--accent { background: var(--accent); }
.section--accent h2,.section--accent h3 { color: var(--white); }
.section--accent p { color: rgba(253,250,244,0.75); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

/* ── Progress Bar ────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 200;
  width: 0%;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Scroll to Top ───────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
  z-index: 90;
  font-family: var(--sans);
  box-shadow: 0 4px 20px rgba(26,24,20,0.25);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); }

/* ── Navigation ──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), padding 0.3s;
  background: transparent;
  border-bottom: 1px solid rgba(244,240,232,0.07);
}
.site-header.scrolled {
  background: rgba(244,240,232,0.96);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px clamp(24px, 5vw, 64px);
}

/* Nav logo — compact mark only with dot accent */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; text-decoration: none; }
.nav-logo__mark { flex-shrink: 0; }
.nav-logo__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  color: var(--white);
  transition: color 0.4s;
  line-height: 1;
}
.nav-logo__accent {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 1px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.4s, max-width 0.4s var(--ease);
}
.site-header.scrolled .nav-logo__accent { opacity: 1; max-width: 80px; }
.site-header.scrolled .nav-logo__name { color: var(--ink); }
.nav-logo__mark path { transition: stroke 0.4s; }
.nav-logo__mark rect { transition: fill 0.4s; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.68);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.site-header.scrolled .nav-links a { color: var(--ink-soft); }
.site-header.scrolled .nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.73rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #9d521a !important; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: all 0.3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ── Marquee Strip ───────────────────────────── */
.marquee-strip {
  background: var(--accent);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,250,244,0.85);
  padding: 0 40px;
}
.marquee-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(253,250,244,0.45);
  vertical-align: middle;
  margin: 0 8px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 0;
}

.hero-bg-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 560px);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow--1 { width: 500px; height: 500px; background: rgba(181,96,30,0.12); top: -100px; right: 0; }
.hero-glow--2 { width: 300px; height: 300px; background: rgba(181,96,30,0.07); bottom: 0; left: 10%; }

.hero-inner {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  color: var(--white);
  margin-bottom: 36px;
  max-width: 920px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.hero-title .line:nth-child(2) .line-inner { transition-delay: 0.12s; }
.hero-title .line:nth-child(3) .line-inner { transition-delay: 0.24s; }
.hero-title .line-inner.revealed { transform: translateY(0); opacity: 1; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(244,240,232,0.6);
  margin-bottom: 52px;
  max-width: 50ch;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.45s var(--ease), transform 0.7s 0.45s var(--ease);
}
.hero-sub.revealed { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.6s var(--ease), transform 0.7s 0.6s var(--ease);
}
.hero-actions.revealed { opacity: 1; transform: translateY(0); }
.hero-note { font-size: 0.78rem; color: rgba(244,240,232,0.35); margin-left: 6px; }

/* ── Scroll-reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #9d521a; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(244,240,232,0.28); }
.btn-outline:hover { border-color: rgba(244,240,232,0.7); background: rgba(244,240,232,0.07); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1.5px solid rgba(26,24,20,0.25); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--accent); color: var(--white); }

/* ── Divider ─────────────────────────────────── */
.divider {
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-bottom: 40px;
  transition: width 0.8s var(--ease);
}
.divider.visible { width: 48px; }

/* ── Thread Cards ────────────────────────────── */
.thread-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.thread-card {
  background: var(--white);
  padding: clamp(40px, 5.5vw, 72px);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s var(--ease), background 0.25s;
  position: relative;
  overflow: hidden;
}
.thread-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease);
}
.thread-card:hover::before { height: 100%; }
.thread-card:hover { background: var(--bg-alt); transform: translateY(-4px); text-decoration: none; }
.thread-card__label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: block; }
.thread-card h3 { margin-bottom: 16px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.thread-card p { font-size: 0.92rem; margin-bottom: 32px; max-width: 40ch; line-height: 1.7; }
.thread-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.thread-card:hover .thread-card__arrow { gap: 16px; }

/* ── Stats ───────────────────────────────────── */
.stat-card {
  background: var(--white);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.7s var(--ease);
}
.stat-card.visible::after { width: 100%; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-card h4 { font-size: 0.8rem; margin-bottom: 8px; }
.stat-card p { font-size: 0.84rem; max-width: none; line-height: 1.65; }

/* ── Feature List ────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.feature-list li {
  padding: 26px 30px;
  background: var(--white);
  border-left: 3px solid var(--accent-lt);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s;
}
.feature-list li:hover { border-left-color: var(--accent); transform: translateX(6px); background: var(--bg-alt); }
.feature-num { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 32px; }
.feature-text h4 { font-size: 0.88rem; margin-bottom: 6px; }
.feature-text p { font-size: 0.85rem; margin: 0; max-width: none; line-height: 1.65; }

/* ── Sessions Grid ───────────────────────────── */
.sessions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; margin-top: 52px; }
.session-card {
  background: var(--white);
  padding: 34px 28px;
  transition: background 0.25s, transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.session-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 3px;
  background: var(--accent);
  transition: left 0.4s var(--ease);
}
.session-card:hover::before { left: 0; }
.session-card:hover { background: var(--bg-alt); transform: translateY(-4px); }
.session-card__num { font-family: var(--serif); font-size: 2.6rem; color: var(--accent-lt); line-height: 1; margin-bottom: 18px; transition: color 0.25s; }
.session-card:hover .session-card__num { color: var(--accent); }
.session-card h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.session-card p { font-size: 0.86rem; max-width: none; line-height: 1.7; }

/* ── Pricing Box ─────────────────────────────── */
.pricing-box {
  background: var(--white);
  padding: clamp(40px, 5.5vw, 64px);
  max-width: 560px;
  margin: 60px auto 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.pricing-box__price { font-family: var(--serif); font-size: 4.2rem; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.pricing-box__label { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 36px; }
.pricing-box__includes { list-style: none; text-align: left; margin-bottom: 40px; display: flex; flex-direction: column; gap: 13px; }
.pricing-box__includes li { font-size: 0.9rem; color: var(--ink-soft); padding-left: 20px; position: relative; }
.pricing-box__includes li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ── Checklist ───────────────────────────────── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.checklist li { font-size: 0.93rem; color: var(--ink-soft); padding-left: 24px; position: relative; line-height: 1.65; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ── Pull Quote ──────────────────────────────── */
.pull-quote { border-left: 4px solid var(--accent); padding: 26px 34px; background: var(--white); margin: 48px 0; }
.pull-quote p { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--ink); max-width: none; line-height: 1.65; }

/* ── CTA Box ─────────────────────────────────── */
.cta-box { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-box h2 { margin-bottom: 22px; }
.cta-box p { margin: 0 auto 44px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Blog ────────────────────────────────────── */
.blog-header {
  background: var(--ink);
  padding-top: calc(clamp(80px,10vw,150px) + 80px);
  padding-bottom: clamp(64px,9vw,120px);
}
.blog-header h1 { color: var(--white); }
.blog-header p { color: rgba(244,240,232,0.58); margin-top: 18px; font-size: 1.05rem; }
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.filter-btn {
  padding: 9px 24px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1.5px solid rgba(244,240,232,0.18);
  background: transparent;
  color: rgba(244,240,232,0.58);
  font-family: var(--sans);
  text-decoration: none;
  transition: all 0.22s;
}
.filter-btn:hover,.filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); text-decoration: none; }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.post-card {
  background: var(--white);
  padding: 38px 32px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s var(--ease), background 0.25s;
  position: relative;
  overflow: hidden;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.post-card:hover::before { width: 100%; }
.post-card:hover { background: var(--bg-alt); transform: translateY(-4px); text-decoration: none; }
.post-card__cat { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.post-card h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.2; }
.post-card p { font-size: 0.88rem; margin-bottom: 24px; line-height: 1.7; }
.post-card__meta { font-size: 0.73rem; color: var(--ink-soft); opacity: 0.5; }

/* ── Single Post ─────────────────────────────── */
.post-header {
  background: var(--ink);
  padding-top: calc(clamp(80px,10vw,150px) + 80px);
  padding-bottom: clamp(64px,9vw,120px);
}
.post-header h1 { color: var(--white); max-width: 820px; }
.post-header__meta { font-size: 0.82rem; color: rgba(244,240,232,0.4); margin-top: 22px; }
.post-content { padding: clamp(52px,7vw,100px) 0; max-width: 740px; }
.post-content p { margin-bottom: 1.65rem; font-size: 1.05rem; line-height: 1.85; }
.post-content h2 { margin: 3rem 0 1.2rem; }
.post-content h3 { margin: 2.2rem 0 0.8rem; }
.post-content ul,.post-content ol { padding-left: 1.5rem; margin-bottom: 1.65rem; color: var(--ink-soft); }
.post-content li { margin-bottom: 0.6rem; line-height: 1.75; }
.post-content blockquote { border-left: 4px solid var(--accent); padding: 22px 32px; background: var(--white); margin: 2.4rem 0; font-style: italic; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
.post-nav { padding: 44px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ── Members ─────────────────────────────────── */
.members-hero {
  background: var(--ink);
  padding-top: calc(clamp(80px,10vw,150px) + 80px);
  padding-bottom: clamp(64px,9vw,120px);
}
.members-hero h1 { color: var(--white); }
.members-hero p { color: rgba(244,240,232,0.58); margin-top: 16px; }
.members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; margin-top: 52px; }
.member-card { background: var(--white); padding: 38px 32px; transition: transform 0.3s var(--ease), background 0.25s; }
.member-card:hover { transform: translateY(-4px); background: var(--bg-alt); }
.member-card__icon { font-size: 1.8rem; margin-bottom: 20px; }
.member-card h4 { margin-bottom: 12px; }
.member-card p { font-size: 0.88rem; max-width: none; margin-bottom: 24px; line-height: 1.7; }
.member-card .btn { font-size: 0.8rem; padding: 11px 24px; }

/* ── Auth ────────────────────────────────────── */
.auth-box { max-width: 420px; margin: 0 auto; background: var(--white); padding: clamp(36px,5vw,56px); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 9px; color: var(--ink); text-transform: uppercase; }
.form-field input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 2px; font-family: var(--sans); font-size: 0.9rem; background: var(--bg); color: var(--ink); transition: border-color 0.2s; }
.form-field input:focus { outline: none; border-color: var(--accent); }
.form-submit { width: 100%; margin-top: 8px; }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--ink);
  padding: clamp(64px,9vw,110px) 0 44px;
  background-image: radial-gradient(rgba(181,96,30,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(36px,6vw,100px); margin-bottom: 64px; }
.footer-logo { font-family: var(--serif); font-size: 1.25rem; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo__sub { font-family: var(--sans); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); padding-bottom: 1px; }
.footer-desc { font-size: 0.86rem; color: rgba(253,250,244,0.42); max-width: 28ch; line-height: 1.75; }
.footer-col h5 { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(253,250,244,0.3); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 0.86rem; color: rgba(253,250,244,0.58); text-decoration: none; transition: color 0.2s; position: relative; display: inline-block; }
.footer-col ul a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease); }
.footer-col ul a:hover { color: var(--accent); }
.footer-col ul a:hover::after { width: 100%; }
.footer-bottom { border-top: 1px solid rgba(253,250,244,0.06); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.76rem; color: rgba(253,250,244,0.28); }

/* ── WP Core ─────────────────────────────────── */
.wp-block-image { margin: 2.2rem 0; }
.screen-reader-text { position: absolute; left: -9999px; }
.page-numbers { display: inline-flex; gap: 4px; margin-top: 52px; }
.page-numbers a, .page-numbers span { padding: 9px 16px; border: 1.5px solid var(--border); font-size: 0.82rem; font-family: var(--sans); display: inline-block; transition: all 0.2s; color: var(--ink-soft); }
.page-numbers a:hover, .page-numbers .current { background: var(--accent); color: var(--white); border-color: var(--accent); text-decoration: none; }

/* ── Login page ──────────────────────────────── */
body.login { background: #F4F0E8; font-family: 'Sora', system-ui, sans-serif; }
.login h1 a { background-image: none; font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; color: #1A1814; text-indent: 0; width: auto; height: auto; }
.login form { border: none; box-shadow: none; background: #FDFAF4; border-radius: 2px; }
.login input[type=text]:focus,.login input[type=password]:focus { border-color: #B5601E; box-shadow: 0 0 0 1px #B5601E; }
.login .button-primary { background: #1A1814; border-color: #1A1814; border-radius: 2px; box-shadow: none; text-shadow: none; }
.login .button-primary:hover { background: #B5601E; border-color: #B5601E; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(244,240,232,0.98);
    backdrop-filter: blur(18px);
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
    z-index: 99;
    animation: slideDown 0.3s var(--ease);
  }
  .nav-links.open a { color: var(--ink-soft) !important; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
  .nav-toggle { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .thread-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .sessions-grid { grid-template-columns: 1fr; }
  .hero-bg-mark { display: none; }
  .scroll-top { bottom: 20px; right: 20px; }
}
