/* R2G Studios — shared styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #d4501c;
  --purple-light: #e66a39;
  --navy: #261107;
  --navy-deep: #1a0a04;
  --lavender: #f0e6e1;
  --lavender-soft: #f8f3f0;
  --white: #ffffff;
  --text-dark: #261107;
  --text-muted: rgba(38, 17, 7, 0.7);
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);
  --border-on-dark: rgba(255, 255, 255, 0.08);
}

html, body {
  background: var(--lavender);
  color: var(--text-dark);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 6px 14px;
  border: 1px solid rgba(212, 80, 28, 0.35);
  border-radius: 999px;
  background: rgba(212, 80, 28, 0.06);
}
.dark .eyebrow {
  color: #fabb9e;
  border-color: rgba(250, 187, 158, 0.28);
  background: rgba(212, 80, 28, 0.12);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.dark { background: var(--navy); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.lavender-bg { background: var(--lavender); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(38, 17, 7, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--white);
}
.brand .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--white);
  color: var(--navy);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-right: 4px;
}
.brand .brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0;
  margin-left: 2px;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex; align-items: center; gap: 36px;
}
.nav a.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 400;
  transition: color 200ms ease;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--white); }
.nav a.nav-link.active { font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, opacity 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-secondary {
  background: transparent; color: var(--purple);
  border-color: var(--purple);
}
.dark .btn-secondary { color: #fabb9e; border-color: rgba(250, 187, 158, 0.5); }
.btn-secondary:hover { background: rgba(212, 80, 28, 0.1); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); opacity: 0.94; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 200ms ease;
}

/* ── Mobile menu overlay ─── */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 350ms ease;
  padding: 0 32px 40px;
  display: flex; flex-direction: column;
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }

/* Header row: logo left, close right */
.mobile-menu .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  /* Always visible — not part of the fade-in animation */
  opacity: 1 !important;
  transform: none !important;
}
/* Logo link inside header — exempt from the nav-link opacity:0 rule */
.mobile-menu .menu-header a,
.mobile-menu .menu-brand {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  font-size: unset !important;
}
.mobile-menu .menu-brand img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.mobile-menu .close-btn {
  position: static;
  background: transparent; border: 0; color: white;
  font-size: 30px; line-height: 1; cursor: pointer;
  padding: 4px;
  opacity: 1 !important;
}

/* Nav links */
.mobile-menu a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms ease;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
/* Stagger — child 1 is div.menu-header, so links start at child 2 */
.mobile-menu.open a:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.open a:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.open a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu.open a:nth-child(5) { transition-delay: 240ms; }

/* Book a Demo — orange pill button */
.mobile-menu a[href="#book-demo"],
.mobile-menu a[href="index.html#book-demo"] {
  background: var(--purple);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 18px;
  text-align: center;
  margin-top: 16px;
  border-bottom: none;
}

/* ── Image placeholder ──────────────────────────────────────── */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(212, 80, 28, 0.10) 0,
      rgba(212, 80, 28, 0.10) 12px,
      rgba(212, 80, 28, 0.04) 12px,
      rgba(212, 80, 28, 0.04) 24px);
  border: 1px solid rgba(212, 80, 28, 0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 11px;
  color: rgba(38, 17, 7, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.placeholder.on-dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 24px);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.55);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(212, 80, 28, 0.22), transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  color: var(--purple-light);
  margin-bottom: 28px;
}
.hero-text h1 .serif-italic {
  font-size: 1.04em;
  display: block;
  color: var(--purple-light);
}
.hero-text p {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-grid .placeholder { aspect-ratio: 1 / 1; font-size: 10px; }

/* Hero vertical-marquee carousel */
.hero-marquee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 78vh;
  max-height: 720px;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.hero-col {
  overflow-y: hidden;
  overflow-x: hidden;
  scrollbar-width: none;
}
.hero-col::-webkit-scrollbar { display: none; }
.hero-col.paused {
  overflow-y: auto;
}
.hero-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.hero-col--down .hero-track { animation: marquee-down 36s linear infinite; }
.hero-col--up   .hero-track { animation: marquee-up 36s linear infinite; }
.hero-col:nth-child(2) .hero-track { animation-duration: 44s; }
.hero-col:nth-child(3) .hero-track { animation-duration: 32s; }
.hero-col:hover .hero-track { animation-play-state: paused; }

.hero-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: #381c0e;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-img-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px;
  pointer-events: none;
}
/* Per-tile overlay tint on hover */
.hero-img:hover { border-color: rgba(255,255,255,0.22); }

