/* ============================================================
   Full Moon Creative — Global Styles
   Builds on tokens.css. Vanilla CSS, framework-agnostic.
   ============================================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchor targets stop below the fixed header instead of underneath it */
#contact,
#services { scroll-margin-top: calc(var(--nav-height) + 24px); }
body {
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: var(--leading-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-void); }
::-webkit-scrollbar-thumb { background: var(--color-ash); border-radius: 4px; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
}
@media (max-width: 900px) {
  .container { padding-left: var(--gutter-tablet); padding-right: var(--gutter-tablet); }
}
@media (max-width: 640px) {
  .container { padding-left: var(--gutter-mobile); padding-right: var(--gutter-mobile); }
}

/* Section background rhythm (one canonical alternation):
   Service pages: subhero → reel (.section) → capabilities (.section) →
   process/value (.section.void) → featured work (.section) → CTA banner.
   Home keeps its own cosmos/void alternation. `.section` defaults to cosmos;
   add `.void` (or `.space`) only to break the beat intentionally. */
.section {
  padding: var(--space-20) 0;
  background: var(--color-cosmos);
}
@media (max-width: 640px) { .section { padding: var(--space-12) 0; } }
.section-tight { padding: var(--space-20) 0; }
/* Variant: solid void section (used for darker rhythm beats) */
.section.void { background: var(--color-void); }
/* Variant: solid space section (no gradient) */
.section.space { background: var(--color-space); }
/* Variant: cosmos section, e.g. team strips */
.section.cosmos { background: var(--color-cosmos); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-cta);
  color: var(--fg-primary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 32px rgba(123, 47, 190, 0.55);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fg-primary);
  border-color: rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-primary);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); }

.btn-sm { padding: 9px 22px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--glass-nav);
  backdrop-filter: blur(var(--glass-blur-nav));
  -webkit-backdrop-filter: blur(var(--glass-blur-nav));
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
  transition: background var(--duration-slow) ease;
}
.site-header.scrolled { background: rgba(8,12,24,0.92); }

.nav-list {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-list.left { justify-content: flex-end; }
.nav-list.right { justify-content: flex-start; }

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--fg-secondary);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--duration-base) ease, border-color var(--duration-base) ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--fg-primary); }
.nav-link[aria-current="page"] {
  color: var(--fg-primary);
  border-bottom-color: var(--color-lunar);
}

.nav-logo {
  display: flex; align-items: center; justify-content: center;
}
.nav-logo img {
  height: 48px;
  object-fit: contain;
}

.nav-cta-wrap {
  display: flex; align-items: center; gap: 28px;
  /* right links hug the logo; CTA gets pushed right via auto-margin on itself */
}
.nav-cta-wrap > .btn { margin-left: auto; }

.nav-hamburger {
  display: none;
  background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--fg-secondary); border-radius: 2px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 44px 1fr 44px;
    padding: 0 24px;
  }
  .site-header .nav-list,
  .site-header .nav-cta-wrap {
    display: none;
  }
  .nav-hamburger {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .nav-logo {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
  }
}

.mobile-menu {
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(8,12,24,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  display: none; flex-direction: column; gap: 4px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.0625rem; font-weight: 500;
  color: var(--fg-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a[aria-current="page"] { color: var(--fg-primary); }
.mobile-menu .btn { margin-top: 12px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  background: var(--color-void);
  display: flex; align-items: center;
}
.hero-video, .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0.55; }
.hero-bg {
  background:
    radial-gradient(ellipse at 70% 35%, rgba(123,47,190,0.22) 0%, transparent 55%),
    linear-gradient(135deg, #04060D 0%, #0D1530 40%, #13203F 70%, #04060D 100%);
}
.starfield {
  display: none !important;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(4,6,13,0.5) 100%),
    linear-gradient(to top, rgba(4,6,13,0.7) 0%, transparent 40%);
}
.hero-content--oneliner { gap: 20px; }
@media (max-width: 640px) {
  .hero {
    min-height: 60vh; height: auto;
    margin-top: calc(var(--nav-height) + 24px); /* clear the fixed header + mobile gutter */
  }
  .hero-content { padding: 0 24px; }
  .hero-headline { font-size: clamp(1.5rem, 6.5vw, 2.25rem); }
  .hero-vignette {
    background: linear-gradient(to bottom,
      var(--color-void) 0%, transparent 16%,
      transparent 84%, var(--color-void) 100%);
  }
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 22px;
  padding: 0 40px;
}
.hero-headline {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: var(--weight-bold);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--fg-primary);
  text-shadow: 0 2px 32px rgba(0,0,0,0.7);
  max-width: 18ch;
  text-wrap: pretty;
}
.hero-headline .mistral {
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--color-aurora);
  font-size: 0.85em;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.0625rem;
  color: rgba(242,244,255,0.72);
  line-height: 1.6;
}
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}

