/* ============================================================
   Events HQ — Main Stylesheet
   Fraunces (display serif) + Inter (body sans)
   Mobile-first, Pinterest-aesthetic, affiliate-ready
   ============================================================ */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --canvas:       #FFFFFF;
  --canvas-warm:  #F5F8FB;
  --canvas-mid:   #C3D8E7;
  --ink:          #000000;
  --ink-mid:      #373434;
  --ink-mute:     #6B6868;
  --ink-faint:    #B0AEAE;
  --brand:        #C3D8E7;
  --brand-dark:   #9DBED5;
  --accent-blue:  #C3D8E7;
  --accent-gold:  #373434;
  --divider:      #E6EBEF;
  --white:        #FFFFFF;

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-pill:  999px;

  --shadow-sm:    0 1px 3px rgba(31,27,23,.06), 0 1px 2px rgba(31,27,23,.04);
  --shadow:       0 4px 16px rgba(31,27,23,.08), 0 1px 4px rgba(31,27,23,.04);
  --shadow-lg:    0 12px 40px rgba(31,27,23,.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max-w:        1200px;
  --gap:          clamp(16px, 4vw, 32px);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: none; border: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 7vw, 72px); }
h2 { font-size: clamp(28px, 5vw, 52px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 18px; font-weight: 500; }
h5 { font-size: 15px; font-weight: 600; letter-spacing: 0; }

em { font-style: italic; }

.h-display { font-size: clamp(40px, 5.5vw, 68px); }

p { max-width: 68ch; }
p + p { margin-top: 1em; }

.lede {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: var(--ink-mid);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.small { font-size: 13px; color: var(--ink-mute); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.row { display: flex; align-items: center; gap: var(--gap); }
.grid { display: grid; gap: var(--gap); }

section { padding: clamp(48px, 8vw, 96px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--ink-mid); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-blue {
  background: var(--accent-blue);
  color: var(--ink);
}
.btn-blue:hover { background: #9DBED5; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--divider);
}
.btn-ghost:hover { border-color: var(--ink-faint); background: var(--canvas-warm); }

.btn-brand {
  background: var(--brand);
  color: var(--white);
}
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s;
}
.btn-link:hover { opacity: .65; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── PLACEHOLDER IMAGES (swap for real photos) ────────────── */
.ph {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-radius: inherit;
}
.ph.tablescape  { background: #C3D8E7; }
.ph.bouquet     { background: #9DBED5; }
.ph.sky         { background: #C3D8E7; }
.ph.candy       { background: #E6EBEF; }
.ph.cream       { background: #F5F8FB; color: var(--ink-mute); }
.ph.terracotta  { background: #373434; }
.ph.ivy         { background: #000000; }
.ph.dusk        { background: #6B6868; }
.ph.sage        { background: #9DBED5; }
.ph.dim         { background: #373434; }
.ph.bloom       { background: #C3D8E7; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  border-bottom: 1px solid var(--brand-dark);
  height: 150px;
}

.site-header .container,
.site-header .site-header__inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 100%;
  margin: 0;
  padding-inline: clamp(20px, 4vw, 56px);
}
.site-header .site-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.site-header .site-nav {
  margin: 0 0 0 auto;
  padding: 0;
  flex-shrink: 0;
}
.site-header .site-brand-logo,
.site-header .custom-logo,
.site-header .site-brand img {
  max-height: 124px !important;
  height: auto !important;
  width: auto !important;
  display: block;
}
@media (max-width: 800px) {
  .site-header { height: 96px; }
  .site-header .site-brand-logo,
  .site-header .custom-logo,
  .site-header .site-brand img { max-height: 72px !important; }
}

.site-brand { display: flex; align-items: center; text-decoration: none; }
.site-brand .brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 48px;
}
.site-nav a {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .045em;
  transition: opacity .15s;
}
.site-nav a:hover { opacity: .65; }
.site-nav ul { display: flex; align-items: center; gap: 48px; list-style: none; margin: 0; padding: 0; }
.site-nav li { list-style: none; }
.site-nav .menu-item a { font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: .045em; }
.site-nav .menu-item a:hover { opacity: .65; }
.site-nav .current-menu-item > a { font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }


/* ── Free Guide header CTA ── */
.header-guide-btn {
  display: none !important;
  align-items: center;
  font-size: 13px !important;
  padding: 9px 20px !important;
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  transition: background .15s, color .15s;
  margin-left: 8px;
}
.header-guide-btn:hover { background: var(--ink); color: var(--white); }
@media (max-width: 768px) {
  .header-guide-btn { display: none; }
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all .2s;
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .burger { display: none; }
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gap);
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close-btn {
  align-self: flex-end;
  font-size: 24px;
  color: var(--ink-mid);
  padding: 8px;
  line-height: 1;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  transition: color .15s;
}
.mobile-menu nav a:hover { color: var(--brand); }
.mobile-menu .menu-footer {
  margin-top: auto;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 5.5vw, 80px) 0 clamp(48px, 5.5vw, 80px);
  text-align: center;
  background: linear-gradient(180deg, var(--brand) 0%, #DCE7F0 100%);
  overflow: hidden;
}
.hero-grid {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-inline: var(--gap);
}

.hero h1 {
  margin: 0 0 48px;
  font-size: clamp(56px, 8.8vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: normal;
}
.hero h1 em { font-style: italic; }
.hero .actions {
  justify-content: center;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero .actions .btn {
  padding: 22px 44px;
  font-size: 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
@media (max-width: 640px) {
  .hero .actions .btn { padding: 18px 32px; font-size: 16px; }
  .hero h1 { font-size: clamp(44px, 11vw, 72px); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  color: var(--ink);
}
.stat-item .label {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* Hero art collage */
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / 1;
}
.hero-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas-mid);
}
.hero-tile img, .hero-tile .ph { width: 100%; height: 100%; object-fit: cover; }
.hero-tile.tall { grid-row: span 2; }
.hero-tile.wide { grid-column: span 2; }

.hero-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  padding: 16px 18px;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── CATEGORIES ───────────────────────────────────────────── */
.cats-section { background: var(--canvas-warm); }

.cats-section .container { max-width: 1320px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  justify-items: center;
}
@media (min-width: 600px) { .cats-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } }
@media (min-width: 900px) { .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; } }

.cat-tile {
  border-radius: 50%;
  overflow: hidden;
  background: var(--canvas-mid);
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 280px;
  display: block;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile.featured { aspect-ratio: 1 / 1; grid-column: auto; }

.cat-tile img, .cat-tile .ph {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
}
.cat-tile .cat-label {
  position: static;
  display: block;
  background: none;
  padding: 14px 8px 0;
  color: var(--ink);
  text-align: center;
}
.cat-label .name { font-size: 20px; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; text-align: center; }
.cat-label .count { display: none; }

/* Wrapper so the circle + label stack cleanly */
.cat-tile-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 280px; }
.cat-label .count { font-size: 12px; opacity: .75; margin-top: 2px; }

/* ── FEATURED THEME ───────────────────────────────────────── */
.featured-theme {
  background: var(--ink);
  color: var(--canvas);
}
.featured-theme h2,
.featured-theme h3,
.featured-theme .eyebrow { color: var(--canvas); }
.featured-theme .eyebrow { opacity: .6; }
.featured-theme .lede { color: rgba(245,239,230,.8); }

.featured-theme .container { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 860px) { .featured-theme .container { grid-template-columns: 1fr 1fr; } }

.feature-pieces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.feature-piece {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  color: var(--canvas-warm);
}

.feature-art {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 580px;
}
.feature-main { border-radius: var(--radius-lg); overflow: hidden; }
.feature-side { display: flex; flex-direction: column; gap: 16px; }
.feature-small { border-radius: var(--radius-lg); overflow: hidden; flex: 1; min-height: 0; }
.feature-main img, .feature-main .ph,
.feature-small img, .feature-small .ph { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .feature-art { height: auto; grid-template-columns: 1fr; } .feature-side { flex-direction: row; } .feature-small { aspect-ratio: 1/1; } }

.feature-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ── SHOP GRID ────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .img {
  aspect-ratio: 1 / 1;
  background: var(--brand);
  overflow: hidden;
  padding: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img img, .product-card .img .ph {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform .4s ease;
}
.product-card:hover .img img { transform: scale(1.04); }

.product-card .body { padding: 14px; }
.product-card .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.product-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--canvas-mid);
  color: var(--ink-mid);
}
.product-badge.new { background: var(--accent-blue); }
.product-badge.pick { background: #F5F8FB; color: #000000; }

/* ── ETSY TEMPLATES ───────────────────────────────────────── */
.templates-section { background: var(--canvas-mid); }
.templates-section .container {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
.templates-section .container {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1320px;
}
@media (min-width: 860px) {
  .templates-section .container { grid-template-columns: 0.9fr 1.1fr; }
}
.templates-copy h2 { font-size: clamp(40px, 5.6vw, 76px); white-space: normal; line-height: 1.05; }
.templates-copy h2 em { display: block; }

/* Tinder-style swipe stack */
.template-swipe {
  position: relative;
  height: 420px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  perspective: 1000px;
  touch-action: pan-y;
  user-select: none;
}
.template-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.04);
  overflow: hidden;
}
.template-card .tc-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 10px; }
.template-card .tc-title { font-family: var(--font-display); font-size: 24px; font-style: italic; line-height: 1.25; color: var(--ink); }
.template-card .tc-meta { font-size: 12px; color: var(--ink-mute); margin-top: 14px; }
.tc-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.tc-img-wrap { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; flex-shrink: 0; }
.tc-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-body { padding: 16px 20px 20px; flex: 1; }
.tc-body .tc-title { font-family: var(--font-display); font-size: 17px; font-style: italic; line-height: 1.25; color: var(--ink); }
.tc-body .tc-meta { font-size: 11px; color: var(--ink-mute); margin-top: 6px; }

.template-swipe .swipe-card {
  position: absolute;
  inset: 0;
  cursor: grab;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .25s ease;
  transform-origin: bottom center;
}
.template-swipe .swipe-card:active { cursor: grabbing; }
.template-swipe .swipe-card[data-pos="0"] { transform: translateY(0) rotate(-2deg) scale(1); z-index: 5; }
.template-swipe .swipe-card[data-pos="1"] { transform: translateY(14px) rotate(1.5deg) scale(.96); z-index: 4; opacity: .96; }
.template-swipe .swipe-card[data-pos="2"] { transform: translateY(28px) rotate(-1deg) scale(.92); z-index: 3; opacity: .9; }
.template-swipe .swipe-card[data-pos="3"] { transform: translateY(42px) rotate(2deg) scale(.88); z-index: 2; opacity: .8; pointer-events: none; }
.template-swipe .swipe-card[data-pos="4"] { transform: translateY(56px) rotate(-2deg) scale(.84); z-index: 1; opacity: .6; pointer-events: none; }
.template-swipe .swipe-card[data-pos="5"] { transform: translateY(70px) rotate(1.5deg) scale(.80); z-index: 0; opacity: .4; pointer-events: none; }
.template-swipe .swipe-card.flying-left { transform: translateX(-140%) rotate(-22deg) !important; opacity: 0; transition: transform .45s cubic-bezier(.4,.0,.2,1), opacity .35s ease; }
.template-swipe .swipe-card.flying-right { transform: translateX(140%) rotate(22deg) !important; opacity: 0; transition: transform .45s cubic-bezier(.4,.0,.2,1), opacity .35s ease; }
.template-swipe .swipe-card.dragging { transition: none; }

.template-swipe .swipe-hint {
  position: absolute;
  right: -8px;
  bottom: -42px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .2s, background .2s;
  z-index: 10;
}
.template-swipe .swipe-hint:hover { transform: scale(1.05); background: var(--brand); }

/* ── RENTALS ──────────────────────────────────────────────── */
.rentals-section { background: var(--canvas); }

.local-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 16px;
}
.local-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5CAD6E;
  flex-shrink: 0;
}

.rentals-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 700px) { .rentals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rentals-grid { grid-template-columns: repeat(3, 1fr); } }

.rental-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.rental-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rental-card .img {
  aspect-ratio: 4 / 3;
  background: var(--canvas-mid);
  overflow: hidden;
}
.rental-card .img img, .rental-card .img .ph { width: 100%; height: 100%; object-fit: cover; }
.rental-card .body { padding: 20px; }
.rental-card h3 { font-size: 18px; margin-bottom: 8px; }
.rental-card p { font-size: 14px; color: var(--ink-mid); line-height: 1.55; margin-bottom: 16px; }
.rental-pricing { display: flex; align-items: baseline; gap: 12px; }
.rental-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}
.rental-deposit { font-size: 13px; color: var(--ink-mute); }

/* ── JOURNAL / BLOG ───────────────────────────────────────── */
.journal-section { background: var(--canvas-warm); }

.journal-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 700px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--canvas-mid);
}
.post-card .img img, .post-card .img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .img img { transform: scale(1.04); }
.post-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.post-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; color: var(--ink); }
.post-card p { font-size: 14px; color: var(--ink-mid); flex: 1; }
.post-card .read-more { font-size: 13px; font-weight: 500; color: var(--ink); margin-top: 16px; }

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-section { background: var(--accent-blue); }
.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-box h2 { margin: 12px 0 16px; }
.newsletter-box .lede { margin-bottom: 28px; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(31,27,23,.15);
  background: rgba(255,255,255,.8);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--ink);
  background: var(--white);
}
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form .btn-primary { flex-shrink: 0; }

/* ── PINTEREST CTA ────────────────────────────────────────── */
/* Pinterest CTA — now inline inside the newsletter blue block */
.pinterest-inline {
  max-width: 560px;
  margin: 56px auto 0;
  text-align: center;
  padding-top: 36px;
  border-top: 1px dashed rgba(0,0,0,.12);
}
.btn-pinterest {
  display: none; /* old red pill — replaced */
}
.btn-pinterest-simple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform .15s, box-shadow .15s;
}
.btn-pinterest-simple:hover { transform: translateY(-2px); box-shadow: var(--shadow); opacity: 1; }
.btn-pinterest-simple svg { display: block; flex-shrink: 0; }
.btn-pinterest-icon {
  display: none; /* old style — replaced */
}
.pinterest-tagline {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}

/* ── DECOR PACKAGES (new page) ────────────────────────────── */
.packages-hero {
  background: var(--canvas-warm);
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
}
.packages-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 700px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }

.package-tier {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--divider);
  background: var(--white);
  padding: 28px 24px;
  transition: box-shadow .2s;
}
.package-tier:hover { box-shadow: var(--shadow); }
.package-tier.featured-tier {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(201,166,160,.2);
}
.tier-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 6px;
}
.tier-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.tier-price-note { font-size: 12px; color: var(--ink-mute); margin-bottom: 20px; }
.tier-items { list-style: none; margin-bottom: 24px; }
.tier-items li {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
  display: flex;
  gap: 8px;
}
.tier-items li::before { content: "–"; color: var(--brand); flex-shrink: 0; }

/* ── LINKS PAGE ───────────────────────────────────────────── */
.links-page {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px var(--gap) 72px;
  background: #fff;
}
.links-wrap {
  width: 100%;
  max-width: 440px;
  text-align: center;
}
/* Links page — logo image */
.links-logo {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  display: block;
  margin: 0 auto 18px;
  object-fit: cover;
}

/* Links page — social icon row */
.links-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 28px;
}
.links-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity .15s;
  text-decoration: none;
}
.links-social a:hover { opacity: 1; }
.links-social svg { display: block; }

.links-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.links-avatar span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}
.links-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.links-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mid);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.links-bio {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0 auto 36px;
  max-width: 320px;
}
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-btn {
  display: block;
  padding: 17px 24px;
  background: var(--brand);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.link-btn:hover { background: var(--brand-dark); color: var(--ink); }
.link-btn--brands {
  background: #fff;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.link-btn--brands:hover { background: var(--canvas-warm); }

/* Links page — featured photo block */
.link-photo-block {
  display: block;
  width: 100%;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
}
.link-photo-block img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: opacity .2s;
}
.link-photo-block:hover img { opacity: 0.9; }
.link-photo-cta {
  display: block;
  padding: 13px 24px;
  background: var(--canvas-warm);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.03em;
  border-radius: 0 0 16px 16px;
  transition: background .2s, color .2s;
}
.link-photo-block:hover .link-photo-cta { background: var(--brand); }

/* ── EVENT CATEGORY PAGE ──────────────────────────────────── */
.category-hero {
  background: var(--canvas-warm);
  padding: clamp(40px, 6vw, 72px) 0;
}
.category-hero h1 { margin: 12px 0 16px; }
.category-start-here {
  display: grid;
  gap: 16px;
  margin: 40px 0;
}
@media (min-width: 600px) { .category-start-here { grid-template-columns: repeat(3, 1fr); } }

.start-card {
  background: var(--white);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: all .2s;
}
.start-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.start-card .icon { font-size: 24px; margin-bottom: 10px; }
.start-card h4 { font-size: 15px; margin-bottom: 6px; }
.start-card p { font-size: 13px; color: var(--ink-mute); max-width: none; }

/* Theme / post grid */
.theme-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 600px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .theme-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── SINGLE POST ──────────────────────────────────────────── */
.post-header {
  background: var(--canvas-warm);
  padding: clamp(40px, 6vw, 72px) 0;
}
.post-header .post-meta { margin-bottom: 16px; }
.post-header h1 { margin-bottom: 20px; }
.post-featured-img {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.post-featured-img img { width: 100%; height: auto; display: block; }

.post-body { padding: clamp(40px, 6vw, 72px) 0; }
.post-content {
  max-width: 700px;
  margin: 0 auto;
}
.post-content h2, .post-content h3 { margin: 2em 0 .75em; }
.post-content p { margin-bottom: 1.25em; font-size: 17px; line-height: 1.75; }
.post-content ul, .post-content ol { margin: 1em 0 1.5em 1.5em; }
.post-content li { margin-bottom: .5em; font-size: 17px; }
.post-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: var(--radius); margin: 2em 0; box-shadow: var(--shadow); }

/* Affiliate product block inside posts */
.affiliate-block {
  background: var(--canvas-warm);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 2em 0;
  flex-wrap: wrap;
}
.affiliate-block .thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--canvas-mid);
}
.affiliate-block .info { flex: 1; min-width: 200px; }
.affiliate-block .info h4 { font-size: 16px; margin-bottom: 4px; }
.affiliate-block .info .price { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-hero {
  background: var(--ink);
  color: var(--canvas);
  padding: clamp(56px, 8vw, 96px) 0;
}
.about-hero h1, .about-hero .eyebrow { color: var(--canvas); }
.about-hero .eyebrow { opacity: .6; }

.about-grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
  margin-top: 40px;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--canvas-mid);
}
.about-photo img, .about-photo .ph { width: 100%; height: 100%; object-fit: cover; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-mid);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius);
  background: var(--canvas);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--ink); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── FOOTER (right-aligned brand, v1.0.54) ───────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(245,239,230,.8);
  padding: 40px 0 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.footer-col {
  min-width: 130px;
}
.footer-brand {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
@media (max-width: 699px) {
  .footer-grid { gap: 24px; }
  .footer-brand { margin-left: 0; text-align: left; align-items: flex-start; width: 100%; order: -1; }
}

.footer-logo-link { display: inline-block; line-height: 0; border-radius: 12px; overflow: hidden; }
.footer-logo {
  display: block;
  height: 110px;
  width: 110px;
  max-width: 100%;
  /* No filter — keep the original logo with its blue background */
}

.footer-socials { display: flex; gap: 20px; align-items: center; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,239,230,.75);
  transition: color .15s ease, opacity .15s ease;
  text-decoration: none;
}
.footer-social svg { width: 30px; height: 30px; display: block; }
.footer-email-text { font-size: 13px; color: rgba(245,239,230,.65); margin: 12px 0 0; }
.footer-email-text a { color: rgba(245,239,230,.65); text-decoration: none; }
.footer-email-text a:hover { color: var(--canvas); }
.footer-social:hover { color: var(--canvas); opacity: 1; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,239,230,.55);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(245,239,230,.75);
  transition: color .15s;
}
.footer-col ul li a:hover { color: var(--canvas); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(245,239,230,.4);
}
.footer-legal { display: flex; gap: 14px; }
.footer-legal a { color: rgba(245,239,230,.4); transition: color .15s; font-size: 11px; }
.footer-legal a:hover { color: rgba(245,239,230,.75); }

