/* ==================================================================
   Leopold Systems - dark, premium.
   Poppins display headings, Hind body, near-black base, one violet accent.
   ================================================================== */

:root {
  /* Base */
  --bg:         #0E0C11;   /* near-black charcoal */
  --bg-2:       #14111B;   /* raised section */
  --surface:    #191420;   /* cards */
  --surface-2:  #201A2B;   /* hover / raised */
  --line:       rgba(238,234,244,0.10);
  --line-strong:rgba(238,234,244,0.18);

  /* Text */
  --text:  #F2EFF6;        /* headings, near-white */
  --body:  #B8B1C4;        /* body copy */
  --muted: #8A8398;        /* faint labels */

  /* Accent (brand purple, brightened for dark) */
  --accent:       #B486E6; /* highlights, eyebrows, stat figures, hovers */
  --accent-btn:   #7E4BB6; /* solid button fill, white text */
  --accent-btn-h: #8E5BC9;
  --accent-deep:  #2A1B3D; /* deep purple band base */
  --accent-tint:  rgba(180,134,230,0.12);

  /* Type */
  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: "Hind", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing scale 8 / 16 / 24 / 40 / 64 / 96 */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 96px;

  --radius:   16px;
  --radius-s: 12px;
  --shadow:   0 24px 60px rgba(0,0,0,0.55);
  --shadow-s: 0 12px 30px rgba(0,0,0,0.40);

  --maxw: 1140px;
  --maxw-narrow: 720px;
  --t: 220ms cubic-bezier(.2,.6,.2,1);
}

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

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

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

/* Ambient depth: a faint violet glow anchored top center, fixed and subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 40% at 78% -5%, rgba(126,75,182,0.20), transparent 60%),
    radial-gradient(50% 40% at 10% 0%, rgba(180,134,230,0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--text); }
::selection { background: var(--accent); color: #14101b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ----------------------------- Typography ------------------------ */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--text);
  margin: 0 0 var(--s-3);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.9rem, 6.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }

p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--body);
  font-weight: 400;
}
.muted { color: var(--muted); }
strong, .accent { color: var(--text); }
.hl { color: var(--accent); }

/* Eyebrow: small, tracked, accent */
.eyebrow {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  opacity: .8;
}

.rule { width: 100%; height: 1px; background: var(--line); border: 0; margin: 0; }

/* ----------------------------- Layout ---------------------------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-3); }
.wrap-narrow { max-width: var(--maxw-narrow); }

section { padding: clamp(72px, 10vw, 132px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.band-2   { background: var(--bg-2); }
.band-ink { background: #09080B; }
.band-tint{ background: linear-gradient(180deg, #14101C 0%, var(--bg) 100%); }

/* Feature accent band: deep violet with light text */
.band-purple {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(180,134,230,0.22), transparent 55%),
    linear-gradient(135deg, #241634 0%, var(--accent-deep) 55%, #1C1230 100%);
  color: #E8DFF3;
  border-block: 1px solid var(--line);
}
.band-purple h1, .band-purple h2, .band-purple h3 { color: #fff; }
.band-purple .eyebrow { color: #D9C4F0; }
.band-purple .eyebrow::before { background: #D9C4F0; }

/* Splits and editorial rhythm */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--s-4), 6vw, var(--s-6));
  align-items: center;
}
.split--reverse .col-a { order: 2; }

.editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--s-4), 7vw, 96px);
  align-items: start;
}
.editorial__head { position: sticky; top: 104px; }

@media (max-width: 880px) {
  .split, .editorial { grid-template-columns: 1fr; gap: var(--s-4); }
  .split--reverse .col-a { order: 0; }
  .editorial__head { position: static; }
}