/* Sub-page hero (smaller, left-aligned) */
.subhero {
  position: relative;
  background: transparent;
  overflow: hidden;
  padding: calc(var(--nav-height) + 80px) 0 80px;
}
.subhero .container {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 18px;
  align-items: center;
  text-align: center;
}
.subhero h1 { margin-inline: auto; max-width: 22ch; text-wrap: balance; }
.subhero p { margin-inline: auto; }
.subhero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
}
@media (max-width: 640px) { .subhero h1 { max-width: none; } }
.subhero p { max-width: 640px; color: var(--fg-secondary); font-size: 1.0625rem; text-wrap: pretty; }
/* center the CTA row when used inside a subhero */
.subhero .hero-cta-row { justify-content: center !important; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; opacity: 0.4; pointer-events: none;
  animation: bob 2.4s var(--ease-in-out) infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ── Section header (h2 + lede) ─────────────────────────── */
.section-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--fg-primary);
}
/* Balance headline/lede wrapping site-wide so lines are even, not long-top/short-bottom */
.subhero h1,
.section-head h2,
.section-head .lede { text-wrap: balance; }
.section-head .lede {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}
.card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

/* Service card */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
/* 4-up variant (AV Installs value-prop) */
.service-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .service-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid--4 { grid-template-columns: 1fr; } }

/* Closing paragraphs under the AV value-prop grid — full container width to
   line up with the four cards and the rest of the page */
.value-prop-close { margin: var(--space-10) 0 0; display: flex; flex-direction: column; gap: 16px; }
.value-prop-close p { color: var(--fg-secondary); line-height: 1.75; text-wrap: pretty; }

.service-card {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-cta);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; stroke: #fff; }
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}
.service-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-aurora);
  transition: color var(--duration-base) ease;
}
.service-card:hover .service-link { color: var(--color-stardust); }

/* Project card */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

.project-card { overflow: hidden; cursor: pointer; }