/* ── Floating cursor bubble (shared: hero + work) ─────────────────── */
#hero-cursor, #work-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(.2,.9,.3,1.3);
  display: flex; align-items: center; justify-content: center;
  /* glossy glass pill */
  background: linear-gradient(160deg,
    rgba(255,255,255,0.26) 0%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.28),
    inset 0 1.5px 0 rgba(255,255,255,0.60),
    inset 0 -1px 0 rgba(0,0,0,0.22);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
#hero-cursor.visible, #work-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
#hero-cursor.clicking, #work-cursor.clicking {
  transform: translate(-50%, -50%) scale(0.88);
}
#hero-cursor-label, #work-cursor-label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  user-select: none;
}

/* ── Hide default cursor (hand) inside bubble zones ── */
/* Home: hero marquee + work mosaic | Work page: project grid */
#hero-marquee,
#hero-marquee *,
.work-mosaic,
.work-mosaic *,
#work-grid,
#work-grid * {
  cursor: none !important;
}

/* ── Lightbox ─────────────────── */
.hero-lightbox {
  position: fixed; inset: 0;
  background: #0d0502;
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity 320ms ease;
  overflow-y: auto;
  overflow-x: hidden;
}
.hero-lightbox.open { opacity: 1; pointer-events: auto; }
.hero-lb-close {
  position: fixed; top: 20px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(23,10,5,0.75);
  color: var(--white);
  font-size: 17px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
  z-index: 400;
  backdrop-filter: blur(10px);
}
.hero-lb-close:hover { background: rgba(255,255,255,0.16); }
/* Grid fills full screen — no container, no side padding */
.hero-lb-inner {
  width: 100%;
  padding: 10px 10px 130px; /* 10px all-round spacing + bottom for meta bar */
}
.hero-lb-grid {
  column-count: 3;
  column-gap: 10px;
  width: 100%;
}
/* Meta bar — fixed dark gradient overlay at the bottom */
.hero-lb-meta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 350;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 60px 36px 28px;
  background: linear-gradient(0deg, rgba(13,5,2,0.97) 0%, rgba(13,5,2,0.75) 65%, transparent 100%);
  pointer-events: none;
}
.hero-lb-meta-left { flex: 0 0 auto; }
.hero-lb-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700; font-size: 52px;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--white);
}
.hero-lb-cat {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 8px;
}
.hero-lb-disclaimer {
  font-size: 11px; font-style: italic;
  color: rgba(255,255,255,0.5); margin-top: 10px;
  max-width: 360px; line-height: 1.45;
}
.hero-lb-desc {
  color: rgba(255,255,255,0.78); font-size: 15px;
  max-width: 440px; flex: 1;
}
.hero-lb-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end; flex: 0 0 auto;
  pointer-events: auto;
}
.hero-lb-tag {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px; color: var(--white);
  background: rgba(255,255,255,0.06);
}
.hero-lb-tile {
  width: 100%;
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 14px;          /* rounded corners like reference */
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
}
/* Ensure img inside tiles also gets rounded corners */
.hero-lb-tile img {
  border-radius: 14px;
  display: block;
  width: 100%;
  height: auto;
}
/* Video tile — spans full width */
.hero-lb-video-tile {
  column-span: all;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  position: relative;
}
/* Video element inside also rounded */
.hero-lb-video-tile video {
  border-radius: 14px;
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: cover;
}
/* Scroll Indicator Overlay */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  background: rgba(13, 5, 2, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: floatDown 2.5s infinite ease-in-out;
}
.scroll-indicator svg {
  width: 18px;
  height: 18px;
  animation: bounceSvg 2s infinite;
}
@keyframes floatDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
@keyframes bounceSvg {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-1.5px); }
}
.hero-lb-kind {
  position: absolute; top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── Portrait video side-by-side layout ── */
.hero-lb-grid--portrait {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  /* Override the column-count masonry when portrait */
  column-count: unset !important;
}
.hero-lb-video-col {
  flex: 0 0 33%;
  max-width: 33%;
  position: sticky;
  top: 10px;       /* stays in view while scrolling images */
}
.hero-lb-video-col video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.hero-lb-img-col {
  flex: 1;
  column-count: 2;
  column-gap: 10px;
}
.hero-lb-img-col .hero-lb-tile {
  break-inside: avoid;
  margin-bottom: 10px;
}

@media (max-width: 1100px) { .hero-lb-grid { column-count: 2; } }
@media (max-width: 700px) {
  .hero-lb-grid { column-count: 2; column-gap: 3px; }
  .hero-lb-tile { margin-bottom: 3px; }
  .hero-lb-meta { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px 20px; }
  .hero-lb-name { font-size: 32px; }
  .hero-lb-tags { justify-content: flex-start; }
  .hero-lb-desc { display: none; }
}
@media (max-width: 480px) { .hero-lb-grid { column-count: 1; } }

@keyframes marquee-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Entrance animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.hero-text > .fade-up:nth-child(1) { transition-delay: 100ms; }
.hero-text > .fade-up:nth-child(2) { transition-delay: 280ms; }
.hero-text > .fade-up:nth-child(3) { transition-delay: 460ms; }
.hero .hero-grid.fade-up,
.hero .hero-marquee.fade-up { transition-delay: 380ms; }

/* ── Trust bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-deep);
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.trust-bar .label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}
.logo-track-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.logo-track .logo {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── About section ───────────────────────────────────────── */
.about-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.about-headline {
  font-size: clamp(42px, 4.5vw, 64px);
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-headline .serif-italic {
  display: block;
  color: var(--purple);
  font-size: 1.04em;
}
.about-row .divider {
  height: 1px; background: rgba(38,17,7,0.15);
  margin-bottom: 32px;
}
.about-row p { color: var(--text-muted); font-size: 18px; max-width: 540px; margin-bottom: 20px; line-height: 1.6; }
.about-image {
  aspect-ratio: 3 / 3.5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* ── Services tiles ─────────────────────────────────────── */
.services-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.services-head .eyebrow { margin-bottom: 16px; }
.services-head h2 { font-size: clamp(36px, 4.4vw, 56px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #381c0e;
  cursor: pointer;
}
.service-tile img { transition: transform 500ms ease; }
.service-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(18,8,3,0.85) 100%);
  transition: opacity 400ms ease;
  pointer-events: none;
}
.service-tile .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 28px 30px;
  z-index: 2;
  color: var(--white);
}
.service-tile .meta h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.service-tile .meta p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 400ms ease, opacity 350ms ease, margin-top 400ms ease;
}
.service-tile:hover img { transform: scale(1.05); }
.service-tile:hover .meta p { max-height: 200px; opacity: 1; margin-top: 4px; }

