/* ============================================================
   Foodie Studios — Awesomic-style design system
   Editorial zinc grid with confetti-orange punctuation
   ============================================================ */

:root {
  /* Colors */
  --color-obsidian: #09090b;
  --color-graphite: #18181b;
  --color-slate: #27272a;
  --color-iron: #3f3f46;
  --color-steel: #52525b;
  --color-fog: #71717a;
  --color-ash: #a1a1aa;
  --color-mist: #d4d4d8;
  --color-cloud: #ececee;
  --color-paper: #f4f4f5;
  --color-snow: #ffffff;
  --color-ember: #E5724E;
  --color-magenta-spark: #fe45e2;

  /* Typography */
  --font-sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text-caption: 12px;
  --text-body: 18px;
  --text-body-lg: 18px;
  --text-subheading: 20px;
  --text-heading-sm: 32px;
  --text-heading: 40px;
  --text-heading-lg: 56px;
  --text-display: 64px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 120px;
  --card-padding: 28px;

  /* Radii */
  --radius-badges: 12px;
  --radius-buttons: 14px;
  --radius-inputs: 14px;
  --radius-cards: 36px;
  --radius-pills: 10000px;

  /* Shadows */
  --shadow-btn-dark: rgba(255, 255, 255, 0.5) 0px 0.5px 0px 0px inset, rgba(117, 123, 133, 0.4) 0px 9px 14px -5px inset, rgb(44, 46, 52) 0px 0px 0px 1.5px, rgba(0, 0, 0, 0.14) 0px 4px 6px 0px;
  --shadow-md: rgba(0, 0, 0, 0.04) 0px 4px 12px 0px;

  /* Surfaces */
  --surface-canvas: #f4f4f5;
  --surface-card: #ffffff;
  --surface-subtle-card: #fafafa;
  --surface-dark: #18181b;
  --surface-deep-dark: #27272a;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-graphite);
  background: var(--surface-canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-buttons);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, opacity 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-ember);
  outline-offset: 2px;
}
.btn--lg { padding: 15px 28px; font-size: 15px; }

.btn--dark {
  background: var(--color-obsidian);
  color: var(--color-snow);
  box-shadow: var(--shadow-btn-dark);
}
.btn--dark:hover { box-shadow: var(--shadow-btn-dark), 0 8px 20px rgba(0,0,0,0.18); }

.btn--light {
  background: var(--color-snow);
  color: var(--color-graphite);
}
.btn--light:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

.btn--neutral {
  background: var(--surface-subtle-card);
  color: var(--color-graphite);
  border: 1px solid var(--color-cloud);
}
.btn--neutral:hover { background: var(--color-snow); box-shadow: var(--shadow-md); }

.btn--outline-light {
  background: transparent;
  color: var(--color-snow);
  border: 1px solid var(--color-steel);
}
.btn--outline-light:hover { border-color: var(--color-ash); }

.btn--ghost-pill {
  background: var(--color-snow);
  color: var(--color-iron);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-pills);
  padding: 10px 20px;
  font-size: 13px;
}
.btn--ghost-pill:hover { border-color: var(--color-mist); box-shadow: var(--shadow-md); }

/* ============================================================
   Badges
   ============================================================ */
/* ============================================================
   Icons (Lucide, inline SVG — stroke 1.75)
   Default color is the secondary-text gray; orange is reserved
   for eyebrow labels, hero trust and the services arrows.
   ============================================================ */
