/* ============================================================
   Mattwork — design tokens
   ============================================================ */
:root {
  /* Brand palette */
  --bg-light: #f9f6f5;
  --bg-dark: #030105;
  --purple: #410e8c;
  --magenta: #861a70;
  --blue-violet: #4743cd;
  --accent: #f64a22;

  --grad-1: #2a0952;
  --grad-2: #490e3d;
  --grad-3: #242267;
  --grad-4: #c09aff;
  --grad-5: #bfc6ff;
  --grad-6: #ffcbfc;

  /* Fonts */
  --font-display: "Chillax", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;

  /* Motion — critically damped by default (see apple-design skill) */
  --ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-fast: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 650ms;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --max-width: 1180px;

  /* Page tokens — the whole site is light by default; individual
     sections opt into the dark palette via .theme-dark (see below).
     There is no user-facing toggle: each section's theme is fixed. */
  --bg: var(--bg-light);
  --bg-elevated: #ffffff;
  --text-primary: #1a0e22;
  --text-secondary: #574a5f;
  --text-tertiary: #8b7d91;
  --border-subtle: rgba(65, 14, 140, 0.1);
  --nav-bg: rgba(249, 246, 245, 0.42);
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(65, 14, 140, 0.08);
  --shadow-color: 280 40% 30%;
}

/*
  Fixed dark section. Apply to any <section> that should render dark
  regardless of the rest of the page (hero, testimonials, ...) — this
  redefines the same tokens every component already reads (--bg,
  --text-primary, --card-bg, etc.), so cards/buttons/text inside it
  automatically render correctly with no per-component overrides.
*/
.theme-dark {
  --bg: var(--bg-dark);
  --bg-elevated: #17070f;
  --text-primary: #f8f2f6;
  --text-secondary: #cabcc6;
  --text-tertiary: #93818d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(14, 3, 9, 0.65);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.09);
  --shadow-color: 280 60% 4%;
  background-color: var(--bg);
  color: var(--text-primary);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--dur-slow) var(--ease-settle), color var(--dur-slow) var(--ease-settle);
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { position: relative; }

/* ============================================================
   Typography — optical sizing per the apple-design skill:
   negative tracking + tight leading on large display type,
   near-zero tracking + looser leading on body text.
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.display-1 {
  font-size: clamp(2.75rem, 6vw + 1rem, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.display-2 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.display-3 {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.lede {
  font-size: clamp(1.0625rem, 0.6vw + 1rem, 1.25rem);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--text-secondary);
  max-width: 46ch;
}

p { color: var(--text-secondary); letter-spacing: 0; }

.gradient-text {
  background: linear-gradient(100deg, var(--purple) 0%, var(--magenta) 45%, var(--blue-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out-fast),
    box-shadow var(--dur-fast) var(--ease-out-fast),
    background-color var(--dur-fast) var(--ease-out-fast),
    border-color var(--dur-fast) var(--ease-out-fast);
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent) 0%, #ff6a3d 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(246, 74, 34, 0.55);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(246, 74, 34, 0.65); }

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.btn-secondary:hover { border-color: var(--purple); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { border-color: var(--purple); background: rgba(65, 14, 140, 0.05); }

.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ============================================================
   Nav — "liquid glass" material: heavier blur/saturation than a
   plain translucent bar, a glossy diagonal sheen, a bright top edge
   where light catches the material, and a soft ambient shadow that
   separates it from content scrolling underneath.
   ============================================================ */
.nav {
  position: fixed;
  isolation: isolate;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 1160px);
  z-index: 100;
  border-radius: var(--radius-full);
  background: var(--nav-bg);
  backdrop-filter: blur(36px) saturate(240%) brightness(1.12) contrast(1.05);
  -webkit-backdrop-filter: blur(36px) saturate(240%) brightness(1.12) contrast(1.05);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 -1px 0 rgba(65, 14, 140, 0.18) inset,
    0 20px 50px -18px rgba(65, 14, 140, 0.45),
    0 4px 16px -6px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: background-color var(--dur-slow) var(--ease-settle), border-color var(--dur-slow) var(--ease-settle);
}
.nav::before {
  /* glossy sheen sweeping across the glass, clipped to the pill shape —
     a brighter highlight plus a faint cool/warm color split at the
     edges reads as light actually refracting through the material,
     not just a flat tint */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.06) 22%,
    rgba(191, 198, 255, 0.12) 48%,
    rgba(255, 203, 252, 0.1) 68%,
    rgba(255, 255, 255, 0.24) 100%);
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.875rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--magenta) 55%, var(--blue-violet));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out-fast);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

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