/* ----------------------------- Buttons --------------------------- */
/* Primary: solid violet, confident padding. Secondary: a quiet arrow link,
   deliberately not an outlined twin. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
}

.btn--primary {
  background: var(--accent-btn);
  color: #fff;
  padding: 17px 30px;
  border-radius: var(--radius-s);
  box-shadow: 0 10px 24px rgba(126,75,182,0.28);
}
.btn--primary:hover { background: var(--accent-btn-h); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(126,75,182,0.40); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  padding: 17px 6px;
  border-radius: 0;
}
.btn--ghost::after { content: "\2192"; color: var(--accent); transition: transform var(--t); }
.btn--ghost:hover { color: var(--accent); }
.btn--ghost:hover::after { transform: translateX(5px); }

/* On the purple band */
.btn--on-purple { background: #F2EFF6; color: #1C1230; padding: 17px 30px; border-radius: var(--radius-s); }
.btn--on-purple:hover { background: #fff; color: #1C1230; transform: translateY(-2px); }
.btn--ghost-on-purple { background: transparent; color: #fff; padding: 17px 6px; }
.btn--ghost-on-purple::after { content: "\2192"; transition: transform var(--t); }
.btn--ghost-on-purple:hover { color: #EBD9FB; }
.btn--ghost-on-purple:hover::after { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; color: var(--accent);
}
.arrow-link::after { content: "\2192"; transition: transform var(--t); }
.arrow-link:hover { color: var(--text); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ------------------------------ Chips ---------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--body);
}
.chip--solid { background: var(--accent-tint); border-color: transparent; color: var(--accent); }

/* --------------------------- Header / nav ------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,12,17,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 82px; }
.brand { display: inline-flex; align-items: center; }
/* logo styled via .brand-logo */

.nav { display: flex; align-items: center; gap: clamp(var(--s-3), 4vw, var(--s-5)); }
.nav__links { display: flex; align-items: center; gap: clamp(var(--s-3), 3vw, var(--s-4)); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--display);
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 18px; height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-s); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width:20px; height:2px; background: var(--text); position: relative; transition: var(--t); }
.nav-toggle span::before { position:absolute; top:-6px; } .nav-toggle span::after { position:absolute; top:6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top:0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top:0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 82px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #100D15; border-bottom: 1px solid var(--line);
    padding: var(--s-2) var(--s-3) var(--s-3);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: var(--t);
  }
  .nav[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 15px 2px; font-size: 1.05rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: var(--s-3); justify-content: center; }
}

/* ------------------------------- Hero ---------------------------- */

.hero { padding: clamp(96px, 13vw, 176px) 0 clamp(64px, 9vw, 120px); position: relative; }
.hero__inner { max-width: 62ch; }
.hero .display { margin-bottom: var(--s-3); }
.hero__lead { max-width: 48ch; margin-bottom: var(--s-4); color: var(--body); }

/* Split hero used on some inner pages */
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(var(--s-4), 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------------------------- Stat band -------------------------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: var(--s-2) var(--s-4); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__fig {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 14px;
}
.stat__cap { color: var(--muted); font-size: 0.98rem; max-width: 24ch; margin: 0; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: var(--s-3) 0; }
  .stat:first-child { border-top: 0; }
}

/* -------------------------- Credibility -------------------------- */

.credstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credstrip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credstrip__item { padding: var(--s-4) var(--s-3); border-left: 1px solid var(--line); }
.credstrip__item:first-child { border-left: 0; padding-left: 0; }
.credstrip__k { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: 6px; }
.credstrip__v { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 720px) {
  .credstrip__grid { grid-template-columns: 1fr 1fr; }
  .credstrip__item { border-left: 0; border-top: 1px solid var(--line); padding: var(--s-3) 0; }
  .credstrip__item:first-child, .credstrip__item:nth-child(2) { border-top: 0; }
  .credstrip__item:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid var(--line); }
}

/* --------------------- Numbered steps / features ----------------- */

.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-tint); color: var(--accent);
  font-family: var(--display); font-size: 1.1rem; font-weight: 600;
  border: 1px solid var(--line-strong);
}
.step__title { margin: 4px 0 8px; font-size: 1.25rem; color: var(--text); }
.step__body { color: var(--body); margin: 0; }
.band-purple .step { border-color: rgba(255,255,255,0.14); }
.band-purple .step__badge { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.22); }
.band-purple .step__body { color: #E0D3F0; }

/* Cards + feature rows */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: var(--s-4);
}
.featurelist { display: grid; gap: 0; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.feature:first-child { padding-top: 0; }
.feature:last-child { border-bottom: 0; }
.feature__mark { width: 10px; height: 10px; margin-top: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 16px rgba(180,134,230,0.5); }
.feature h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--text); }
.feature p { margin: 0; color: var(--body); }

