/* San Antonio Real Estate Media — Aerial Canvas Match (Dark Default) */

:root {
  /* AERIAL CANVAS PALETTE — exact values from their CSS swatches */
  --bg: #1f1e1f;              /* --swatch--dark (primary site background) */
  --bg-2: #2a292a;            /* subtle elevated section / card surface */
  --bg-3: #353435;            /* deeper elevated card */
  --text: #f8f8f8;            /* --swatch--light */
  --text-soft: #c8c8c8;       /* lighter body text on dark */
  --muted: #8f8f8f;           /* --swatch--border (label / muted text) */
  --muted-2: #c8c8c8;         /* body paragraph color */
  --line: rgba(248,248,248,0.10);
  --line-2: rgba(248,248,248,0.22);
  --accent: #bac6ff;          /* --swatch--brand (pale periwinkle) */
  --accent-2: #a8b6ff;
  --accent-text: #1f1e1f;     /* dark text when on accent bg */

  /* Aliases for legacy references */
  --dark-bg: #1f1e1f;
  --dark-bg-2: #2a292a;
  --dark-bg-3: #353435;
  --dark-text: #f8f8f8;
  --dark-muted: #8f8f8f;
  --dark-muted-2: #c8c8c8;
  --dark-line: rgba(248,248,248,0.10);
  --dark-line-2: rgba(248,248,248,0.22);

  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: var(--accent-text); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* TYPOGRAPHY */
.display, h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
}
.display-xxl { font-size: clamp(3rem, 11vw, 11rem); line-height: 0.9; letter-spacing: -0.035em; font-weight: 700; }
.display-xl  { font-size: clamp(2.75rem, 8vw, 7.5rem);  line-height: 0.92; letter-spacing: -0.03em; }
.display-lg  { font-size: clamp(2.25rem, 5.5vw, 5rem); line-height: 0.96; letter-spacing: -0.025em; }
.display-md  { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.0; letter-spacing: -0.02em; }
.display-sm  { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--text);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; display: inline-block; opacity: 0.8; }
.eyebrow.muted { color: var(--muted); }
.eyebrow.accent { color: var(--accent); }

p { color: var(--muted-2); font-weight: 400; font-size: 16px; }
p.lead { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--muted-2); line-height: 1.6; max-width: 56ch; }
.text-mute { color: var(--muted); }

/* LAYOUT */
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 32px; }
.container-narrow { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-sm { padding: clamp(60px, 7vw, 100px) 0; }
.section-alt { background: var(--bg-2); }

/* Dark class is a no-op now (kept for back-compat with existing markup) */
.dark { background: var(--bg); color: var(--text); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s var(--ease), padding 0.3s var(--ease);
  color: var(--text);
}
.nav.scrolled {
  background: rgba(31,30,31,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text);
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  line-height: 1;
}
.nav-logo strong { font-weight: 700; }
.nav-logo span.dim { color: var(--muted); font-weight: 400; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text);
  opacity: 0.85;
  position: relative; transition: opacity 0.3s;
  font-weight: 500;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 12px 22px; background: var(--accent); color: var(--accent-text);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.nav-toggle { display: none; width: 28px; height: 18px; position: relative; }
.nav-toggle span { display: block; height: 2px; background: var(--text); width: 100%; position: absolute; left: 0; transition: 0.3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 50%; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); bottom: calc(50% - 1px); }

/* BUTTONS — Aerial Canvas pattern */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px; border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.4s var(--ease); cursor: pointer;
  font-weight: 600; line-height: 1;
  white-space: nowrap;
}
/* Primary = periwinkle bg, dark text → outline on hover */
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
/* Secondary/outline = periwinkle border, periwinkle text → filled on hover */
.btn-outline { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--accent-text); }
/* Quart = white outline (used when on accent bg, or as alternate) */
.btn-quart { box-shadow: inset 0 0 0 1px var(--text); color: var(--text); }
.btn-quart:hover { background: var(--text); color: var(--bg); }
.btn .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Force button overrides on dark sections to match base (no-op since everything dark) */
.hero .btn-primary,
.cta-banner .btn-primary,
.page-hero .btn-primary { background: var(--accent); color: var(--accent-text); }
.hero .btn-primary:hover,
.cta-banner .btn-primary:hover,
.page-hero .btn-primary:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hero .btn-outline,
.cta-banner .btn-outline,
.page-hero .btn-outline { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.hero .btn-outline:hover,
.cta-banner .btn-outline:hover,
.page-hero .btn-outline:hover { background: var(--accent); color: var(--accent-text); }

/* HERO */
.hero {
  min-height: 100svh; min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding-bottom: 7vh;
  background: var(--bg);
  color: var(--text);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(0.55);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,30,31,0.5) 0%, transparent 25%, transparent 55%, rgba(31,30,31,0.95) 100%),
    linear-gradient(90deg, rgba(31,30,31,0.5) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 14ch; }