.nav-toggle-btn {
  display: flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
@media (min-width: 860px) { .nav-toggle-btn { display: none; } }
.nav-toggle-btn span {
  position: relative;
  width: 18px; height: 1.5px;
  background: var(--text-primary);
  display: block;
}
.nav-toggle-btn span::before, .nav-toggle-btn span::after {
  content: "";
  position: absolute;
  width: 18px; height: 1.5px;
  background: var(--text-primary);
  left: 0;
  transition: transform var(--dur-base) var(--ease-settle);
}
.nav-toggle-btn span::before { top: -6px; }
.nav-toggle-btn span::after { top: 6px; }
.nav.mobile-open .nav-toggle-btn span { background: transparent; }
.nav.mobile-open .nav-toggle-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.mobile-open .nav-toggle-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 859px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--dur-base) var(--ease-settle), opacity var(--dur-base) var(--ease-settle);
  }
  .nav.mobile-open .nav-links { max-height: 24rem; opacity: 1; padding-block: 0.5rem 1rem; }
  .nav-links a { padding-block: 0.75rem; width: 100%; border-top: 1px solid var(--border-subtle); }
  .nav-links a:first-child { border-top: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  /* fills exactly one screen on landing, so nothing from the next
     section is visible until the user scrolls — 100svh accounts for
     mobile browser chrome, with 100vh as the fallback for browsers
     that don't support small-viewport units yet */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 10vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: radial-gradient(90% 60% at 50% 0%, rgba(65, 14, 140, 0.16) 0%, transparent 60%),
    var(--bg-dark);
  overflow: clip;
}