.icon { flex: 0 0 auto; }
.icon-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.icon-line .icon { color: var(--color-fog); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  padding: 4px 10px;
  border-radius: var(--radius-badges);
  white-space: nowrap;
}
.badge--ember { background: #5A88A5; color: var(--color-snow); }
.badge--outline { border: 1px solid var(--color-mist); color: var(--color-graphite); background: transparent; }
.badge--fill { background: var(--color-iron); color: var(--surface-subtle-card); }
.badge--outline-light { border: 1px solid var(--color-steel); color: var(--color-mist); background: transparent; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  padding: 12px 16px;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  border-radius: var(--radius-pills);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.92), rgba(21, 21, 21, 0.8));
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(251, 243, 232, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(251, 243, 232, 0.12),
    inset 0 -1px 1px rgba(251, 243, 232, 0.06),
    0 8px 24px rgba(21, 21, 21, 0.25),
    0 1px 2px rgba(21, 21, 21, 0.15);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled .nav__inner {
  box-shadow:
    inset 0 1px 0 rgba(251, 243, 232, 0.12),
    inset 0 -1px 1px rgba(251, 243, 232, 0.06),
    0 14px 36px rgba(21, 21, 21, 0.32),
    0 2px 6px rgba(21, 21, 21, 0.18);
}
/* Glass needs backdrop-filter — fall back to a solid bar where unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__inner, .nav__links { background: rgba(21, 21, 21, 0.96); }
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 32px; width: auto; display: block; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links-menu { display: contents; }
.nav__links-cta { display: none; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(239, 234, 223, 0.8);
  transition: color 0.2s;
}
.nav__links a:hover { color: #EFEADF; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { background: var(--color-ember); box-shadow: 0 8px 20px rgba(229, 114, 78, 0.3); }
.nav__cta:hover { box-shadow: 0 8px 20px rgba(229, 114, 78, 0.42); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__burger span { width: 22px; height: 2px; background: #EFEADF; border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-cta { display: none; }

/* ============================================================
   Hero — full-bleed video reel
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* stable full height under mobile browser chrome */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-graphite);
}
.hero__media { position: absolute; inset: 0; }
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* poster shows until (and unless) the reel loads */
  background: url('../assets/images/hero-poster.jpg') center / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.18) 0%, rgba(9, 9, 11, 0.10) 40%, rgba(9, 9, 11, 0.62) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 56px;
}
.hero__badges { display: flex; gap: 8px; margin-bottom: 24px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-snow);
  max-width: 820px;
  text-wrap: balance;
}
/* Rotating headline word: white text with a thick orange underline.
   inline-grid stacks every word in the same cell; JS pins an explicit px
   width to the current word (see fitRotator) so the underline bar —
   absolutely positioned across the box — always matches the word and
   animates between lengths instead of snapping. clip-path (not overflow:
   hidden) keeps the text baseline and hides off-slot words; the bottom
   padding clears descenders and hosts the bar, and the negative margin
   cancels it in the line box so surrounding text never moves. */
.rotator {
  position: relative; /* clipper must be positioned or transformed children escape the clip */
  z-index: 0;
  display: inline-grid;
  justify-items: start;
  white-space: nowrap;
  color: #ffffff;
  padding-bottom: 0.28em; /* 0.08em descender clearance + 0.2em bar */
  margin-bottom: -0.28em;
  clip-path: inset(0);
  transition: width 0.3s var(--ease-out);
}
.rotator::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.2em;
  background: #5A88A5;
}
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.rotator__word.is-current { transform: none; opacity: 1; }
.rotator__word.is-out { transform: translateY(-100%); opacity: 0; }

.hero__sub {
  margin-top: 20px;
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
}
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__cta .btn--dark {
  background: var(--color-ember);
  box-shadow: 0 8px 20px rgba(229, 114, 78, 0.3);
}
.hero__cta .btn--dark:hover { box-shadow: 0 8px 20px rgba(229, 114, 78, 0.42); }
.hero__trust {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.hero__trust li .icon { color: var(--color-ember); }

.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-snow);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }

/* Availability badge */
.badge--availability {
  background: rgba(24, 24, 27, 0.06);
  border: 1px solid var(--color-cloud);
  color: var(--color-graphite);
  border-radius: var(--radius-pills);
  padding: 6px 14px;
  font-size: 13px;
}
.badge--availability:empty { display: none; }
.badge--availability-hero {
  background: rgba(9, 9, 11, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--color-snow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding-top: var(--section-gap); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section__head .badge { margin-bottom: 14px; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, var(--text-heading));
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--color-obsidian);
  text-wrap: balance;
}
.section__note {
  font-size: var(--text-body);
  color: var(--color-fog);
  max-width: 340px;
  text-align: right;
}
.section__head--center .section__note { text-align: center; max-width: 480px; }
.section__title--sub { font-size: clamp(24px, 3vw, 28px); }

.work__photos { margin-top: 96px; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--surface-card);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-cards);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--dark {
  background: var(--surface-dark);
  border-color: var(--color-slate);
  color: var(--color-snow);
}
.card__body { padding: var(--card-padding); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-paper);
  color: var(--color-steel);
}
.card--dark .card__icon { background: var(--color-slate); color: var(--color-mist); }
.card__title {
  font-size: var(--text-subheading);
  font-weight: 600;
  line-height: 1.28;
  color: var(--color-obsidian);
}
.card__title--light { color: var(--color-snow); font-size: var(--text-heading-sm); line-height: 1.25; }
.card__text { font-size: var(--text-body); color: var(--color-steel); }
.card__text--light { color: var(--color-ash); font-size: var(--text-body-lg); }
.card__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.card__price { font-size: 15px; color: var(--color-steel); }
.card__price span {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-obsidian);
  margin-right: 6px;
}
.card__price--light { color: var(--color-ash); }
.card__price--light span { color: var(--color-snow); }
.card__footnote { font-size: 13px; color: var(--color-ash); }
.card__footnote--dark { color: var(--color-fog); }

