/* ==========================================================================
   R&G Cinematics — Stylesheet
   Design system: warm apricot-to-sand light base (sampled from our SaaS
   videos), white glass cards, charcoal "UI" cards, ember-orange accent
   Fonts: Inter Tight (display) + Inter (body/UI); Playfair Display for the logo only
   ========================================================================== */

:root {
  /* Color: base (the background of our videos: apricot → sand → light grey) */
  --bg: #efe8df;
  --bg-top: #f8d6a2;
  --bg-mid: #f1e2cc;
  --bg-bottom: #ebe6e0;
  --bg-alt: #e9e1d6;
  --border: rgba(60, 40, 22, 0.1);
  --border-strong: rgba(60, 40, 22, 0.18);

  /* Color: white glass cards */
  --card: rgba(255, 255, 255, 0.62);
  --card-solid: #fbf8f4;
  --card-border: rgba(255, 255, 255, 0.78);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 20px 44px -26px rgba(80, 48, 20, 0.32);

  /* Color: charcoal UI cards (like the cards in our videos) */
  --ink: #2a2826;
  --ink-2: #353230;
  --ink-border: rgba(255, 255, 255, 0.08);
  --ink-text: #f5f0ea;
  --ink-muted: #b3aaa1;
  --glow: 0 40px 90px -36px rgba(240, 80, 28, 0.55), 0 18px 40px -20px rgba(40, 24, 10, 0.45);

  /* Color: text */
  --text: #1d1a17;
  --text-muted: #5f554c;
  --text-faint: #7d7064;

  /* Color: accent (ember orange) */
  --ember-1: #ff7a2e;
  --ember-2: #e8471c;
  --ember-3: #c9330f;
  --ember-ink: #b33a0c; /* orange for small text on the light background */
  --ember-gradient: linear-gradient(135deg, var(--ember-1) 0%, var(--ember-2) 55%, var(--ember-3) 100%);

  /* Color: call to action (electric blue). Used only on "Start Your Project",
     so the one thing we want clicked is the first thing the eye finds */
  --cta-1: #6b8cff;
  --cta-2: #3d60ff;
  --cta-3: #2a46f5;
  --cta-gradient: linear-gradient(135deg, var(--cta-1) 0%, var(--cta-2) 55%, var(--cta-3) 100%);

  /* Type */
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Playfair Display', 'Georgia', serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Background on html only: a body background would paint over .site-bg */
html { background: var(--bg); }
html, body { color: var(--text); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--ember-2); color: #fff; }

/* The page sits on the same soft gradient as our videos, fixed to the
   viewport so every screen reads like a frame from one of them. Two
   blurred light blobs drift slowly on top to keep it alive. */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
}
.site-bg::before, .site-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.site-bg::before {
  width: 60vmax; height: 60vmax;
  left: -18vmax; top: -24vmax;
  background: rgba(255, 196, 120, 0.55);
  animation: blob-a 26s ease-in-out infinite alternate;
}
.site-bg::after {
  width: 48vmax; height: 48vmax;
  right: -16vmax; top: 18vh;
  background: rgba(255, 150, 90, 0.22);
  animation: blob-b 32s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 136px);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-ink);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember-gradient);
  box-shadow: 0 0 0 4px rgba(255, 122, 46, 0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
}

h3 {
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p.lede {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-muted);
  line-height: 1.7;
}

.text-gradient {
  /* a deeper run of the ember gradient so it holds up on the apricot background */
  background: linear-gradient(135deg, #f4611f 0%, #dc4219 55%, #b9300f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.btn-primary {
  color: #fff;
  background: var(--ember-gradient);
  background-size: 160% 160%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 28px -12px rgba(232, 71, 28, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 18px 36px -12px rgba(232, 71, 28, 0.8); background-position: 100% 0; }
.btn-primary:active { transform: translateY(0); }

/* The blue call to action, with a soft cloud of its own colour around it */
.btn-cta {
  color: #fff;
  background: var(--cta-gradient);
  background-size: 160% 160%;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 24px -8px rgba(42, 70, 245, 0.75),
    0 0 42px 8px rgba(77, 112, 255, 0.4);
}
.btn-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 32px -10px rgba(42, 70, 245, 0.8),
    0 0 56px 12px rgba(77, 112, 255, 0.5);
}
.btn-cta:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--ember-1); background: rgba(255, 255, 255, 0.85); transform: translateY(-2px); }