/* -------------------------- Testimonials ------------------------- */

.quotes { columns: 2; column-gap: var(--s-3); }
.quote {
  break-inside: avoid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-3);
  margin: 0 0 var(--s-3);
  transition: border-color var(--t), transform var(--t);
}
.quote:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.quote__lead { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--accent); margin: 0 0 var(--s-2); }
.quote__body { margin: 0 0 var(--s-3); color: var(--body); font-size: 0.98rem; }
.quote__by { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.quote__by::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.quote--feature { column-span: all; background: linear-gradient(135deg, #241634, var(--accent-deep)); border-color: var(--line-strong); }
.quote--feature .quote__lead { color: #fff; font-size: 1.5rem; }
.quote--feature .quote__body { color: #E0D3F0; font-size: 1.1rem; }
.quote--feature .quote__by { color: #fff; }
@media (max-width: 720px) { .quotes { columns: 1; } }

/* ------------------------------- FAQ ----------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: var(--s-3) 0;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--text);
  transition: color var(--t);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content:""; position:absolute; background: var(--accent); border-radius: 2px; transition: var(--t); }
.faq__icon::before { top:10px; left:2px; right:2px; height:2px; }
.faq__icon::after { left:10px; top:2px; bottom:2px; width:2px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--t); }
.faq__a-inner { padding: 0 0 var(--s-3); color: var(--body); max-width: 62ch; }

/* ------------------------------ Blog ----------------------------- */

.postlist { border-top: 1px solid var(--line); margin-top: var(--s-4); }
.postrow {
  display: grid; grid-template-columns: 168px 1fr auto; gap: var(--s-3) var(--s-4);
  align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
  transition: background var(--t);
}
.postrow:hover { background: rgba(255,255,255,0.02); }
.postrow__thumb { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.postrow__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.postrow:hover .postrow__thumb img { transform: scale(1.04); }
.postrow__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.14; }
.postrow__title a { color: var(--text); }
.postrow__title a:hover { color: var(--accent); }
.postrow__dek { color: var(--muted); margin: 0; max-width: 62ch; }
.postrow__cta { align-self: center; white-space: nowrap; }
@media (max-width: 720px) { .postrow { grid-template-columns: 1fr; gap: var(--s-2); } .postrow__cta { display: none; } .postrow__thumb { aspect-ratio: 16 / 9; } }

/* --------------------------- Article ----------------------------- */

.article { padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 10vw, 132px); }
.article__head { max-width: var(--maxw-narrow); margin: 0 auto var(--s-4); }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-bottom: var(--s-3); color: var(--muted); font-size: 0.88rem; }
.prose { max-width: var(--maxw-narrow); margin: 0 auto; font-size: 1.12rem; line-height: 1.8; color: var(--body); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin: var(--s-5) 0 var(--s-2); color: var(--text); }
.prose h3 { font-size: 1.3rem; margin: var(--s-4) 0 var(--s-1); color: var(--text); }
.prose p { margin: 0 0 var(--s-3); }
.prose ul, .prose ol { margin: 0 0 var(--s-3); padding-left: 1.3em; }
.prose li { margin: 0 0 var(--s-1); }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote { margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--text); }
.article__foot { max-width: var(--maxw-narrow); margin: var(--s-5) auto 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* ---------------------------- Contact ---------------------------- */

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(var(--s-4), 5vw, var(--s-5)); }
.contact-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-bottom: var(--s-2); }
.contact-line__k { font-family: var(--display); font-weight: 600; color: var(--text); }

/* ------------------------------ CTA ------------------------------ */

.cta-band__grid { display: grid; grid-template-columns: 1.25fr auto; gap: var(--s-4); align-items: center; }
.cta-band h2 { margin-bottom: var(--s-2); }
@media (max-width: 880px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* ------------------------------ 404 ------------------------------ */

.notfound { min-height: 66vh; display: grid; place-content: center; text-align: center; padding: var(--s-6) 0; }
.notfound .display { margin-bottom: var(--s-2); }

/* ---------------------------- Footer ----------------------------- */

.site-footer { background: #0A090C; border-top: 1px solid var(--line); padding: clamp(56px,7vw,88px) 0 var(--s-4); color: var(--muted); }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--text); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
/* footer logo styled via .brand-logo */
.footer__brand p { color: var(--muted); max-width: 36ch; margin: 0; font-size: 0.96rem; }
.footer__col h4 { font-family: var(--display); color: var(--text); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--s-3); font-weight: 600; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 12px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); justify-content: space-between; align-items: center; padding-top: var(--s-3); font-size: 0.9rem; color: var(--muted); }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; gap: var(--s-4); } }