/* ── 404 PAGE ─────────────────────────────────────────────── */
.error-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gap);
}
.error-404 .num {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 180px);
  font-style: italic;
  color: var(--canvas-mid);
  line-height: 1;
  margin-bottom: 24px;
}
.error-404 h1 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 16px; }
.error-404 p { color: var(--ink-mute); margin-bottom: 32px; }

/* ── UTILITY ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.divider { border: none; border-top: 1px solid var(--divider); }
.mt-auto { margin-top: auto; }
.visually-hidden { @extend .sr-only; }

/* ── AFFILIATE DISCLOSURE BAR ─────────────────────────────── */
.affiliate-bar {
  background: var(--canvas-mid);
  border-bottom: 1px solid var(--divider);
  padding: 8px var(--gap);
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ── RESPONSIVE TWEAKS ────────────────────────────────────── */
@media (max-width: 599px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .template-swipe { height: 340px; max-width: 320px; }
  .actions { gap: 10px; }
  .hero-stats { gap: 20px; }
}


/* ── BEHIND THE HQ ─────────────────────────────────────── */
.behind-hq-section { padding: 80px 0; background: var(--ink); color: var(--white); }
.behind-hq-section .container { max-width: 1100px; }
.behind-hq-section .behind-head { text-align: center; margin-bottom: 56px; }
.behind-hq-section h2 { color: var(--white); font-size: clamp(36px, 5vw, 60px); }
.behind-hq-grid { display: flex; flex-direction: column; gap: 40px; }
.behind-hq-grid .letters { display: flex; gap: 32px; align-items: center; justify-content: center; position: relative; }
.behind-hq-grid .letters-with-photo { gap: 0; align-items: stretch; justify-content: center; width: 100%; }
.behind-hq-grid .letter { text-align: center; position: relative; flex-shrink: 0; width: 120px; }
.behind-hq-grid .letter .big { font-family: var(--font-display); font-size: clamp(56px, 7vw, 100px); line-height: 1; color: var(--brand); }
.behind-hq-grid .letter .arrow { position: absolute; top: 18%; width: 60px; height: 40px; color: var(--brand); opacity: .9; }
.behind-hq-grid .letter .arrow-left { right: -10px; transform: scaleX(-1); }
.behind-hq-grid .letter .arrow-right { left: -10px; }
.behind-hq-grid .hq-photo {
  flex: 1;
  min-width: 0;
  height: clamp(320px, 38vw, 500px);
  border-radius: 12px;
  background: var(--canvas-warm);
  box-shadow: var(--shadow);
  margin: 0 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.behind-hq-grid .hq-photo-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
}
.behind-hq-grid .hq-photo img { width: 100%; height: 100%; object-fit: cover; }
.behind-hq-grid .hq-photo-placeholder {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-align: center;
  line-height: 1.5;
  opacity: .7;
}
.behind-hq-grid .letter .aka { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }
.behind-hq-grid .letter .name { font-size: 22px; font-family: var(--font-display); color: var(--white); }
.behind-hq-grid .copy p { font-size: 17px; line-height: 1.7; color: var(--ink-faint); margin-bottom: 16px; max-width: none; }
.behind-hq-grid .actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@media (max-width: 800px) { .behind-hq-grid { gap: 32px; } .behind-hq-grid .letters-with-photo { flex-direction: column; } .behind-hq-grid .hq-photo { width: 100%; height: 300px; margin: 16px 0; } }

/* ── MADE TO HELP YOU PLAN ─────────────────────────────── */
.plan-help-section { padding: 80px 0; background: var(--canvas-warm); }
.plan-help-section .head { text-align: center; margin-bottom: 48px; }
.plan-help-section h2 { font-size: clamp(36px, 5vw, 60px); }
.plan-help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.plan-help-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.plan-help-card .img { aspect-ratio: 16/10; background: var(--canvas-mid); }
.plan-help-card .body { padding: 28px; }
.plan-help-card h3 { font-size: 26px; margin-bottom: 8px; }
.plan-help-card p { color: var(--ink-mid); font-size: 16px; line-height: 1.6; }
@media (max-width: 800px) { .plan-help-grid { grid-template-columns: 1fr; } }

/* ── SAVED YOU THE SCROLL ──────────────────────────────── */
.scroll-saver-section { padding: 80px 0; background: var(--ink); color: var(--white); }
.scroll-saver-section .container { max-width: 1100px; }
.scroll-saver-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.scroll-saver-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; aspect-ratio: 1; }
.scroll-saver-collage .ph { aspect-ratio: 1; background: var(--brand); border-radius: 4px; opacity: .8; }
.scroll-saver-collage .ph:nth-child(2n) { background: var(--brand-dark); }
.scroll-saver-collage .ph:nth-child(3n) { background: var(--ink-mid); }
.scroll-saver-section h2 { color: var(--white); font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.scroll-saver-section p { color: var(--ink-faint); font-size: 17px; line-height: 1.7; max-width: none; margin-bottom: 24px; }
@media (max-width: 800px) { .scroll-saver-grid { grid-template-columns: 1fr; } }

/* ── HIGHLIGHTER ACCENT ────────────────────────────────── */
.highlight-accent { background: linear-gradient(transparent 60%, var(--brand) 60%); padding: 0 4px; }

/* ── EYEBROW IN MONO ───────────────────────────────────── */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-mute); display: inline-block; }