/* hero runs wider than the site's normal 1180px content column */
.hero .container {
  max-width: 1440px;
  width: 100%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

.hero h1 { max-width: 18ch; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: -0.75rem;
}

.hero-desc {
  max-width: 46ch;
  font-size: clamp(1.0625rem, 0.6vw + 1rem, 1.1875rem);
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Decorative glowing horizon arc, purely visual — hidden from a11y tree.
   Sized via a plain block wrapper rather than a percentage width directly
   on the SVG flex item -- some browsers (confirmed: Safari) fail to
   resolve a percentage width on an SVG that's a flex item, collapsing it
   to 0x0 even though the same CSS renders fine in Chromium. A non-flex
   wrapper div sidesteps that entirely; the SVG itself just fills it. */
.hero-arc-wrap {
  /* Locks the 1600:260 aspect ratio via the `aspect-ratio` property
     (resolved against this element's OWN width) instead of CSS
     height:auto on the SVG or a padding-top percentage hack. A
     padding-top percentage is always resolved against the CONTAINING
     block's width, not this element's own width, so that trap is
     avoided. The SVG itself stays position:absolute, filling the
     wrapper, rather than relying on SVG height:auto from viewBox.

     Sized to exactly 100% of its container (capped at the SVG's native
     1600px) rather than overscanning past the viewport -- the gradient
     already fades both ends to full transparency at the path's true
     endpoints, so nothing needs to be clipped by an ancestor to hide an
     overscanned tail. That overscan-plus-ancestor-clip was the real
     cause of the "thick blobby ends" in Safari: .hero has
     `overflow: clip`, and clipping a child that has an SVG blur/
     drop-shadow filter applied is a known WebKit bug -- the filtered
     glow piles up into a hard blob right at the clip line instead of
     fading smoothly. Removing the need for any clip here sidesteps that
     bug entirely, in any browser. */
  position: relative;
  width: min(100%, 1600px);
  aspect-ratio: 1600 / 260;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(-1rem, -2vw, -0.25rem);
  overflow: visible;
}
.hero-arc {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-arc-glow {
  opacity: 0.6;
}

/* ============================================================
   Section headers
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }

.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }

/* ============================================================
   Services — pinned horizontal scroll carousel.

   .services-pin-wrap is a tall element whose height provides the
   scroll distance; .services-sticky pins to the viewport (position:
   sticky) while the user scrolls through that distance. js/main.js
   reads how far scrolled through the wrapper (0–1) and drives the
   carousel's horizontal position from it directly — the page's own
   scroll is the only input, so trackpad/mouse-wheel momentum and
   native scroll behavior are never fought or hijacked.

   Below the 860px breakpoint this collapses to a normal-height
   section with a native horizontally-swipeable, scroll-snapped
   track instead — deliberately not pinned, per the "natural swipe on
   mobile" requirement.
   ============================================================ */
.services-pin-wrap {
  position: relative;
  height: 480vh;
  /* same base tone and glow recipe as .hero so scrolling between the
     two reads as one continuous black canvas, not a seam */
  background: radial-gradient(90% 55% at 50% 0%, rgba(65, 14, 140, 0.14) 0%, transparent 60%), var(--bg);
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  overflow: hidden;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.services-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  max-width: 34rem;
  text-align: center;
  padding-inline: 1.25rem;
}


.services-title {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.services-carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: clamp(340px, 42vw, 480px);
}

.service-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--card-w, 620px);
  min-height: clamp(280px, 32vw, 380px);
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  will-change: transform, opacity;
  transition: border-color var(--dur-base) var(--ease-settle), box-shadow var(--dur-base) var(--ease-settle);
}
/* Whichever card is centered — a clear but restrained lift: brighter
   border and a soft brand-color glow, distinct from the dimmed,
   unhighlighted side cards. */
.service-slide.is-active {
  border-color: rgba(191, 198, 255, 0.35);
  box-shadow: 0 30px 80px -26px rgba(0, 0, 0, 0.7),
    0 0 60px -20px rgba(71, 67, 205, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Podcast Production — the highlight service — gets a stronger,
   magenta/purple version of the same treatment, but only while it's
   the card currently showing (not a permanent border). */
.service-slide.is-highlighted {
  border-color: rgba(134, 26, 112, 0.5);
  box-shadow: 0 30px 90px -24px rgba(134, 26, 112, 0.55),
    0 0 80px -16px rgba(65, 14, 140, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.service-slide-icon {
  flex-shrink: 0;
  width: clamp(120px, 16vw, 200px);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(134, 26, 112, 0.2), transparent 70%), rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.service-slide-icon svg { width: 54%; height: 54%; filter: drop-shadow(0 0 14px rgba(134, 26, 112, 0.4)); }

.service-slide-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; min-width: 0; }

.service-slide-num {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grad-4);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw + 0.5rem, 1.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #fff;
}

.service-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color var(--dur-fast) var(--ease-out-fast),
    border-color var(--dur-fast) var(--ease-out-fast),
    transform var(--dur-fast) var(--ease-out-fast);
}
.service-slide-cta svg { width: 0.875rem; height: 0.875rem; }
.service-slide-cta:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.32); }
.service-slide-cta:active { transform: scale(0.96); }
.service-slide.is-highlighted .service-slide-cta {
  background: rgba(246, 74, 34, 0.16);
  border-color: rgba(246, 74, 34, 0.4);
}
.service-slide.is-highlighted .service-slide-cta:hover { background: rgba(246, 74, 34, 0.26); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  flex-shrink: 0;
  transition: background-color var(--dur-fast) var(--ease-out-fast),
    border-color var(--dur-fast) var(--ease-out-fast),
    transform var(--dur-fast) var(--ease-out-fast);
}
.carousel-arrow:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel-arrow.prev { left: clamp(0.5rem, 2.5vw, 2rem); }
.carousel-arrow.next { right: clamp(0.5rem, 2.5vw, 2rem); }
.carousel-arrow svg { width: 1.125rem; height: 1.125rem; }

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-settle), width var(--dur-base) var(--ease-settle);
}
.dot.is-active {
  width: 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--magenta), var(--blue-violet));
}