/* Arrow list (dark feature card style) */
.arrow-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.arrow-list li {
  position: relative;
  padding-left: 30px;
  font-size: var(--text-subheading);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-snow);
}
.arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-ember);
}
.arrow-list--dark li { color: var(--color-graphite); font-size: 16px; }

/* ============================================================
   Video reel
   ============================================================ */
.reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px max(24px, calc((100vw - var(--page-max-width)) / 2 + 24px)) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-mist) transparent;
}
.video-card {
  position: relative;
  flex: 0 0 auto;
  height: 440px;
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--color-slate);
  border: 1px solid var(--color-cloud);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.14); }
.video-card--landscape { aspect-ratio: 16 / 10; }
.video-card--portrait { aspect-ratio: 9 / 16; }
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.video-card:hover img { transform: scale(1.045); }
.video-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0) 45%, rgba(9,9,11,0.72) 100%);
}
.video-card__meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.video-card__title {
  font-size: var(--text-subheading);
  font-weight: 600;
  color: var(--color-snow);
  line-height: 1.25;
}
.video-card__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.video-card__badges .badge { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(9,9,11,0.35); }
.video-card__badges .icon { color: var(--color-snow); }
.video-card__client { font-size: 13px; color: rgba(255,255,255,0.75); }
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out), background 0.25s;
  pointer-events: none;
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.12); background: var(--color-snow); }
.video-card__play::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 16px solid var(--color-obsidian);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Video reel: mobile format rows (below md only) ---------- */
.reel-mobile { display: none; }

.reel-mobile__row + .reel-mobile__row { margin-top: 20px; }
.reel-mobile__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-fog);
  padding: 0 24px;
  margin-bottom: 10px;
}
.reel-mobile__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 4px 24px;
}
.reel-mobile__scroll::-webkit-scrollbar { display: none; }

.reel-row__card {
  position: relative;
  flex: 0 0 auto;
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--color-slate);
  border: 1px solid var(--color-cloud);
  scroll-snap-align: start;
  cursor: pointer;
}
.reel-mobile__row--vertical .reel-row__card { width: clamp(140px, 40vw, 170px); aspect-ratio: 9 / 16; }
.reel-mobile__row--horizontal .reel-row__card { width: min(70vw, 300px); aspect-ratio: 16 / 9; }
.reel-row__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-row__card .video-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0) 45%, rgba(9,9,11,0.72) 100%);
}
.reel-row__card .video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.reel-row__card .video-card__play::after {
  content: "";
  display: block;
  margin-left: 3px;
  border-left: 12px solid var(--color-obsidian);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.reel-row__card .video-card__title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-snow);
  line-height: 1.25;
}
.reel-row__card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   Services layout
   ============================================================ */
#services { padding-top: 72px; }
#services .section__head { margin-bottom: 24px; }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.services__card { display: flex; flex-direction: column; height: 100%; }
.services__card .card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px; gap: 12px; }
.services__card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 92px; }
.services__card-heading { display: flex; align-items: center; gap: 10px; }
.services__card .card__icon { width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto; }
.services__card .card__title { font-size: 17px; }
.services__card .card__title--light { font-size: 19px; }
.services__card .card__price { font-size: 13px; }
.services__card .card__price span { font-size: 26px; margin-right: 4px; }
.services__card .arrow-list { flex: 1; gap: 8px; }
.services__card .arrow-list li { font-size: 14px; padding-left: 22px; line-height: 1.35; }
.services__card .badge--ember { font-size: 12px; padding: 3px 9px; }
.services__card-foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.services__card-foot .card__cta { margin-top: 0; }
.services__card-foot .card__footnote { font-size: 12px; }
.services__card .btn { padding: 10px 18px; font-size: 13px; }

.services__card--order-1 { order: 1; }
.services__card--order-2 { order: 2; }
.services__card--order-3 { order: 3; }