/* Clickable card wrapper — keeps card visuals identical, lifts on hover */
.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  transition: transform var(--duration-base) ease, box-shadow var(--duration-base) ease;
  /* Stretch in any grid container so adjacent cards share height even when
     one card has a longer (multi-line) title. */
  height: 100%;
}
.project-card-link > .project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card-link > .project-card > .project-body { flex: 1 1 auto; }
.project-card-link:hover {
  transform: translateY(-4px);
}
.project-card-link:hover .project-card { box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.14); }
.project-card-link:hover .project-thumb { transform: scale(1.02); }
.project-card-link:focus-visible {
  outline: 2px solid var(--color-aurora);
  outline-offset: 4px;
}
.project-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0D1530 0%, #13203F 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: grid; place-items: center;
  overflow: hidden;
}
/* Blog listing cards use 16:9 to match the post-hero covers (object-fit/background cover handles the crop) */
.page-blog .project-card .project-thumb { aspect-ratio: 16 / 9; }
.project-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-tint, rgba(123,47,190,0.18)) 0%, transparent 70%);
}
.project-thumb-label {
  position: relative;
  font-size: 0.75rem; font-weight: var(--weight-bold);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ash);
}
.project-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.project-tag {
  align-self: flex-start;
  font-size: 0.6875rem; font-weight: var(--weight-semibold);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius-full);
  border: 1px solid var(--tag-border, rgba(155,89,232,0.3));
  color: var(--tag-color, var(--color-aurora));
  background: var(--tag-bg, rgba(155,89,232,0.10));
}
/* Category tag themes, in-palette: purple (creative), electric blue (live/technical), green (digital marketing) */
.project-tag.tag-purple { --tag-color: var(--color-aurora);   --tag-bg: rgba(155,89,232,0.10); --tag-border: rgba(155,89,232,0.30); }
.project-tag.tag-blue   { --tag-color: var(--color-electric); --tag-bg: rgba(75,143,232,0.12);  --tag-border: rgba(75,143,232,0.34); }
.project-tag.tag-green  { --tag-color: var(--color-verdant);  --tag-bg: rgba(61,214,140,0.12);  --tag-border: rgba(61,214,140,0.34); }
.project-tag.tag-pink   { --tag-color: var(--color-nova);     --tag-bg: rgba(255,77,157,0.12);  --tag-border: rgba(255,77,157,0.34); }
.project-tag.tag-orange { --tag-color: var(--color-solar);    --tag-bg: rgba(255,138,61,0.12);  --tag-border: rgba(255,138,61,0.34); }
.project-card h3 { font-size: 1.0625rem; font-weight: var(--weight-semibold); color: var(--fg-primary); }
.project-card .project-desc { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.6; }

/* ── About strip / stats ─────────────────────────────────── */
.about-strip {
  background: var(--color-cosmos);
  padding: 96px 0;
}
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .about-strip .container { grid-template-columns: 1fr; gap: 48px; } }

.about-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about-copy h2 { font-size: var(--text-h2); font-weight: var(--weight-bold); line-height: 1.2; letter-spacing: var(--tracking-tight); }
.about-copy p { color: var(--fg-secondary); line-height: 1.75; }