/* ── LINK TREE PAGE ────────────────────────────────────── */
.linktree-page { min-height: 100vh; background: var(--canvas); padding: 60px 24px; }
.linktree-wrap { max-width: 480px; margin: 0 auto; text-align: center; }
.linktree-logo { width: 120px; margin: 0 auto 24px; display: block; }
.linktree-handle { font-family: var(--font-mono); font-size: 14px; color: var(--ink-mid); margin-bottom: 8px; }
.linktree-bio { font-size: 16px; color: var(--ink-mid); margin-bottom: 32px; line-height: 1.6; }
.linktree-link { display: block; padding: 18px 24px; margin-bottom: 12px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; transition: all .2s; }
.linktree-link:hover { background: var(--brand); }
.linktree-link.primary { background: var(--ink); color: var(--white); }
.linktree-link.primary:hover { background: var(--brand-dark); color: var(--white); }
.linktree-socials { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }
.linktree-socials a { color: var(--ink); font-size: 22px; }


/* ── FOOTER LEGACY OVERRIDES (kept for safety) ───────────── */
.site-footer .footer-affiliate-note {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .02em;
}


/* Event Categories — featured month responsive */
@media (max-width: 800px) {
  .featured-month-grid { grid-template-columns: 1fr !important; }
}

/* ── THEME ARCHIVE PAGES (per event category) ────────────── */
.theme-archive-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  background: var(--canvas);
}
.theme-archive-hero h1 {
  font-size: clamp(56px, 9.5vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
}
.theme-archive-hero h1 em { font-style: italic; }
.theme-archive-hero p {
  font-size: 18px;
  color: var(--ink-mute);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}
.theme-archive-section {
  padding: 24px 0 96px;
  background: var(--canvas);
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: var(--gap);
}
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .theme-grid { grid-template-columns: 1fr; gap: 28px; } }

