/*
Theme Name: Garnish
Theme URI: https://garnish.menu
Author: Garnish
Author URI: https://garnish.menu
Description: A custom block theme for Garnish — The finishing touch your menu needs. Full Site Editing (FSE) compatible, with editable block patterns for the landing page, marketing pages, and blog.
Version: 1.8.1
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garnish
Tags: block-theme, full-site-editing, restaurant, one-page, blog
*/

/* ═══════════════════════════════════════════
   GARNISH — Theme Styles
   ═══════════════════════════════════════════ */

/* Base variables — also exposed via theme.json to the editor */
:root {
  --charcoal: #231F20;
  --copper: #B87333;
  --copper-light: #D4935A;
  --sage: #6B8F71;
  --sage-light: #8FB396;
  --sage-dark: #4A6B4F;
  --cream: #F5F0E8;
  --linen: #D4C5B2;
  --warm-white: #FAF8F5;
  --espresso: #1E1B18;
  --text: #3D3832;
  --text-light: #7A7067;
  --error: #C0392B;
  --warning: #E8A838;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Cormorant Garamond', serif; }

/* ── BUTTONS ── */
.wp-block-button.btn > .wp-block-button__link,
.wp-block-button__link.btn,
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 6px;
}
.wp-block-button.btn-primary > .wp-block-button__link,
.wp-block-button__link.btn-primary,
a.btn.btn-primary {
  background: var(--sage) !important;
  color: white !important;
  padding: 12px 28px;
  font-size: 15px;
}
.wp-block-button.btn-primary > .wp-block-button__link:hover,
.wp-block-button__link.btn-primary:hover,
a.btn.btn-primary:hover {
  background: var(--sage-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107,143,113,0.3);
}
.wp-block-button.btn-outline > .wp-block-button__link,
.wp-block-button__link.btn-outline,
a.btn.btn-outline {
  background: transparent !important;
  color: var(--sage) !important;
  border: 1.5px solid var(--sage) !important;
  padding: 11px 26px;
  font-size: 15px;
}
.wp-block-button.btn-outline > .wp-block-button__link:hover,
.wp-block-button__link.btn-outline:hover,
a.btn.btn-outline:hover {
  background: var(--sage) !important;
  color: white !important;
}
.wp-block-button.btn-large > .wp-block-button__link,
.wp-block-button__link.btn-large,
a.btn.btn-large {
  padding: 16px 36px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
}

/* Neutralize default Gutenberg button-wrapper styling — the btn class lands
   on the wrapper div but we want only the inner <a> to look like a button. */