/* Long-form story body (About "Our Story") — single column, centered max-width */
.story-copy {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-copy p { color: var(--fg-secondary); line-height: 1.75; }
.story-copy h3 {
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin-top: 14px;
  color: var(--fg-primary);
}

/* About portrait placeholder */
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse at 30% 30%, rgba(123,47,190,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 75%, rgba(75,143,232,0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-cosmos) 0%, var(--color-nebula) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid; place-items: center;
}
.about-portrait .project-thumb-label {
  position: relative; z-index: 1;
  color: var(--color-ash);
}

/* ── Service card with image ─────────────────────────────── */
.service-card-media {
  margin: -28px -24px 4px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  flex-shrink: 0;
}
.service-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-card-media img {
  transform: scale(1.06);
}
/* Shared watermark-crop: source images have a baked-in watermark along the
   bottom edge; scale up anchored to top so the bottom band crops off. */
.media-crop-wm img { transform: scale(1.2); transform-origin: center top; }
.service-card:hover .media-crop-wm img { transform: scale(1.26); }

/* ── About portrait with real image ─────────────────────── */
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ── Quote / pull-quote with Mistral ─────────────────────── */
.pullquote {
  background: linear-gradient(180deg, var(--color-space) 0%, var(--color-cosmos) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 96px 0;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--font-accent);
  font-size: var(--text-mistral);
  color: var(--fg-primary);
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 auto;
}
.pullquote cite {
  display: block; margin-top: 24px;
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Carousel tracks (testimonials + projects) ─────────────
   Flex/transform-based slide carousels. JS toggles transform
   on .t-track / .proj-track to move between pages. */
.t-carousel,
.proj-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.t-track,
.proj-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

/* Testimonials: 3 cards on desktop, 1 when hamburger nav appears */
.t-track { gap: 24px; }
.t-track > .t-card {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.t-track > .t-card .t-quote { flex: 1 1 auto; }
.t-track > .t-card .t-meta  { margin-top: auto; }

@media (max-width: 900px) {
  .t-track { gap: 0; }
  .t-track > .t-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* Projects: 3 per page desktop, 1 per page mobile */
.proj-track { gap: 24px; }
.proj-track > .project-card-link {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  display: block;
  /* The generic .project-card-link { height: 100% } is for grid containers;
     on a flex item it disables align-items: stretch and collapses each card
     to its content height. auto restores stretch, so all cards match the
     tallest on every carousel page. */
  height: auto;
}
.proj-track > .project-card-link > .project-card { height: 100%; }

@media (max-width: 767px) {
  .proj-track { gap: 0; }
  .proj-track > .project-card-link {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* ── Testimonials carousel ───────────────────────────────── */
.testimonials .section-head { text-align: center; }

/* gold star gradient — defined once, referenced via fill="url(#fmcStarGold)" */
.t-stars-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.t-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
}
.t-stars { display: inline-flex; gap: 3px; line-height: 0; }
.t-stars svg {
  width: 14px; height: 14px;
  display: block;
  fill: url(#fmcStarGold);
  filter: drop-shadow(0 0 6px rgba(232,160,64,0.25));
}
.t-quote {
  font-size: 0.9375rem;
  font-weight: var(--weight-regular);
  line-height: 1.6;
  color: var(--fg-primary);
  letter-spacing: 0;
  text-wrap: pretty;
}
.t-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  margin-top: auto;
}
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  font-size: 0.6875rem; font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  color: var(--fg-primary);
  flex-shrink: 0;
}
.t-name { font-size: 0.875rem; font-weight: var(--weight-semibold); color: var(--fg-primary); }
.t-role { font-size: 0.75rem; color: var(--fg-muted); margin-top: 2px; }

.t-controls,
.proj-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.t-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  transition: all var(--duration-base) ease;
}
.t-arrow:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); }
.t-arrow svg { width: 18px; height: 18px; stroke: var(--fg-secondary); }
.t-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; padding: 0;
  cursor: pointer;
  transition: background var(--duration-slow) ease, transform var(--duration-slow) ease;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.t-dot:hover { background: rgba(255,255,255,0.5); }
.t-dot.is-active {
  background: rgba(255,255,255,0.95);
  transform: scale(1.4);
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps, .steps-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 10px;
}
.step-num {
  font-family: var(--font-primary);
  font-size: 0.75rem; font-weight: var(--weight-bold);
  letter-spacing: 0.16em; color: var(--color-aurora);
}
/* Placeholder step cards (awaiting real content) */
.step.is-placeholder { border-style: dashed; }
.step.is-placeholder h3,
.step.is-placeholder p { color: var(--fg-muted); }

/* About page group photo (replaces individual headshots) */
.about-group {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 24px rgba(155,89,232,0.18), 0 12px 48px rgba(0,0,0,0.55);
}
.about-group img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
/* Placeholder variant — no real photo yet */
.about-group--placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  box-shadow: none;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(155,89,232,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 75%, rgba(75,143,232,0.14) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-nebula) 0%, var(--color-cosmos) 100%);
}
.step h3 { font-size: 1.0625rem; font-weight: var(--weight-semibold); color: var(--fg-primary); }
.step p { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.65; }

/* ── Demo reel (services) ────────────────────────────────── */
.demo-reel-section { padding-bottom: 0; }
.demo-reel-section + .section { padding-top: calc(var(--space-24) + var(--space-12)); }
.demo-reel {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(155,89,232,0.18) 0%, transparent 65%),
    linear-gradient(135deg, var(--color-nebula) 0%, var(--color-cosmos) 100%);
  display: grid; place-items: center;
  cursor: pointer;
}
.demo-reel-play {
  position: relative; z-index: 1;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(155,89,232,0.45), 0 0 0 8px rgba(255,255,255,0.04);
  transition: transform var(--duration-base) ease;
}
.demo-reel:hover .demo-reel-play { transform: scale(1.08); }
.demo-reel-play svg { width: 32px; height: 32px; fill: var(--fg-primary); margin-left: 4px; }
/* Inline <video> fills the reel container; parent's overflow:hidden handles the radius */
.demo-reel-video { width: 100%; display: block; }