.theme-tile {
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease;
}
.theme-tile:hover { transform: translateY(-4px); }
.theme-tile .tile-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: var(--canvas-warm);
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.theme-tile .tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-tile .tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--brand) 0%, #DCE7F0 100%);
}
.theme-tile .tile-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-style: italic;
  color: var(--ink);
  opacity: .55;
  line-height: 1.2;
}
.theme-tile .tile-coming {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--ink-mid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  opacity: .85;
}
.theme-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 4px;
  color: var(--ink);
}
.theme-tile .tile-meta {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}


/* ── Blog index hero ── */
.blog-hero {
  background: #000;
  color: #fff;
  padding: 56px 24px 44px;
  text-align: center;
}
.blog-hero .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
}
.blog-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 16px;
}
.blog-hero h1 em { font-style: italic; color: var(--brand); }
.blog-hero-lede {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Blog category chips ── */
.blog-cats {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 99;
}
.blog-cat-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cat-chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.cat-chip:hover,
.cat-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ── Blog index section ── */
.blog-index-section { padding: 48px 0 72px; }
.post-cat-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-dark, #9DBED5);
  margin-bottom: 6px;
}



/* === Blog: featured post on top === */
.post-card-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0 0 56px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  border: 1px solid var(--border);
}
@media (min-width: 840px) {
  .post-card-featured {
    grid-template-columns: 1.25fr 1fr;
    gap: 0;
  }
}
.post-card-featured .img {
  display: block;
  overflow: hidden;
  background: var(--canvas-warm);
  aspect-ratio: 4/3;
}
.post-card-featured .img img,
.post-card-featured .img .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card-featured:hover .img img { transform: scale(1.03); }
.post-card-featured .body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-card-featured h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
}
.post-card-featured h2 a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .25s;
}
.post-card-featured h2 a:hover { background-size: 100% 1px; }
.post-card-featured p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0 0 20px;
}
.post-card-featured .read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
}