.services__card--featured {
  background: #2E2A26;
  border-color: #2E2A26;
  color: #FBF4E8;
  box-shadow: 0 24px 48px rgba(20, 16, 10, 0.22);
}
.services__card--featured .card__icon { background: rgba(251, 244, 232, 0.1); color: #FBF4E8; }
.services__card--featured .card__title--light { color: #FBF4E8; }
.services__card--featured .card__price--light { color: rgba(251, 244, 232, 0.65); }
.services__card--featured .card__price--light span { color: #FBF4E8; }
.services__card--featured .arrow-list li { color: #FBF4E8; }
.services__card--featured .card__footnote { color: rgba(251, 244, 232, 0.6); }

.services__included {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-fog);
  text-align: center;
}
.services__addons {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-fog);
  text-align: center;
}

@media (min-width: 1025px) {
  .card.services__card--featured.reveal { transform: translateY(-12px); }
  .card.services__card--featured.reveal:hover { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .card.services__card--featured.reveal,
  .card.services__card--featured.reveal:hover { transform: none; }
}

/* ============================================================
   RPM pitch
   ============================================================ */
.rpm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rpm__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ember);
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
  list-style: none;
}
.steps__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--card-padding);
}
.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-obsidian);
  color: var(--color-snow);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.steps__head { display: flex; align-items: center; gap: 8px; }
.steps__title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.steps__icon { color: var(--color-fog); flex: 0 0 auto; }
.steps__turnaround {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-iron);
}

/* ============================================================
   Testimonials + client wall
   ============================================================ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { display: flex; flex-direction: column; gap: 14px; padding: 40px; }
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 0.55;
  color: var(--color-ember);
  user-select: none;
}
.testimonial__quote {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-graphite);
  max-width: 60ch;
}
.testimonial__quote p + p { margin-top: 1.5em; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.testimonial__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cloud);
  color: var(--color-iron);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--color-obsidian); }
.testimonial__blog { font-size: 13px; color: var(--color-fog); }
.testimonial-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 44px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-mist);
}
.testimonial-stats li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-iron);
}
.testimonial-stats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-ember);
  font-weight: 700;
}
.client-wall { margin-top: 40px; text-align: center; }
.client-wall__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fog);
  margin-bottom: 16px;
}
.client-wall__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px 40px;
  flex-wrap: wrap;
}
.client-wall__row span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ash);
}


/* ============================================================
   Masonry photo grid
   ============================================================ */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.4);
  color: var(--color-snow);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  pointer-events: none;
}
.masonry__item:hover .masonry__zoom,
.masonry__item:focus-visible .masonry__zoom { opacity: 1; }
.masonry__item {
  position: relative;
  margin-bottom: 16px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-cloud);
  cursor: zoom-in;
  break-inside: avoid;
}
.masonry__item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0);
  transition: background 0.35s;
}
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { background: rgba(9, 9, 11, 0.14); }

/* ============================================================
   Team
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team__card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team__card .card__body { gap: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface-card);
  border: 1px solid var(--color-cloud);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq__item.is-open { box-shadow: var(--shadow-md); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-obsidian);
  text-align: left;
}
.faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fog);
  transition: transform 0.2s var(--ease-out), color 0.2s;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--color-ember);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq__answer p {
  padding: 0 26px 24px;
  color: var(--color-steel);
  font-size: var(--text-body);
  line-height: 1.6;
}

/* Static FAQ variant (landing pages, native <details>) */
.faq details {
  background: var(--surface-card);
  border: 1px solid var(--color-cloud);
  border-radius: 20px;
  overflow: hidden;
}
.faq details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-obsidian);
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  color: var(--color-iron);
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--color-obsidian); border-color: var(--color-obsidian); color: var(--color-snow); }
.faq details p { padding: 0 26px 24px; color: var(--color-steel); line-height: 1.6; }

/* Landing page helpers */
.page-hero { padding: 96px 0 0; }
.page-hero .badge { margin-bottom: 14px; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-obsidian);
  max-width: 780px;
  text-wrap: balance;
}
.page-hero__sub { margin-top: 20px; font-size: var(--text-body-lg); color: var(--color-steel); max-width: 640px; }
.prose { max-width: 720px; }
.prose p { margin-bottom: 16px; color: var(--color-iron); line-height: 1.6; }
.prose h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--color-obsidian); margin: 32px 0 12px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip img { border-radius: 24px; border: 1px solid var(--color-cloud); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.strip--wide img { aspect-ratio: 16 / 10; }
.cta-band {
  background: var(--surface-dark);
  border-radius: var(--radius-cards);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--color-snow); max-width: 520px; }
@media (max-width: 768px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 32px; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--surface-dark);
  border: 1px solid var(--color-slate);
  border-radius: var(--radius-cards);
  padding: 56px;
  color: var(--color-snow);
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, var(--text-heading));
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.contact__text { margin-top: 16px; color: var(--color-ash); font-size: var(--text-body-lg); }
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: var(--text-subheading);
  font-weight: 600;
  color: var(--color-snow);
  border-bottom: 2px solid #5A88A5;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.contact__email:hover { color: var(--color-ember); }