/* Skip link — small, quiet, out of the way of the carousel itself.
   Lets a visitor jump straight to Portfolio instead of scrolling
   through the full pinned distance. */
.services-skip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--dur-fast) var(--ease-out-fast);
}
.services-skip:hover { color: rgba(255, 255, 255, 0.8); }
.services-skip svg { width: 0.875rem; height: 0.875rem; animation: services-skip-bounce 1.8s ease-in-out infinite; }
@keyframes services-skip-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (max-width: 859px) { .services-skip { display: none; } }

@media (max-width: 859px) {
  .services-pin-wrap { height: auto; }
  .services-sticky {
    position: static;
    height: auto;
    padding-block: clamp(3rem, 9vw, 5rem) clamp(2.5rem, 7vw, 4rem);
  }
  .carousel-track {
    position: static;
    display: flex;
    height: auto;
    max-width: 100%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 1.25rem;
    padding-block: 0.5rem;
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .service-slide {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    flex: 0 0 auto;
    width: min(86vw, 420px);
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    scroll-snap-align: center;
  }
  .service-slide-icon { width: 100%; max-width: 220px; aspect-ratio: 16/10; }
  .carousel-arrow { display: none; }
}

/* ============================================================
   Hero stats — icon + number glass tiles; hovering highlights each
   with a distinct color drawn from the brand palette.
   ============================================================ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 62rem;
  margin-top: clamp(0.5rem, 2vw, 1.5rem);
}
@media (min-width: 560px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-align: left;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: transform var(--dur-base) var(--ease-settle),
    background-color var(--dur-base) var(--ease-settle),
    border-color var(--dur-base) var(--ease-settle),
    box-shadow var(--dur-base) var(--ease-settle);
}
.stat:hover { transform: translateY(-3px); }

.stat-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-base) var(--ease-settle), color var(--dur-base) var(--ease-settle);
}
.stat-icon svg { width: 1.125rem; height: 1.125rem; }

.stat-copy { display: flex; flex-direction: column; }

.stat:nth-child(1) .stat-icon { background: rgba(65, 14, 140, 0.28); color: #c09aff; }
.stat:nth-child(2) .stat-icon { background: rgba(71, 67, 205, 0.28); color: #bfc6ff; }
.stat:nth-child(3) .stat-icon { background: rgba(134, 26, 112, 0.28); color: #ffcbfc; }
.stat:nth-child(4) .stat-icon { background: rgba(246, 74, 34, 0.22); color: #ffb08f; }

.stat:nth-child(1):hover {
  background: rgba(65, 14, 140, 0.2);
  border-color: rgba(65, 14, 140, 0.55);
  box-shadow: 0 14px 30px -16px rgba(65, 14, 140, 0.7);
}
.stat:nth-child(2):hover {
  background: rgba(71, 67, 205, 0.2);
  border-color: rgba(71, 67, 205, 0.55);
  box-shadow: 0 14px 30px -16px rgba(71, 67, 205, 0.7);
}
.stat:nth-child(3):hover {
  background: rgba(134, 26, 112, 0.2);
  border-color: rgba(134, 26, 112, 0.55);
  box-shadow: 0 14px 30px -16px rgba(134, 26, 112, 0.7);
}
.stat:nth-child(4):hover {
  background: rgba(246, 74, 34, 0.16);
  border-color: rgba(246, 74, 34, 0.5);
  box-shadow: 0 14px 30px -16px rgba(246, 74, 34, 0.65);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   Partners — continuously scrolling logo marquee. Pure CSS: the
   track's content is duplicated once in the markup and the animation
   translates exactly -50%, so the loop point is invisible. Pauses on
   hover (lets someone actually click a logo) and stops entirely under
   prefers-reduced-motion (a continuous drift is exactly the kind of
   motion that guidance calls out).
   ============================================================ */
.partners {
  padding-block: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.marquee {
  width: 100%;
  /* fade logos in/out at the section edges instead of a hard clip */
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.partners.marquee-reverse .marquee-track { animation-direction: reverse; }

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: clamp(0.75rem, 1.5vw, 1.25rem);
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 2.75rem;
  padding: 0.25rem 1.25rem 0.25rem 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-out-fast), background-color var(--dur-fast) var(--ease-out-fast), transform var(--dur-fast) var(--ease-out-fast);
}
.partner-chip:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

.partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease-out-fast);
}
.partner-chip:hover .partner-name { color: #fff; }

/* Full-color channel avatars (not flat wordmarks), so no grayscale
   treatment — just a clean circular crop. */
.partner-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ============================================================
   Portfolio — bento grid, same dark backdrop as the hero.

   4 reels (.reel, 1 col × 2 rows) + 4 landscape videos (.landscape,
   2 cols × 1 row), alternating reel/landscape/reel/landscape... on a
   4-column grid. That exact pattern + grid-auto-flow: dense tiles
   perfectly with no gaps — keep the count/order if you add more.
   ============================================================ */
.portfolio-section {
  background: radial-gradient(90% 55% at 50% 0%, rgba(65, 14, 140, 0.14) 0%, transparent 60%), var(--bg);
}

.portfolio-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 1rem;
}
@media (min-width: 700px) { .portfolio-bento { grid-auto-rows: 170px; } }

