/* KBW Studio — shared stylesheet
   Gradient Glow visual system (violet → pink), dark by default.
   See CLAUDE.md for the locked system. Replaces the earlier
   Minimalist Monochrome Editorial system by Kayono's direction. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-bg: #0C0A12;
  --color-fg: #F5F3FA;
  --color-muted: #151021;         /* panel background */
  --color-muted-fg: #A79FBB;      /* secondary text — verified AAA on bg + panel */
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-light: rgba(255, 255, 255, 0.08);

  --g1: #7C3AED;                  /* violet */
  --g2: #EC3A86;                  /* pink */
  --grad: linear-gradient(120deg, var(--g1), var(--g2));

  /* Names kept from the old system so every rule below still resolves;
     all three now point at Poppins rather than three different faces. */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Poppins', sans-serif;

  --radius: 20px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: 200ms ease;

  --gutter: 1.5rem;
  --max-width: 1200px;
}

@media (min-width: 768px) {
  :root { --gutter: 3rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Sticky header would otherwise cover anchored sections */
[id] { scroll-margin-top: 7rem; }

main:focus { outline: none; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }

a {
  color: var(--color-fg);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #B794F6;
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* solid, not gradient-clipped — small text needs the full 4.5:1,
     the gradient only clears that at one end */
  color: var(--color-muted-fg);
}

.rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Skip link — first tab stop, hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-muted);
  color: var(--color-fg);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.25em;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-light);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}

/* Logo mark — assets/kbw-mark.svg, from kbw-logo-pack. Loaded as an <img>
   rather than inlined, so the gradient's id can't collide with anything
   else on the page. The wordmark line is baseline-aligned, which a
   replaced element doesn't sit on sensibly, so this one is centred. */
.wordmark-mark {
  flex: none;
  align-self: center;
  width: 30px;
  height: 30px;
}

.wordmark span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.15rem, 1vw, 0.4rem);
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  display: block;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted-fg);
  padding: 0.6em 0.9em;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--color-fg);
  background: rgba(124, 58, 237, 0.18);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 1.2rem;         /* bold + this size clears the large-text
                                 3:1 threshold at every point in the
                                 gradient; smaller sizes did not */
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.7em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(227, 63, 161, 0.32);
}

.btn.btn-outline {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border);
  box-shadow: none;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:focus-visible,
  .btn.btn-outline:hover, .btn.btn-outline:focus-visible {
    transform: none;
  }
}

/* Hero */
.hero {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero-inner { flex-direction: row; align-items: center; gap: 3.5rem; }
  .hero-copy { flex: 1; }
  .hero-visual { flex: none; }
}

.hero h1 { margin-top: 0.4em; }

.hero .lede {
  font-size: 1.1875rem;
  color: var(--color-muted-fg);
  max-width: 46ch;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Decorative glow orbs behind the hero copy */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.glow.a { width: 320px; height: 320px; background: rgba(124, 58, 237, .30); top: -80px; left: -100px; animation: drift 14s ease-in-out infinite alternate; }
.glow.b { width: 280px; height: 280px; background: rgba(236, 58, 134, .20); bottom: -60px; right: -80px; animation: drift 17s ease-in-out infinite alternate-reverse; }

@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(24px, 18px); } }

/* Hero phone mockup — decorative and generic, aria-hidden.
   Not a client screenshot; the caption says so. */
.hero-visual { display: flex; justify-content: center; perspective: 1200px; }

/* JS-driven tilt wrapper — separate element from .phone so this transform
   never fights with .phone's own entrance animation below */
.phone-tilt {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.phone {
  position: relative;
  width: min(280px, 72vw);
  border: 1px solid var(--color-border);
  border-radius: 38px;
  background: #0F0C18;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(124, 58, 237, .26), 0 4px 18px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(24px);
  animation: rise .7s ease .15s forwards;
}

.notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 8px;
  border-radius: var(--radius-pill);
  background: #241D38;
  z-index: 2;
}

.screen {
  position: relative;
  border-radius: 28px;
  background: #120E1D;
  overflow: hidden;
  aspect-ratio: 9 / 18.2;
}

/* One scene per business type, stacked and cross-faded. Only .is-active
   is visible/interactive; JS below cycles which one that is. With JS off
   or under reduced motion, scene 1 (marked is-active in the HTML) is the
   only one ever shown — a correct static fallback, not a broken state. */
.p-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 34px 13px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.p-scene.is-active { opacity: 1; pointer-events: auto; }