/* --------------------------- Utilities --------------------------- */

.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.center { text-align: center; }
.maxw-prose { max-width: 60ch; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent-btn); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); z-index: 100; }
.skip-link:focus { left: var(--s-3); top: var(--s-2); color: #fff; }

/* ---------------------------- Wordmark --------------------------- */
/* Clean typographic brand for the dark theme. To use an image logo instead,
   replace the .wordmark span in the header/footer with an <img> that has a
   transparent or light-on-dark version of assets/logo.png. */
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.wordmark em { font-style: normal; font-weight: 500; color: var(--accent); margin-left: 0.5em; }
.footer__brand .wordmark { font-size: 1.05rem; display: inline-block; margin-bottom: var(--s-3); }

/* ============================ Imagery ============================ */

.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,12,17,0) 52%, rgba(14,12,17,0.5) 100%);
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--pano { aspect-ratio: 16 / 7; }
.media--square { aspect-ratio: 1 / 1; }

/* Framed media with an offset accent block behind it */
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  background: var(--accent-tint); border-radius: var(--radius); z-index: 0;
}
.media-frame .media { position: relative; z-index: 1; }

/* Full-bleed cinematic band with a dark overlay and text on top */
.imgband { position: relative; overflow: hidden; padding: clamp(84px, 13vw, 168px) 0; border-block: 1px solid var(--line); }
.imgband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.imgband__overlay { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(126,75,182,0.28), transparent 60%),
    linear-gradient(180deg, rgba(14,12,17,0.78), rgba(14,12,17,0.86));
}
.imgband .wrap { position: relative; z-index: 2; }

/* Hero split with image */
.hero--split .hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--s-4), 6vw, 72px); align-items: center; }
@media (max-width: 880px) { .hero--split .hero__grid { grid-template-columns: 1fr; } .hero--split .media { order: -1; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s-3); }
.member__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  display: grid; place-content: center; text-align: center;
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__ph { display: grid; gap: 8px; justify-items: center; color: var(--muted); padding: var(--s-3); }
.member__ph-badge {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-content: center;
  color: var(--accent); font-family: var(--display); font-weight: 600;
}
.member__ph-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.member__name { font-family: var(--display); font-weight: 600; color: var(--text); margin: var(--s-2) 0 2px; font-size: 1.05rem; }
.member__role { color: var(--accent); font-size: 0.9rem; margin: 0; }

.article__feature { margin: 0 0 clamp(40px, 6vw, 72px); }

/* ------------------------- Brand logo tile ----------------------- */
/* The logo artwork sits on a white ground, so it is presented in a clean
   rounded light tile, which reads as intentional on the dark header. */
.brand-logo {
  display: block;
  height: 48px; width: auto;
  object-fit: contain;
  background: #fff;
  padding: 5px 10px;
  border-radius: 10px;
}
.site-header__inner { min-height: 88px; }
.footer__brand .brand-logo { height: 52px; margin-bottom: var(--s-3); }
@media (max-width: 480px) { .brand-logo { height: 42px; padding: 4px 8px; } }