.contact__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.contact__form { display: flex; flex-direction: column; gap: 14px; }
.contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--color-ash); }
.contact__form em { font-style: normal; color: var(--color-fog); }
.contact__promise {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-snow);
}
.contact__promise .icon { color: var(--color-ash); }
.contact__email-icon { color: #5A88A5; }
.contact__form button .icon { transition: transform 0.2s var(--ease-out); }
.contact__form button:hover .icon { transform: translateX(3px); }
.contact__form input,
.contact__form select,
.contact__form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--color-graphite);
  background: var(--color-snow);
  border: 1px solid transparent;
  border-radius: var(--radius-inputs);
  padding: 12px 16px;
  outline: none;
  transition: box-shadow 0.25s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { box-shadow: 0 0 0 2px var(--color-ember); }
.contact__form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-steel) 50%), linear-gradient(135deg, var(--color-steel) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact__form select:invalid { color: var(--color-ash); }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--color-ash); }
.contact__form .btn { margin-top: 6px; }
.contact__form .btn--light { background: #E5724E; color: #EFEADF; }
.contact__form .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact__form-status { font-size: 14px; font-weight: 500; color: var(--color-snow); }
.contact__form-status--error { color: #E5724E; }

/* ============================================================
   Footer
   ============================================================ */
.footer { margin-top: var(--section-gap); background: #5A88A5; }
.footer__logo { display: inline-flex; align-items: center; }
.footer__logo img { height: 52px; width: auto; display: block; }
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer__links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: #EFEADF; transition: color 0.2s; }
.footer__links a:hover { color: #ffffff; }
.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 32px;
  font-size: 13px;
  color: #EFEADF;
  flex-wrap: wrap;
}
.footer__meta a { color: #EFEADF; }
.footer__meta a:hover { color: #ffffff; }
.footer__loc { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer__loc-detail { display: inline-flex; align-items: center; gap: 8px; }
.footer__mail { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(9, 9, 11, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 24px;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-snow);
  font-size: 26px;
  line-height: 1;
  transition: background 0.25s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .rotator { transition: none; }
  .rotator__word { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; gap: 16px; }
  .services__card--order-1,
  .services__card--order-2,
  .services__card--order-3 { order: 0; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 40px; }
  .rpm { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .nav__actions .badge--availability { display: none; }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; }
  .masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; columns: unset; }
  .masonry__item { margin-bottom: 0; border-radius: 12px; }
  .masonry__zoom { width: 24px; height: 24px; top: 6px; right: 6px; }
  .nav__inner { position: relative; }
  .nav__logo { position: absolute; left: 50%; transform: translateX(-50%); z-index: 141; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 140;
    flex-direction: column;
    gap: 0;
    background: #5A88A5;
    padding: 0 32px calc(32px + env(safe-area-inset-bottom, 0px));
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0s;
  }
  .nav__links-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
  }
  .nav__links a {
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #EFEADF;
  }
  .nav__links a:hover { color: #ffffff; }
  .nav__links a.nav__links-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    background: var(--color-ember);
    color: var(--color-snow);
  }
  .nav__links a.nav__links-cta:hover { color: var(--color-snow); }
  .nav__burger { display: flex; position: relative; z-index: 141; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn--ghost-pill { display: none; }
  .nav__cta { display: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-cta { display: none; }
  /* backdrop-filter on an ancestor creates a containing block for position:fixed
     descendants, which would confine the full-screen menu to the pill's box */
  body.nav-open .nav__inner { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 50%;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 150;
    background: var(--color-ember);
    color: var(--color-snow);
    box-shadow: 0 4px 10px rgba(229, 114, 78, 0.35);
    transition: opacity 0.25s, visibility 0.25s;
  }
  .mobile-cta:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 4px 10px rgba(229, 114, 78, 0.45); }
  .mobile-cta:active { transform: translateX(-50%) translateY(0); }
  .mobile-cta.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

  .hero__content { padding-top: 96px; padding-bottom: 40px; }
  .hero__trust { flex-direction: column; gap: 10px; }
  .steps { grid-template-columns: 1fr; }

  .section__head { flex-direction: column; align-items: flex-start; }
  .section__note { text-align: left; }

  .reel { display: none; }
  .reel-mobile { display: block; }

  .video-card { height: 360px; }
  .team { grid-template-columns: 1fr; }
  .testimonial { padding: 28px; }
  .testimonial-stats { flex-direction: column; align-items: flex-start; }
  .contact { padding: 28px; }
  .services__card .card__body { padding: 28px; }
  .arrow-list li { font-size: 17px; }

  .footer__meta { flex-direction: column; justify-content: center; text-align: center; }
  .footer__loc-detail { display: none; }
}