.p-nav { display: flex; align-items: center; gap: 7px; }
.p-logo { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.p-word { font-size: 8.5px; font-weight: 700; letter-spacing: .005em; color: var(--color-fg); }
.p-nav .pill {
  margin-left: auto;
  font-size: 6.25px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .18);
}

.p-hero {
  border-radius: 14px;
  height: 34%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 11px;
}
/* Each scene gets its own color story — the point is range, not one template */
.p-hero-violet { background: linear-gradient(150deg, rgba(124, 58, 237, .6), rgba(236, 58, 134, .5)), #1A1229; }
.p-hero-amber  { background: linear-gradient(150deg, rgba(234, 88, 12, .6), rgba(220, 38, 38, .5)), #241408; }
.p-hero-steel  { background: linear-gradient(150deg, rgba(51, 65, 85, .7), rgba(37, 99, 235, .5)), #0F1B2E; }
.p-hero-lime   { background: linear-gradient(150deg, rgba(21, 128, 61, .65), rgba(132, 204, 22, .45)), #0F2417; }

.p-eyebrow {
  font-size: 5.25px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.p-hero .t1 { font-size: 10px; font-weight: 700; line-height: 1.2; max-width: 85%; color: #fff; }

.p-book {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 6.75px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(12, 10, 18, .55);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-pill);
  padding: 4px 9px;
}

/* Generic service chips — name real KBW verticals (barbershop, restaurant,
   trade shop, gym), never a specific business. No star ratings or reviews
   anywhere in this mockup; fabricated social proof is a harder line than
   a placeholder layout. */
.p-services { display: flex; flex-wrap: wrap; gap: 5px; }
.p-services span {
  font-size: 6.25px;
  font-weight: 600;
  color: var(--color-muted-fg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}

.p-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
.p-gallery i { aspect-ratio: 1; border-radius: 9px; background: linear-gradient(160deg, #251B3E, #1B1530); border: 1px solid rgba(255, 255, 255, .06); }
.p-gallery i:nth-child(2) { background: linear-gradient(160deg, #2E1A38, #1B1530); }

.p-cta {
  margin-top: auto;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
}
.p-cta-amber { background: linear-gradient(120deg, #EA580C, #DC2626); }
.p-cta-steel { background: linear-gradient(120deg, #334155, #2563EB); }
.p-cta-lime  { background: linear-gradient(120deg, #15803D, #84CC16); }

/* Scene indicator dots below the phone — extra margin clears the
   .phone-tag badge, which pokes out past the phone's bottom-right */
.p-dots { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.p-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .3s ease, transform .3s ease;
}
.p-dot.is-active { background: var(--g2); transform: scale(1.3); }

.phone-tag {
  position: absolute;
  bottom: -14px; right: -6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-fg);
  background: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .45rem .85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(10px);
  animation: rise .5s ease 1.25s forwards;
}
.phone-tag em { font-style: normal; color: var(--g2); font-weight: 700; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .glow.a, .glow.b { animation: none; }
  .phone, .phone-tag { opacity: 1 !important; transform: none !important; animation: none !important; }
  .p-scene { transition: none; }
}

/* Sections */
.section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--color-border-light);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

/* Cards / grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid > * {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--color-muted);
}

@media (min-width: 700px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.card h3 { margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }

.card-index {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--g2);
  margin: 0 0 1.5rem;
}

.card-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-muted-fg);
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

/* Why KBW — numbered rows, elevated panel section */
.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
}

.reasons li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 800px) {
  .reasons li { padding-right: 2.5rem; }
  .reasons li:nth-child(even) { padding-right: 0; padding-left: 2.5rem; }
}

.reasons .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-top: 0.4em;
  color: var(--g2);
}

.reasons h3 { margin-bottom: 0.4em; }

.reasons p {
  margin: 0;
  max-width: 42ch;
  color: var(--color-muted-fg);
}

/* Service detail rows (services page) */
.service {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--color-border-light);
}

.service:first-of-type { border-top: none; padding-top: 0; }

@media (min-width: 860px) {
  .service {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

.service-head .card-index { margin-bottom: 0.75rem; }
.service-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.4em;
}
.service-head p { color: var(--color-muted-fg); margin-bottom: 0; }

.service-price {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.service-price .amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.service-price .amount-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-top: 0.75rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 0.75rem;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--grad);
}

.service-list li:first-child { padding-top: 0; }
.service-list li:first-child::before { top: 0.6em; }

/* Process steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.steps li {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  background: var(--color-muted);
}

.steps .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--g2);
  margin-bottom: 1rem;
}

.steps h3 { font-size: 1.1875rem; margin-bottom: 0.4em; }
.steps p { font-size: 0.9375rem; margin: 0; color: var(--color-muted-fg); }

/* Narrative prose block */
.prose {
  max-width: 60ch;
}

.prose p {
  font-size: 1.125rem;
  margin-bottom: 1.4em;
  color: var(--color-muted-fg);
}

.prose p:last-child { margin-bottom: 0; }

.prose .lead-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1em;
  max-width: 24ch;
  color: var(--color-fg);
}

/* Statement panel — muted block for the honest bits */
.statement {
  background: var(--color-muted);
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--g2);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 2.5rem;
}

.statement p:last-child { margin-bottom: 0; }

.statement .footer-label { margin-bottom: 0.75rem; }

/* Contact — primary email block */
.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 3rem);
  background: var(--color-muted);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover,
.contact-card:focus-within {
  border-color: transparent;
  background:
    linear-gradient(var(--color-muted), var(--color-muted)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 16px 40px rgba(124, 58, 237, .22);
}

.contact-card .footer-label { margin-bottom: 1rem; }

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  word-break: break-word;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Phone numbers under the email block */
.contact-phones {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
  font-size: 1rem;
  color: var(--color-muted-fg);
}

.contact-phones a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.1em;
  margin-right: 1.25rem;
  transition: border-color var(--transition);
}

.contact-phones a:hover,
.contact-phones a:focus-visible { border-bottom-color: var(--g2); }

.contact-meta {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .contact-meta { grid-template-columns: repeat(3, 1fr); }
}

.contact-meta dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g2);
  margin-bottom: 0.6rem;
}

.contact-meta dd { margin: 0; font-size: 1rem; color: var(--color-muted-fg); }

/* FAQ */
.faq { border-top: 1px solid var(--color-border); }

.faq details {
  border-bottom: 1px solid var(--color-border-light);
}

.faq summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  color: var(--color-fg);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--g2);
  transition: transform var(--transition);
}

.faq details[open] summary::after { content: "\2013"; }

.faq .answer {
  padding: 0 0 1.75rem;
  max-width: 62ch;
}

.faq .answer p { margin-bottom: 0.85em; color: var(--color-muted-fg); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page intro (interior pages) */
.page-intro {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.page-intro h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); margin-top: 0.3em; }

.page-intro .lede {
  font-size: 1.1875rem;
  color: var(--color-muted-fg);
  max-width: 52ch;
}

/* Elevated / emphasis section — a raised panel with a soft glow wash,
   not a literal color inversion (the whole site is already dark) */
.section-inverse {
  position: relative;
  background: var(--color-muted);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.section-inverse::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(124, 58, 237, .16), transparent 55%),
              radial-gradient(circle at 85% 100%, rgba(236, 58, 134, .12), transparent 55%);
  pointer-events: none;
}

.section-inverse .wrap { position: relative; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border-light);
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--color-border-light);
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g2);
  margin: 0 0 1rem;
}

