/* ===== Base ===== */
:root {
  --orange: #F97316;
  --orange-dark: #ea640a;
  --ink: #111111;
  --muted: #555555;
  --bg: #FFFFFF;
  --bg-warm: #FFF8F3;
  --border: #eee4da;
  --radius: 14px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-warm); }

.section-body { margin-bottom: 1.1rem; font-size: 1.08rem; }
.section-subhead { color: var(--muted); font-size: 1.1rem; margin-bottom: 3rem; max-width: 640px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

.btn-large { padding: 18px 44px; font-size: 1.1rem; }
.btn-small { padding: 11px 22px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  border-radius: 7px;
  flex-shrink: 0;
}

.logo span { color: var(--orange); }

.header-nav { display: flex; align-items: center; gap: 28px; }

.header-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}

.header-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-nav a:not(.btn):hover { color: var(--orange); }
.header-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(249, 115, 22, 0.15), transparent 70%),
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.07), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(249, 115, 22, 0.06), transparent 30%),
    var(--bg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.hero h1 { max-width: 820px; margin: 0 auto 1.4rem; text-wrap: balance; }

.hero-subhead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}

.hero-note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--muted); }

/* ===== Proof bar ===== */
.proof-bar {
  background:
    radial-gradient(ellipse 55% 130% at 50% 50%, rgba(249, 115, 22, 0.15), transparent 75%),
    var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
}

.marquee { display: flex; overflow: hidden; }

.marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: scroll 36s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.stat {
  white-space: nowrap;
  padding: 0 36px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.stat strong {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 8px;
}

.mono-num { font-family: var(--mono); font-weight: 700; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
  html { scroll-behavior: auto; }
}

/* ===== Grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== Audience cards ===== */
.audience-grid { margin-top: 3.5rem; }

.audience-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.icon-wrap svg { width: 28px; height: 28px; }

.audience-card p { color: var(--muted); font-size: 0.98rem; }

/* ===== Tier cards ===== */
.tier-grid { margin-top: 3rem; align-items: stretch; }

.tier-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
}

.tier-card { cursor: pointer; }

.tier-badge {
  align-self: flex-start;
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 0.9rem;
}

.tier-apply {
  margin-top: 0.8rem;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.tier-apply span { transition: transform 0.2s ease; }
.tier-card:hover .tier-apply span,
.service-card:hover .tier-apply span { transform: translateX(4px); }

.service-card { cursor: pointer; }
.service-card .tier-apply { flex-grow: 0; }

.tier-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.tier-fit { font-size: 0.92rem; font-weight: 600; margin-bottom: 1.2rem; }

.tier-card ul { list-style: none; flex-grow: 1; }

.tier-card li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
  color: var(--muted);
}

.tier-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.tier-price {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== Service cards ===== */
.service-grid { align-items: stretch; }

.service-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
}

.service-card p { color: var(--muted); font-size: 0.98rem; flex-grow: 1; }

.service-price {
  margin-top: 1.4rem;
  font-weight: 700;
  color: var(--ink) !important;
  flex-grow: 0 !important;
  font-size: 1.05rem;
}

/* ===== Case studies ===== */
.case-study {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  margin-bottom: 32px;
}

.case-label {
  display: inline-block;
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 0.9rem;
}

.case-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }

.case-body { margin-bottom: 1.6rem; font-size: 1.02rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 1.6rem 0 2rem;
}

.stat-block {
  background: var(--bg-warm);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--orange);
}

.stat-caption { font-size: 0.85rem; color: var(--muted); }

.outcome-list { list-style: none; margin-bottom: 1.4rem; }

.outcome-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--orange);
}

.case-note {
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 18px;
  font-style: italic;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Screenshot strip */
.screenshot-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 18px;
  margin-bottom: 1.8rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--border);
}

.screenshot-strip::-webkit-scrollbar { height: 6px; }
.screenshot-strip::-webkit-scrollbar-track { background: var(--border); border-radius: 999px; }
.screenshot-strip::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; }

.screenshot-strip figure {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

.screenshot-strip img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-warm);
}

.screenshot-strip figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* Cohort */
.cohort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 1.4rem 0 1.6rem;
}

.cohort-card {
  background: var(--bg-warm);
  border-radius: 12px;
  padding: 28px 26px;
}

.cohort-card h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.3rem; }
.cohort-card p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cohort-card .case-meta { margin-bottom: 0.9rem; }