/* ── Stats ───────────────────────────────────────────── */
.stats-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.stats-head .eyebrow { margin-bottom: 18px; }
.stats-head h2 { font-size: clamp(36px, 4.4vw, 56px); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat .num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 18px;
}
.stat .div { height: 1px; background: rgba(255,255,255,0.18); margin-bottom: 16px; }
.stat .desc { font-size: 14px; color: rgba(255,255,255,0.68); max-width: 260px; }

/* ── Work head ──────────────────────────────────── */
.work-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 56px; gap: 24px;
  flex-wrap: wrap;
}
.work-head h2 { font-size: clamp(34px, 4vw, 52px); }
.work-head h2 .serif-italic { color: var(--text-dark); }

/* ── Work mosaic (home page) ─────────────────────── */
.work-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 52px;
  align-items: start;
}
.wcard {
  display: block;
  text-decoration: none;
  transition: transform 280ms ease;
}
.wcard:hover { transform: translateY(-5px); }
.wcard--wide   { grid-column: span 6; }
.wcard--narrow { grid-column: span 3; }
.wcard--third  { grid-column: span 4; }
.wcard-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; text-align: center;
  transition: box-shadow 280ms ease;
}
.wcard:hover .wcard-img { box-shadow: 0 20px 48px rgba(38,17,7,0.14); }
.wcard--narrow .wcard-img,
.wcard--third  .wcard-img { aspect-ratio: 3 / 4; }
.wcard-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.wcard-tags {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .work-mosaic { grid-template-columns: repeat(6, 1fr); }
  .wcard--wide   { grid-column: span 6; }
  .wcard--narrow { grid-column: span 3; }
  .wcard--third  { grid-column: span 3; }
}
@media (max-width: 700px) {
  .work-mosaic { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .wcard--wide, .wcard--narrow, .wcard--third { grid-column: span 1; }
  .wcard--wide .wcard-img { aspect-ratio: 3 / 4; }
}

/* ── Comparison table ─────────────────────── */
.compare-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.compare-head .eyebrow { margin-bottom: 18px; }
.compare-head h2 { font-size: clamp(34px, 4vw, 52px); }
.compare-head h2 .serif-italic { color: #fabb9e; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--white);
}
.compare-table th, .compare-table td {
  padding: 22px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-table th { font-weight: 500; color: rgba(255,255,255,0.75); font-size: 13px; letter-spacing: 0.04em; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; padding-left: 28px; }
.compare-table td:first-child .cell-row {
  display: flex; gap: 14px; align-items: flex-start;
}
.compare-table td:first-child .cell-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.compare-table .row-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600; font-size: 15px;
  color: var(--white); margin-bottom: 4px;
}
.compare-table .row-desc {
  font-size: 12.5px; color: rgba(255,255,255,0.6);
  max-width: 320px; line-height: 1.5;
}
.compare-table tr.r2g-row { background: var(--purple); border-radius: 16px; }
.compare-table tr.r2g-row td { border-color: rgba(255,255,255,0.18); }
.compare-table tr.r2g-row td:first-child { border-radius: 16px 0 0 16px; }
.compare-table tr.r2g-row td:last-child { border-radius: 0 16px 16px 0; }
.compare-table tr.r2g-row .cell-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.compare-table tr.r2g-row .row-name {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--purple);
  border-radius: 8px; padding: 4px 10px; font-size: 13px;
  margin-bottom: 6px;
}
.compare-table tr.r2g-row .row-desc { color: rgba(255,255,255,0.92); }
.compare-table .check { color: var(--white); font-size: 18px; }
.compare-table .x { color: rgba(255,255,255,0.35); font-size: 16px; }
.compare-table tr.r2g-row .check { color: var(--white); }