/* The named point of contact — the site's main trust signal. */
.footer-pitch {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  max-width: 20ch;
  color: var(--color-fg);
}

.footer-pitch-sub {
  font-size: 1rem;
  color: var(--color-muted-fg);
  max-width: 34ch;
  margin: 0;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.footer-list a {
  text-decoration: none;
  color: var(--color-muted-fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15em;
  transition: color var(--transition), border-color var(--transition);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--color-fg);
  border-bottom-color: var(--color-border);
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  word-break: break-all;
  color: var(--color-fg);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-muted-fg);
}

.footer-bottom p { margin: 0; max-width: none; }

.site-footer a { color: inherit; }

/* Mobile nav collapse — links get a full 44px tap target */
@media (max-width: 640px) {
  .site-header .wrap {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 0.85rem;
    padding-bottom: 0.6rem;
  }

  nav.primary-nav {
    width: 100%;
    margin-left: -0.4rem;
  }

  nav.primary-nav ul {
    gap: 0.2rem;
    flex-wrap: wrap;
  }

  nav.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
/* Inline links inside body copy that need to read as links, not as text.
   The global `a` rule inherits the body color, which is invisible mid-paragraph. */
.inline-link {
  color: var(--g2);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 58, 134, 0.45);
  padding-bottom: 0.08em;
  transition: color var(--transition), border-color var(--transition);
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--color-fg);
  border-bottom-color: var(--color-fg);
}
