/* ==========================================================================
   RAZICO REBUILD — DESIGN PASS v1
   Brand colors and typography matched to live razico.co.
   Structure inspired by staircaseflow.com.
   Binding: ai-website-tells-and-rules.md
   Desktop-first, 1280px+. Not responsive (per Tzvi).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Razico brand */
  --yellow: #F5CC1C;
  --yellow-hover: #DEBB14;
  --yellow-soft: #FFF5C8;

  --navy: #1E293B;
  --navy-deep: #0F172A;
  --ink: #111111;

  --text: #111111;
  --text-muted: #475569;
  --text-soft: #6B7280;

  --white: #FFFFFF;
  --bg-subtle: #F7F8FA;

  --border: #E5E7EB;
  --border-dark: #2F3B50;

  --maxw: 1280px;
  --pad: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  display: inline-block;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--ink); }

p { font-size: 17px; line-height: 1.65; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ==========================================================
   NAV
   ========================================================== */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, backdrop-filter 0.2s;
}
nav.top.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  max-width: 100%;
}
nav.top .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
nav.top .brand img {
  height: 56px;
  width: auto;
  display: block;
}
nav.top ul {
  display: flex;
  gap: 44px;
  list-style: none;
  align-items: center;
}
nav.top a.navlink {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}
nav.top a.navlink:hover,
nav.top a.navlink.active { color: var(--yellow-hover); }
nav.top .cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: all 0.2s;
}
nav.top .cta:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ==========================================================
   BUTTONS — pill style matching live razico
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hover); color: var(--ink); border-color: var(--ink); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--white); border-color: var(--white); }
.btn-dark:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

.btn-stack {
  flex-direction: column;
  gap: 4px;
  padding: 16px 36px;
}
.btn-stack .main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.btn-stack .sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  font-style: italic;
  opacity: 0.85;
}

/* ==========================================================
   HERO — yellow, full-width H1 row + split row below
   ========================================================== */
.hero {
  background: var(--yellow);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-top { margin-bottom: 70px; }
.hero .eyebrow { color: var(--ink); }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 90px;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  max-width: 100%;
}
.hero .hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 480px;
  gap: 80px;
  align-items: center;
}
.hero .sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 620px;
  font-weight: 400;
}
.hero .sub strong { font-weight: 700; }
.hero .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero .cta-sub-text {
  font-size: 14px;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  opacity: 0.8;
}
.hero .video-wrap {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  display: block;
}
.hero .video-wrap iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* ==========================================================
   KLAVIYO PARTNER STRIP
   ========================================================== */
.klaviyo-partner {
  background: var(--bg-subtle);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.klaviyo-partner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.klaviyo-partner img {
  height: 64px;
  width: auto;
  display: block;
}
.klaviyo-partner .copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  max-width: 460px;
  line-height: 1.5;
}

/* ==========================================================
   RON QUOTE
   ========================================================== */
.ron-quote { padding: 100px 0; background: var(--white); }
.ron-quote .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.ron-quote .who {
  border-left: 6px solid var(--yellow);
  padding-left: 24px;
}
.ron-quote .who .quote-mark {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  line-height: 0.8;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 12px;
}
.ron-quote .who .name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ron-quote .who .role {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ron-quote blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ==========================================================
   STATS BAND — dark navy
   ========================================================== */
.stats {
  background: var(--navy-deep);
  color: var(--white);
  padding: 90px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.stats .stat { text-align: left; }
.stats .figure {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.stats .label {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 320px;
}

/* ==========================================================
   LOGO WALL
   ========================================================== */
.logos { padding: 100px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
}
.logos .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 24px;
  align-items: center;
}
.logos .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  background: var(--white);
  color: #8A8780;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 0 8px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logos a.logo:hover { filter: grayscale(0%); opacity: 1; color: var(--ink); }

/* ==========================================================
   EMAIL GALLERY MARQUEE — auto-scrolling staircase-style
   ========================================================== */
.email-gallery { padding: 100px 0 120px; background: var(--bg-subtle); overflow: hidden; }
.email-gallery .header-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.email-gallery h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.email-gallery .intro { font-size: 18px; color: var(--text-muted); max-width: 540px; }
.marquee {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}
.email-thumb {
  flex: 0 0 280px;
  aspect-ratio: 3/4;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* ==========================================================
   ALWAYS-ON SYSTEM
   ========================================================== */
.system { padding: 140px 0; background: var(--white); }
.system .lead { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 70px; align-items: end; }
.system .lead h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
}
.system .lead h2 .yellow { color: var(--yellow); }
.system .lead p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }
.stages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.stage-card {
  padding: 44px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  position: relative;
  transition: all 0.25s;
}
.stage-card:hover { background: var(--yellow-soft); border-color: var(--yellow); }
.stage-card .stage-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.stage-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.stage-card .lede { font-size: 17px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.stage-card ul {
  list-style: none;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.stage-card ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.stage-card .target {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.stage-card .target strong { color: var(--yellow); font-weight: 800; }

.campaigns-strip {
  margin-top: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.campaigns-strip .stage-eyebrow { color: var(--yellow); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; display: inline-block; }
.campaigns-strip h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.campaigns-strip p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.55; }
.campaigns-extras { display: flex; flex-wrap: wrap; gap: 10px; }
.campaigns-extras span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--white);
  border-radius: 999px;
  font-weight: 500;
}

/* ==========================================================
   RESULTS — slabs with before/after
   ========================================================== */
.results { padding: 140px 0; background: var(--bg-subtle); }
.results .header-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.results .header-row h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}
.results .header-row p { font-size: 18px; color: var(--text-muted); }
.result-slab {
  background: var(--white);
  border-radius: 10px;
  padding: 60px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-left: 6px solid var(--yellow);
}
.result-slab .meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow-hover);
  font-weight: 700;
  margin-bottom: 16px;
}
.result-slab h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.result-slab p { color: var(--text-muted); font-size: 16px; }
.result-slab .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-slab .shot {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text-muted);
  font-size: 13px;
}
.result-slab .shot .lbl {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  align-self: flex-start;
}