/* Single post */
.post { display: block; }
.post-hero {
  position: relative;
  background: transparent;
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.post-hero .container { position: relative; z-index: 1; max-width: var(--post-measure); padding-left: 24px; padding-right: 24px; }
.post-breadcrumb { margin-bottom: 24px; font-size: 0.875rem; }
.post-breadcrumb a { color: var(--fg-muted); text-decoration: none; transition: color var(--duration-base) ease; }
.post-breadcrumb a:hover { color: var(--fg-primary); }
.post-hero .project-tag { display: inline-block; margin-bottom: 20px; }
.post-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: var(--weight-semibold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.post-hero .lede { max-width: none; }
.post-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.post-cover {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 24px;
}
.post-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.post-cover-fallback {
  aspect-ratio: 16/9;
  width: calc(100% - 48px);
  margin: 0 auto 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(155,89,232,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 75%, rgba(75,143,232,0.14) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-nebula) 0%, var(--color-cosmos) 100%);
}
.post-cover-fallback img { display: none; }
.post-cover-fallback-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.post-cover:not(.post-cover-fallback) .post-cover-fallback-label { display: none; }

.post-body {
  max-width: var(--post-measure);
  margin-left: auto;
  margin-right: auto;
  /* 24px side padding (matching .post-cover / .post-faq) so the text column
     lines up edge-to-edge with the cover and in-body images */
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 96px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--fg-secondary);
}
.post-body > * + * { margin-top: 1.25em; }
.post-body h2 {
  margin-top: 2em;
  font-size: 1.625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  letter-spacing: -0.01em;
}
.post-body h3 {
  margin-top: 1.6em;
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
}
.post-body a { color: var(--color-aurora); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--color-electric); }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.4em; }
.post-body blockquote {
  margin: 2em 0;
  padding: 20px 28px;
  border-left: 3px solid var(--color-aurora);
  background: rgba(155,89,232,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  color: var(--fg-primary);
  font-style: italic;
}
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}
.post-body figure { margin: 2em 0; }
.post-body figure img,
.post-body figure video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.post-body figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  text-align: center;
}
.post-body .fig-placeholder {
  aspect-ratio: 16/9;
  display: grid; place-items: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--fg-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-body code {
  font-family: var(--font-mono, ui-monospace, monospace);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 2.5em 0;
}

/* ── Blog post byline author link ─────────────────────────── */
.post-meta .post-author { color: var(--fg-secondary); text-decoration: none; }
.post-meta .post-author:hover { color: var(--color-aurora); }

/* ── Definition callout ("What is X") for AEO ─────────────── */
.post-def {
  margin: 2em 0;
  padding: 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-electric);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
}
.post-def strong { color: var(--fg-primary); }

/* ── Inline stat highlight ────────────────────────────────── */
.post-body .stat-inline { color: var(--fg-primary); font-weight: var(--weight-semibold); }