.bento-item.reel { grid-column: span 1; grid-row: span 2; }
.bento-item.landscape { grid-column: span 2; grid-row: span 1; }

@media (max-width: 859px) {
  .portfolio-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-item.reel, .bento-item.landscape { grid-column: span 1; grid-row: span 1; }
  .bento-item.reel .bento-media { aspect-ratio: 9 / 14; }
  .bento-item.landscape .bento-media { aspect-ratio: 16 / 9; }
}

.bento-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--dur-base) var(--ease-settle), box-shadow var(--dur-base) var(--ease-settle), border-color var(--dur-base) var(--ease-settle);
}
.bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}

.bento-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* drop a real thumbnail in per-card by adding an inline
     style="background-image:url('assets/portfolio/your-file.jpg')"
     directly on this .bento-media div — falls back to the brand
     gradient below until one is set. (Deliberately NOT a CSS custom
     property here: a url() inside a var() resolves relative to the
     stylesheet that reads it, not this HTML document, so a relative
     path silently 404s from inside css/styles.css. A url() in an
     inline style attribute resolves against the HTML document
     correctly, which is why the thumbnail goes on this element
     directly instead.) */
  background-image: linear-gradient(155deg, var(--grad-1), var(--grad-3) 50%, var(--purple));
  background-size: cover;
  background-position: center;
}
.bento-item.landscape .bento-media { background-image: linear-gradient(155deg, var(--grad-3), var(--blue-violet) 60%, var(--magenta)); background-size: cover; background-position: center; }