/* ── Quote band ─────────────────────────── */
.quote-band {
  text-align: center;
  padding: 96px 0;
  background: var(--lavender);
}
.quote-band .eyebrow { margin-bottom: 22px; }
.quote-band h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  max-width: 880px; margin: 0 auto;
  color: var(--text-dark);
}
.quote-band h2 .serif-italic { color: var(--purple); }

/* ── Built around brand split ─────────────── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-text .eyebrow { margin-bottom: 20px; }
.split-text h2 {
  font-size: clamp(48px, 5.5vw, 76px);
  margin-bottom: 24px;
  color: var(--text-dark);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.split-text h2 .serif-italic { color: var(--purple); display: block; margin-top: 8px; }
.split-text p { color: var(--text-muted); font-size: 21px; max-width: 540px; margin-bottom: 24px; line-height: 1.5; }
.split-image { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; position: relative; }

/* ── Polaroid grid ─────────────────────── */
.polaroid-stack {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 18px;
  overflow: hidden;
}

/* ── Footer ────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 380px; line-height: 1.6; }
.footer-col .nav-list { display: flex; flex-direction: column; gap: 12px; }
.footer-col .nav-list a {
  color: rgba(255,255,255,0.85); font-size: 15px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 200ms ease;
}
.footer-col .nav-list a:hover { color: var(--purple-light); }
.footer-col .email { color: var(--white); font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-bottom .tag {
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* ── Generic reveal ─────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 700ms ease-out, transform 700ms ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(25px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 600ms; }

.compare-table tbody tr { opacity: 0; transform: translateX(-20px); transition: opacity 500ms ease-out, transform 500ms ease-out; }
.compare-table.in tbody tr { opacity: 1; transform: translateX(0); }
.compare-table.in tbody tr:nth-child(1) { transition-delay: 0ms; }
.compare-table.in tbody tr:nth-child(2) { transition-delay: 100ms; }
.compare-table.in tbody tr:nth-child(3) { transition-delay: 200ms; }
.compare-table.in tbody tr:nth-child(4) { transition-delay: 300ms; }
.compare-table.in tbody tr:nth-child(5) { transition-delay: 400ms; }

/* ── Work page ─────────────────────── */
.work-hero {
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 80px;
}
.work-hero .featured {
  margin-top: 48px;
  aspect-ratio: 16 / 7;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.work-hero .featured .meta {
  position: absolute; left: 28px; bottom: 24px;
  z-index: 2; color: var(--white);
}
.work-hero .featured .meta h3 { font-size: 28px; margin-bottom: 6px; }
.work-hero .featured .meta .discover {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.8;
}
.work-intro {
  background: var(--lavender);
  padding: 56px 0;
  text-align: center;
}
.work-intro p {
  max-width: 680px; margin: 0 auto;
  font-size: 18px; color: var(--text-dark);
  text-wrap: balance;
}
.work-intro .filters {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 32px; flex-wrap: wrap;
}
.work-intro .filter {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(38,17,7,0.18);
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 200ms ease;
}
.work-intro .filter.active, .work-intro .filter:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.work-grid-page {
  background: var(--lavender);
  padding: 0 0 0;
  width: 100%;
}
.work-grid-page .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
}
.tile-large {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #2a1f44;
  width: 100%;
}
.tile-large .placeholder { position: absolute; inset: 0; transition: transform 400ms ease; }
.tile-large .tile-img { position: absolute; inset: 0; transition: transform 400ms ease; }
.tile-large:hover .tile-img { transform: scale(1.06); }
.tile-large::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}
.tile-large:hover .placeholder { transform: scale(1.06); }
.tile-large .meta {
  position: absolute; left: 28px; bottom: 24px; z-index: 2; color: var(--white);
}
.tile-large .brand {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400; 
  font-size: 56px;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 6px;
}
.tile-large .brand .plus { 
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  color: rgba(255,255,255,0.6); 
  margin-left: 4px; 
  vertical-align: middle;
}
.tile-large .cat {
  font-family: 'Inter', sans-serif;
  font-size: 13px; 
  font-weight: 400;
  letter-spacing: 0.02em; 
  color: rgba(255,255,255,0.85);
}