/* ---------------------------- Booking ---------------------------- */
.booking { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.booking__head { max-width: 640px; margin: 0 0 var(--s-4); }
.booking-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.booking-embed iframe { display: block; width: 100%; border: 0; min-height: 740px; background: #fff; }
.booking-embed__fallback { padding: var(--s-4); color: var(--muted); }

/* ----------------------- Thank you page -------------------------- */
.vsl {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  display: grid; place-content: center; text-align: center;
}
.vsl__play { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-content: center; margin: 0 auto var(--s-2); color: var(--accent); }
.vsl__play::before { content: ""; width: 0; height: 0; border-left: 20px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.vsl__label { color: var(--muted); font-size: 0.95rem; }
.casegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }
.casecard { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s-4); background: var(--surface); }
.casecard__fig { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--accent); margin: var(--s-2) 0 4px; }

/* --------------------- Video FAQ (pop-down) ---------------------- */
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 12px; overflow: hidden; transition: border-color var(--t); }
.faq-item:hover { border-color: var(--line-strong); }
.faq-question { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-family: var(--display); font-weight: 600; color: var(--text); font-size: 1.02rem; background: transparent; border: none; width: 100%; text-align: left; transition: color var(--t); }
.faq-question:hover { color: var(--accent); }
.faq-arrow { transition: transform .3s ease; font-size: 12px; color: var(--accent); flex: 0 0 auto; }
.faq-item.active .faq-question { color: var(--accent); }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-answer { max-height: 1200px; }
.faq-video-wrapper { padding: 4px 22px 22px; }
.faq-video-wrapper wistia-player { display: block; border-radius: 8px; overflow: hidden; }

/* --------------------- Services timeline ------------------------ */
.steps--timeline { max-width: 720px; margin: 0 auto; position: relative; }
.steps--timeline::before { content: ""; position: absolute; left: 25px; top: 22px; bottom: 22px; width: 2px; background: var(--line-strong); }
.steps--timeline .step { border-top: 0; padding: 0 0 var(--s-4); }
.steps--timeline .step:last-child { padding-bottom: 0; }
.steps--timeline .step__badge { position: relative; z-index: 1; background: var(--surface); }

/* Who-for / who-not: equal-height columns so both sides stretch to match */
.band-tint .split { align-items: stretch; }
@media (min-width: 881px) {
  .band-tint .split > .col-b { border-left: 1px solid var(--line-strong); padding-left: clamp(var(--s-4), 5vw, var(--s-6)); }
}

/* ------------------- Thank-you (thanksforbooking) --------------- */
.ty-lead { max-width: 820px; margin: 0 auto; text-align: center; }
.ty-lead .ty-watch { display: block; margin: var(--s-3) auto 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.3; color: var(--accent); }
.ty-pay { text-align: center; margin: var(--s-4) auto 0; max-width: 680px; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.25; color: var(--text); background: linear-gradient(180deg, rgba(126,75,182,0.24), rgba(126,75,182,0.10)); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: var(--s-3) var(--s-4); }
.vsl-wrap { max-width: 900px; margin: var(--s-4) auto 0; }
.vsl-wrap wistia-player { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
/* Case studies: the large proof images (real 16:9 exports), shown big. */
.casestudies { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.casestudy { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.casestudy img { display: block; width: 100%; height: auto; }
/* WhatsApp screenshots: deliberately small, kept side by side and centered. */
.shots { max-width: 500px; margin: var(--s-4) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.shot { margin: 0; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .casestudies { grid-template-columns: 1fr; }   /* case studies stack on phone */
  .shots { max-width: 340px; gap: var(--s-2); }   /* screenshots stay 2-up but small */
}
.minfoot { border-top: 1px solid var(--line); padding: var(--s-5) 0 var(--s-4); text-align: center; background: #0A090C; }
.minfoot .brand-logo { margin: 0 auto var(--s-3); }
.minfoot__links { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s-2); font-family: var(--display); font-size: 0.92rem; }
.minfoot__copy { color: var(--muted); font-size: 0.86rem; margin: 0; }
