/* ==========================================================================
   STOMP Travel — Main Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Epilogue:wght@300;400;500&display=swap');

/* ── CUSTOM PROPERTIES ──────────────────────────────────────────────────── */
:root {
  --bg:        #F7F5F0;
  --bg2:       #EDEAE2;
  --ink:       #18190F;
  --ink2:      #3A3B30;
  --muted:     #7A7B6E;
  --accent:    #2D6A4F;
  --accent2:   #B7562A;
  --gold:      #C9A84C;
  --line:      rgba(24,25,15,0.1);
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'Epilogue', system-ui, sans-serif;
  --radius:    4px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.12);
}

/* ── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.5;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { line-height: 1.1; font-weight: 400; }
p { margin: 0; }

/* Screen reader */
.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text:focus { left: 6px; top: 7px; width: auto; height: auto; z-index: 100000; background: white; padding: 0.75rem 1rem; font-size: 0.875rem; }

/* ── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.section-wrap { max-width: 1140px; margin: 0 auto; padding: 0 4rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); }

.section-h2 {
  font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.5rem);
  line-height: 1.08; letter-spacing: -0.02em; font-weight: 400;
}
.section-h2 em, h1 em, h2 em { font-style: italic; color: var(--accent); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.02em; text-decoration: none; border: none; cursor: pointer;
  border-radius: 100px; transition: all 0.2s; line-height: 1;
  padding: 0.9rem 1.9rem;
}
.btn svg { flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,79,0.3); }

.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-ghost { color: var(--muted); background: transparent; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding-bottom: 2px; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

.btn-ghost-white { border: 1.5px solid rgba(255,255,255,0.3); color: white; background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
.stomp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
/* Homepage: nav overlays hero, becomes fixed on scroll */
body.home .stomp-nav,
body.front-page .stomp-nav {
  position: absolute;
}
body.home .stomp-nav.scrolled,
body.front-page .stomp-nav.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.stomp-nav.scrolled {
  background: rgba(247,245,240,0.93);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.stomp-nav.scrolled .nav-links a { color: var(--muted); }
.stomp-nav.scrolled .nav-links a:hover,
.stomp-nav.scrolled .nav-links a.current-menu-item > a { color: var(--ink); }

/* Inner pages: make nav readable immediately */
body:not(.home):not(.front-page) .stomp-nav {
  background: rgba(247,245,240,0.93);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
body:not(.home):not(.front-page) .nav-links a { color: var(--muted); }
body:not(.home):not(.front-page) .nav-links a:hover,
body:not(.home):not(.front-page) .nav-links .current-menu-item > a { color: var(--ink); }

.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-links .current-menu-item > a { color: white; }
.stomp-nav.scrolled .nav-links a { color: var(--muted); }
.stomp-nav.scrolled .nav-links a:hover,
.stomp-nav.scrolled .nav-links .current-menu-item > a { color: var(--ink); }

.nav-cta { font-size: 0.78rem; padding: 0.55rem 1.3rem; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: all 0.2s; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,14,10,0.92) 0%, rgba(10,14,10,0.75) 30%, rgba(10,14,10,0.35) 60%, rgba(10,14,10,0.15) 80%, transparent 100%),
    linear-gradient(to bottom, rgba(10,14,10,0.5) 0%, transparent 20%);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }

.hero-inner {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 6rem; padding-top: 7rem; min-height: 100vh;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.7s 0.2s forwards;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--accent); display: block; }
.hero-eyebrow-badge {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.2rem 0.7rem; border-radius: 100px; font-size: 0.62rem;
  color: rgba(255,255,255,0.75); letter-spacing: 0.08em; backdrop-filter: blur(6px);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem,8vw,7.5rem);
  line-height: 0.95; letter-spacing: -0.03em; font-weight: 400; color: white;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
  opacity: 0; animation: fadeUp 0.9s 0.35s forwards;
}
.hero-headline em { font-style: italic; color: #f0c060; }
.hero-headline .line2 { display: block; padding-left: 5rem; }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem;
  opacity: 0; animation: fadeUp 0.8s 0.55s forwards;
}
.hero-sub { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 44ch; font-weight: 300; }
.hero-sub strong { font-weight: 500; color: white; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; flex-shrink: 0; }
.hero-trust { font-size: 0.7rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 0.75rem; text-align: right; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; opacity: 0; animation: fadeIn 1s 1.2s forwards; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom,rgba(255,255,255,0.4),transparent); animation: scrollPulse 2s ease-in-out infinite; }
.hero-scroll-text { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── MARQUEE ────────────────────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.9rem 0; background: var(--bg2); }
.marquee-track { display: flex; gap: 2.5rem; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { display: inline-flex; align-items: center; gap: 1.5rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.marquee-item::after { content: '✦'; color: var(--accent); font-size: 0.6em; }

/* ── PROBLEM SECTION ────────────────────────────────────────────────────── */
.section-problem { padding: 8rem 0; border-top: 1px solid var(--line); }
.problem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.problem-text h2 { margin: 1.5rem 0 1.5rem; }
.problem-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.problem-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--ink2); }
.problem-list li::before { content: '×'; color: var(--accent2); font-size: 1.1em; font-family: var(--serif); flex-shrink: 0; margin-top: 0.05em; }
.problem-visual { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 2.5rem; position: relative; overflow: hidden; }
.problem-visual::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle,rgba(183,86,42,0.12),transparent 70%); }
.problem-stat { margin-bottom: 2rem; }
.problem-stat-num { font-family: var(--serif); font-size: 3.5rem; color: var(--accent2); line-height: 1; letter-spacing: -0.03em; }
.problem-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.problem-stat-divider { width: 40px; height: 1px; background: var(--line); margin: 1.5rem 0; }

/* ── FEATURES ───────────────────────────────────────────────────────────── */
.section-features { padding: 8rem 0; background: var(--ink); }
.section-features .section-label { color: rgba(247,245,240,0.4); }
.section-features .section-label::before { background: var(--accent); }
.section-features .section-h2 { color: var(--bg); margin: 1.5rem 0 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,0.07); }
.feature-card { padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); transition: background 0.2s; }
.feature-card:hover { background: rgba(255,255,255,0.03); }
.feature-card:nth-child(3n) { border-right: none; }
.feature-num { font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: var(--accent); margin-bottom: 1.25rem; }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(45,106,79,0.15); border: 1px solid rgba(45,106,79,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.1rem; }
.feature-title { font-family: var(--serif); font-size: 1.3rem; color: var(--bg); line-height: 1.25; margin-bottom: 0.75rem; }
.feature-body { font-size: 0.84rem; line-height: 1.7; color: rgba(247,245,240,0.5); }