.wp-block-button.btn,
.wp-block-button.btn-primary,
.wp-block-button.btn-outline,
.wp-block-button.btn-large {
  display: inline-block;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── SITE HEADER (for WP admin bar clearance) ── */
.site-header {
  background: var(--espresso);
  padding: 18px 40px;
  border-bottom: 1px solid rgba(107,143,113,0.15);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .site-logo img {
  height: 64px;
  width: auto;
}
.site-header .wp-block-navigation {
  font-size: 14px;
}
/* Match nav link styling to footer-col a (linen at 50% opacity, full on hover). */
.site-header .wp-block-navigation a {
  color: var(--linen);
  opacity: 0.5;
  text-decoration: none;
  padding: 8px 14px;
  transition: opacity 0.2s ease;
}
.site-header .wp-block-navigation a:hover { opacity: 1; color: var(--linen); }

/* ── HERO ── */
.hero {
  min-height: 90vh;
  padding: 80px 40px 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107,143,113,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(184,115,51,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-content { animation: fadeUp 0.8s ease both; }
.hero-logo { margin-bottom: 32px; }
.hero-logo img { height: 320px; width: auto; }
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--sage);
}
.hero h1,
.hero .hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em,
.hero .hero-headline em { font-style: italic; color: var(--sage); }
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-note svg { flex-shrink: 0; }

.hero-visual { position: relative; animation: fadeUp 0.8s ease 0.2s both; }

/* ── SCORE PREVIEW WIDGET ── */
.score-preview {
  background: var(--warm-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
  transform: rotate(2deg);
  position: relative;
}
.score-preview::after {
  content: '';
  position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 18px;
  border: 1px solid rgba(107,143,113,0.15);
  pointer-events: none;
}
.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--charcoal);
}
.sp-score {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: conic-gradient(var(--sage) 0deg 245deg, var(--cream) 245deg 360deg);
  display: flex; align-items: center; justify-content: center;
}
.sp-score-inner {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  color: var(--charcoal);
}
.sp-bars { display: flex; flex-direction: column; gap: 10px; }
.sp-bar-row { display: flex; align-items: center; gap: 12px; }
.sp-bar-label { font-size: 12px; color: var(--text-light); width: 90px; flex-shrink: 0; }
.sp-bar-track { flex: 1; height: 8px; background: var(--cream); border-radius: 4px; overflow: hidden; }
.sp-bar-fill { height: 100%; border-radius: 4px; }
.sp-revenue {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(107,143,113,0.08);
  border-radius: 8px;
  border-left: 3px solid var(--sage);
}
.sp-revenue-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.sp-revenue-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--sage-dark);
  margin-top: 2px;
}
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: float 3s ease-in-out infinite;
}
.badge-issues { background: var(--error); top: 10px; right: -20px; animation-delay: 0s; }
.badge-revenue { background: var(--sage); bottom: 30px; left: -30px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SOCIAL PROOF BAR ── */
.proof-bar {
  background: var(--cream);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
}
.proof-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.proof-divider { width: 1px; height: 40px; background: var(--linen); }

/* ── GENERIC SECTIONS ── */
.gp-section { padding: 100px 40px; }
.gp-section-inner { max-width: 1100px; margin: 0 auto; }
.gp-section.gp-cream { background: var(--cream); }
.gp-section.gp-dark { background: var(--espresso); }
.gp-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.gp-section-label.copper { color: var(--copper); }
.gp-section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 auto 16px;
  line-height: 1.2;
  text-align: center;
  max-width: 720px;
}
.gp-section-heading.light { color: var(--cream); }
.gp-section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}
/* Section labels (the small uppercase eyebrow) stay left-aligned */
.gp-section-label { text-align: left; }