/* ── Pricing ─────────────────────── */
.pricing-hero {
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
}
.pricing-hero .eyebrow { margin-bottom: 22px; }
.pricing-hero h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  max-width: 920px; margin: 0 auto;
}
.pricing-hero h1 .serif-italic { color: var(--white); }

.pricing-cards {
  background: var(--navy);
  padding: 0 0 120px;
}
.pricing-cards .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.price-card {
  border-radius: 22px;
  padding: 56px 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex; flex-direction: column;
}
.price-card.left {
  background: #2a1f44;
}
.price-card.left .placeholder {
  position: absolute; inset: 0;
  z-index: 0;
}
.price-card.left .content { position: relative; z-index: 2; color: var(--white); }
.price-card.left::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.price-card.left h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  margin-bottom: 24px;
}
.price-card.left h2 .serif-italic { color: var(--white); display: block; }
.price-card.left p {
  color: rgba(255,255,255,0.85);
  font-size: 15px; max-width: 460px; margin-bottom: auto;
}
.price-card.left .btn { margin-top: 32px; align-self: stretch; }

.price-card.right {
  background: var(--purple);
  color: var(--white);
}
.price-card.right h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  margin-bottom: 24px;
  color: var(--white);
}
.price-card.right h2 .serif-italic { color: var(--white); }
.feature-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.feature-list .feat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.feature-list .feat:last-child { border-bottom: 0; }
.feature-list .feat .text { flex: 1; font-size: 14.5px; color: var(--white); }
.feature-list .feat .check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-list .feat .check svg { width: 18px; height: 18px; }

/* ── CTA banner ─────────────────────── */
.cta-banner {
  background: var(--purple);
  padding: 96px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--white);
  margin-bottom: 18px;
}
.cta-banner h2 .serif-italic { color: var(--white); }
.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 17px; max-width: 580px; margin: 0 auto 32px;
}