.hero-meta {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-end;
}
.hero-meta p { max-width: 44ch; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.hero-tags {
  position: absolute; top: 50%; right: 32px; transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--text); opacity: 0.7;
}
.hero-tags span { display: inline-block; padding: 12px 0; }
.hero-tags span + span::before { content: '/ '; opacity: 0.4; margin-right: 6px; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 50px; background: linear-gradient(180deg, transparent, var(--text));
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 24px 0; background: var(--bg);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap; animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 700;
  color: var(--text); display: inline-flex; align-items: center; gap: 64px;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
}
.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--text);
}
.marquee-item::after { content: '✦'; font-size: 0.5em; color: var(--accent); opacity: 0.9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTION HEAD */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-end; margin-bottom: 80px; }
.section-head .meta { max-width: 44ch; }
.section-head h2 { max-width: 14ch; }
.section-head .eyebrow { margin-bottom: 24px; }

/* BENTO / SERVICES GRID */
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px;
  grid-auto-rows: minmax(180px, auto);
}
.bento-cell {
  background: var(--bg-2);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
  isolation: isolate;
  border: 1px solid var(--line);
}
.bento-cell.media { padding: 0; border: none; }
.bento-cell.media .bento-bg { position: absolute; inset: 0; z-index: 0; }
.bento-cell.media .bento-bg img, .bento-cell.media .bento-bg video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.bento-cell.media:hover .bento-bg img, .bento-cell.media:hover .bento-bg video { transform: scale(1.05); }
.bento-cell.media .bento-overlay {
  position: relative; z-index: 1; padding: 32px;
  background: linear-gradient(180deg, transparent 30%, rgba(31,30,31,0.92) 100%);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text);
}
.bento-cell:hover { transform: translateY(-2px); }
.bento-cell:not(.media):hover { background: var(--bg-3); }
.bento-cell .num { font-family: 'Poppins', sans-serif; font-size: 11px; letter-spacing: 0.15em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.bento-cell h3 { font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 0.95; margin-top: 12px; }
.bento-cell p { font-size: 14px; line-height: 1.55; color: var(--muted-2); margin-top: 12px; max-width: 36ch; }
.bento-cell .arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent);
  margin-top: 24px; font-weight: 600;
  transition: gap 0.3s;
}
.bento-cell:hover .arrow-link { gap: 16px; }

/* Bento spans */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }
.row-tall { min-height: 540px; }

/* SHOWCASE GRID */
.showcase {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.shot:hover img, .shot:hover video { transform: scale(1.06); }
.shot .label {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  font-family: 'Poppins', sans-serif;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease);
  z-index: 2;
  color: var(--text);
}
.shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31,30,31,0.92) 100%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.shot:hover::after, .shot:hover .label { opacity: 1; transform: translateY(0); }
.shot .label h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600; }
.shot .label .loc { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); }

.shot.s-tall { grid-column: span 4; aspect-ratio: 3/4; }
.shot.s-wide { grid-column: span 8; aspect-ratio: 16/10; }
.shot.s-sq { grid-column: span 4; aspect-ratio: 1/1; }
.shot.s-med { grid-column: span 6; aspect-ratio: 4/3; }
.shot.s-half { grid-column: span 6; aspect-ratio: 16/10; }

/* FILTERS */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s;
  background: transparent;
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); }

/* STATS */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat-block {
  padding: 48px 32px 36px;
  border-right: 1px solid var(--line);
}
.stat-block:last-child { border-right: none; }
.stat-block .num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.03em;
  display: block; margin-bottom: 16px;
  color: var(--text);
}
.stat-block .label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  font-weight: 500;
}