/* ── "Last updated" line (end of post content) ────────────── */
.post-updated {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

/* ── FAQ section ──────────────────────────────────────────── */
.post-faq { max-width: var(--post-measure); margin: 0 auto; padding: 0 24px 64px; }
.post-faq h2 {
  font-size: 1.625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.post-faq-item {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
}
.post-faq-item h3 {
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  margin-bottom: 0.4em;
}
.post-faq-item p { color: var(--fg-secondary); line-height: 1.7; }

/* ── About Full Moon Creative entity box ──────────────────── */
.post-about {
  max-width: var(--post-measure);
  margin: 0 auto;
  padding: 0 24px;
}
.post-about-inner {
  padding: 24px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.post-about-inner h2 {
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  margin-bottom: 0.5em;
}
.post-about-inner p { font-size: 0.9375rem; line-height: 1.7; color: var(--fg-secondary); }
.post-about-inner p + p { margin-top: 0.8em; }

/* ── Share row ────────────────────────────────────────────── */
.post-share {
  max-width: var(--post-measure);
  margin: 40px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-share-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.post-share a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--fg-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.post-share a:hover { border-color: var(--color-aurora); color: var(--color-aurora); }
.post-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Related reading ──────────────────────────────────────── */
.post-related {
  max-width: 1100px;
  margin: var(--space-8) auto 0;
  padding: 40px 24px var(--space-16);
  border-top: 1px solid var(--border-subtle);
}
.post-related h2 {
  font-size: 1.375rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  margin-bottom: 28px;
}
.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-related-card {
  display: block;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-related-card:hover { border-color: var(--color-aurora); transform: translateY(-2px); }
.post-related-card .post-related-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-aurora);
}
.post-related-card .post-related-tag.tag-green { color: var(--color-verdant); }
.post-related-card .post-related-tag.tag-pink { color: var(--color-nova); }
.post-related-card .post-related-tag.tag-orange { color: var(--color-solar); }
.post-related-card h3 {
  margin-top: 10px;
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .post-related-grid { grid-template-columns: 1fr; }
}

/* ── Weak-points grid (services pages) ───────────────────── */
.weakpoints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.weakpoint {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.weakpoint::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(155,89,232,0.10), transparent 60%);
  pointer-events: none;
}
.weakpoint > * { position: relative; }
.weakpoint-num {
  font-family: var(--font-primary);
  font-size: 1.625rem;
  letter-spacing: 0.06em;
  color: var(--color-aurora);
  display: inline-block; margin-bottom: 4px;
}
.weakpoint h3 {
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.weakpoint p {
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 1024px) { .weakpoints-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .weakpoints-grid { grid-template-columns: 1fr; } }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(123,47,190,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(75,143,232,0.18) 0%, transparent 55%),
    var(--color-void);
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.cta-banner .container { display: block; text-align: left; }
.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cta-banner-copy { display: flex; flex-direction: column; gap: 18px; }
.cta-banner h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
.cta-banner p { color: var(--fg-secondary); max-width: 46ch; margin: 0; }
.cta-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cta-bullets li {
  position: relative; padding-left: 26px;
  color: var(--fg-secondary); font-size: 0.9375rem;
}
.cta-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 14px; height: 14px;
  background: var(--gradient-cta);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(155,89,232,0.35);
}
.cta-form {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.cta-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.cta-form .form-label {
  font-size: 0.75rem; font-weight: var(--weight-semibold);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
}
.cta-form .form-optional { font-weight: var(--weight-regular); text-transform: none; letter-spacing: 0; opacity: 0.7; }
.cta-form input, .cta-form select, .cta-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--fg-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
  width: 100%;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--color-aurora);
  box-shadow: 0 0 0 3px rgba(155,89,232,0.15);
}
.cta-form textarea { resize: vertical; min-height: 90px; }
.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23B8B8C5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cta-form-submit { margin-top: 4px; align-self: flex-start; }
.cta-form-hint { font-size: 0.75rem; color: var(--fg-muted); margin: 0; }
.cta-form .form-success {
  background: rgba(155,89,232,0.10);
  border: 1px solid rgba(155,89,232,0.30);
  color: var(--fg-primary);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
}
@media (max-width: 900px) {
  .cta-banner-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-form .form-row { grid-template-columns: 1fr; }
  .cta-form-submit { align-self: stretch; }
}

/* ── Forms ───────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 28px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.75rem; font-weight: var(--weight-bold);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-secondary);
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-aurora);
  box-shadow: 0 0 0 3px rgba(155,89,232,0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-muted); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .btn[type="submit"] { align-self: flex-start; }

/* Contact info ladder (right column on /contact) */
.contact-intro { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--space-6); }
.contact-intro h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
}
.contact-intro p { color: var(--fg-secondary); line-height: 1.75; }
/* Contact page: styled confirmation panel when form is submitted */
.page-contact .form-success {
  padding: 28px 32px;
  margin-top: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 89, 232, 0.30);
  background: linear-gradient(135deg, var(--color-cosmos) 0%, var(--color-nebula) 100%);
  color: var(--fg-primary);
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.65;
  box-shadow: 0 0 30px rgba(155, 89, 232, 0.22), 0 8px 28px rgba(0, 0, 0, 0.5);
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--color-cosmos);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.contact-info-item:hover {
  border-color: rgba(155,89,232,0.30);
  background: var(--color-nebula);
}
.contact-info-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-cta);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(155,89,232,0.30);
}
.contact-info-icon svg { width: 18px; height: 18px; stroke: #fff; }
.contact-info-item > div:last-child { flex: 1; min-width: 0; }
.contact-info-item h3 {
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}
.contact-link { color: var(--color-electric); font-weight: var(--weight-medium); }
.contact-link:hover { color: var(--color-stardust); }

/* What happens next: 3-step expectations block under the form */
.contact-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .contact-next { grid-template-columns: 1fr; gap: 20px; } }
.contact-next-item {
  padding: 24px;
  background: var(--color-cosmos);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 10px;
}
.contact-next-num {
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.16em;
  color: var(--color-aurora);
}
.contact-next-item h3 {
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
}
.contact-next-item p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0;
}