/* ── Social Links ─────────────────────── */
.social-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 200ms ease, transform 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Responsive ─────────────────────── */
@media (max-width: 960px) {
  /* ── Hero: text centered at top, 2 horizontal rows below ── */
  .hero {
    min-height: auto !important;
    padding: 88px 0 0 !important;
    display: block !important;   /* kill the flex centering */
    overflow: visible;
  }
  /* Switch container from grid → flex column so items stack cleanly */
  .hero .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    text-align: center;
    padding-bottom: 0;
  }
  .hero-text { width: 100%; }
  .hero-text h1 {
    font-size: clamp(34px, 8.5vw, 44px);
    margin-bottom: 12px;
    color: #fff;
  }
  .hero-text p {
    font-size: 11px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  .hero-cta { justify-content: center; }

  /* ── Carousel: full-bleed, 2 horizontal scrolling rows ── */
  .hero-marquee {
    display: flex !important;
    flex-direction: column !important;
    width: calc(100vw) !important;
    margin-left: -24px !important;
    height: auto !important;
    max-height: none !important;
    gap: 10px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    overflow: hidden;
  }
  .hero-col:nth-child(3) { display: none !important; }

  .hero-col {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: 155px !important;
    width: 100% !important;
  }
  .hero-track {
    flex-direction: row !important;
    gap: 8px !important;
    width: max-content !important;
    height: 155px !important;
  }
  .hero-col:nth-child(1) .hero-track {
    animation: mobile-scroll-left 22s linear infinite !important;
  }
  .hero-col:nth-child(2) .hero-track {
    animation: mobile-scroll-right 28s linear infinite !important;
  }
  .hero-img {
    height: 155px !important;
    width: auto !important;
    aspect-ratio: 3 / 4 !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
  }

  /* Other sections */
  .about-row, .split-row { grid-template-columns: 1fr; gap: 40px; }
  .split-row.reverse { direction: ltr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .work-row { grid-template-columns: 1fr 1fr; }
  .work-grid-page .grid { grid-template-columns: 1fr; }
  .pricing-cards .grid { grid-template-columns: 1fr; }
  .price-card { padding: 40px 28px 32px; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .nav .nav-link, .nav .btn { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .compare-table th, .compare-table td { padding: 14px 10px; font-size: 12px; }
  .compare-table .row-desc { display: none; }
  .compare-table td:first-child { padding-left: 14px; }
  .container { padding: 0 24px; }
  .work-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
}

/* Mobile horizontal scroll keyframes */
@keyframes mobile-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes mobile-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .work-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-text h1 { font-size: 28px; }
  .hero-marquee {
    margin-left: -18px;
    margin-right: -18px;
  }
  .hero-img { height: 150px; }
  .hero-track { height: 150px; }
  .hero-col { height: 150px; }
  .work-head .btn { align-self: stretch; text-align: center; }
  .section { padding: 60px 0; }
  .work-head { margin-bottom: 28px; }
}

/* ── Book a Demo Modal ─────────────────────── */
.book-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
.book-modal-overlay.open { opacity: 1; pointer-events: auto; }
.book-modal {
  position: relative;
  background: var(--navy-deep);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px; width: 100%; max-width: 580px;
  color: var(--white);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1.1);
  max-height: 90vh;
  overflow-y: auto;
}
.book-modal-overlay.open .book-modal { transform: translateY(0); }
.book-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: none; color: #fff; font-size: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.book-modal-close:hover { background: rgba(255,255,255,0.15); }

.bm-tab-wrap {
  display: flex; background: rgba(255,255,255,0.05);
  border-radius: 999px; padding: 4px; margin-bottom: 32px; gap: 4px;
}
.bm-tab-btn {
  flex: 1; padding: 12px; border: none; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 200ms; background: transparent; color: rgba(255,255,255,0.6);
  font-family: inherit;
}
.bm-tab-btn.active { background: var(--purple); color: #fff; }

.bm-title { font-size: 26px; text-align: center; margin-bottom: 8px; font-weight: 600; letter-spacing: -0.02em; }
.bm-title em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--purple-light); }
.bm-sub { font-size: 14px; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 32px; line-height: 1.5; }