/* LOGOS */
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logos .logo {
  background: var(--bg);
  padding: 36px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  text-align: center; font-weight: 500;
  transition: color 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.logos .logo:hover { color: var(--text); }

/* PRICING — AC pattern: transparent cards w/ periwinkle border + accents */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price-card {
  background: transparent;
  padding: 48px 36px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--text);
}
.price-card h3, .price-card .price { color: var(--accent); transition: color 0.4s var(--ease); }
.price-card p, .price-card li { color: var(--muted-2); transition: color 0.4s var(--ease); }
.price-card li { border-bottom-color: var(--line); transition: border-color 0.4s var(--ease); }
.price-card li::before { background: var(--accent); transition: background 0.4s var(--ease); }
.price-card:hover { background: var(--accent); }
.price-card:hover h3, .price-card:hover .price { color: var(--accent-text); }
.price-card:hover p, .price-card:hover li { color: var(--accent-text); }
.price-card:hover li { border-bottom-color: rgba(31,30,31,0.2); }
.price-card:hover li::before { background: var(--accent-text); }
.price-card:hover .btn-outline { box-shadow: inset 0 0 0 1px var(--accent-text); color: var(--accent-text); }
.price-card:hover .btn-outline:hover { background: var(--accent-text); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-text); }

.price-card.featured { background: var(--accent); }
.price-card.featured h3, .price-card.featured .price { color: var(--accent-text); }
.price-card.featured p, .price-card.featured li { color: var(--accent-text); }
.price-card.featured li { border-bottom-color: rgba(31,30,31,0.2); }
.price-card.featured li::before { background: var(--accent-text); }
.price-card.featured .tag { background: var(--accent-text); color: var(--accent); }
.price-card.featured .btn-outline { box-shadow: inset 0 0 0 1px var(--accent-text); color: var(--accent-text); }
.price-card.featured .btn-outline:hover { background: var(--accent-text); color: var(--accent); }

.price-card .tag {
  position: absolute; top: 24px; right: 24px;
  background: var(--accent); color: var(--accent-text);
  font-family: 'Poppins', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; font-weight: 600;
}
.price-card h3 { font-size: 1.5rem; }
.price-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem; line-height: 1; font-weight: 700; letter-spacing: -0.03em;
}
.price-card .price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; transition: color 0.4s; }
.price-card:hover .price small, .price-card.featured .price small { color: rgba(31,30,31,0.6); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; }
.price-card li {
  font-size: 14px;
  padding: 14px 0;
  display: flex; gap: 12px; align-items: flex-start;
  border-bottom: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  margin-top: 7px;
}
.price-card .btn { margin-top: auto; justify-content: center; }

/* QUOTE */
.quote-section {
  text-align: center;
  padding: clamp(120px, 18vw, 220px) 0;
  background: var(--bg-2);
}
.quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem); line-height: 0.5; color: var(--accent); margin-bottom: 24px;
}
.quote-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto;
  text-transform: none;
  color: var(--text);
}
.quote-author {
  margin-top: 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.quote-author strong { color: var(--text); font-weight: 600; }

/* PROCESS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.process-step {
  background: var(--bg-2);
  padding: 36px 28px;
  border-radius: var(--radius);
  min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line);
}
.process-step .step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; color: var(--accent);
  font-weight: 600; text-transform: uppercase;
}
.process-step h4 { font-size: 1.5rem; margin-top: 60px; }
.process-step p { font-size: 14px; margin-top: auto; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.blog-card-img { aspect-ratio: 16/11; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card .meta {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  font-weight: 600; margin-top: 4px;
}
.blog-card h3 { font-size: 1.4rem; text-transform: none; letter-spacing: -0.015em; line-height: 1.15; transition: color 0.3s; }
.blog-card:hover h3 { color: var(--accent); }
.blog-card p { font-size: 14px; }

/* CTA BANNER */
.cta-banner {
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
  padding: clamp(100px, 16vw, 200px) 0;
  position: relative; overflow: hidden;
}
.cta-banner h2 { max-width: 16ch; margin: 0 auto 32px; }
.cta-banner p { max-width: 50ch; margin: 0 auto 48px; }
.cta-banner::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(186,198,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner .container { position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer {
  background: var(--bg);
  padding: 100px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-mega {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 14vw, 16rem); font-weight: 700;
  line-height: 0.85; letter-spacing: -0.05em; text-transform: uppercase;
  text-align: center; margin-bottom: 80px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 70px; }
.footer-brand h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; font-size: 14px; color: var(--muted-2); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--muted-2); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 36px; height: 36px; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; }
.socials a:hover { background: var(--accent); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); }

/* PAGE HERO */
.page-hero {
  padding: 180px 0 100px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  background: var(--bg);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.35; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 35%, var(--bg) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 24px; max-width: 18ch; }