/* ── PROBLEM CARDS ── */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
}
.problem-card.pc-red::before { background: var(--error); }
.problem-card.pc-copper::before { background: var(--copper); }
.problem-card.pc-sage::before { background: var(--sage); }
.problem-card.pc-charcoal::before { background: var(--charcoal); }
/* Icon + title sit side-by-side at the top of each problem card */
.problem-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.problem-icon { font-size: 28px; margin: 0; line-height: 1; flex-shrink: 0; }
.problem-icon img { width: auto; height: 60px; max-width: 60px; display: block; }
.problem-title { font-size: 18px; font-weight: 600; color: var(--charcoal); margin: 0; line-height: 1.2; }
.problem-text { font-size: 16px; line-height: 1.65; color: var(--text-light); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--sage), var(--copper));
  opacity: 0.2;
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: white;
  position: relative;
  z-index: 1;
}
.step-card.sn-sage .step-num { background: var(--sage); }
.step-card.sn-charcoal .step-num { background: var(--charcoal); }
.step-card.sn-copper .step-num { background: var(--copper); }
.step-title { font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.step-desc { font-size: 14px; line-height: 1.65; color: var(--text-light); max-width: 280px; margin: 0 auto; }
.step-detail {
  margin-top: 16px;
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── WHAT YOU GET ── */
.audit-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.audit-categories { display: flex; flex-direction: column; gap: 12px; }
.audit-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.audit-cat:hover { border-color: var(--sage); transform: translateX(4px); }
.audit-cat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.audit-cat-icon img { width: auto; height: 24px; max-width: 28px; }
/* Checkmark variant — used in place of color-tinted SVG icons (v1.8.0). */
.audit-cat-icon.audit-cat-check {
  background: transparent;
  font-size: 22px;
  line-height: 1;
}
.audit-cat-name { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.audit-cat-desc { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.audit-cat-count {
  margin-left: auto;
  font-size: 12px; font-weight: 600;
  color: var(--sage);
  background: rgba(107,143,113,0.08);
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.audit-sample {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}
.sample-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.sample-finding { padding: 14px 0; border-bottom: 1px solid var(--cream); }
.sample-finding:last-child { border-bottom: none; }
.sample-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.badge-issue { background: #FDECEA; color: var(--error); }
.badge-opportunity { background: rgba(107,143,113,0.1); color: var(--sage-dark); }
.badge-suggestion { background: #FEF5E7; color: #8B6914; }
.sample-text { font-size: 14px; line-height: 1.55; color: var(--text); }
.sample-locked {
  margin-top: 16px;
  padding: 14px;
  border: 1.5px dashed var(--linen);
  border-radius: 8px;
  text-align: center;
}
.sample-locked-text { font-size: 13px; color: var(--text-light); }
.sample-lock-icon { width: 14px; height: auto; vertical-align: -2px; margin-right: 4px; opacity: 0.6; }
.sample-locked-text a { color: var(--sage); font-weight: 600; text-decoration: none; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.price-card.featured {
  border: 2px solid var(--sage);
  box-shadow: 0 8px 32px rgba(107,143,113,0.12);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--charcoal);
}
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-light); }
.price-desc { font-size: 14px; color: var(--text-light); margin: 8px 0 24px; line-height: 1.5; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
}
.price-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: start;
  gap: 8px;
  line-height: 1.45;
}
.price-features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-cta { width: 100%; }
.price-cta .btn { width: 100%; }

/* ── PRICING SECTION OVERRIDES ──
   Make the pricing label sage (matching other section labels),
   left-align the headline, and align CTAs to the bottom of each card. */
#pricing .gp-section-label,
#pricing .gp-section-label.copper {
  color: var(--sage) !important;
}
/* (v1.7.0 had pricing-section text-align: left overrides here. Removed in
   v1.8.0 — pricing now follows the global centered subhead/desc rule.) */
#pricing .gp-section-inner.has-text-align-center {
  text-align: left;
}

/* Stretch each price card so all cards in the row share a height,
   then push the CTA to the bottom of the card. */
.pricing-grid { align-items: stretch; }
.wp-block-columns.pricing-grid > .wp-block-column.price-card {
  display: flex;
  flex-direction: column;
}
.price-card .wp-block-buttons.price-cta {
  margin-top: auto;
}
.pricing-free-nudge {
  margin-top: 48px;
  color: var(--espresso);
  font-size: 16px;
  opacity: 0.75;
}
.pricing-free-nudge a {
  color: var(--sage);
  text-decoration: underline;
  font-weight: 600;
}
.pricing-free-nudge a:hover {
  color: var(--copper);
}

/* ── FINAL CTA ── */
.cta-section {
  text-align: center;
  padding: 100px 40px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(107,143,113,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-fine { font-size: 13px; color: var(--text-light); margin-top: 16px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--espresso);
  padding: 48px 40px 32px;
  border-top: 1px solid rgba(107,143,113,0.1);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-wordmark {
  font-size: 15px;
  color: var(--text-light);
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--linen);
  opacity: 0.5;
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

/* ── BLOG ── */
.blog-archive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.blog-archive-header { text-align: center; margin-bottom: 64px; }
.blog-archive-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.blog-archive-desc { font-size: 16px; color: var(--text-light); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.post-card .wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.post-card .wp-block-post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--charcoal);
  padding: 0 24px;
  margin-top: 20px;
  line-height: 1.25;
}
.post-card .wp-block-post-title a { color: inherit; text-decoration: none; }
.post-card .wp-block-post-title a:hover { color: var(--sage); }
.post-card .wp-block-post-date {
  padding: 0 24px;
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.post-card .wp-block-post-excerpt {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 12px;
}

/* Single post */
.single-post-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
}
.single-post-wrap .wp-block-post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}
.single-post-wrap .wp-block-post-date {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}
.single-post-wrap .wp-block-post-featured-image {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}
.single-post-wrap .wp-block-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.single-post-wrap .wp-block-post-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 48px;
  margin-bottom: 16px;
}
.single-post-wrap .wp-block-post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 36px;
  margin-bottom: 12px;
}
.single-post-wrap .wp-block-post-content p { margin-bottom: 20px; }
.single-post-wrap .wp-block-post-content a { color: var(--sage); text-decoration: underline; }