.bento-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 1, 5, 0.85) 0%, rgba(3, 1, 5, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.play-icon {
  position: relative;
  z-index: 1;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background-color var(--dur-fast) var(--ease-out-fast), transform var(--dur-fast) var(--ease-out-fast);
}
.play-icon svg { width: 1rem; height: 1rem; margin-left: 2px; }
.bento-item:hover .play-icon { background: rgba(255, 255, 255, 0.24); transform: scale(1.06); }

.bento-caption {
  position: absolute;
  left: 0.875rem; right: 0.875rem; bottom: 0.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.bento-title { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em; color: #fff; }
.bento-niche { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   Founder — everything sits inside one bordered, glowing dark card.
   ============================================================ */
.founder-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(134, 26, 112, 0.35);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7), 0 0 90px -30px rgba(65, 14, 140, 0.45);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .founder-card { grid-template-columns: 0.75fr 1.25fr; } }

.founder-photo {
  aspect-ratio: 1;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--grad-4), var(--grad-6) 45%, var(--grad-5));
  border: 1px solid rgba(134, 26, 112, 0.5);
  box-shadow: 0 0 0 1px rgba(134, 26, 112, 0.12), 0 24px 60px -20px rgba(65, 14, 140, 0.6), 0 0 50px -10px rgba(134, 26, 112, 0.55);
  position: relative;
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.founder-copy { text-align: left; }
.founder-divider {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 0.625rem 0 0.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple), var(--magenta));
}
.founder-name { font-size: clamp(2.5rem, 4vw + 1.25rem, 4rem); letter-spacing: -0.02em; color: #fff; }
.founder-title { color: var(--grad-4); font-weight: 600; font-size: 1.375rem; margin-top: 0.75rem; }
.founder-bio { margin-top: 1.25rem; max-width: 42ch; color: rgba(255, 255, 255, 0.65); }

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
  padding: 0.75rem 1.625rem 0.75rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(134, 26, 112, 0.4);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  box-shadow: 0 0 30px -14px rgba(134, 26, 112, 0.6);
  transition: background-color var(--dur-fast) var(--ease-out-fast),
    border-color var(--dur-fast) var(--ease-out-fast),
    transform var(--dur-fast) var(--ease-out-fast);
}
.founder-link:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(134, 26, 112, 0.7); }
.founder-link:active { transform: scale(0.97); }
.founder-link-icon {
  width: 2.125rem; height: 2.125rem;
  border-radius: 7px;
  background: #0a66c2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.founder-link-icon svg { width: 1.1875rem; height: 1.1875rem; color: #fff; }
.founder-link-arrow { width: 1.1875rem; height: 1.1875rem; margin-left: -0.25rem; }

/* ============================================================
   Contact — dark liquid-glass. One unified card for the contact
   methods (rows divided by hairlines, not three separate boxes) plus
   a matching glass form card, both floating over a dark canvas with
   the same subtle radial wash used elsewhere (hero, services).
   ============================================================ */
.contact-section {
  position: relative;
  overflow: clip;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(65% 55% at 20% 15%, rgba(65, 14, 140, 0.22) 0%, transparent 60%),
    radial-gradient(55% 50% at 85% 85%, rgba(134, 26, 112, 0.18) 0%, transparent 60%);
}

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.05fr; } }

.contact-form {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(134, 26, 112, 0.3);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    0 0 60px -30px rgba(65, 14, 140, 0.4);
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.01) 30%,
    rgba(191, 198, 255, 0.06) 55%,
    rgba(255, 203, 252, 0.05) 75%,
    rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.contact-right { display: flex; flex-direction: column; }
.eyebrow-row { display: flex; align-items: center; gap: 0.875rem; }
.eyebrow-line { flex: 1; max-width: 5rem; height: 1px; background: linear-gradient(90deg, var(--purple), transparent); }
.contact-heading { margin-top: 0.75rem; }
.contact-lede { margin-top: 1rem; max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }

.contact-method:has(.contact-icon.whatsapp) { background: linear-gradient(160deg, rgba(37, 211, 102, 0.08), rgba(255, 255, 255, 0.02)); }
.contact-method:has(.contact-icon.instagram) { background: linear-gradient(160deg, rgba(221, 42, 123, 0.1), rgba(255, 255, 255, 0.02)); }
.contact-method:has(.contact-icon.phone) { background: linear-gradient(160deg, rgba(71, 67, 205, 0.1), rgba(255, 255, 255, 0.02)); }
.contact-method:has(.contact-icon.call) { background: linear-gradient(160deg, rgba(65, 14, 140, 0.14), rgba(255, 255, 255, 0.02)); }

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
@media (max-width: 560px) { .contact-methods { grid-template-columns: 1fr; } }

.contact-method {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(134, 26, 112, 0.3);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 18px 40px -24px rgba(0, 0, 0, 0.7);
  transition: background-color var(--dur-fast) var(--ease-out-fast),
    border-color var(--dur-fast) var(--ease-out-fast),
    transform var(--dur-fast) var(--ease-out-fast);
}
.contact-method:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(134, 26, 112, 0.55);
  transform: translateY(-2px);
}

.contact-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c4a); }
.contact-icon.call { background: linear-gradient(135deg, var(--purple), var(--blue-violet)); }
.contact-icon.phone { background: linear-gradient(135deg, var(--blue-violet), var(--grad-5)); }
.contact-icon.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); }