/* ==========================================================
   PERFORMANCE PRICING
   ========================================================== */
.perf { padding: 140px 0; background: var(--white); }
.perf .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.perf h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.perf h2 .yellow { color: var(--yellow); }
.perf .pitch p { font-size: 17px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.perf .box {
  background: var(--yellow);
  border-radius: 10px;
  padding: 50px;
}
.perf .box .tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 14px;
}
.perf .box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.perf .box p { color: var(--ink); font-size: 15px; margin-bottom: 18px; line-height: 1.55; }
.perf .box strong { font-weight: 800; }
.perf .box .fine {
  font-size: 13px;
  color: var(--navy);
  opacity: 0.75;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid rgba(0,0,0,0.15);
}

/* ==========================================================
   TIMELINE
   ========================================================== */
.timeline { padding: 140px 0; background: var(--bg-subtle); }
.timeline h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.timeline .intro { font-size: 18px; color: var(--text-muted); max-width: 640px; margin-bottom: 60px; }
.timeline .phases { display: grid; gap: 16px; }
.phase {
  background: var(--white);
  padding: 36px 40px;
  border-radius: 8px;
  border-left: 6px solid var(--ink);
  transition: all 0.25s;
}
.phase:hover { border-left-color: var(--yellow); transform: translateX(4px); }
.phase .days {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.phase .work { color: var(--text-muted); font-size: 16px; line-height: 1.6; }

/* ==========================================================
   COMPARE TABLE
   ========================================================== */
.compare { background: var(--navy-deep); color: var(--white); padding: 140px 0; }
.compare h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.compare h2 .yellow { color: var(--yellow); }
.compare .intro { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 640px; margin-bottom: 60px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td {
  text-align: left;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  vertical-align: top;
}
.compare th {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  padding-bottom: 22px;
}
.compare th.us {
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px 6px 0 0;
  font-size: 13px;
}
.compare td.us {
  background: rgba(245, 204, 28, 0.08);
  color: var(--white);
}
.compare td.us strong { color: var(--yellow); font-weight: 800; }
.compare td.row-label {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.compare td:not(.us):not(.row-label) { color: rgba(255,255,255,0.6); }

/* ==========================================================
   TEAM STRIP
   ========================================================== */
.team { padding: 140px 0; background: var(--white); }
.team .lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.team .lead h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.team .lead p { font-size: 17px; color: var(--text-muted); max-width: 480px; }
.team .row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
.team .person { text-align: left; }
.team .person .photo {
  aspect-ratio: 1/1;
  background: var(--bg-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 14px;
  border: 2px solid transparent;
  transition: all 0.2s;
  padding: 12px;
  text-align: center;
}
.team .person:hover .photo { border-color: var(--yellow); }
.team .person .name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.team .person .role { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.team .more { margin-top: 50px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: 140px 0; background: var(--bg-subtle); }
.faq h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.faq .intro { font-size: 18px; color: var(--text-muted); max-width: 600px; margin-bottom: 50px; }
.qa { background: var(--white); border-radius: 8px; padding: 32px 40px; margin-bottom: 14px; border-left: 6px solid var(--yellow); }
.qa .q {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.qa .a { color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.qa .a strong { color: var(--ink); font-weight: 700; }
.qa .a a { color: var(--yellow-hover); font-weight: 600; }

/* ==========================================================
   FINAL CTA — yellow band
   ========================================================== */
.cta-band {
  background: var(--yellow);
  padding: 120px 0;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 84px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.cta-band p { font-size: 20px; color: var(--ink); margin-top: 20px; line-height: 1.5; max-width: 580px; }
.cta-band .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cta-band .cta-sub-text { font-size: 14px; color: var(--ink); font-style: italic; margin: 0; opacity: 0.8; }
.cta-band .btn-dark { background: var(--ink); border-color: var(--ink); }
.cta-band .btn-dark:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 40px;
}
footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
footer .brand-block .brand { display: flex; align-items: center; margin-bottom: 20px; }
footer .brand-block .brand img { height: 64px; width: auto; display: block; }
footer .brand-block p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
footer h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.15s; }
footer a:hover { color: var(--yellow); }
footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================
   PAGE HEAD (used on sub-pages)
   ========================================================== */
.page-head {
  background: var(--yellow);
  padding: 100px 0 80px;
}
.page-head .container { max-width: 900px; margin: 0 auto; padding: 0 var(--pad); }
.page-head h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.page-head .lede { font-size: 21px; color: var(--ink); line-height: 1.4; max-width: 720px; }

/* ==========================================================
   CASE STUDIES INDEX
   ========================================================== */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.25s;
}
.cs-card:hover { background: var(--yellow-soft); border-color: var(--yellow); transform: translateY(-4px); }
.cs-card .industry {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow-hover);
  font-weight: 800;
}
.cs-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cs-card .lift {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cs-card .desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.cs-card.placeholder { background: var(--bg-subtle); border-style: dashed; border-color: var(--border); }

/* ==========================================================
   ABOUT — Tzvi's story
   ========================================================== */
.about-body { padding: 140px 0; background: var(--white); }
.about-body .container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.about-body .sticky-info {
  position: sticky;
  top: 100px;
  border-left: 6px solid var(--yellow);
  padding-left: 24px;
  align-self: start;
}
.about-body .sticky-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-body .sticky-info .role {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow-hover);
  font-weight: 700;
  margin-bottom: 18px;
}
.about-body .sticky-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.about-body .prose p {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 22px;
}
.about-body .prose p.lede {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.team-full { padding: 100px 0 140px; background: var(--bg-subtle); }
.team-full h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 50px;
}
.team-full .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-full .person {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  border: 2px solid transparent;
  transition: all 0.25s;
}
.team-full .person:hover { border-color: var(--yellow); }
.team-full .person .photo {
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 13px;
}
.team-full .person .name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.team-full .person .role {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-hover);
  margin: 6px 0 14px;
}
.team-full .person .bio { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================
   DASHBOARD PAGE
   ========================================================== */
.dash-hero { background: var(--navy-deep); padding: 130px 0; color: var(--white); }
.dash-hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.dash-hero .label { color: var(--yellow); font-family: 'Montserrat', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 800; margin-bottom: 18px; }
.dash-hero .free { background: var(--yellow); color: var(--ink); padding: 5px 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; border-radius: 4px; display: inline-block; margin-left: 8px; }
.dash-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.dash-hero p { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.55; margin-bottom: 32px; }
.dash-hero .screenshot {
  background: var(--navy);
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.1);
  aspect-ratio: 9/16;
  max-height: 600px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.dash-hero .screenshot strong { color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; }

.dash-body { padding: 140px 0; background: var(--white); }
.dash-body .lead { margin-bottom: 60px; }
.dash-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.dash-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dash-feature {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 36px;
  transition: all 0.25s;
}
.dash-feature:hover { background: var(--yellow-soft); border-color: var(--yellow); }
.dash-feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.dash-feature p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ==========================================================
   AGENCIES PAGE
   ========================================================== */
.agency-body { padding: 130px 0; background: var(--white); }
.agency-body .row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.agency-body .block .eyebrow { color: var(--yellow-hover); }
.agency-body .block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.agency-body .block p { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-bottom: 16px; }
.agency-body .block ul { padding: 0; list-style: none; margin-top: 12px; }
.agency-body .block ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.agency-body .block ul li:first-child { border-top: 2px solid var(--ink); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-body { padding: 130px 0; background: var(--white); }
.contact-body .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-body .info p {
  color: var(--ink);
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.55;
}
.contact-body .info p strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow-hover);
  font-weight: 800;
  margin-bottom: 6px;
}
.contact-body form { display: flex; flex-direction: column; gap: 16px; }
.contact-body form label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-body form input,
.contact-body form textarea,
.contact-body form select {
  border: 2px solid var(--ink);
  padding: 14px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  background: var(--white);
  border-radius: 6px;
  margin-top: 6px;
  display: block;
  width: 100%;
}
.contact-body form textarea { min-height: 140px; resize: vertical; }
.contact-body form input:focus,
.contact-body form textarea:focus,
.contact-body form select:focus { outline: none; border-color: var(--yellow); }
.contact-body form button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
}
.contact-body form button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   SINGLE CASE STUDY PAGE
   ========================================================== */
.cs-hero {
  background: var(--yellow);
  padding: 110px 0 90px;
}
.cs-hero .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.cs-hero .eyebrow { color: var(--ink); font-size: 13px; }
.cs-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.cs-hero .industry { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.cs-hero .client-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.cs-hero .summary { font-size: 18px; color: var(--ink); line-height: 1.55; max-width: 520px; }
.cs-hero .big-stat {
  background: var(--ink);
  color: var(--white);
  padding: 50px;
  border-radius: 12px;
  text-align: center;
}
.cs-hero .big-stat .figure {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 120px;
  line-height: 0.95;
  color: var(--yellow);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cs-hero .big-stat .label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.cs-stats { background: var(--white); padding: 70px 0; border-bottom: 1px solid var(--border); }
.cs-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cs-stats .stat { text-align: left; }
.cs-stats .figure {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.cs-stats .label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cs-section { padding: 110px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.cs-section.alt { background: var(--bg-subtle); }
.cs-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.cs-section h2 .yellow { color: var(--yellow); }
.cs-section .prose { max-width: 820px; }
.cs-section .prose p { font-size: 18px; color: var(--ink); line-height: 1.7; margin-bottom: 18px; }
.cs-section .prose p strong { font-weight: 700; }

.cs-flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cs-flow {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 28px;
}
.cs-flow .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-hover);
  margin-bottom: 10px;
}
.cs-flow h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.cs-flow p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

.cs-result-shot {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-top: 36px;
  text-align: center;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.cs-result-shot .lbl {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.cs-quote {
  background: var(--navy-deep);
  padding: 110px 0;
  color: var(--white);
}
.cs-quote .container { max-width: 900px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.cs-quote .mark { font-family: 'Montserrat', sans-serif; font-size: 100px; line-height: 0.6; color: var(--yellow); font-weight: 900; margin-bottom: 24px; }
.cs-quote blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.cs-quote .name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.cs-quote .role { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* placeholder hints */
.ph {
  background: #FFF6E5;
  border-left: 4px solid #D4A03A;
  padding: 14px 18px;
  color: #7A5A12;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.ph strong { color: #5A4209; font-weight: 800; }

/* ==========================================================================
   RAZICO OVERRIDES
   Appended to styles.css to fix reveal hiding + add full responsive cascade.
   ========================================================================== */

/* === FIX #1: kill the reveal opacity:0 default ===
   The original .reveal rule starts elements invisible and needs JS to add
   `.in` to show them. Without JS, every section below the hero stays hidden.
   We disable that here so content is always visible. The JS fade-in stays a
   nice-to-have for users on JS-enabled browsers via a different mechanism. */
.reveal,
.reveal.in { opacity: 1 !important; transform: none !important; }

/* === FIX #2: comprehensive responsive cascade === */

/* --- Small laptop / large tablet landscape (≤1280px) --- */
@media (max-width: 1280px) {
  :root { --pad: 40px; }

  .hero { padding: 90px 0 100px; }
  .hero h1 { font-size: 72px; }
  .hero .hero-bottom { grid-template-columns: 1fr 380px; gap: 50px; }
  .hero .video-wrap { max-width: 380px; }

  .system .lead h2, .results .header-row h2, .perf h2,
  .timeline h2, .compare h2, .team .lead h2, .faq h2 { font-size: 52px; }
  .cta-band h2 { font-size: 64px; }
  .page-head h1 { font-size: 60px; }
  .cs-hero h1 { font-size: 60px; }
  .cs-hero .big-stat .figure { font-size: 96px; }

  .logos .grid { grid-template-columns: repeat(5, 1fr); }
  .team .row { gap: 16px; }
  .stats .figure { font-size: 68px; }
  .ron-quote blockquote { font-size: 28px; }
  .ron-quote .container { grid-template-columns: 240px 1fr; gap: 48px; }
}

/* --- Tablet landscape / small tablet (≤1024px) --- */
@media (max-width: 1024px) {
  :root { --pad: 32px; }

  /* Hero collapses to single column */
  .hero { padding: 70px 0 60px; }
  .hero .hero-top { margin-bottom: 48px; }
  .hero h1 { font-size: 54px; line-height: 1; }
  .hero .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero .video-wrap { max-width: 560px; width: 100%; }
  .hero .sub { font-size: 18px; max-width: none; }

  /* Big section heads */
  .system .lead h2, .results .header-row h2, .perf h2,
  .timeline h2, .compare h2, .team .lead h2, .faq h2 { font-size: 44px; }
  .system, .results, .perf, .timeline, .compare, .team, .faq { padding: 100px 0; }

  /* 2-col leads → 1 col */
  .system .lead, .results .header-row, .perf .container,
  .team .lead { grid-template-columns: 1fr; gap: 32px; }
  .system .lead { align-items: start; }

  /* Stages remain 2x2 */
  .stage-card { padding: 36px; }

  /* Result slabs stack */
  .result-slab { grid-template-columns: 1fr; gap: 36px; padding: 48px; }
  .campaigns-strip { grid-template-columns: 1fr; gap: 32px; padding: 40px; }

  /* CTA band */
  .cta-band { padding: 100px 0; }
  .cta-band h2 { font-size: 52px; }
  .cta-band .container { grid-template-columns: 1fr; gap: 32px; }

  /* Page heads */
  .page-head { padding: 80px 0 60px; }
  .page-head h1 { font-size: 48px; }
  .page-head .lede { font-size: 18px; }

  /* Stats */
  .stats { padding: 70px 0; }
  .stats .container { gap: 40px; }
  .stats .figure { font-size: 60px; }

  /* Ron quote */
  .ron-quote { padding: 80px 0; }
  .ron-quote .container { grid-template-columns: 1fr; gap: 24px; }
  .ron-quote blockquote { font-size: 26px; }

  /* Klaviyo partner */
  .klaviyo-partner { padding: 32px 0; }
  .klaviyo-partner .container { gap: 28px; }
  .klaviyo-partner img { height: 56px; }

  /* Logos */
  .logos { padding: 70px 0; }
  .logos .grid { grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }

  /* Email gallery */
  .email-gallery { padding: 70px 0 90px; }
  .email-gallery .header-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .email-gallery h2 { font-size: 44px; }

  /* Comparison table — let it horizontally scroll */
  .compare .container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare table { min-width: 720px; font-size: 14px; }
  .compare th, .compare td { padding: 18px 14px; }

  /* Team strip — drop from 7 to 4 cols */
  .team .row { grid-template-columns: repeat(4, 1fr) !important; gap: 20px; }

  /* About */
  .about-body { padding: 100px 0; }
  .about-body .container { grid-template-columns: 1fr; gap: 48px; }
  .about-body .sticky-info { position: static !important; align-self: auto; }
  .about-body .prose p.lede { font-size: 26px; }

  /* Team full grid */
  .team-full { padding: 80px 0 100px; }
  .team-full h2 { font-size: 42px; margin-bottom: 36px; }
  .team-full .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  /* Dashboard */
  .dash-hero { padding: 90px 0; }
  .dash-hero .container { grid-template-columns: 1fr; gap: 48px; }
  .dash-hero h1 { font-size: 48px; }
  .dash-hero .screenshot { max-height: 480px; aspect-ratio: 16/12; }
  .dash-body { padding: 100px 0; }
  .dash-body h2 { font-size: 42px; }
  .dash-features { grid-template-columns: 1fr; gap: 16px; }

  /* Agencies */
  .agency-body { padding: 90px 0; }
  .agency-body .row { grid-template-columns: 1fr; gap: 56px; }
  .agency-body .block h3 { font-size: 30px; }

  /* Contact */
  .contact-body { padding: 90px 0; }
  .contact-body .container { grid-template-columns: 1fr; gap: 48px; }

  /* Case studies index */
  .cs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Case study detail */
  .cs-hero { padding: 90px 0 70px; }
  .cs-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .cs-hero h1 { font-size: 52px; }
  .cs-hero .big-stat { padding: 40px; }
  .cs-hero .big-stat .figure { font-size: 80px; }
  .cs-stats { padding: 56px 0; }
  .cs-stats .container { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cs-section { padding: 80px 0; }
  .cs-section h2 { font-size: 42px; }
  .cs-flows { grid-template-columns: repeat(2, 1fr); }
  .cs-quote { padding: 90px 0; }
  .cs-quote blockquote { font-size: 28px; }

  /* Footer */
  footer { padding: 70px 0 36px; }
  footer .container { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer .brand-block { grid-column: 1 / -1; }
}

/* --- Tablet portrait / large phone landscape (≤768px) --- */
@media (max-width: 768px) {
  :root { --pad: 24px; }

  body { font-size: 16px; }
  p { font-size: 16px; }

  /* === NAV — wrap to 2 lines === */
  nav.top .wrap {
    flex-wrap: wrap;
    padding: 16px var(--pad);
    gap: 12px;
    justify-content: space-between;
    align-items: center;
  }
  nav.top .brand img { height: 44px; }
  nav.top .brand svg { height: 44px !important; }
  nav.top ul {
    order: 99;
    flex-basis: 100%;
    gap: 12px 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  nav.top a.navlink { font-size: 13px; }
  nav.top .cta { padding: 10px 18px; font-size: 12px; letter-spacing: 0.08em; }

  /* === HERO === */
  .hero { padding: 56px 0 56px; }
  .hero .hero-top { margin-bottom: 36px; }
  .hero .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 40px; line-height: 1.02; }
  .hero .sub { font-size: 16px; margin-bottom: 24px; }
  .hero .actions { gap: 12px; }

  /* === Big sections === */
  .system, .results, .perf, .timeline, .compare, .team, .faq { padding: 70px 0; }
  .system .lead h2, .results .header-row h2, .perf h2,
  .timeline h2, .compare h2, .team .lead h2, .faq h2 { font-size: 34px; line-height: 1.05; }

  .system .lead p, .results .header-row p { font-size: 16px; }

  /* === Stages 2x2 → 1col === */
  .stages-grid { grid-template-columns: 1fr; gap: 16px; }
  .stage-card { padding: 28px; }
  .stage-card h3 { font-size: 26px; }
  .stage-card .lede { font-size: 15px; margin-bottom: 18px; }
  .stage-card ul li { font-size: 14px; padding: 12px 0; }
  .stage-card .target { font-size: 13px; padding: 14px 16px; }
  .campaigns-strip { padding: 32px; }
  .campaigns-strip h3 { font-size: 24px; }
  .campaigns-strip p { font-size: 15px; }

  /* === CTA band === */
  .cta-band { padding: 70px 0; }
  .cta-band h2 { font-size: 40px; }
  .cta-band p { font-size: 17px; }

  /* === Klaviyo partner === */
  .klaviyo-partner .container { flex-direction: column; gap: 18px; text-align: center; padding: 32px var(--pad); }
  .klaviyo-partner img { height: 48px; }
  .klaviyo-partner .copy { font-size: 15px; }

  /* === Ron quote === */
  .ron-quote { padding: 60px 0; }
  .ron-quote blockquote { font-size: 22px; line-height: 1.4; }
  .ron-quote .who { border-left-width: 4px; padding-left: 18px; }
  .ron-quote .who .quote-mark { font-size: 64px; }
  .ron-quote .who .name { font-size: 16px; }

  /* === Stats === */
  .stats { padding: 56px 0; }
  .stats .container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .stats .stat { text-align: center; }
  .stats .label { max-width: 360px; margin: 0 auto; }
  .stats .figure { font-size: 60px; }

  /* === Logos === */
  .logos { padding: 56px 0; }
  .logos h2 { font-size: 13px; margin-bottom: 32px; }
  .logos .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .logos .logo { font-size: 12px; height: 56px; }

  /* === Email gallery === */
  .email-gallery { padding: 56px 0 72px; }
  .email-gallery h2 { font-size: 32px; }
  .email-gallery .intro { font-size: 15px; }
  .email-thumb { flex: 0 0 200px; padding: 14px; font-size: 12px; }

  /* === Results === */
  .results .header-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .result-slab { padding: 32px; margin-bottom: 18px; }
  .result-slab .meta { font-size: 11px; }
  .result-slab h3 { font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
  .result-slab p { font-size: 15px; }
  .result-slab .ba { grid-template-columns: 1fr; gap: 12px; }
  .result-slab .shot { aspect-ratio: 4/3; padding: 18px; font-size: 12px; }

  /* === Perf pricing === */
  .perf .container { grid-template-columns: 1fr; gap: 40px; }
  .perf h2 { font-size: 36px; }
  .perf .pitch p { font-size: 16px; }
  .perf .box { padding: 36px; }
  .perf .box h3 { font-size: 24px; }
  .perf .box p { font-size: 15px; }

  /* === Timeline === */
  .timeline .intro { font-size: 16px; margin-bottom: 40px; }
  .phase { padding: 24px 28px; }
  .phase .days { font-size: 18px; }
  .phase .work { font-size: 15px; }

  /* === Compare === */
  .compare .intro { font-size: 16px; margin-bottom: 36px; }
  .compare .container { padding: 0 16px; overflow-x: auto; }
  .compare table { min-width: 640px; font-size: 13px; }
  .compare th, .compare td { padding: 14px 12px; }

  /* === Team === */
  .team .lead p { font-size: 15px; }
  .team .row { grid-template-columns: repeat(3, 1fr) !important; gap: 16px; }
  .team .person .photo { font-size: 11px; }
  .team .person .name { font-size: 13px; }
  .team .person .role { font-size: 11px; }

  /* === FAQ === */
  .faq .intro { font-size: 16px; margin-bottom: 36px; }
  .qa { padding: 24px 28px; }
  .qa .q { font-size: 18px; }
  .qa .a { font-size: 15px; }

  /* === Footer === */
  footer { padding: 56px 0 28px; }
  footer .container { grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 var(--pad); }
  footer .brand-block { grid-column: 1 / -1; }
  footer .brand-block .brand img { height: 48px; }
  footer .brand-block svg { height: 48px !important; }
  footer .legal {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-top: 36px;
    padding-top: 24px;
    font-size: 12px;
  }

  /* === Page heads === */
  .page-head { padding: 60px 0 48px; }
  .page-head h1 { font-size: 38px; }
  .page-head .lede { font-size: 16px; }

  /* === Case studies index === */
  .cs-grid { grid-template-columns: 1fr; gap: 16px; }
  .cs-card { padding: 28px; }
  .cs-card h3 { font-size: 22px; }
  .cs-card .lift { font-size: 28px; }

  /* === Case study detail === */
  .cs-hero { padding: 60px 0; }
  .cs-hero h1 { font-size: 38px; line-height: 1.05; }
  .cs-hero .industry { font-size: 12px; }
  .cs-hero .client-name { font-size: 22px; }
  .cs-hero .summary { font-size: 16px; }
  .cs-hero .big-stat { padding: 36px; }
  .cs-hero .big-stat .figure { font-size: 66px; }
  .cs-hero .big-stat .label { font-size: 12px; }
  .cs-stats { padding: 44px 0; }
  .cs-stats .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cs-stats .figure { font-size: 36px; }
  .cs-stats .label { font-size: 12px; }
  .cs-section { padding: 64px 0; }
  .cs-section h2 { font-size: 32px; line-height: 1.05; margin-bottom: 28px; }
  .cs-section .prose p { font-size: 16px; }
  .cs-flows { grid-template-columns: 1fr; gap: 14px; }
  .cs-flow { padding: 24px; }
  .cs-result-shot { min-height: 280px; }
  .cs-quote { padding: 72px 0; }
  .cs-quote blockquote { font-size: 24px; }
  .cs-quote .mark { font-size: 80px; }
  .cs-quote .name { font-size: 16px; }

  /* === About === */
  .about-body { padding: 70px 0; }
  .about-body .prose p { font-size: 16px; }
  .about-body .prose p.lede { font-size: 22px; }
  .team-full { padding: 60px 0 80px; }
  .team-full h2 { font-size: 32px; margin-bottom: 28px; }
  .team-full .grid { grid-template-columns: 1fr; gap: 18px; }
  .team-full .person { padding: 24px; }

  /* === Dashboard === */
  .dash-hero { padding: 64px 0; }
  .dash-hero h1 { font-size: 38px; }
  .dash-hero p { font-size: 16px; }
  .dash-hero .screenshot { padding: 24px; font-size: 13px; aspect-ratio: 4/3; }
  .dash-body { padding: 70px 0; }
  .dash-body h2 { font-size: 32px; }
  .dash-feature { padding: 28px; }
  .dash-feature h3 { font-size: 20px; }

  /* === Agencies === */
  .agency-body { padding: 70px 0; }
  .agency-body .block { padding: 0; }
  .agency-body .block h3 { font-size: 26px; line-height: 1.1; }
  .agency-body .block p { font-size: 15px; }

  /* === Contact === */
  .contact-body { padding: 70px 0; }
  .contact-body .info p { font-size: 15px; }
  .contact-body form input,
  .contact-body form select,
  .contact-body form textarea { font-size: 16px; padding: 12px 14px; }
}

/* --- Large phone portrait (≤640px) --- */
@media (max-width: 640px) {
  :root { --pad: 20px; }

  /* === HERO === */
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 32px; }
  .hero .sub { font-size: 15px; }
  .hero .actions { flex-wrap: wrap; gap: 10px; }
  .hero .actions .btn { flex: 1 1 100%; padding: 14px 20px; font-size: 12px; }

  /* === Buttons general === */
  .btn { font-size: 12px; padding: 14px 22px; }

  /* === Big section heads down further === */
  .system .lead h2, .results .header-row h2, .perf h2,
  .timeline h2, .compare h2, .team .lead h2, .faq h2 { font-size: 28px; }

  .cta-band h2 { font-size: 32px; }
  .cta-band .actions { gap: 10px; }
  .cta-band .actions .btn { flex: 1 1 100%; text-align: center; padding: 14px 20px; }

  /* === Stats — smaller figures === */
  .stats .figure { font-size: 52px; }
  .stats .label { font-size: 14px; }

  /* === Stage cards === */
  .stage-card { padding: 24px; }
  .stage-card h3 { font-size: 22px; }
  .stage-card .stage-eyebrow { font-size: 11px; }
  .stage-card ul li { font-size: 13px; padding: 10px 0; }
  .stage-card .target { font-size: 12px; }
  .campaigns-strip { padding: 26px; gap: 22px; }
  .campaigns-strip h3 { font-size: 22px; }
  .campaigns-strip p { font-size: 14px; }
  .campaigns-extras span { padding: 8px 12px; font-size: 12px; }

  /* === Logos === */
  .logos .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logos .logo { font-size: 12px; height: 52px; padding: 0 6px; }

  /* === Email gallery === */
  .email-gallery h2 { font-size: 28px; }
  .email-thumb { flex: 0 0 180px; padding: 12px; font-size: 11px; }

  /* === Results === */
  .results .header-row h2 { font-size: 30px; line-height: 1.05; }
  .result-slab { padding: 24px; }
  .result-slab h3 { font-size: 22px; }
  .result-slab .shot { padding: 14px; font-size: 11px; }

  /* === Perf pricing === */
  .perf h2 { font-size: 32px; }
  .perf .pitch p { font-size: 15px; }
  .perf .box { padding: 28px; }
  .perf .box h3 { font-size: 20px; }

  /* === Timeline === */
  .phase { padding: 22px 24px; }
  .phase .days { font-size: 16px; }
  .phase .work { font-size: 14px; }

  /* === Compare === */
  .compare .container { padding: 0 12px; }
  .compare table { min-width: 580px; font-size: 12px; }
  .compare th, .compare td { padding: 12px 10px; }

  /* === Team === */
  .team .row { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .team .person .photo { font-size: 11px; padding: 10px; }
  .team .person .name { font-size: 13px; }

  /* === FAQ === */
  .qa { padding: 22px 24px; }
  .qa .q { font-size: 16px; }
  .qa .a { font-size: 14px; }

  /* === Footer === */
  footer .container { grid-template-columns: 1fr; gap: 28px; }

  /* === Page heads === */
  .page-head h1 { font-size: 32px; }
  .page-head .lede { font-size: 15px; }

  /* === Case study detail === */
  .cs-hero h1 { font-size: 32px; }
  .cs-hero .big-stat .figure { font-size: 56px; }
  .cs-stats .container { grid-template-columns: 1fr; gap: 22px; }
  .cs-stats .stat { text-align: center; }
  .cs-section h2 { font-size: 28px; }
  .cs-section .prose p { font-size: 15px; }
  .cs-quote { padding: 64px 0; }
  .cs-quote blockquote { font-size: 20px; }
  .cs-quote .mark { font-size: 70px; }

  /* === About === */
  .about-body .prose p.lede { font-size: 20px; }
  .team-full .grid { grid-template-columns: 1fr; }

  /* === Dashboard === */
  .dash-hero h1 { font-size: 32px; }

  /* === Agencies === */
  .agency-body .block h3 { font-size: 24px; }
}

/* --- Small phone (≤380px) --- */
@media (max-width: 380px) {
  :root { --pad: 16px; }

  .hero h1 { font-size: 28px; }
  .system .lead h2, .results .header-row h2, .perf h2,
  .timeline h2, .compare h2, .team .lead h2, .faq h2 { font-size: 24px; }
  .cta-band h2 { font-size: 28px; }
  .page-head h1, .cs-hero h1, .dash-hero h1 { font-size: 28px; }

  .stats .figure { font-size: 48px; }
  .cs-hero .big-stat .figure { font-size: 48px; }

  .stages-grid { gap: 12px; }
  .stage-card { padding: 22px; }
  .stage-card h3 { font-size: 20px; }

  .result-slab { padding: 22px; }
  .result-slab h3 { font-size: 20px; }

  .compare table { min-width: 520px; font-size: 11px; }

  .team .row { grid-template-columns: 1fr !important; gap: 12px; }

  .ron-quote blockquote { font-size: 19px; }
}

/* ==========================================================================
   RAZICO HAMBURGER NAV — CSS-only
   Appended to styles.css. Checkbox-and-label pattern, off-canvas panel.
   Keyboard accessible (Tab to checkbox, Space to toggle). Backdrop tap closes.
   ========================================================================== */

/* Hide checkbox visually but keep keyboard-focusable */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: -1px;
}

/* Hamburger button (label) — desktop default = hidden */
.nav-toggle-btn { display: none; }

/* Backdrop — desktop default = hidden */
.nav-backdrop { display: none; }

/* Mobile-only menu items — desktop default = hidden */
nav.top ul li.cta-mobile-item { display: none; }

/* === MOBILE: full hamburger mode === */
@media (max-width: 768px) {
  /* Override the earlier wrap-to-2-lines layout from base mobile CSS */
  nav.top .wrap {
    flex-wrap: nowrap !important;
    border-top: none !important;
    padding: 14px var(--pad) !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* External "Let's Talk" CTA outside menu — hide on mobile (it lives inside menu) */
  nav.top > .wrap > a.cta { display: none !important; }

  /* Brand stays at original size from earlier mobile CSS */

  /* Hamburger button — visible */
  .nav-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-btn .bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
    transform-origin: center;
  }

  /* Hover state */
  .nav-toggle-btn:hover .bar { background: var(--yellow-hover); }

  /* Animate bars to X when checked */
  .nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--white);
  }
  .nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--white);
  }

  /* Keyboard focus */
  .nav-toggle:focus-visible ~ .nav-toggle-btn {
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(245, 204, 28, 0.3);
  }

  /* Off-canvas menu panel */
  nav.top ul.nav-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: var(--ink) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 92px 28px 40px !important;
    margin: 0 !important;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.35);
    border: none !important;
    list-style: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    order: 0 !important;
    flex-basis: auto !important;
    pointer-events: none;
  }

  /* Open state */
  .nav-toggle:checked ~ ul.nav-menu {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Menu items */
  nav.top ul.nav-menu li {
    list-style: none !important;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  nav.top ul.nav-menu li a.navlink {
    display: block !important;
    color: var(--white) !important;
    padding: 18px 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: color 0.2s, padding-left 0.2s;
    text-decoration: none !important;
  }
  nav.top ul.nav-menu li a.navlink:hover,
  nav.top ul.nav-menu li a.navlink:focus {
    color: var(--yellow) !important;
    padding-left: 8px !important;
    outline: none;
  }
  nav.top ul.nav-menu li a.navlink:focus-visible {
    color: var(--yellow) !important;
    background: rgba(245, 204, 28, 0.08);
    outline: 2px solid var(--yellow);
    outline-offset: -2px;
  }

  /* Mobile-only "Let's Talk" CTA at bottom of menu */
  nav.top ul.nav-menu li.cta-mobile-item {
    display: block !important;
    margin-top: 28px !important;
    width: 100%;
  }
  nav.top ul.nav-menu li.cta-mobile-item a.navlink {
    border: 2px solid var(--yellow) !important;
    border-bottom: 2px solid var(--yellow) !important;
    color: var(--yellow) !important;
    border-radius: 999px !important;
    padding: 14px 24px !important;
    text-align: center !important;
    font-size: 14px !important;
    letter-spacing: 0.1em !important;
  }
  nav.top ul.nav-menu li.cta-mobile-item a.navlink:hover,
  nav.top ul.nav-menu li.cta-mobile-item a.navlink:focus {
    background: var(--yellow) !important;
    color: var(--ink) !important;
    padding-left: 24px !important;
  }

  /* Backdrop overlay — tap to close (it's another label for the checkbox) */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.32s ease;
    z-index: 999;
    border: none;
    cursor: pointer;
    margin: 0;
  }
  .nav-toggle:checked ~ .nav-backdrop {
    background: rgba(0, 0, 0, 0.55);
    pointer-events: auto;
  }

  /* Lock body scroll when menu open (modern browsers via :has) */
  body:has(.nav-toggle:checked) {
    overflow: hidden;
  }
}

/* === HAMBURGER FIX v2: nuke the transition that loops indefinitely === */
@media (max-width: 768px) {
  nav.top ul.nav-menu {
    transition: none !important;
    transform: translateX(420px) !important;
  }
  .nav-toggle:checked ~ ul.nav-menu {
    transform: translateX(0) !important;
  }
  /* Also kill transitions on the bars — avoid same loop pattern */
  .nav-toggle-btn .bar {
    transition: transform 0.2s, opacity 0.2s, background 0.2s !important;
  }
}