/* ── RECEIPT DEMO ───────────────────────────────────────────────────────── */
.receipt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.receipt-text h2 { margin: 1.5rem 0 1.25rem; }
.receipt-text p { color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; font-size: 0.95rem; }
.receipt-quote { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--ink); line-height: 1.5; border-left: 2px solid var(--accent); padding-left: 1.5rem; margin: 2rem 0; }
.receipt-card { background: white; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: float 5s ease-in-out infinite; }
.receipt-card-header { background: var(--accent); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: flex-start; }
.receipt-card-title { font-family: var(--serif); font-size: 1rem; color: white; }
.receipt-card-sub { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
.receipt-card-amount { font-family: var(--serif); font-size: 1.5rem; color: white; }
.receipt-card-body { padding: 1.5rem 2rem; }
.receipt-row { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid #f0f0f0; }
.receipt-row:last-child { border-bottom: none; }
.receipt-row-left { display: flex; align-items: center; gap: 0.6rem; }
.receipt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.receipt-row-name { font-size: 0.78rem; color: #333; }
.receipt-row-sub { font-size: 0.65rem; color: #999; }
.receipt-row-pct { font-size: 0.78rem; font-weight: 500; }
.receipt-bar-wrap { width: 60px; height: 4px; background: #f0f0f0; border-radius: 4px; margin-left: 0.5rem; }
.receipt-bar { height: 100%; border-radius: 4px; }
.receipt-card-footer { background: #f9f9f7; padding: 1rem 2rem; display: flex; align-items: center; }
.receipt-verified { font-size: 0.7rem; color: var(--accent); display: flex; align-items: center; gap: 0.4rem; }

/* ── KPI SHORTCODE BARS ─────────────────────────────────────────────────── */
.kpi-bars-wrap { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 2rem; }
.kpi-label-row { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.kpi-bar-item { margin-bottom: 1.25rem; }
.kpi-bar-item:last-child { margin-bottom: 0; }
.kpi-bar-meta { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.78rem; }
.kpi-bar-meta strong { font-family: var(--serif); }
.kpi-track { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.kpi-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.kpi-muted { background: var(--muted); }
.kpi-mid { background: var(--accent2); }
.kpi-green { background: linear-gradient(90deg,var(--accent),#52b788); }
.kpi-stomp .kpi-track { height: 12px; }
.kpi-note { font-size: 0.65rem; color: var(--accent); margin-top: 0.3rem; }
.kpi-pill-dark { background: var(--ink); border-radius: 10px; padding: 1.25rem; }
.kpi-pill-val { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); letter-spacing: -0.02em; }
.kpi-pill-label { font-size: 0.72rem; color: rgba(247,245,240,0.45); margin-top: 0.3rem; }

/* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-steps { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; }
.how-step { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 160px; position: relative; }
.how-step-num { font-family: var(--serif); font-size: 2.5rem; color: var(--accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.75rem; }
.how-step-title { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-bottom: 0.5rem; }
.how-step-body { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.how-step-arrow { font-size: 1.5rem; color: var(--accent); margin: 1rem 1rem 0; flex-shrink: 0; align-self: flex-start; padding-top: 1.25rem; }

/* ── WHO SECTION ────────────────────────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5px; background: var(--line); border: 1px solid var(--line); }
.who-card { background: var(--bg2); padding: 2.5rem 1.75rem; transition: background 0.2s; }
.who-card:hover { background: var(--bg); }
.who-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.who-title { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.6rem; }
.who-body { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ── ETP SECTION ────────────────────────────────────────────────────────── */
.etp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.etp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.etp-stat-num { font-family: var(--serif); font-size: 2.5rem; color: var(--gold); letter-spacing: -0.03em; }
.etp-stat-label { font-size: 0.75rem; color: rgba(247,245,240,0.4); margin-top: 0.2rem; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.founder-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 1.25rem; }
.founder-flag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.founder-name { font-family: var(--serif); font-size: 1.1rem; color: white; margin-bottom: 0.2rem; }
.founder-bio { font-size: 0.72rem; color: rgba(247,245,240,0.4); line-height: 1.5; }
.etp-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 2.5rem; }
.etp-timeline { display: flex; flex-direction: column; }
.etp-event { display: flex; gap: 1.25rem; padding-bottom: 1.75rem; position: relative; }
.etp-event::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 1px; background: rgba(255,255,255,0.07); }
.etp-event:last-child::before { display: none; }
.etp-event:last-child { padding-bottom: 0; }
.etp-event-dot { width: 21px; height: 21px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(201,168,76,0.4); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.etp-event-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.etp-event-year { font-size: 0.7rem; color: var(--gold); margin-bottom: 0.2rem; letter-spacing: 0.06em; }
.etp-event-desc { font-size: 0.82rem; color: rgba(247,245,240,0.55); line-height: 1.5; }

/* ── BLOG / POSTS ───────────────────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 4rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; color: inherit; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card-visual { height: 180px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 1.25rem; }
.post-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cat { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.post-cat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.post-cat-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: rgba(45,106,79,0.1); border: 1px solid rgba(45,106,79,0.2); padding: 0.2rem 0.65rem; border-radius: 100px; text-decoration: none; }
.post-card-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; background: white; }
.post-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.6rem; flex: 1; }
.post-title a { text-decoration: none; color: inherit; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.post-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.post-date { font-size: 0.72rem; color: var(--muted); }
.post-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.8rem; transition: all 0.2s; }
.post-card:hover .post-arrow { background: var(--accent); border-color: var(--accent); color: white; }

/* Blog filters */
.filter-btn { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 1rem; border-radius: 100px; border: 1.5px solid var(--line); background: none; cursor: pointer; color: var(--muted); transition: all 0.2s; text-decoration: none; display: inline-block; }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: white; }

/* Pagination */
.stomp-pagination { display: flex; justify-content: center; padding: 2rem 0; }
.stomp-pagination ul { display: flex; gap: 0.5rem; list-style: none; }
.stomp-pagination a, .stomp-pagination span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 0.82rem; border: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: all 0.2s; }
.stomp-pagination a:hover, .stomp-pagination .current { background: var(--accent); border-color: var(--accent); color: white; }

/* ── SINGLE POST ────────────────────────────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 5rem; }
.post-content { font-size: 1rem; line-height: 1.8; color: var(--ink2); }
.post-content h2 { font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.2rem); margin: 3rem 0 1rem; }
.post-content h3 { font-family: var(--serif); font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); border-left: 2px solid var(--accent); padding-left: 1.5rem; margin: 2.5rem 0; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content img { border-radius: var(--radius); margin: 2rem 0; }
.sidebar-widget { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.sidebar-cta { background: var(--ink); border-radius: 12px; padding: 1.5rem; }
.sidebar-cta .section-label { color: rgba(247,245,240,0.4); }
.sidebar-cta .section-label::before { background: var(--accent); }

/* ── CONTACT / DEMO PAGE ────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.contact-left { background: var(--ink); padding: 8rem 4rem 4rem; display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.contact-left::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 20% 40%,rgba(45,106,79,0.2),transparent 60%),radial-gradient(ellipse 40% 40% at 80% 80%,rgba(201,168,76,0.08),transparent 60%); pointer-events: none; }
.contact-left-content { position: relative; z-index: 1; }
.contact-left h1 { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; color: white; margin-bottom: 1.5rem; }
.contact-left p { font-size: 0.9rem; color: rgba(247,245,240,0.5); line-height: 1.75; max-width: 36ch; margin-bottom: 2.5rem; }
.contact-reasons { display: flex; flex-direction: column; gap: 1rem; }
.contact-reason { display: flex; align-items: flex-start; gap: 0.9rem; padding: 1rem 1.25rem; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.reason-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }
.reason-title { font-size: 0.85rem; color: rgba(247,245,240,0.85); margin-bottom: 0.2rem; font-weight: 500; }
.reason-body { font-size: 0.75rem; color: rgba(247,245,240,0.4); line-height: 1.5; }
.contact-left-footer { position: relative; z-index: 1; }
.etp-credit { font-size: 0.7rem; color: rgba(247,245,240,0.25); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; line-height: 1.7; }
.etp-credit span { color: var(--accent); }
.contact-right { background: var(--bg); padding: 8rem 4rem 4rem; overflow-y: auto; }
.form-header { margin-bottom: 3rem; }
.form-header h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.form-header p { font-size: 0.88rem; color: var(--muted); }
.form-toggle { display: flex; background: var(--bg2); border-radius: 100px; padding: 4px; margin-bottom: 2.5rem; border: 1px solid var(--line); }
.toggle-btn { flex: 1; padding: 0.6rem 1rem; border-radius: 100px; font-size: 0.78rem; letter-spacing: 0.04em; font-family: var(--sans); border: none; background: none; cursor: pointer; color: var(--muted); transition: all 0.2s; text-align: center; }
.toggle-btn.active { background: white; color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-required { color: var(--accent); }
.form-input, .form-select, .form-textarea { padding: 0.85rem 1.1rem; border: 1.5px solid var(--line); border-radius: 8px; background: white; font-family: var(--sans); font-size: 0.88rem; color: var(--ink); outline: none; transition: border-color 0.2s; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7B6E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-submit { display: flex; flex-direction: column; gap: 0.75rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 1.1rem; font-size: 0.92rem; }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; line-height: 1.5; }
.form-success { text-align: center; padding: 3rem 1rem; }
.success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.success-title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.75rem; }
.success-body { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.contact-alts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-alts-title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.contact-alt-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.contact-alt-row:last-child { border-bottom: none; }
.alt-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.alt-label { font-size: 0.75rem; color: var(--muted); }
.alt-value { color: var(--ink); }
.alt-value a { color: var(--accent); text-decoration: none; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.stomp-footer { background: var(--ink); color: var(--bg); padding: 5rem 0 3rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo-link img { filter: brightness(0) invert(1); height: 32px; width: auto; margin-bottom: 0.75rem; }
.footer-brand-sub { font-size: 0.78rem; color: rgba(247,245,240,0.45); line-height: 1.7; max-width: 26ch; margin-bottom: 1rem; }
.footer-etp-credit { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.footer-etp-logo { height: 22px; width: auto; filter: brightness(0) invert(0.55); }
.footer-etp-credit span { font-size: 0.7rem; color: rgba(247,245,240,0.3); }
.footer-commitments { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.commitment-tag { font-size: 0.62rem; letter-spacing: 0.06em; background: rgba(45,106,79,0.2); border: 1px solid rgba(45,106,79,0.3); color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 100px; }
.footer-col-title { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,245,240,0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(247,245,240,0.65); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--bg); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: rgba(247,245,240,0.3); }
.footer-nav-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-nav-links a { font-size: 0.75rem; color: rgba(247,245,240,0.3); text-decoration: none; transition: color 0.2s; }
.footer-nav-links a:hover { color: rgba(247,245,240,0.7); }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 0.9; transform: scaleY(1.15); } }

.anim-up { opacity: 0; animation: fadeUp 0.8s forwards; }
.anim-up.d1 { animation-delay: 0.1s; }
.anim-up.d2 { animation-delay: 0.25s; }
.anim-up.d3 { animation-delay: 0.4s; }
.anim-up.d4 { animation-delay: 0.55s; }
.anim-up.d5 { animation-delay: 0.7s; }

/* ── PAGE CONTENT (Gutenberg / WP Editor) ───────────────────────────────── */
.page-content-inner { max-width: 780px; }
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--ink2); }
.entry-content > * + * { margin-top: 1.5rem; }
.entry-content h2 { font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.2rem); margin-top: 3rem; }
.entry-content h3 { font-family: var(--serif); font-size: 1.4rem; margin-top: 2.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content blockquote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; border-left: 2px solid var(--accent); padding-left: 1.5rem; margin: 2rem 0; }
.entry-content a { color: var(--accent); }
.entry-content img { border-radius: var(--radius); }
.wp-block-image { margin: 2rem 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .section-wrap { padding: 0 2.5rem; }
  .nav-inner { padding: 1.2rem 2.5rem; }
  .footer-inner { padding: 0 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 960px) {
  .section-wrap { padding: 0 1.5rem; }
  .nav-inner { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-menu-wrap.open .nav-links { display: flex; flex-direction: column; gap: 0; position: fixed; inset: 0; top: 68px; background: var(--bg); padding: 2rem 1.5rem; z-index: 400; }
  .nav-menu-wrap.open .nav-links a { font-size: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
  .nav-hamburger { display: flex; }
  .hero-headline .line2 { padding-left: 0; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { align-items: flex-start; }
  .problem-inner, .receipt-inner, .etp-inner { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.07); }
  .feature-card:nth-child(2n) { border-right: none; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { position: static; height: auto; padding: 7rem 1.5rem 3rem; }
  .contact-right { padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .how-step-arrow { transform: rotate(90deg); margin: 0 0 1rem; }
  .footer-inner { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .features-grid, .who-grid, .posts-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none; }
  .etp-stats, .founders-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-headline { font-size: clamp(3rem, 12vw, 5rem); }
}

/* ── ACCESSIBILITY ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ── PRINT ──────────────────────────────────────────────────────────────── */
@media print {
  .stomp-nav, .stomp-footer, .hero-scroll, .marquee-wrap { display: none; }
  body { background: white; color: black; }
}