.bm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-form-group { display: flex; flex-direction: column; gap: 6px; }
.bm-form-group.full { grid-column: 1 / -1; }
.bm-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 500;}
.bm-input, .bm-select, .bm-textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px;
  font-size: 14px; color: #fff; background: rgba(0,0,0,0.2);
  font-family: inherit; transition: border-color 200ms ease;
  box-sizing: border-box;
}
.bm-input:focus, .bm-select:focus, .bm-textarea:focus { outline: none; border-color: var(--purple); }
.bm-textarea { border-radius: 12px; resize: none; }
.bm-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' opacity='0.5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.bm-select option { color: #000; }

.bm-submit-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.bm-submit-btn {
  padding: 14px 28px; background: var(--purple); color: #fff; border: none; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background 200ms;
}
.bm-submit-btn:hover { background: var(--purple-light); }
.bm-privacy { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 16px; }

.bm-tab-panel { display: none; }
.bm-tab-panel.active { display: block; animation: fadeIn 300ms ease forwards; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.bm-calendar-box {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; margin-top: 20px;
  display: flex; align-items: center; gap: 16px; background: rgba(0,0,0,0.15);
}
.bm-cal-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,0.05); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.bm-cal-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.bm-cal-text strong { color: #fff; font-weight: 500; display: block; margin-bottom: 4px; }

@media (max-width: 560px) {
  .book-modal-overlay { padding: 14px; }
  .book-modal { padding: 52px 18px 24px; max-height: 92vh; }
  .book-modal-close { top: 12px; right: 12px; }
  .bm-tab-wrap { margin-bottom: 24px; }
  .bm-tab-btn { font-size: 13px; padding: 11px 6px; }
  .bm-title { font-size: 21px; line-height: 1.28; }
  .bm-sub { font-size: 13px; margin-bottom: 22px; }
  .bm-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .bm-submit-row { justify-content: stretch; margin-top: 20px; }
  .bm-submit-btn { width: 100%; }
  .bm-calendar-box { padding: 14px; gap: 12px; }
}

/* ── Brand logo image ───────────────────────────────────────── */
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-footer .brand-logo { height: 56px; }

/* ── Visually hidden (a11y) ────────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Testimonials section ──────────────────────────────────── */
.testimonials-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonials-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid rgba(38, 17, 7, 0.08);
  box-shadow: 0 1px 3px rgba(38, 17, 7, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
a.testimonial-card {
  transition: opacity 600ms ease-out, transform 600ms ease-out, box-shadow 250ms ease;
}
a.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(38, 17, 7, 0.12);
}
.testimonial-card .quote-mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 64px;
  line-height: 0.6;
  color: var(--purple);
  margin-bottom: -8px;
}
.testimonial-card .quote-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  flex: 1;
}
.testimonial-card .quote-author { margin-top: 8px; }
.testimonial-card .author-name { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.testimonial-card .author-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.testimonial-card .testimonial-link {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}



/* ── Book a Demo (embedded form) ───────────────────────────── */
.book-demo-section {
  position: relative;
  overflow: hidden;
  padding: 62px 0 42px;
  text-align: left;
  background:
    radial-gradient(circle at 20% -34%, rgba(235, 89, 34, 0.28) 0 34%, transparent 35%),
    radial-gradient(circle at 12% 72%, rgba(74, 18, 6, 0.14) 0 26%, transparent 27%),
    radial-gradient(circle at 105% 42%, rgba(247, 91, 31, 0.22) 0 34%, transparent 35%),
    linear-gradient(125deg, #9f3216 0%, #c63d17 42%, #df4a11 100%);
}

/* Add subtle background shapes to book-demo-section */
.book-demo-section::before,
.book-demo-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.book-demo-section::before {
  width: 640px;
  height: 640px;
  background: rgba(255, 255, 255, 0.035);
  top: -430px;
  left: -70px;
}
.book-demo-section::after {
  width: 820px;
  height: 820px;
  background: rgba(255, 255, 255, 0.035);
  top: -150px;
  right: -350px;
}

.book-demo-section .container {
  max-width: 1295px;
  position: relative;
  z-index: 1;
}
.book-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(520px, 600px);
  gap: 72px;
  align-items: center;
  justify-content: center;
}

.book-demo-left {
  text-align: left;
}
.book-demo-left h2 { 
  font-size: clamp(54px, 4.7vw, 72px); 
  line-height: 0.98; 
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: -0.035em;
}
.book-demo-left h2 .serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.book-demo-left h2 strong {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.book-demo-left .book-demo-desc { 
  font-size: 21px; 
  color: rgba(255,255,255,0.94); 
  margin: 0 0 44px; 
  max-width: 510px; 
  line-height: 1.48; 
}

/* Feature Grid */
.demo-features-grid {
  display: grid;
  grid-template-columns: minmax(0, 235px) minmax(0, 270px);
  gap: 34px 42px;
  max-width: 555px;
}
.demo-feature {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}
.demo-feature .feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
}
.demo-feature .feature-icon svg {
  color: #fff;
  opacity: 0.96;
}

/* Form Styles */
.book-demo-form {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 34px 40px 35px;
  box-shadow: 0 28px 80px rgba(57, 12, 2, 0.15);
  justify-self: end;
  text-align: left;
}
.book-demo-form .form-header {
  margin-bottom: 32px;
  text-align: center;
}
.book-demo-form .form-header h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 7px;
  letter-spacing: -0.035em;
}
.book-demo-form .form-header p {
  font-size: 14.5px;
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
  margin: 0;
}
.book-demo-form .form-row { margin-bottom: 20px; }
.book-demo-form .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
  margin-bottom: 11px;
}
.input-wrapper {
  position: relative;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}