.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }

.btn-icon {
  width: 20px; height: 20px; flex-shrink: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(248, 238, 226, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo .amp { color: var(--ember-2); }
.logo small {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}
@media (min-width: 760px) { .nav-links { display: flex; } }
@media (min-width: 760px) and (max-width: 899px) { .nav-links { gap: 24px; } }
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1.5px;
  background: var(--ember-gradient);
  transition: right var(--dur-med) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: none; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--text); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
@media (min-width: 760px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 999;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-mid) 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 32px var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; }
@media (min-width: 760px) { .mobile-menu { display: none; } }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 64px;
  overflow: hidden;
  isolation: isolate;
}

/* One centred column: the copy on top, the wide hero video underneath.
   The copy is centred to pull the eye; only the eyebrow stays on the left */
.hero-grid {
  display: grid;
  justify-items: center;
}
.hero-copy { width: 100%; max-width: 640px; text-align: center; }
.hero-visual { width: 100%; max-width: 1040px; margin-top: 64px; }
/* On phones the stats drop under the video so the video sits right after the buttons */
@media (max-width: 600px) {
  .hero-visual { margin-top: 44px; }
  .hero-meta { order: 1; margin-top: 40px; }
}

.hero-copy .eyebrow { display: flex; width: fit-content; text-align: left; animation: fade-up 0.8s var(--ease) both; }
@media (max-width: 600px) {
  .hero-copy .eyebrow { gap: 8px; font-size: 11px; letter-spacing: 0.1em; white-space: nowrap; }
}

.hero-title {
  margin-top: 6px;
  font-size: clamp(42px, 5.8vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero-title span { display: block; }
.hero-title span + span { margin-top: 0.04em; }
/* At line-height 1 the descenders hang below the line box, where the
   gradient's text clip stops painting; extend the box without moving anything */
.hero-title .text-gradient { padding-bottom: 0.12em; margin-bottom: -0.12em; }

.hero-sub {
  margin: 26px auto 0;
  max-width: 520px;
  font-size: clamp(15.5px, 1.3vw, 18px);
  font-weight: 500;
  color: #463d35;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-meta {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--text); }
.hero-meta span { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

/* Hero reel frame — our videos share the page's background, so the frame
   floats on a soft orange glow instead of a heavy border */
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-mid);
  box-shadow: var(--glow);
}

.reel-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.sound-toggle {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(30, 27, 24, 0.62);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.sound-toggle:hover { border-color: var(--ember-1); background: rgba(30, 27, 24, 0.8); }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle .icon-off { display: none; }
.sound-toggle.is-muted .icon-on { display: none; }
.sound-toggle.is-muted .icon-off { display: block; }

.play-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(30, 27, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.play-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember-1);
  box-shadow: 0 0 0 0 rgba(255, 122, 46, 0.6);
  animation: pulse-dot 1.8s infinite;
}

.tap-play {
  position: absolute; inset: 0; margin: auto; z-index: 4;
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ember-gradient);
  border: none;
  box-shadow: 0 14px 34px -8px rgba(232, 71, 28, 0.65);
  transition: transform var(--dur-fast) var(--ease);
}
.tap-play:hover { transform: scale(1.06); }
.tap-play[hidden] { display: none; }
.tap-play svg { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- Marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.28);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span i { color: var(--ember-2); font-style: normal; }

/* ---------- Portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 36px 28px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.work-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work-card:hover .work-thumb img { transform: scale(1.04); }

.work-play {
  position: absolute; right: 14px; bottom: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 27, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.work-card:hover .work-play { transform: scale(1.08); background: var(--ember-2); border-color: transparent; }
.work-play svg { width: 18px; height: 18px; margin-left: 2px; }

.work-type {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ember-ink);
  margin-bottom: 6px;
}
.work-info h3 { font-size: 20px; }
.work-meta { margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.work-desc, .work-watch { display: none; }

/* A single project shows as one featured case; from the second project on,
   the same cards fall back into the grid above. */
.work-grid.is-single { grid-template-columns: 1fr; }
.work-grid.is-single .work-card {
  display: grid;
  gap: 24px;
  padding: 16px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px) saturate(140%);
  cursor: default;
}
.work-grid.is-single .work-thumb { cursor: pointer; }
.work-grid.is-single .work-info { padding: 4px 10px 14px; }
.work-grid.is-single .work-info h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; }
.work-grid.is-single .work-meta { font-size: 14.5px; margin-top: 8px; }
.work-grid.is-single .work-desc { display: block; margin-top: 18px; max-width: 460px; color: var(--text-muted); font-size: 15.5px; line-height: 1.7; }
.work-grid.is-single .work-watch { display: inline-flex; margin-top: 28px; }
@media (min-width: 860px) {
  .work-grid.is-single .work-card {
    grid-template-columns: minmax(0, 400px) 1fr;
    align-items: center;
    gap: 56px;
    padding: 20px 48px 20px 20px;
  }
  .work-grid.is-single .work-info { padding: 0; }
}