/* ===== Steps ===== */
.steps-grid { margin-top: 3.5rem; }

.step-card {
  text-align: center;
  padding: 36px 26px;
  background: var(--bg-warm);
  border-radius: var(--radius);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.step-card p { color: var(--muted); font-size: 0.98rem; }

/* ===== Form ===== */
#apply-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
}

.form-field { margin-bottom: 1.5rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ddd2c8;
  border-radius: 10px;
  padding: 13px 16px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.form-field textarea { resize: vertical; }

.label-hint {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Filter-chip multi-select: the native control is hidden but still submits and
   stays keyboard accessible; selection shows as an orange fill. */
.form-field .checkbox {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 15px;
  border: 1.5px solid #ddd2c8;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.form-field .checkbox:hover { border-color: var(--orange); }

.checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}

.checkbox:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange);
}

.checkbox:has(input:checked) span { color: #fff; font-weight: 600; }

.checkbox:has(input:focus-visible) {
  outline: 3px solid rgba(249, 115, 22, 0.5);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.2rem;
}

.form-error {
  text-align: center;
  color: #c2410c;
  font-size: 0.92rem;
  margin-top: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0;
  font-size: 0.93rem;
  border-top: 3px solid var(--orange);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-brand .logo-mark { border-radius: 6px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.footer-col a:hover { color: var(--orange); }

/* ===== Logo rows ===== */
.logo-rows {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.logo-row-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #999999;
  margin-bottom: 1.4rem;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-bottom: 2.6rem;
}

.logo-row:last-child { margin-bottom: 0; }

.brand-logos img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.25s ease;
}

.brand-logos img:hover { filter: grayscale(0) opacity(1); }

.stack-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  color: #999999;
  transition: color 0.25s ease;
  cursor: default;
}

.stack-logo svg { width: 20px; height: 20px; }

.stack-logo:hover { color: var(--brand-color, var(--ink)); }

/* ===== Gallery hover stats ===== */
.points-gallery figure { position: relative; }

.gallery-stat {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--orange);
  opacity: 0.35;
  transform: translateY(4px) scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.points-gallery figure:hover .gallery-stat {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.points-gallery figure:hover img { border-color: var(--orange); }

@media (hover: none) {
  .gallery-stat { opacity: 1; transform: none; }
}

/* ===== Founder ===== */
.founder-section { background: var(--bg-warm); }

.founder-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}

.founder-headshot {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--orange);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
}

.founder-text h2 { margin-bottom: 0.2rem; }

.founder-title {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

/* ===== Operator vs Agency ===== */
.compare {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.3fr;
  align-items: center;
}

.compare-row + .compare-row { border-top: 1px solid var(--border); }

.compare-attr {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg-warm);
}

.compare-cell {
  padding: 18px 22px;
  font-size: 0.96rem;
  color: var(--muted);
}

.compare-you {
  color: var(--ink);
  font-weight: 500;
  background: rgba(249, 115, 22, 0.05);
}

.compare-head { border-bottom: 2px solid var(--border); }

.compare-head .compare-attr { background: transparent; }

.compare-head .compare-cell {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}

.compare-head .compare-you {
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.08);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 3.5rem;
}

.timeline-line {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  overflow: hidden;
}

.timeline-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease;
}

.timeline.is-in .timeline-fill { transform: scaleX(1); }

.timeline-step { position: relative; padding-top: 34px; }

.timeline-dot {
  position: absolute;
  top: 3px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
}

.timeline-when {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.timeline-step h3 { font-size: 1.2rem; }
.timeline-step p { color: var(--muted); font-size: 0.96rem; }

/* ===== Low-risk ===== */
.risk-section { text-align: center; }
.risk-section .section-subhead { margin-left: auto; margin-right: auto; }
.risk-grid { margin-top: 3rem; }

.risk-item {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
}

.risk-item .icon-wrap { margin: 0 auto 1.2rem; }
.risk-item p { color: var(--muted); font-size: 0.98rem; }

/* ===== Founder LinkedIn ===== */
.founder-text .founder-title { margin-bottom: 0.6rem; }

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  margin-bottom: 1.2rem;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.founder-linkedin svg { width: 18px; height: 18px; }
.founder-linkedin:hover { color: var(--orange); }

/* ===== Live availability dot ===== */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  margin-right: 9px;
  vertical-align: middle;
  position: relative;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #16a34a;
  animation: livePulse 2.2s ease-out infinite;
}