/* === Blog: post-meta-row (date + dot + read-time) === */
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
}
.post-meta-row .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-mute);
  display: inline-block;
}

/* === Blog: dense grid (smaller cards on index page) === */
.blog-grid-dense {
  gap: 28px 24px;
}
@media (min-width: 700px) { .blog-grid-dense { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .blog-grid-dense { grid-template-columns: repeat(3, 1fr); } }
.blog-grid-dense .post-card .img { aspect-ratio: 4/3; }
.blog-grid-dense .post-card .body { padding: 18px 20px 22px; }
.blog-grid-dense .post-card h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 8px 0 8px;
}
.blog-grid-dense .post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.blog-grid-dense .post-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.blog-grid-dense .post-cat-eyebrow {
  margin-bottom: 4px;
}
.blog-grid-dense .post-card .post-meta-row {
  margin: auto 0 0;
  font-size: 10px;
}

/* === Tighter section padding so the page reads denser === */
.blog-index-section { padding: 40px 0 56px; }

/* === Pagination styling === */
.blog-index-section .pagination,
.blog-index-section .nav-links {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.blog-index-section .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  min-width: 40px;
  text-align: center;
}
.blog-index-section .page-numbers.current,
.blog-index-section .page-numbers:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ── SINGLE POST — fuller layout (v1.0.35) ──────────────────── */
.affiliate-note {
  background: var(--canvas-warm); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 13px; color: var(--ink-mute); margin-bottom: 2em;
}
.affiliate-note a { color: var(--ink-mid); }