.work-more {
  margin-top: 44px;
  text-align: center;
}

/* ---------- Shared card surfaces ---------- */
.model-card, .price-factors, .process-list, .testi-card, .cookie-banner-inner, .legal-note {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px) saturate(140%);
}

/* ---------- How We Work ---------- */
.model-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  margin-bottom: 20px;
}

.model-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease);
}
.model-card:hover { transform: translateY(-6px); }

/* The highlighted option, like the selected answer in our brief videos */
.model-card.is-featured {
  background: var(--ink);
  border-color: var(--ink-border);
  box-shadow: var(--glow);
}
.model-card.is-featured .model-tier { color: var(--ink-text); }
.model-card.is-featured .model-desc { color: var(--ink-muted); }
.model-card.is-featured::before {
  content: '';
  position: absolute; top: 30px; right: 26px;
  width: 22px; height: 22px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--ember-gradient);
  box-shadow: 0 0 0 5px rgba(255, 122, 46, 0.18);
}

.model-tier {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.model-desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

.price-factors {
  border-radius: var(--radius-lg);
  padding: 32px clamp(24px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}
.price-factors-head { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; min-width: 0; max-width: 100%; }
.price-start { font-size: 14.5px; color: var(--text-muted); }
.price-start strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; color: var(--text); font-weight: 600; }
.price-factors-head > span:last-child { font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

.price-factors ul { display: flex; flex-direction: column; gap: 11px; flex: 1; min-width: 240px; }
.price-factors li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.price-factors li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--ember-2); }

.price-factors .btn { flex-shrink: 0; }

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: step;
  border-radius: var(--radius-lg);
}
@media (min-width: 860px) {
  .process-list { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  position: relative;
  padding: 32px 26px 30px;
}
.process-step + .process-step { border-top: 1px solid var(--border); }
@media (min-width: 860px) {
  .process-step + .process-step { border-top: 0; border-left: 1px solid var(--border); }
}

.process-num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-text);
  background: var(--ink);
  box-shadow: 0 10px 22px -12px rgba(40, 24, 10, 0.6);
}
.process-num::before { content: counter(step, decimal-leading-zero); }

.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 14.5px; }