/* Generic page wrap */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
}
.page-wrap .wp-block-post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 32px;
}
.page-wrap .wp-block-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.page-wrap .wp-block-post-content h2,
.page-wrap .wp-block-post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--charcoal);
}

/* ── GUTENBERG BLOCK OVERRIDES ──
   Native columns/groups need their default flex layout overridden so
   our custom grid styles continue to work. */

/* Force grids back to grid layout when Gutenberg made them flex */
.wp-block-columns.problem-grid,
.wp-block-columns.steps-grid,
.wp-block-columns.audit-preview,
.wp-block-columns.pricing-grid {
  display: grid !important;
}
.wp-block-columns.problem-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.wp-block-columns.steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.wp-block-columns.audit-preview { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.wp-block-columns.pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

/* Columns inside grids — strip Gutenberg default flex-basis */
.wp-block-columns.problem-grid > .wp-block-column,
.wp-block-columns.steps-grid > .wp-block-column,
.wp-block-columns.audit-preview > .wp-block-column,
.wp-block-columns.pricing-grid > .wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
}

/* Hero outer group — restore 2-column layout */
.wp-block-group.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Proof-bar group — keep flex spacing tight */
.wp-block-group.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.wp-block-group.proof-bar > .wp-block-group.proof-stat + .wp-block-group.proof-stat {
  border-left: 1px solid var(--linen);
  padding-left: 48px;
}
.wp-block-group.proof-stat { text-align: center; gap: 0; }
.wp-block-group.proof-stat > * { margin: 0; }
.wp-block-group.proof-stat .proof-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--charcoal); }
.wp-block-group.proof-stat .proof-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* Audit-cat — preserve 3-child flex layout with new wp-block-group wrapper */
.wp-block-group.audit-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.wp-block-group.audit-cat-body { flex: 1; gap: 0; }
.wp-block-group.audit-cat-body > * { margin: 0; }

/* Strip default paragraph margins inside cards/labels */
.problem-card > p, .step-card > p, .price-card > p,
.gp-section-inner > .gp-section-label,
.gp-section-inner > .gp-section-desc,
.hero-content > p {
  margin-top: 0;
}

/* Hero buttons spacing */
.wp-block-buttons.hero-cta { gap: 12px; margin-top: 32px; }
.wp-block-buttons.cta-buttons { gap: 12px; }
.wp-block-buttons.price-cta { margin-top: 24px; }

/* Hero note check icon */
.hero-note-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}

/* Hero logo — keep figure margin clean */
figure.wp-block-image.hero-logo { margin: 0 0 24px 0; }

/* Section-inner group — keep block-group from inheriting layout flow gap */
.wp-block-group.gp-section-inner > * + * { margin-top: 16px; }
.wp-block-group.gp-section-inner > .wp-block-columns { margin-top: 48px; }

/* Pricing card features list — neutralize Gutenberg list wrapper paddings */
.price-card ul.wp-block-list.price-features { padding: 0; margin: 0 0 24px 0; list-style: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wp-block-group.hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .wp-block-columns.problem-grid { grid-template-columns: 1fr; }
  .wp-block-columns.steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .wp-block-columns.audit-preview { grid-template-columns: 1fr; }
  .wp-block-columns.pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .wp-block-group.proof-bar { gap: 24px; }
}

@media (max-width: 900px) {
  .hero { padding: 60px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .audit-preview { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .proof-bar { gap: 24px; }
  .proof-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .gp-section { padding: 72px 24px; }
  .cta-section { padding: 72px 24px; }
  .post-grid { grid-template-columns: 1fr; }
  .site-header { padding: 14px 20px; }
  .upload-form-section { grid-template-columns: 1fr; }
}

/* ─── Upload Pages ─── */

.upload-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.upload-hero {
  text-align: center;
  padding: 80px 0 40px;
}

.upload-title {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.upload-subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.upload-form-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 80px;
}

.upload-section-title {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.upload-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-check-item {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.upload-check-item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 1rem;
}

.upload-instructions {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.upload-form-wrapper {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