.page-hero p.lead { max-width: 56ch; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse > div:first-child { order: 2; }
.split-img { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { max-width: 920px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; padding: 32px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--text);
  cursor: pointer; transition: color 0.3s;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-weight: 600;
  background: transparent;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus { width: 20px; height: 20px; position: relative; flex-shrink: 0; transition: transform 0.4s; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: currentColor; }
.faq-q .plus::before { width: 100%; height: 1.5px; top: 50%; left: 0; }
.faq-q .plus::after { width: 1.5px; height: 100%; top: 0; left: 50%; transition: transform 0.4s; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding: 0 0 32px; max-width: 70ch; font-size: 15px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: flex-start; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { border-top: 1px solid var(--line); padding-top: 22px; }
.contact-info-item .label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; font-weight: 600;
}
.contact-info-item .value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; text-transform: uppercase; letter-spacing: -0.01em; font-weight: 600;
  color: var(--text);
}
.contact-info-item .value a:hover { color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid var(--line-2);
  padding: 14px 0; font-size: 16px; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 400;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--bg); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.6; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* CURSOR */
.cursor { position: fixed; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 9999; transition: transform 0.15s ease-out, width 0.3s, height 0.3s, background 0.3s; transform: translate(-50%, -50%); }
.cursor.hover { width: 60px; height: 60px; background: rgba(186,198,255,0.25); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 6; }
  .span-12 { grid-column: span 12; }
  .row-tall { min-height: 360px; }
  .shot.s-tall, .shot.s-wide, .shot.s-sq, .shot.s-med, .shot.s-half { grid-column: span 6; aspect-ratio: 4/3; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse > div:first-child { order: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    height: 100dvh;
    background: var(--bg); flex-direction: column; padding: 90px 32px 48px; gap: 24px;
    z-index: 99; align-items: flex-start; overflow-y: auto;
  }
  .nav-links.mobile-open a { font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -0.01em; opacity: 1; }
  .nav-links.mobile-open a.nav-cta {
    font-size: 12px; margin-top: 16px;
    background: var(--accent); color: var(--accent-text);
    padding: 14px 28px;
  }
  .hero-tags { display: none; }
  .hero-meta { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta-row { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 48px; }
  .footer-mega { font-size: clamp(2.5rem, 18vw, 8rem); }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .nav, .nav.scrolled { padding: 16px 20px; }
  .nav-logo { font-size: 12px; }

  /* Full-width bento cells on mobile */
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 12; }
  .bento { gap: 8px; }
  .bento-cell { padding: 24px; min-height: 200px; }
  .row-tall { min-height: 280px; }
  .bento-cell h3 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Full-width shots on mobile */
  .shot.s-tall, .shot.s-wide, .shot.s-sq, .shot.s-med, .shot.s-half { grid-column: span 12; aspect-ratio: 4/3; }
  .showcase { gap: 8px; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 20px 24px; }
  .stat-block:last-child { border-bottom: none; }

  /* Process */
  .process { grid-template-columns: 1fr; }
  .process-step h4 { margin-top: 32px; }

  /* Pricing */
  .price-card { padding: 32px 24px; }
  .price-card .price { font-size: 2.8rem; }

  /* Footer */
  .footer { padding: 60px 0 24px; }
  .footer-mega { font-size: clamp(2rem, 16vw, 6rem); white-space: normal; word-break: break-word; margin-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
  .footer-brand { grid-column: span 2; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Logos */
  .logos { grid-template-columns: repeat(2, 1fr); }

  /* Sections */
  section { padding: 64px 0; }
  .quote-section { padding: 80px 0; }
  .cta-banner { padding: 80px 0; }

  /* Marquee */
  .marquee-item { font-size: clamp(1.6rem, 8vw, 4.5rem); gap: 32px; }
  .marquee-track { gap: 32px; }

  /* Buttons */
  .btn { padding: 16px 24px; font-size: 11px; }

  /* FAQ */
  .faq-q { font-size: 1rem; padding: 24px 0; }
}
@media (max-width: 480px) {
  .display-xxl { font-size: clamp(2.6rem, 13vw, 11rem); }
  .display-xl { font-size: clamp(2.2rem, 10vw, 7.5rem); }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .price-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .stat-block .num { font-size: clamp(2.5rem, 10vw, 5.5rem); }
  .faq-q { font-size: 0.9rem; gap: 16px; }
}