.post-byline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--divider);
}
.byline-ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.byline-text { display: flex; flex-direction: column; }
.byline-name { font-weight: 600; font-size: 14px; }
.byline-sub { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); }
.post-share { margin-left: auto; display: flex; gap: 8px; }
.share-btn {
  font-size: 12px; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1px solid var(--divider); border-radius: var(--radius-pill);
  padding: 7px 16px; transition: background .15s, border-color .15s;
}
.share-btn:hover { background: var(--brand); border-color: var(--brand); }

.post-toc {
  background: var(--canvas-warm); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 22px 26px; margin: 0 0 2.5em;
}
.post-toc-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 12px;
}
.post-toc ol { margin: 0 0 0 1.1em; padding: 0; }
.post-toc li { margin-bottom: 7px; font-size: 15px; }
.post-toc a { color: var(--ink-mid); text-decoration: none; }
.post-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.author-bio {
  display: flex; gap: 24px; align-items: center;
  max-width: 700px; margin: 56px auto 0;
  background: var(--canvas-warm); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.author-bio-img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-mute);
}
.author-bio-text h3 { font-family: var(--font-display); font-size: 24px; margin: 4px 0 8px; }
.author-bio-text p { font-size: 15px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 12px; }
.author-bio-links { display: flex; gap: 18px; }
.author-bio-links a {
  font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--brand); padding-bottom: 1px;
}
.author-bio-links a:hover { border-color: var(--ink); }

.blog-cta {
  max-width: 700px; margin: 28px auto 0;
  background: var(--ink); color: var(--canvas);
  border-radius: var(--radius-lg); padding: clamp(32px,5vw,52px); text-align: center;
}
.blog-cta-inner { max-width: 520px; margin: 0 auto; }
.blog-cta-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--brand);
}
.blog-cta h3 {
  font-family: var(--font-display); font-size: clamp(24px,3vw,32px);
  color: var(--canvas); margin: 10px 0 12px; line-height: 1.15;
}
.blog-cta p { font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: 22px; }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 700px; margin: 28px auto 0;
}
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--divider); border-radius: var(--radius-lg);
  padding: 20px 22px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.post-nav-item:hover { border-color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.post-nav-item.next { text-align: right; }
.post-nav-dir {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink-mute);
}
.post-nav-title { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }

.blog-explore { margin: 48px auto 0; text-align: center; }
.blog-explore-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 14px;
}
.blog-explore-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-explore-chips a {
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink);
  background: var(--canvas-warm); border: 1px solid var(--divider);
  border-radius: var(--radius-pill); padding: 8px 16px;
  transition: background .15s, border-color .15s;
}
.blog-explore-chips a:hover { background: var(--brand); border-color: var(--brand); }

@media (max-width: 600px) {
  .post-byline { flex-wrap: wrap; }
  .post-share { margin-left: 0; width: 100%; }
  .author-bio { flex-direction: column; text-align: center; }
  .author-bio-links { justify-content: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }
}

.post-content h2 { scroll-margin-top: 96px; }

/* ── CATEGORY ICONS ─────────────────────────────────────────── */
.cat-label { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cat-icon { width: 60px; height: 60px; object-fit: contain; display: block; }

/* ── v1.0.75: "Looks expensive" favorites cards — white image box, object-fit:contain + 18px padding so wide products show in full with breathing room, 5 cards/row on desktop ── */
.shop-grid .product-card .img { aspect-ratio: 1 / 1 !important; padding: 18px !important; background: #FFFFFF !important; }
.shop-grid .product-card .img img,
.shop-grid .product-card .img .ph { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain !important; }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 18px !important; } }

/* ── v1.0.77: Behind the HQ — full (uncropped) photo with baked-in arrows, centered single paragraph with balanced line lengths, bigger centered buttons ── */
.behind-hq-grid .hq-photo { aspect-ratio: 4 / 3; height: auto; }
.behind-hq-grid .copy.copy-centered { text-align: center; max-width: 780px; margin: 8px auto 0; }
.behind-hq-grid .copy.copy-centered p { margin-left: auto; margin-right: auto; text-wrap: balance; }
.behind-hq-grid .copy.copy-centered .actions { justify-content: center; }
.behind-hq-grid .copy.copy-centered .actions .btn { padding: 15px 32px; font-size: 16px; }
@media (max-width: 800px) { .behind-hq-grid .hq-photo { height: auto; aspect-ratio: 4 / 3; } }