.process-step .arrow {
  position: absolute; right: -14px; top: 38px;
  width: 28px; height: 28px; z-index: 2;
  border-radius: 50%;
  background: var(--card-solid);
  border: 1px solid var(--border-strong);
  display: none;
  align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--ember-2);
}
@media (min-width: 860px) {
  .process-step:not(:last-child) .arrow { display: flex; }
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.testi-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testi-stars { display: flex; gap: 4px; color: var(--ember-1); }
.testi-stars svg { width: 15px; height: 15px; }
.testi-quote { font-family: var(--font-display); font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ember-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff;
}
.testi-person strong { display: block; font-size: 14px; }
.testi-person span { display: block; font-size: 12.5px; color: var(--text-faint); }

/* Promise cards (stand in for testimonials until we have real ones) */
.promise-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.promise-card { padding: 24px; gap: 12px; }
.promise-icon {
  width: 38px; height: 38px; padding: 9px;
  border-radius: 12px;
  color: var(--ember-1);
  background: var(--ink);
  box-shadow: 0 10px 22px -12px rgba(40, 24, 10, 0.6);
}
.promise-title { font-size: 18px; line-height: 1.35; margin-top: 4px; }
.promise-text { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-top: -4px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 940px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
}

/* A small UI card in the style of our videos; main.js ticks it off */
.about-visual {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.ui-card {
  width: min(100%, 420px);
  padding: 26px;
  border-radius: 26px;
  color: var(--ink-text);
  background: var(--ink);
  border: 1px solid var(--ink-border);
  box-shadow: var(--glow);
  transform: rotateY(12deg) rotateX(6deg) rotateZ(-2deg);
  transition: transform var(--dur-slow) var(--ease);
}
.about-visual:hover .ui-card { transform: none; }

.ui-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ember-2);
}
.ui-card-head .logo { color: var(--ink-text); font-size: 24px; }
.ui-card-head .logo small { color: var(--ink-muted); }
.ui-card-head > span { font-size: 12px; color: var(--ink-muted); }

.ui-steps { display: flex; flex-direction: column; gap: 10px; }
.ui-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 13px 16px;
  border-radius: 12px;
  background: #d9d1c7;
  color: #2a2826;
  font-size: 15px;
  font-weight: 500;
}

.ui-check {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ember-gradient);
  box-shadow: 0 0 0 4px rgba(255, 122, 46, 0.22);
  display: flex; align-items: center; justify-content: center;
}
.ui-check svg { width: 14px; height: 14px; }

.ui-progress {
  margin-top: 20px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink-2);
  overflow: hidden;
}
.ui-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--ember-gradient); transform-origin: left; }

.ui-done {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ui-done .ui-check { width: 40px; height: 40px; border-radius: 12px; }
.ui-done .ui-check svg { width: 20px; height: 20px; }
.ui-done strong { display: block; font-size: 16px; font-weight: 600; }
.ui-done span { display: block; font-size: 13px; color: var(--ink-muted); }

.about-copy p + p { margin-top: 18px; }
.about-copy .lede { margin-bottom: 22px; }
.about-copy > p:not(.lede) { color: var(--text-muted); }

.about-badges {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-badges span {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.about-badges span::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember-gradient);
}

.about-socials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-socials .btn-icon { width: 18px; height: 18px; }

/* ---------- Contact / Intake ---------- */
.contact-grid {
  position: relative;
  display: grid;
  gap: 48px;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
}

.contact-info h2 { margin-bottom: 18px; }
.contact-steps { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-steps li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--text-muted); }
.contact-steps b {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--ink-text); background: var(--ink);
}

/* Charcoal like the brief card in our videos — and the Tally form's theme is dark to match */
.intake-card {
  border-radius: 26px;
  color: var(--ink-text);
  background: var(--ink);
  border: 1px solid var(--ink-border);
  box-shadow: var(--glow);
  overflow: hidden;
}
.intake-card-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--ember-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.intake-card-head strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.intake-card-head span { font-size: 13px; color: var(--ink-muted); }