.contact-method-copy { flex: 1; min-width: 0; }
.contact-method-copy h4 { font-size: 0.875rem; font-weight: 700; color: #fff; line-height: 1.3; }
.contact-method-copy span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.contact-method-arrow { color: rgba(255, 255, 255, 0.45); flex-shrink: 0; }
.contact-method-arrow svg { width: 1.125rem; height: 1.125rem; }

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.25rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label { font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.form-optional { font-weight: 400; color: rgba(255, 255, 255, 0.4); text-transform: none; letter-spacing: 0; }
.form-row input, .form-row textarea {
  padding: 0.8125rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: border-color var(--dur-fast) var(--ease-out-fast), box-shadow var(--dur-fast) var(--ease-out-fast), background-color var(--dur-fast) var(--ease-out-fast);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: rgba(134, 26, 112, 0.6);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(134, 26, 112, 0.2);
}
.form-row textarea { resize: vertical; min-height: 7rem; }
.form-note { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); }
.form-status { font-size: 0.8125rem; text-align: center; min-height: 1.2em; color: rgba(255, 255, 255, 0.6); }
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-left: 0.375rem;
  background: linear-gradient(100deg, var(--purple) 0%, var(--magenta) 55%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 28px -10px rgba(134, 26, 112, 0.6);
}
.contact-submit:hover { box-shadow: 0 12px 34px -8px rgba(134, 26, 112, 0.7); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-submit-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: var(--purple);
}
.contact-submit-icon svg { width: 1.125rem; height: 1.125rem; }
.contact-submit-arrow { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

/* ============================================================
   Footer — a proper anchored footer bar: flush, light-themed, full
   width, with a top hairline separator — not a floating card.
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.footer-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
@media (max-width: 780px) {
  .footer-card {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.footer-divider {
  width: 1px;
  align-self: stretch;
  min-height: 3rem;
  background: var(--border-subtle);
  flex-shrink: 0;
}
@media (max-width: 780px) { .footer-divider { display: none; } }

.footer-brand { display: flex; align-items: center; gap: 0.875rem; }
.footer-logo-mark { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); }
.footer-brand-copy { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); }
.footer-legal { font-size: 0.8125rem; color: var(--text-tertiary); }

.footer-col { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.footer-col-icon {
  width: 1.875rem; height: 1.875rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(65, 14, 140, 0.1);
  color: var(--purple);
}
.footer-col-icon svg { width: 1rem; height: 1rem; }
.footer-address { font-size: 0.875rem; line-height: 1.6; color: var(--text-tertiary); }
.footer-email { font-size: 0.875rem; color: var(--text-tertiary); transition: color var(--dur-fast) var(--ease-out-fast); }
.footer-email:hover { color: var(--purple); }

.footer-socials { display: flex; gap: 0.625rem; }
.footer-social {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(65, 14, 140, 0.1);
  color: var(--purple);
  transition: background-color var(--dur-fast) var(--ease-out-fast), color var(--dur-fast) var(--ease-out-fast), transform var(--dur-fast) var(--ease-out-fast);
}
.footer-social svg { width: 1.0625rem; height: 1.0625rem; }
.footer-social:hover { background: rgba(65, 14, 140, 0.18); color: var(--purple); transform: translateY(-2px); }

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-left: auto;
  text-align: right;
}
@media (max-width: 780px) { .footer-copyright { margin-left: 0; text-align: left; } }

/* ============================================================
   Scroll-reveal — cross-fade + rise, springy settle
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-settle), transform var(--dur-slow) var(--ease-settle);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Reduced motion / transparency / contrast
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 200ms !important;
  }
  [data-reveal] { transform: none; }
  .bento-item:hover, .stat:hover { transform: none; }
  .carousel-arrow:active { transform: translateY(-50%); }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .contact-method, .contact-form, .btn-secondary, .hero-badge, .stat, .carousel-arrow, .play-icon {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-elevated) !important;
  }
  .nav::before, .contact-form::before { display: none; }
}

@media (prefers-contrast: more) {
  :root { --border-subtle: currentColor; --card-border: currentColor; }
  .bento-item, .contact-method, .contact-form, .nav, .service-slide { border-width: 1.5px; }
}