.input-wrapper .textarea-icon {
  top: 16px;
  transform: none;
}
.book-demo-form input,
.book-demo-form textarea {
  width: 100%;
  padding: 13px 17px 13px 52px;
  background: rgba(99, 28, 6, 0.38);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  min-height: 48px;
  transition: border-color 180ms ease, background 180ms ease;
}
.book-demo-form input::placeholder,
.book-demo-form textarea::placeholder { color: rgba(255,255,255,0.47); font-weight: 400; }
.book-demo-form input:focus,
.book-demo-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(81, 20, 4, 0.48);
}
.book-demo-form textarea { resize: vertical; min-height: 88px; height: 88px; }
.form-submit { 
  width: 100%; 
  margin-top: 8px; 
  background: #fff; 
  color: #251007; 
  border-radius: 99px; 
  font-weight: 600;
  min-height: 56px;
  box-shadow: 0 10px 28px rgba(68, 18, 5, 0.12);
}
.form-submit:hover {
  background: #f0f0f0;
}
.book-demo-form .form-fineprint {
  font-size: 14px;
  color: rgba(255,255,255,0.94);
  text-align: center;
  max-width: 450px;
  margin: 18px auto 0;
  line-height: 1.65;
  display: block;
}
.book-demo-form .form-fineprint svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}
.book-demo-form .form-fineprint a { color: #fff; text-decoration: underline; font-weight: 500; }
.form-success {
  background: rgba(120, 200, 140, 0.15);
  border: 1px solid rgba(120, 200, 140, 0.4);
  color: #d6f5e0;
  padding: 16px 18px;
  border-radius: 12px;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
}
@media (max-width: 960px) {
  .book-demo-section { padding: 72px 0 64px; }
  .book-demo-grid { grid-template-columns: 1fr; gap: 48px; }
  .book-demo-left { text-align: center; }
  .book-demo-left h2 { font-size: clamp(40px, 6vw, 56px); line-height: 1.05; margin-bottom: 22px; }
  .book-demo-left .book-demo-desc { margin-left: auto; margin-right: auto; }
  .book-demo-form { justify-self: center; padding: 32px 24px; }
  .demo-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .book-demo-section { padding: 60px 0 56px; }
  .book-demo-left h2 { font-size: clamp(32px, 8.4vw, 42px); line-height: 1.08; margin-bottom: 18px; }
  .book-demo-left .book-demo-desc { font-size: 17px; margin-bottom: 36px; }
  .demo-features-grid { grid-template-columns: 1fr; max-width: 360px; gap: 18px; }
  .demo-feature { font-size: 15px; }
  .book-demo-form { border-radius: 22px; padding: 28px 20px; }
  .book-demo-form .form-header h3 { font-size: 25px; }
  .form-fineprint { font-size: 13px; }
}

/* ── Newsletter band ───────────────────────────────────────── */
.newsletter-band {
  background: var(--lavender);
  padding: 64px 0;
  border-top: 1px solid rgba(38, 17, 7, 0.08);
}
.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.newsletter-text h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-dark);
}
.newsletter-text p { font-size: 15px; color: var(--text-muted); margin-top: 8px; max-width: 540px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(38, 17, 7, 0.12);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  min-width: 380px;
}
.newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(38, 17, 7, 0.4); }
.newsletter-form .btn { padding: 10px 22px; }
@media (max-width: 760px) {
  .newsletter-row { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { min-width: 0; width: 100%; }
}

/* ── Cookie consent banner ─────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  background: var(--navy-deep);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  z-index: 9999;
  font-size: 14px;
  line-height: 1.55;
  transform: translateY(140%);
  transition: transform 320ms cubic-bezier(.2,.9,.3,1.1);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent p { color: rgba(255,255,255,0.78); margin-bottom: 14px; }
.cookie-consent a { color: var(--purple-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 180ms ease;
}
.cookie-btn-accept { background: var(--purple); color: #fff; }
.cookie-btn-decline { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.cookie-btn:hover { opacity: 0.88; }
@media (max-width: 520px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--navy);
  padding: 100px 0 120px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.faq-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin: 0 0 18px;
}

.faq-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 64px;
}

.faq-heading em.serif-italic {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Two-column grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
}

/* Individual FAQ item */
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  background: transparent;
}
.faq-col .faq-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Question button */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  transition: color 180ms ease;
}
.faq-question:hover { color: #fff; }

/* Plus / minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 200;
  line-height: 1;
  color: rgba(255,255,255,0.4);
  transition: transform 320ms cubic-bezier(0.4,0,0.2,1), color 180ms ease;
  user-select: none;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);   /* + becomes × */
  color: #fff;
}
.faq-item.open .faq-question { color: #fff; }

/* Answer panel */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer {
  max-height: 320px;
}
.faq-answer-inner {
  padding-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.70;
  color: rgba(255,255,255,0.56);
}

/* Mobile: single column */
@media (max-width: 680px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-col:first-child .faq-item:last-child { border-bottom: none; }
  .faq-section { padding: 72px 0 80px; }
  .faq-heading { margin-bottom: 40px; }
}