.intake-embed {
  position: relative;
  width: 100%;
}
.intake-embed iframe {
  width: 100%; height: 640px; border: 0; display: block;
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
}
.footer-top {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; }
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-brand .logo { font-size: 27px; }
.footer-brand .logo small { font-size: 10.5px; }
.footer-brand .footer-slogan {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: transparent;
  background: linear-gradient(135deg, #f4611f 0%, #dc4219 55%, #b9300f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.footer-brand .footer-slogan + p { margin-top: 12px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--ember-ink); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-legal-links a { font-size: 12.5px; color: var(--text-faint); transition: color var(--dur-fast) var(--ease); }
.footer-legal-links a:hover { color: var(--ember-ink); }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.footer-socials a:hover { border-color: var(--ember-1); color: var(--ember-ink); }
.footer-socials svg { width: 16px; height: 16px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(36, 26, 18, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-frame {
  position: relative;
  display: inline-flex;
  max-width: min(1200px, 92vw);
  max-height: 85vh;
  transform: scale(0.94);
  transition: transform var(--dur-med) var(--ease);
}
.lightbox.is-open .lightbox-frame { transform: scale(1); }
.lightbox-inner {
  position: relative;
  width: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--glow);
  display: flex;
}
.lightbox-body { display: flex; max-height: 85vh; }
.lightbox-body video { display: block; width: auto; height: auto; max-width: min(1200px, 92vw); max-height: 85vh; background: var(--ink); }
.lightbox-close {
  position: absolute; top: -18px; right: -18px;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--text);
  background: var(--card-solid); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.lightbox-close:hover { border-color: var(--ember-1); }
@media (max-width: 600px) {
  .lightbox-close { top: 8px; right: 8px; }
}

/* ---------- Reveal animation base states (GSAP toggles) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-fade { opacity: 0; }

/* ---------- Misc animations ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(255,122,46,0.55); } 70% { box-shadow: 0 0 0 8px rgba(255,122,46,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,46,0); } }
@keyframes blob-a { from { transform: translate(0, 0); } to { transform: translate(14vmax, 10vmax); } }
@keyframes blob-b { from { transform: translate(0, 0); } to { transform: translate(-12vmax, 16vmax); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 500;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: var(--ink-text);
  background: var(--ink);
  border: 1px solid var(--ink-border);
  box-shadow: 0 14px 30px -14px rgba(40, 24, 10, 0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ember-2); }
body.cookie-banner-visible .to-top { bottom: 108px; }
@media (max-width: 600px) { body.cookie-banner-visible .to-top { bottom: 24px; } }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  padding: 20px;
  transform: translateY(120%);
  transition: transform var(--dur-med) var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 240, 0.9);
  box-shadow: 0 24px 60px -24px rgba(60, 36, 14, 0.45);
}
.cookie-banner-inner p { flex: 1; min-width: 220px; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.cookie-banner-inner p a { color: var(--ember-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-strong); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: -0.015em;
  color: var(--text);
}
.faq-question .plus {
  position: relative;
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--ember-2);
}
.faq-question .plus::before, .faq-question .plus::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-question .plus::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-question .plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item.is-open .faq-question .plus::after { transform: rotate(90deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 4px 24px; max-width: 660px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding-top: 160px;
  padding-bottom: 48px;
}
.legal-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 14px;
}
.legal-updated { margin-top: 16px; font-size: 13px; color: var(--text-faint); }
.legal-content {
  max-width: 760px;
  padding-bottom: 40px;
}
.legal-content h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal-content li { color: var(--text-muted); font-size: 15px; line-height: 1.65; padding-left: 22px; position: relative; }
.legal-content li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember-gradient);
}
.legal-content a { color: var(--ember-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--text); }
.legal-note {
  margin-top: 56px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
}
.legal-note p { color: var(--text-faint); font-size: 13px; line-height: 1.7; }
.legal-manage-btn { margin-top: 24px; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