/* Map section (contact page) */
.map-section { padding: var(--space-4) 0 var(--space-8); }

/* Embedded map frame */
.map-frame {
  height: 380px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.map-frame iframe { border: 0; display: block; width: 100%; height: 100%; }

/* Narrow content container (e.g. /contact) */
.container.container--narrow { max-width: 960px; }

/* Centered section header variant — also widens the column so long ledes don't wrap to a tight 640px ribbon */
.section-head.center {
  text-align: center;
  align-items: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .lede { margin-inline: auto; }

/* Centered "see more" CTA below a section grid */
.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-void);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 640px) {
  .site-footer { padding: 40px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 24px;
    justify-items: center;
    text-align: center;
  }
  .footer-brand { align-items: center; gap: 12px; }
  .footer-brand img { object-position: center; }
  .footer-brand p { max-width: 300px; }
  .footer-socials { justify-content: center; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
  }
  .footer-col:last-child ul { flex-direction: column; gap: 8px; }
  .footer-col:last-child ul li:nth-child(n+4) { display: none; }
  .footer-bottom { justify-content: center; text-align: center; padding-top: 18px; }
  .footer-bottom .legal { justify-content: center; }
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 56px; object-fit: contain; object-position: left; }
.footer-brand p { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) ease;
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
.footer-socials svg { width: 16px; height: 16px; stroke: var(--fg-muted); fill: none; stroke-width: 1.5; }
.footer-socials a:hover svg { stroke: var(--fg-primary); }

.footer-col h4 {
  font-size: 0.75rem; font-weight: var(--weight-bold);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-secondary); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  transition: color var(--duration-base) ease;
}
.footer-col a:hover { color: var(--fg-primary); }

/* Site-wide analytics/Clarity notice (above footer bottom bar) */
.clarity-notice {
  font-size: var(--text-xs);
  color: var(--color-ash);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1.7;
}
.clarity-notice a { color: var(--fg-muted); text-decoration: underline; }
.clarity-notice a:hover { color: var(--fg-secondary); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
  font-size: var(--text-xs); color: var(--color-ash);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--fg-secondary); }

/* ── Entry animations ────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ── Accessibility ───────────────────────────────────────── */

/* Skip-to-content link — visible on focus only */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  z-index: 9999;
  background: var(--gradient-cta);
  color: var(--fg-primary);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* Visible focus rings on interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-aurora);
  outline-offset: 3px;
}
/* Primary button gets glow focus */
.btn-primary:focus-visible {
  outline: 2px solid var(--color-aurora);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(155,89,232,0.20);
}

.page-events .service-card-media { aspect-ratio: 2 / 1; max-height: 200px; position: relative; }

/* ── Premium card treatment: cinematic overlay + aurora hover ──
   Applied across events service cards, home service cards, and blog cards */