/* ============================================================
   MOBILE FIXES v92
   ============================================================ */

/* 1. Homepage: prevent horizontal scroll / white bar */
html, body { overflow-x: hidden; }

/* 2. Homepage: wrap H2 with inline white-space:nowrap on small screens */
@media (max-width: 900px) {
  h2[style*="white-space"] { white-space: normal !important; }
  h2 { max-width: 100%; }
}

/* 3. Plan page hero heading: shrink font so "Made to Help You Plan"
      fits on one line at 390px (clamp min was 40px, now 28px) */
@media (max-width: 599px) {
  h2[style*="clamp(40px"] { font-size: clamp(28px, 7.5vw, 40px) !important; }
}

/* 4. Feature cards (Planning Templates / How-To Guides):
      2-col inline grid -> stack to 1 col on mobile */
@media (max-width: 767px) {
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* 5. Blog post grid: 4-col inline grid -> 2-col on mobile */
@media (max-width: 767px) {
  [style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 6. Plan page FAQ grid: 2-col class-based grid -> 1-col on mobile */
@media (max-width: 767px) {
  .plan-faq-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* 7. "Saved You the Scroll" photo mosaic: flatten to a clean
      2-col grid on mobile - text box full width on top, then
      4 rows of uniform 3:4 photos. Removes the black gaps. */
@media (max-width: 767px) {
  .ehq-pg {
    grid-template-columns: 1fr 1fr !important;
    height: auto !important;
    max-height: none !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .ehq-pc, .ehq-pi, .ehq-pt { display: contents !important; }
  .ehq-txt { grid-column: 1 / -1 !important; order: -1; }
  .ehq-ptg { display: none !important; }
  .ehq-img { aspect-ratio: 3 / 4 !important; height: auto !important; }
  /* trim duplicate photos so the grid ends on a full row */
  .ehq-pg > .ehq-pc:nth-child(5) img,
  .ehq-pg > .ehq-pc:nth-child(4) .ehq-pi img:nth-child(3) { display: none !important; }
}


/* ============================================================
   MOBILE FIXES v93
   ============================================================ */

/* 8. Behind the HQ: force row layout on mobile so H/Q labels sit
      beside the photo where the baked-in arrows point */
@media (max-width: 800px) {
  .behind-hq-grid .letters-with-photo { flex-direction: row !important; align-items: center !important; }
  .behind-hq-grid .letter { width: 72px !important; padding: 0 4px !important; }
  .behind-hq-grid .letter .big { font-size: 34px !important; }
  .behind-hq-grid .letter .aka { font-size: 10px !important; }
  .behind-hq-grid .letter .name { font-size: 14px !important; }
  .behind-hq-grid .hq-photo { width: auto !important; flex: 1 !important; height: auto !important; aspect-ratio: 1600 / 1198 !important; margin: 0 6px !important; }
}

/* 9. Supply Shop: event category grid (6 cols) -> 3 cols on mobile */
@media (max-width: 767px) {
  [style*="grid-template-columns:repeat(6,1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

/* 10. Supply Shop: product cards (auto-fill minmax 200px) -> 2 cols on mobile */
@media (max-width: 767px) {
  [style*="minmax(200px,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 11. Connect page stats row: keep 580+ / 12 / 278+ on one line
       at any phone width (.ehq-stats class added to the row via REST) */
@media (max-width: 767px) {
  .ehq-stats { flex-wrap: nowrap !important; }
  .ehq-stats > div { flex: 1 1 0 !important; min-width: 0 !important; padding: 4px 6px !important; }
  .ehq-stats > div > div:first-child { font-size: 24px !important; }
  .ehq-stats > div > div:last-child { font-size: 11px !important; }
}

/* 12. Contact form: reduce internal padding on mobile so fields aren't cramped */
@media (max-width: 767px) {
  .contact-form-wrap { padding: 20px !important; }
}


/* ============================================================
   MOBILE FIXES v94
   ============================================================ */

/* 13. Etsy template swipe stack (home + shop): the fanned cards and
       arrow button hang ~70px below the stack and were sitting on top
       of the eyebrow below when the section is single column. */
@media (max-width: 859px) {
  .template-swipe { margin-bottom: 76px; }
}

/* 14. Footer: balanced mobile layout - brand centered on top,
       three link columns sharing the full width beneath. */
@media (max-width: 699px) {
  .footer-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; }
  .footer-brand { grid-column: 1 / -1; text-align: center !important; align-items: center !important; }
  .footer-col { min-width: 0 !important; }
  .footer-col ul li a { font-size: 12px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* 15. Connect: photo sits at the BOTTOM of each stacked block so
       Our Story / Our Mission / What We Do all read text-first. */
@media (max-width: 800px) {
  .mission-grid > div:first-child { order: 2; }
}