@keyframes livePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ===== Cursor spotlight (added to cards by JS) ===== */
.spotlight { position: relative; overflow: hidden; }

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(249, 115, 22, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ===== CTA shine sweep ===== */
.btn-large { position: relative; overflow: hidden; }

.btn-large::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-large:hover::after { left: 130%; }

@media (prefers-reduced-motion: reduce) {
  .live-dot::after { animation: none; display: none; }
  .btn-large::after { display: none; }
  .timeline-fill { transition: none; }
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  will-change: transform;
}

/* ===== Active nav (scroll-spy) ===== */
.header-nav a.is-active { color: var(--orange); }
.header-nav a.is-active::after { transform: scaleX(1); }

/* Keep anchored sections clear of the sticky header on jump */
section[id] { scroll-margin-top: 84px; }

/* ===== Marquee refinements ===== */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.proof-bar:hover .marquee-track { animation-play-state: paused; }

/* ===== Case study logos ===== */
.case-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1.4rem;
}

.case-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px;
}

.case-headings { min-width: 0; }
.case-headings .case-meta { margin-bottom: 0; }

.cohort-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

/* ===== Mid-page CTA band ===== */
.cta-band {
  text-align: center;
  padding: 60px 0;
  background:
    radial-gradient(ellipse 52% 130% at 50% 50%, rgba(249, 115, 22, 0.1), transparent 70%),
    var(--bg-warm);
  border-top: 1px solid var(--border);
}

.cta-band-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Resting depth + interaction feedback ===== */
.tier-card, .service-card, .case-study { box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04); }

.btn:active { transform: translateY(0) scale(0.97); }
.tier-card:active, .service-card:active { transform: translateY(-2px); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===== Persistent mobile CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.42);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .mobile-cta { display: block; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: opacity 0.25s ease; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .founder-layout {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 32px;
  }
  .logo-row { gap: 16px 28px; }
  .brand-logos img { height: 34px; }
  .stack-logo { font-size: 0.88rem; }

  /* Timeline goes vertical */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline-line { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .timeline-fill { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; }
  .timeline.is-in .timeline-fill { transform: scaleY(1); }
  .timeline-step { padding: 0 0 30px 34px; }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-dot { top: 2px; left: 0; }
}

@media (max-width: 640px) {
  /* Comparison becomes one clean card per attribute, with each side labeled,
     so the highlight reads cleanly instead of a staggered half-tinted column. */
  .compare { border: 0; box-shadow: none; }
  .compare-row.compare-head { display: none; }
  .compare-row,
  .compare-row + .compare-row {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg);
  }
  .compare-attr {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    padding: 13px 16px;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
  }
  .compare-cell {
    display: block;
    padding: 11px 16px 13px;
    font-size: 0.96rem;
    color: var(--ink);
  }
  .compare-cell::before {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .compare-you {
    background: rgba(249, 115, 22, 0.06);
    border-left: 3px solid var(--orange);
  }
  .compare-you::before { content: "Phillips Growth Co"; color: var(--orange-dark); }
  .compare-cell:not(.compare-you) {
    color: var(--muted);
    border-top: 1px solid var(--border);
  }
  .compare-cell:not(.compare-you)::before { content: "Typical agency"; color: #999; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cohort-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 72px; }
  .header-nav a:not(.btn) { display: none; }
  .case-study { padding: 32px 24px; }
  #apply-form { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* One image at a time with a small peek of the next, so captions and stats
     have full width and never clip at the strip edge. */
  .screenshot-strip figure { flex: 0 0 calc(100% - 44px); }
}

@media (max-width: 480px) {
  /* Keep the wordmark from crowding the Apply button at 390px */
  .logo { font-size: 1rem; }
  .btn-small { padding: 11px 18px; font-size: 0.85rem; }
  .header-inner { height: 58px; }

  /* Tighten hero so the fold is denser and less empty space precedes the ticker */
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: 2.15rem; margin-bottom: 1.1rem; }
  .hero-subhead { font-size: 1.12rem; margin-bottom: 2rem; }
  .btn-large { padding: 16px 36px; font-size: 1.05rem; }

  /* Less internal air in the engagement cards on small screens */
  .tier-card, .service-card, .audience-card { padding: 28px 24px; }
  .tier-price { margin-top: 1.2rem; padding-top: 1.1rem; }
  .section { padding: 60px 0; }

  .case-header { gap: 14px; }
  .case-logo { width: 48px; height: 48px; border-radius: 10px; }
}