/* Cinematic gradient + aurora rim over media regions */
.page-events .service-card-media,
.page-home .service-card-media,
.page-blog .project-card .project-thumb {
  position: relative;
}
.page-events .service-card-media::after,
.page-home .service-card-media::after,
.page-blog .project-card .project-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(155,89,232,0.14) 0%, transparent 55%),
    linear-gradient(180deg, transparent 50%, rgba(4,6,13,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Light sweep + aurora glow on hover */
.page-events .service-card,
.page-home .service-card,
.page-government .service-card,
.page-blog .project-card {
  position: relative;
  overflow: hidden;
}
.page-events .service-card::before,
.page-home .service-card::before,
.page-government .service-card::before,
.page-blog .project-card::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.7s var(--ease-out);
  z-index: 2;
}
@media (hover: hover) {
  .page-events .service-card:hover,
  .page-home .service-card:hover,
  .page-government .service-card:hover,
  .page-blog .project-card-link:hover .project-card {
    box-shadow:
      0 16px 40px rgba(0,0,0,0.6),
      0 0 0 1px rgba(155,89,232,0.30),
      0 0 30px rgba(155,89,232,0.22);
  }
  .page-events .service-card:hover::before,
  .page-home .service-card:hover::before,
  .page-government .service-card:hover::before,
  .page-blog .project-card-link:hover .project-card::before { left: 125%; }
}

/* Government page: aurora glow on the service icons themselves */
.page-government .service-icon {
  box-shadow: 0 0 18px rgba(155, 89, 232, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: box-shadow var(--duration-base) var(--ease-out);
}
.page-government .service-card:hover .service-icon {
  box-shadow: 0 0 28px rgba(155, 89, 232, 0.55), 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Aurora glow on content imagery — opt-in, scoped to real media surfaces */
.service-card-media img,
.about-portrait img,
.demo-reel video,
.post-cover img,
.post-body figure img,
.map-frame {
  box-shadow: 0 0 24px rgba(155, 89, 232, 0.18), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.section-head-wide { max-width: none; }

/* ── FAQ accordion (/faq) ─────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: var(--space-12); }
.faq-group h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
  color: var(--fg-primary);
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-cosmos);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
}
.faq-item[open] { border-color: rgba(123,63,228,0.35); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-aurora);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--fg-secondary);
  line-height: 1.7;
  max-width: 70ch;
}

/* Blog page — Stars + Soft Glow background */
.page-blog {
  background:
    url('/assets/images/FMC_Stars_and_Soft_Glow_background.webp') center top / cover no-repeat fixed,
    var(--color-void);
}
.page-blog .section,
.page-blog .subhero { background: transparent; }


/* ── City seal marquee (auto-scrolling trust strip) ──────── */
.seal-marquee {
  padding: var(--space-16) 0 var(--space-12);
  background: var(--color-cosmos);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.seal-marquee-head {
  text-align: center;
  margin-bottom: var(--space-10);
  padding: 0 var(--gutter-mobile);
}
.seal-marquee-head h2 {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin: 0;
}
.seal-marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.seal-marquee-track {
  display: flex;
  gap: var(--space-12);
  width: max-content;
  animation: seal-scroll 80s linear infinite;
}
.seal-marquee-viewport:hover .seal-marquee-track {
  animation-play-state: paused;
}
.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 140px;
  flex-shrink: 0;
}
.seal-plate {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.seal-item, .seal-plate, .seal-plate img { cursor: default; }
.seal-plate img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Per-seal fits: seals whose source has tight edges and renders too small with contain */
.seal-plate:has(img[src*="miami-springs.webp"]) { padding: 0; }
.seal-plate img[src*="miami-springs.webp"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.seal-plate:has(img[src*="sunrise.webp"]) { padding: 8px; }
.seal-plate img[src*="sunrise.webp"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.seal-name {
  font-size: 0.75rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.3;
}
@keyframes seal-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .seal-item { width: 108px; }
  .seal-plate { width: 92px; height: 92px; }
  .seal-marquee-track { gap: var(--space-8); animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .seal-marquee-track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: var(--space-8);
  }
}

/* Honeypot field — must remain invisible to real users */
.form-honeypot {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue { animation: none; }
}
