/* Leapfrog Advertising — website styles
   Built on the Leapfrog Advertising Design System (tokens copied from tokens/*.css).
   Layout: full-bleed photo hero, then bands that rotate white → mist → ink → gradient,
   never two gradient bands in a row. Content left-aligned on a 1200px column. */

:root {
  /* Brand ramp (from the logo) */
  --lf-pink-300: #F79BC8;
  --lf-pink-500: #D9207F;
  --lf-magenta-500: #C31C88;
  --lf-orchid-500: #AD1892;
  --lf-violet-500: #94149C;
  --lf-purple-500: #7A10A0;
  --lf-purple-700: #5A1096;
  --lf-lilac-300: #C9A8DC;
  /* Plum-tinted neutrals */
  --lf-ink-950: #14071D;
  --lf-ink-900: #1B0A26;
  --lf-ink-800: #2A1338;
  --lf-plum-600: #3D2A4A;
  --lf-mist-50: #F7F3F9;
  --lf-hairline: #EDE4F1;
  --lf-white: #FFFFFF;
  /* Gradients */
  --lf-gradient: linear-gradient(135deg, #D9207F, #7A10A0);
  --lf-gradient-panel: linear-gradient(150deg, #5A1096 0%, #7A10A0 38%, #D9207F 100%);
  --lf-gradient-deep: linear-gradient(140deg, #5A1096 0%, #7A10A0 42%, #C31C88 100%);
  --lf-scrim-photo: linear-gradient(100deg, rgba(27,10,38,.97) 0%, rgba(35,11,52,.93) 36%, rgba(90,16,150,.6) 62%, rgba(217,32,127,.14) 88%, rgba(27,10,38,.04) 100%);
  --lf-scrim-bottom: linear-gradient(180deg, rgba(27,10,38,0) 18%, rgba(27,10,38,.72) 46%, rgba(27,10,38,.95) 100%);
  /* Semantic */
  --text-strong: var(--lf-ink-900);
  --text-body: var(--lf-plum-600);
  --text-accent: var(--lf-pink-500);
  --text-accent-alt: var(--lf-purple-500);
  --text-on-dark: var(--lf-white);
  --text-on-dark-muted: rgba(255,255,255,.72);
  --text-on-dark-legal: rgba(255,255,255,.62);
  --text-on-dark-accent: var(--lf-pink-300);
  --text-on-dark-sub: var(--lf-lilac-300);
  --surface-page: var(--lf-white);
  --surface-mist: var(--lf-mist-50);
  --surface-dark: var(--lf-ink-900);
  --surface-dark-card: var(--lf-ink-800);
  --surface-glass: rgba(255,255,255,.12);
  --link: var(--lf-pink-500);
  --link-hover: var(--lf-purple-500);
  /* Type (web scale) */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --type-display: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem);
  --type-h2: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem);
  --type-h3: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  --type-lead: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  --type-body: 1.0625rem;
  --type-small: .875rem;
  --type-eyebrow: .8125rem;
  --type-numeral: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --tracking-display: -.02em;
  --tracking-heading: -.015em;
  --tracking-eyebrow: .2em;
  /* Space, radius, elevation */
  --space-1: 8px; --space-2: 16px; --space-3: 22px; --space-4: 28px; --space-5: 36px;
  --space-6: 48px; --space-7: 56px; --space-8: 64px; --space-9: 80px; --space-10: 100px;
  --band-pad: clamp(64px, 5vw + 40px, 112px);
  --radius-sm: 18px; --radius-md: 20px; --radius-lg: 24px; --radius-xl: 28px; --radius-pill: 999px;
  --shadow-card: 0 2px 28px rgba(27,10,38,.07);
  --shadow-lift: 0 12px 48px rgba(27,10,38,.14);
  --container: 1200px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .15s; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--lf-pink-500); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--lf-white); padding: 10px 16px; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * max(24px, 4vw));
  margin-inline: auto;
  padding-left: max(24px, 4vw, env(safe-area-inset-left, 0px));
  padding-right: max(24px, 4vw, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
.band { padding-block: var(--band-pad); position: relative; }
.band--mist { background: var(--surface-mist); }
.band--ink { background: var(--surface-dark); color: var(--text-on-dark-muted); }
.band--gradient { background: var(--lf-gradient-panel); color: var(--text-on-dark); }
.band--deep { background: var(--lf-gradient-deep); color: var(--text-on-dark); }
.band--ink h2, .band--ink h3, .band--gradient h2, .band--gradient h3, .band--deep h2, .band--deep h3 { color: var(--text-on-dark); }
.band--ink strong, .band--gradient strong, .band--deep strong { color: var(--text-on-dark); }
.band--tight { padding-block: clamp(48px, 4vw + 24px, 72px); }

.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-5); }
.measure { max-width: 64ch; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: var(--type-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
  line-height: 1.3;
}
.band--ink .eyebrow { color: var(--text-on-dark-accent); }
.band--gradient .eyebrow, .band--deep .eyebrow, .hero .eyebrow { color: var(--text-on-dark-muted); }
.display { font-size: var(--type-display); line-height: 1.04; letter-spacing: var(--tracking-display); }
.h2 { font-size: var(--type-h2); line-height: 1.1; letter-spacing: var(--tracking-heading); }
.h3 { font-size: var(--type-h3); line-height: 1.25; }
.lead { font-size: var(--type-lead); font-weight: 400; line-height: 1.45; color: var(--text-strong); }
.band--ink .lead, .band--gradient .lead, .band--deep .lead { color: var(--text-on-dark); }
.small { font-size: var(--type-small); }
.gradient-text { background-image: var(--lf-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numeral { font-size: var(--type-numeral); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }

.section-head { display: flex; flex-direction: column; gap: var(--space-2); max-width: 760px; margin-bottom: var(--space-7); }
.section-head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap; }
.section-head--split > div { display: flex; flex-direction: column; gap: var(--space-2); max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font: 500 .975rem/1 var(--font-sans);
  letter-spacing: .01em;
  border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background-image: var(--lf-gradient); color: var(--lf-white); box-shadow: 0 8px 24px rgba(195,28,136,.28); }
.btn--primary:hover { color: var(--lf-white); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(195,28,136,.36); }
.btn--light { background: var(--lf-white); color: var(--lf-ink-900); }
.btn--light:hover { color: var(--lf-purple-500); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--lf-white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost:hover { color: var(--lf-white); box-shadow: inset 0 0 0 1.5px var(--lf-white); background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--lf-ink-900); box-shadow: inset 0 0 0 1.5px var(--lf-hairline), inset 0 0 0 1.5px rgba(27,10,38,.18); }
.btn--outline:hover { color: var(--lf-purple-500); box-shadow: inset 0 0 0 1.5px var(--lf-purple-500); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.text-link .arrow { transition: transform .15s; }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--lf-white); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--lf-hairline); box-shadow: 0 4px 24px rgba(27,10,38,.05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); height: var(--header-h); }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--text-strong); font-weight: 400; font-size: .95rem;
  padding: 10px 14px; border-radius: var(--radius-pill);
}
.nav a:not(.btn):hover { color: var(--lf-purple-500); background: var(--surface-mist); }
.nav a[aria-current="page"]:not(.btn) { color: var(--lf-pink-500); font-weight: 500; }
.nav .btn { min-height: 44px; padding: 0 22px; margin-left: 8px; font-size: .925rem; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface-mist); color: var(--text-strong);
    border: 0; border-radius: var(--radius-pill); padding: 10px 18px;
    font: 500 .9rem var(--font-sans); cursor: pointer;
  }
  .menu-toggle .bars { width: 16px; height: 10px; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, top .2s; }
  .menu-toggle .bars::before { top: 0; }
  .menu-toggle .bars::after { top: 8px; }
  .site-header.is-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
  .site-header.is-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--lf-white);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--lf-hairline);
    box-shadow: 0 16px 32px rgba(27,10,38,.08);
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav .btn { margin: 10px 0 0; min-height: 52px; }
  .brand img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--text-on-dark);
  background: var(--lf-ink-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lf-scrim-photo); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(27,10,38,.82) 0%, rgba(42,12,64,.86) 55%, rgba(90,16,150,.78) 100%); }
}
.hero .wrap { padding-block: clamp(88px, 9vw + 40px, 168px) clamp(72px, 6vw + 32px, 128px); }
.hero__inner { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-4); }
.hero h1 { color: var(--text-on-dark); }
.hero .lead { color: var(--text-on-dark-muted); max-width: 52ch; font-weight: 300; }
.hero--page .wrap { padding-block: clamp(72px, 6vw + 40px, 128px) clamp(56px, 5vw + 24px, 96px); }
.hero--page .hero__inner { max-width: 820px; }
.hero--gradient { background: var(--lf-gradient-panel); }
.hero--gradient::before { display: none; }

.hero-load > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-load > *:nth-child(2) { animation-delay: .08s; }
.hero-load > *:nth-child(3) { animation-delay: .16s; }
.hero-load > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* Proof strip under the hero */
.proof { background: var(--lf-ink-950); color: var(--text-on-dark-muted); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 28px 24px 30px 0; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--c, var(--lf-pink-500)); margin-right: 24px; }
.proof__item:nth-child(1) { --c: var(--lf-pink-500); }
.proof__item:nth-child(2) { --c: var(--lf-magenta-500); }
.proof__item:nth-child(3) { --c: var(--lf-violet-500); }
.proof__item:nth-child(4) { --c: var(--lf-purple-500); margin-right: 0; }
.proof__value { color: var(--text-on-dark); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.proof__label { font-size: var(--type-small); line-height: 1.45; }
@media (max-width: 860px) {
  .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(2) { margin-right: 0; }
}

/* ---------- Location cards (home) ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1080px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; border-radius: var(--radius-lg); overflow: hidden;
  color: var(--text-on-dark); isolation: isolate;
  background: var(--surface-dark-card);
}
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.loc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lf-scrim-bottom); }
.loc-card:hover img { transform: scale(1.04); }
.loc-card:hover { color: var(--text-on-dark); }
.loc-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.loc-card__city { font-size: .75rem; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-on-dark-accent); }
.loc-card h3 { color: var(--text-on-dark); font-size: 1.35rem; line-height: 1.2; }
.loc-card p { font-size: .95rem; line-height: 1.5; color: var(--text-on-dark-muted); }
.loc-card__stat { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .85rem; color: var(--text-on-dark-muted); }
.loc-card__stat b { color: var(--text-on-dark); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

/* ---------- Ethos / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ethos-quote { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--text-on-dark); }
.ethos-body { display: flex; flex-direction: column; gap: 18px; color: var(--text-on-dark); font-size: 1.05rem; }
.ethos-body p:last-child { padding: 22px 26px; background: var(--surface-glass); border-radius: var(--radius-md); font-weight: 400; }

/* Compare: great locations vs roadside */
.contrast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: var(--space-8); }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }
.contrast__item { background: var(--surface-glass); border-radius: var(--radius-md); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.contrast__item h3 { font-size: 1.1rem; color: var(--text-on-dark); }
.contrast__item p { color: var(--text-on-dark-muted); font-size: .975rem; }

/* ---------- Tick list ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--text-strong); font-weight: 400; line-height: 1.5; }
.ticks li::before {
  content: "✓"; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lf-gradient); color: var(--lf-white); font-size: .8rem; font-weight: 700;
  margin-top: -1px;
}
.band--ink .ticks li, .band--gradient .ticks li { color: var(--text-on-dark); }
.band--ink .ticks li::before, .band--gradient .ticks li::before { background: var(--lf-white); color: var(--lf-magenta-500); }

/* ---------- Retargeting teaser ---------- */
.flow { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: stretch; }
.flow__node { background: var(--surface-dark-card); border-radius: var(--radius-lg); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.flow__node b { color: var(--text-on-dark); font-weight: 600; font-size: 1.05rem; }
.flow__node span { color: var(--text-on-dark-muted); font-size: .9rem; line-height: 1.45; }
.flow__arrow { align-self: center; color: var(--text-on-dark-accent); font-size: 1.4rem; }
.band--mist .flow__node, .band--plain .flow__node { background: var(--lf-white); box-shadow: var(--shadow-card); }
.band--mist .flow__node b, .band--plain .flow__node b { color: var(--text-strong); }
.band--mist .flow__node span, .band--plain .flow__node span { color: var(--text-body); }
.band--mist .flow__arrow, .band--plain .flow__arrow { color: var(--lf-pink-500); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); justify-self: start; margin-left: 24px; }
}

.ctr-compare { display: flex; flex-direction: column; gap: 18px; }
.ctr-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 64px; gap: 14px; align-items: center; font-size: .9rem; }
.ctr-row .bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.ctr-row .bar i { display: block; height: 100%; border-radius: inherit; background: rgba(255,255,255,.45); }
.ctr-row.is-hl .bar i { background: var(--lf-gradient); }
.ctr-row b { color: var(--text-on-dark); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .ctr-row { grid-template-columns: 1fr 56px; } .ctr-row .bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Logo wall ---------- */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logos li { list-style: none; background: var(--lf-white); border-radius: var(--radius-sm); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 16px 14px; max-width: 100%; min-width: 0; }
/* Width is set per logo in build.py (equal visible area); it's a % of the tile, so the balance holds at every screen size. */
.logos img { height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .25s, opacity .25s; mix-blend-mode: multiply; }
.logos li:hover img { filter: none; opacity: 1; }
.logos { padding: 0; margin: 0; }

/* ---------- Cards (resources / blog) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: var(--lf-white);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card);
  color: var(--text-body); transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--text-body); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-mist); max-width: 100%; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-accent); display: flex; gap: 10px; flex-wrap: wrap; }
.post-card__meta time { color: var(--text-body); font-weight: 500; letter-spacing: .06em; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { font-size: .95rem; line-height: 1.55; }
.post-card .text-link { margin-top: auto; padding-top: 8px; font-size: .925rem; }

.guide-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border-radius: var(--radius-xl); overflow: hidden; background: var(--lf-gradient-deep); color: var(--text-on-dark);
  min-height: 100%;
}
.guide-card__body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.guide-card h3 { color: var(--text-on-dark); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }
.guide-card p { color: var(--text-on-dark-muted); }
.guide-card .eyebrow { color: var(--text-on-dark-muted); }
.guide-card__img { position: relative; min-height: 240px; }
.guide-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .guide-card { grid-template-columns: 1fr; } .guide-card__img { order: -1; } }

.featured-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 1080px) { .featured-row { grid-template-columns: 1fr 1fr; } .featured-row > :first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .featured-row { grid-template-columns: 1fr; } }

/* ---------- Contact CTA ---------- */
.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 4px; background: var(--surface-glass); border-radius: var(--radius-lg); padding: 10px; }
.contact-list > div { padding: 16px 20px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; }
.contact-list > div + div { border-top: 1px solid rgba(255,255,255,.12); }
.contact-list dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.contact-list dd { margin: 0; color: var(--text-on-dark); font-size: 1.05rem; font-weight: 400; user-select: all; }
.contact-list dd a { color: var(--text-on-dark); }
.contact-list dd a:hover { color: var(--text-on-dark-accent); }
.contact-list dd.addr { user-select: text; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lf-ink-950); color: var(--text-on-dark-legal); font-size: .925rem; }
.site-footer .wrap { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { width: 200px; height: auto; }
.footer-tag { color: var(--text-on-dark); font-weight: 500; font-size: 1.05rem; max-width: 26ch; line-height: 1.4; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--text-on-dark); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: var(--text-on-dark-muted); }
.footer-col a:hover { color: var(--text-on-dark-accent); }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .825rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-on-dark-legal); }
.footer-bottom a:hover { color: var(--text-on-dark-accent); }

/* ---------- Locations page ---------- */
.site-index { display: flex; gap: 8px; flex-wrap: wrap; }
.site-index a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px 10px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); color: var(--text-on-dark); font-size: .9rem; font-weight: 400; }
.site-index a:hover { background: rgba(255,255,255,.2); color: var(--text-on-dark); }
.site-index a span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-accent); }

.site-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.site-block + .site-block { margin-top: clamp(72px, 8vw, 128px); }
.site-block:nth-of-type(even) .site-block__media { order: 2; }
@media (max-width: 900px) { .site-block { grid-template-columns: 1fr; } .site-block:nth-of-type(even) .site-block__media { order: 0; } }
.site-block__media { position: relative; display: grid; gap: 14px; }
.site-block__media .main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; max-width: 100%; box-shadow: var(--shadow-lift); }
.site-block__media .main img { width: 100%; height: 100%; object-fit: cover; }
.site-block__media .tag {
  position: absolute; left: 18px; top: 18px; background: rgba(27,10,38,.78); color: var(--lf-white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius-pill); padding: 8px 14px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.site-block__media .thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.site-block__media .thumbs img { border-radius: var(--radius-sm); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.site-block__body { display: flex; flex-direction: column; gap: 22px; }
.site-block__title { display: flex; flex-direction: column; gap: 10px; }
.impressions { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-top: 20px; border-top: 4px solid var(--lf-pink-500); }
.impressions .numeral { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); }
.impressions span { font-size: .95rem; color: var(--text-body); }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; }
.spec { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface-mist); color: var(--text-strong); font-size: .85rem; font-weight: 500; }
.band--mist .spec { background: var(--lf-white); }

/* ---------- Steps (retargeting) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 36px 32px 38px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--c); }
.step:nth-child(1) { --c: var(--lf-pink-500); }
.step:nth-child(2) { --c: var(--lf-orchid-500); }
.step:nth-child(3) { --c: var(--lf-purple-500); }
.step h3 { font-size: 1.3rem; }

.stat-big { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 4px solid var(--lf-pink-500); }
.stat-big .numeral { font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem); }

/* Results table */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; } }
.result { background: var(--surface-dark-card); border-radius: var(--radius-lg); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 20px; }
.result h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-on-dark-accent); font-weight: 600; }
.result__pair { display: grid; gap: 14px; }
.result__line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: baseline; }
.result__line .lbl { font-size: .875rem; color: var(--text-on-dark-muted); }
.result__line .val { font-size: 1.5rem; font-weight: 600; color: var(--text-on-dark); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.result__line .bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.result__line .bar i { display: block; height: 100%; border-radius: inherit; background: rgba(255,255,255,.4); }
.result__line.is-hl .val { color: var(--text-on-dark); }
.result__line.is-hl .bar i { background: var(--lf-gradient); }
.result__delta { font-size: .875rem; color: var(--text-on-dark); background: var(--surface-glass); border-radius: 12px; padding: 10px 14px; font-weight: 400; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: .875rem; color: var(--text-on-dark-muted); margin-bottom: 24px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.4); }
.legend .hl i { background: var(--lf-gradient); }

/* Two-up option cards */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } }
.option { background: var(--lf-white); border-radius: var(--radius-xl); padding: 34px 32px 36px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; }
.option h3 { font-size: 1.25rem; }
.option .eyebrow { font-size: .72rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--lf-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  color: var(--text-strong); font-weight: 500; font-size: 1.05rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface-mist); color: var(--lf-pink-500);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 400; transition: transform .2s, background .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--lf-gradient); color: var(--lf-white); }
.faq .answer { padding: 0 26px 24px; display: flex; flex-direction: column; gap: 12px; max-width: 78ch; }

/* ---------- Blog ---------- */
.feature-post { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--lf-white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); color: var(--text-body); }
.feature-post:hover { color: var(--text-body); box-shadow: var(--shadow-lift); }
.feature-post__img { min-height: 320px; position: relative; }
.feature-post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-post__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.feature-post h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em; }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } .feature-post__img { min-height: 240px; } }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-row button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--lf-white); color: var(--text-strong); font: 500 .9rem var(--font-sans); box-shadow: inset 0 0 0 1px var(--lf-hairline); }
.filter-row button[aria-pressed="true"] { background: var(--lf-ink-900); color: var(--lf-white); box-shadow: none; }

/* Article */
.article-hero { padding-block: clamp(56px, 6vw, 96px) 0; }
.article-hero .wrap > div { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .9rem; }
.article-meta .pill { background: var(--surface-mist); color: var(--lf-pink-500); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--radius-pill); }
.article-cover { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 8; max-width: 100%; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 1.075rem; line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 14px; align-items: baseline; color: var(--text-strong); font-weight: 400; }
.prose ul li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lf-pink-500); transform: translateY(-1px); }
.pullquote { margin: 12px 0; padding: 32px 34px; background: var(--lf-gradient-deep); border-radius: var(--radius-xl); color: var(--text-on-dark); display: flex; flex-direction: column; gap: 18px; }
.pullquote p { font-size: 1.15rem; line-height: 1.6; font-weight: 300; }
.pullquote cite { font-style: normal; font-size: .9rem; color: var(--text-on-dark-muted); }
.pullquote cite b { color: var(--text-on-dark); font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 8px 0; }
@media (max-width: 620px) { .stat-row { grid-template-columns: 1fr; } }
.stat-row > div { border-top: 4px solid var(--c, var(--lf-pink-500)); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.stat-row > div:nth-child(2) { --c: var(--lf-orchid-500); }
.stat-row > div:nth-child(3) { --c: var(--lf-purple-500); }
.stat-row .numeral { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); }
.stat-row span { font-size: .9rem; line-height: 1.45; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface-mist); border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.aside-card li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--lf-white); border-radius: 14px; color: var(--text-strong); font-weight: 500; font-size: .925rem; }
.aside-card li a:hover { color: var(--lf-purple-500); }
.aside-card li span { color: var(--text-body); font-weight: 300; font-size: .8rem; }
.event-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--lf-hairline); border-radius: var(--radius-lg); overflow: hidden; margin: 6px 0; }
.event-card > div { background: var(--lf-white); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.event-card dt { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lf-pink-500); }
.event-card dd { margin: 0; color: var(--text-strong); font-weight: 500; font-size: 1rem; line-height: 1.4; }
@media (max-width: 620px) { .event-card { grid-template-columns: 1fr; } }
.speakers { display: flex; flex-wrap: wrap; gap: 8px; }
.speakers span { padding: 10px 16px; border-radius: var(--radius-pill); background: var(--surface-mist); color: var(--text-strong); font-weight: 500; font-size: .925rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { padding: 22px 24px; border-radius: var(--radius-md); background: var(--lf-white); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; color: var(--text-strong); font-weight: 500; line-height: 1.35; }
.post-nav a span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lf-pink-500); }
.post-nav a:last-child { text-align: right; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav a:last-child { text-align: left; } }

/* ---------- Quote form ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 48px); }
.form { display: flex; flex-direction: column; gap: 34px; }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 18px; display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 1.15rem; color: var(--text-strong); }
.fieldset legend .n { font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: .875rem; font-weight: 500; color: var(--text-strong); }
.field label .opt { font-weight: 300; color: var(--text-body); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--text-strong);
  background: var(--surface-mist); border: 1.5px solid transparent; border-radius: 14px;
  padding: 14px 16px; transition: border-color .15s, background .15s; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--lf-pink-500) 50%), linear-gradient(135deg, var(--lf-pink-500) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--lf-hairline); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lf-pink-500); background: var(--lf-white); }
.field input[aria-invalid="true"] { border-color: var(--lf-pink-500); }
.field .err { font-size: .8rem; color: var(--lf-pink-500); font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--surface-mist); cursor: pointer; border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--lf-hairline); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; }
.choice b { display: block; color: var(--text-strong); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.choice small { display: block; font-size: .8rem; color: var(--text-body); line-height: 1.35; }
.choice .box { width: 24px; height: 24px; border-radius: 8px; background: var(--lf-white); box-shadow: inset 0 0 0 1.5px rgba(27,10,38,.18); display: flex; align-items: center; justify-content: center; color: transparent; font-size: .8rem; font-weight: 700; }
.choice:has(input:checked) { border-color: var(--lf-pink-500); background: var(--lf-white); }
.choice:has(input:checked) .box { background: var(--lf-gradient); box-shadow: none; color: var(--lf-white); }
.choice:has(input:focus-visible) { outline: 3px solid var(--lf-pink-500); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt span { display: inline-flex; padding: 11px 18px; border-radius: var(--radius-pill); background: var(--surface-mist); color: var(--text-strong); font-size: .9rem; font-weight: 500; cursor: pointer; border: 1.5px solid transparent; transition: all .15s; }
.pill-opt span:hover { border-color: var(--lf-hairline); }
.pill-opt input:checked + span { background: var(--lf-ink-900); color: var(--lf-white); }
.pill-opt input:focus-visible + span { outline: 3px solid var(--lf-pink-500); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--lf-hairline); padding-top: 26px; }
.form-foot p { font-size: .825rem; max-width: 44ch; }
.form-status { border-radius: var(--radius-md); padding: 22px 24px; background: var(--surface-mist); color: var(--text-strong); display: flex; flex-direction: column; gap: 8px; }
.form-status h3 { font-size: 1.15rem; }
.quote-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.quote-aside .contact-card { background: var(--surface-dark); border-radius: var(--radius-xl); padding: 30px; color: var(--text-on-dark-muted); display: flex; flex-direction: column; gap: 18px; }
.quote-aside .contact-card h3 { color: var(--text-on-dark); font-size: 1.2rem; }
.quote-aside .contact-list { background: rgba(255,255,255,.06); }
.what-next { background: var(--surface-mist); border-radius: var(--radius-xl); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.what-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.what-next li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; font-size: .95rem; line-height: 1.5; }
.what-next li::before { content: counter(s, decimal-leading-zero); font-weight: 700; background-image: var(--lf-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1rem; }
.what-next li b { display: block; color: var(--text-strong); font-weight: 600; }

/* ---------- Reveal on scroll (content is visible at rest) ---------- */
.reveal { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s; }
.js .reveal.is-pending { transform: translateY(18px); opacity: .001; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.is-pending { transform: none; opacity: 1; }
}

/* ---------- Site landing pages (Howells, WMC) ---------- */
.label-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.label-list li { background: var(--lf-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 18px 22px; line-height: 1.55; }
.label-list li b { color: var(--text-strong); font-weight: 600; }
.band--mist .label-list li { background: var(--lf-white); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .numbers { grid-template-columns: 1fr; } }
.numbers > div { border-top: 4px solid var(--c, var(--lf-pink-300)); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.numbers > div:nth-child(2) { --c: var(--lf-orchid-500); }
.numbers > div:nth-child(3) { --c: var(--lf-violet-500); }
.numbers > div:nth-child(4) { --c: var(--lf-lilac-300); }
.numbers h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.numbers p { color: var(--text-on-dark-muted); font-size: .975rem; }
.distances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--lf-hairline); color: var(--text-strong); font-weight: 400; }
.distances li span { color: var(--lf-pink-500); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rounded-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift); max-width: 100%; }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }
.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .events { grid-template-columns: 1fr; } }
.event { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--c, var(--lf-pink-500)); }
.event:nth-child(2) { --c: var(--lf-magenta-500); }
.event:nth-child(3) { --c: var(--lf-violet-500); }
.event:nth-child(4) { --c: var(--lf-purple-500); }
.event h3 { font-size: 1.15rem; }
.event .when { color: var(--lf-pink-500); font-weight: 600; font-size: .925rem; }
.event .where { color: var(--text-strong); font-weight: 400; font-size: .925rem; }
.event .cap { font-size: .875rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb a:hover { color: var(--text-on-dark); }
.breadcrumb span[aria-hidden] { opacity: .6; }
.hero .tagline { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.3; color: var(--text-on-dark); letter-spacing: -.01em; }
.retarget-media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.retarget-media img { width: 100%; height: 100%; object-fit: cover; }
h2.eyebrow, h3.eyebrow { font-size: var(--type-eyebrow); }

/* ---------- Resources & News ---------- */
.guide-card--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 24px; min-height: 320px; }
.guide-card--wide .guide-card__img { min-height: 280px; }
@media (max-width: 760px) {
  .guide-card--wide { grid-template-columns: 1fr; min-height: 0; }
  .guide-card--wide .guide-card__img { min-height: 0; aspect-ratio: 16 / 10; }
  .guide-card .btn { align-self: stretch !important; justify-content: center; }
}
.news-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .news-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-row > :last-child { display: none; } }
@media (max-width: 620px) { .news-row { grid-template-columns: 1fr; } }

/* ---------- 3-step campaign form ---------- */
.stepper-card { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); padding: clamp(22px, 3vw, 36px); color: var(--text-body); }
.stepper { display: flex; flex-direction: column; gap: 18px; }
.stepper__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stepper__progress i { height: 5px; border-radius: 999px; background: var(--lf-hairline); transition: background .3s; }
.stepper__progress i.is-on { background: var(--lf-gradient); }
.stepper__count { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lf-pink-500); }
.stepper__slide { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stepper__slide legend { padding: 0; margin-bottom: 16px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--text-strong); }
.stepper__slide:not([hidden]) { animation: slide-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes slide-in { from { transform: translateX(16px); } to { transform: none; } }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-grid:not(.opt-grid--3) > .opt-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .opt-grid, .opt-grid--3 { grid-template-columns: 1fr; } }
.opt-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 16px 18px; border-radius: 16px; background: var(--surface-mist); border: 1.5px solid transparent; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.opt-card:hover { border-color: var(--lf-hairline); transform: translateY(-1px); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card b { color: var(--text-strong); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.opt-card .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lf-white); box-shadow: inset 0 0 0 1.5px rgba(27,10,38,.18); color: transparent; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.opt-card:has(input:checked) { background: var(--lf-white); border-color: var(--lf-pink-500); }
.opt-card:has(input:checked) .tick { background: var(--lf-gradient); color: var(--lf-white); box-shadow: none; }
.opt-card:has(input:focus-visible) { outline: 3px solid var(--lf-pink-500); outline-offset: 2px; }
.stepper__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.stepper__nav [data-next], .stepper__nav [data-submit] { margin-left: auto; }
@media (max-width: 560px) {
  .stepper__nav { flex-direction: column-reverse; align-items: stretch; }
  .stepper__nav .btn { width: 100%; justify-content: center; margin-left: 0; }
}
.stepper__err { font-size: .85rem; color: var(--lf-pink-500); font-weight: 500; }
.stepper .field-grid { gap: 14px; }

.contact-list dd { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .quote-aside .contact-card, .contact-card { padding: 22px 18px; }
  .contact-list { padding: 6px; }
  .contact-list > div { padding: 14px 14px; }
  .contact-list dd { font-size: .95rem; }
}
.quote-aside, .form-card, .stepper-card { min-width: 0; }

/* ---------- Hero video ---------- */
.hero__media video, .hero__media .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .hero__fallback { z-index: -1; }
.hero__video { background: var(--lf-ink-900); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero-video-toggle { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(27,10,38,.55); color: var(--lf-white); font: 600 .8rem var(--font-sans); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-video-toggle:hover { background: rgba(27,10,38,.8); }

/* ---------- News articles ---------- */
.prose figure { margin: 8px 0; }
.prose figure img { width: 100%; border-radius: var(--radius-lg); }
.prose figcaption { font-size: .85rem; margin-top: 8px; }
.prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; color: var(--text-strong); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.post-stat { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 4px solid var(--lf-pink-500); }
.post-stat .numeral { font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); }
.inline-form { margin: 12px 0; background: var(--lf-gradient-deep); border-radius: var(--radius-xl); padding: clamp(16px, 2.5vw, 28px); }
.img-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.img-pair img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 560px) { .img-pair { grid-template-columns: 1fr; } }
.legal .prose { max-width: 78ch; }
.legal .prose h2 { font-size: 1.25rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery button { padding: 0; border: 0; cursor: zoom-in; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--surface-mist); max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,7,29,.94); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lightbox button { position: absolute; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: var(--lf-white); width: 48px; height: 48px; border-radius: 50%; font: 500 1.3rem var(--font-sans); }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox .lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: var(--text-on-dark-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

/* ---------- Guide download ---------- */
.hs-wrap { background: rgba(27,10,38,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 36px); min-height: 220px; color: var(--text-on-dark); }
.hs-wrap a { color: var(--text-on-dark-accent); }
.hs-wrap h2 { color: var(--text-on-dark); }
.hs-fallback { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Mobile retargeting explainer video ---------- */
.explainer { position: relative; max-width: 1040px; margin-inline: auto; border-radius: var(--radius-xl); overflow: hidden; background: var(--lf-purple-700); box-shadow: 0 24px 64px rgba(0,0,0,.35); aspect-ratio: 16 / 9; }
.explainer video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--lf-purple-700); }
.explainer--card { max-width: none; margin: 0; box-shadow: none; }
@media (max-width: 640px) { .explainer { aspect-ratio: 4 / 5; } }
.explainer-band { padding-top: clamp(32px, 4vw, 56px); }
.stepper__q { margin: -6px 0 2px; color: var(--text-strong); font-weight: 500; font-size: 1rem; }
.stepper__legal { font-size: .8rem; color: var(--text-body); }

/* ---------- Homepage hero height ---------- */
/* Tall on desktop; on phones it fills most of the screen, leaving a peek of the next section. */
.hero--home { display: flex; align-items: center; min-height: 78vh; min-height: 78svh; }
.hero--home > .wrap { width: 100%; }
@media (max-width: 760px) {
  .hero--home { align-items: flex-end; min-height: calc(100vh - var(--header-h) - 56px); min-height: calc(100svh - var(--header-h) - 56px); }
  .hero--home .wrap { padding-block: 48px 56px; }
}
.stepper__legal { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--text-body); line-height: 1.5; }
.stepper__legal .optin { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-strong); cursor: pointer; }
.stepper__legal .optin input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lf-pink-500); flex: none; }
.stepper__legal .optin b { font-weight: 600; }
.stepper__legal [data-consent-text] { font-style: italic; }
/* Spam trap: off-screen (not display:none, which some bots skip); people and screen readers never meet it */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Cookie banner (deployed site only) ---------- */
.cookie-banner { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.cookie-banner__inner { pointer-events: auto; max-width: 760px; margin-inline: auto; background: var(--lf-white); color: var(--text-body); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(27,10,38,.24); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-banner__actions .btn, .cookie-banner__prefs .btn { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--surface-mist); border-radius: 14px; }
.cookie-banner__prefs label { display: flex; gap: 10px; align-items: center; color: var(--text-strong); }
.cookie-banner__prefs input { width: 18px; height: 18px; accent-color: var(--lf-pink-500); }
.cookie-banner__prefs .btn { align-self: flex-start; }

/* ---------- News images: taller so artwork isn't cut off ---------- */
.post-card__img { aspect-ratio: 1 / 1; }
.post-card__img img { object-position: center top; }
.feature-post__img { min-height: 440px; }
@media (max-width: 860px) { .feature-post__img { min-height: 0; aspect-ratio: 1 / 1; } }
/* Article covers show the whole artwork rather than a cropped strip */
.article-cover { aspect-ratio: auto; background: var(--surface-mist); display: flex; justify-content: center; }
.article-cover img { width: auto; max-width: 100%; height: auto; max-height: min(78vh, 760px); object-fit: contain; }
.feature-post__img { background: var(--surface-mist); min-height: 0; display: flex; align-items: center; }
.feature-post__img img { position: static; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 860px) { .feature-post__img { aspect-ratio: auto; } }

/* ---------- DOOH Creative guide ---------- */
.guide-hero__kicker { display: block; margin-bottom: 14px; color: var(--text-on-dark-accent); }
.guide-hero .lead { font-weight: 300; }
.guide-intro { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; max-width: 980px; }
@media (max-width: 560px) { .guide-intro { grid-template-columns: 1fr; } }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .jobs { grid-template-columns: 1fr; } }
.job { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.job img { width: 72px; height: 72px; }
.job h3 { font-size: 1.3rem; text-transform: capitalize; }
.guide-callout { margin-top: var(--space-6); padding: 24px 28px; border-radius: var(--radius-lg); background: var(--lf-gradient-deep); color: var(--text-on-dark); font-size: 1.1rem; font-weight: 400; max-width: 860px; }
.tips { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 120px); }
.tip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.tip:nth-child(even) .tip__img { order: -1; }
@media (max-width: 900px) { .tip { grid-template-columns: 1fr; } .tip:nth-child(even) .tip__img { order: 0; } }
.tip__text { display: flex; flex-direction: column; gap: 16px; }
.tip__head { display: flex; align-items: center; gap: 16px; }
.tip__head .numeral { font-size: clamp(2.8rem, 2rem + 2.5vw, 4.2rem); }
.tip__head img { width: 64px; height: 64px; }
.tip h2.eyebrow { font-size: .9rem; }
.tip__sub { font-size: var(--type-h2); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; color: var(--text-strong); }
.tip__img { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--surface-mist); }
.tip__img img { width: 100%; height: auto; display: block; }
.guide-help .wrap { padding-block: clamp(72px, 8vw, 128px); }
.guide-help .hero__inner { gap: 18px; }
.guide-help h2, .hero h2 { color: var(--text-on-dark); }

/* ---------- Location cards v2: photo on top (no overlay), details below ---------- */
.wrap--wide { max-width: calc(1440px + 2 * max(24px, 4vw)); }
.loc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; gap: 20px; } }
.loc-card { min-height: 0; justify-content: flex-start; border-radius: var(--radius-lg); background: var(--surface-dark-card); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.loc-card::before { display: none; }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.loc-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; background: var(--lf-ink-900); }
.loc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(var(--zoom, 1)); transform-origin: var(--focus, 50% 50%); z-index: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.loc-card:hover .loc-card__img img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.loc-card__body { position: relative; padding: 22px 24px 26px; gap: 8px; flex: 1; }
.loc-card h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); padding-right: 36px; }
.loc-card p { font-size: .925rem; }
.loc-card__go { position: absolute; right: 20px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-glass); color: var(--text-on-dark); font-size: .95rem; transition: background .2s, transform .2s; }
.loc-card:hover .loc-card__go { background: var(--lf-gradient); transform: translateX(2px); }
@media (max-width: 560px) { .loc-card__img { aspect-ratio: 4 / 5; } .loc-card__body { padding: 20px 22px 24px; } }

/* ---------- Howells events: three across ---------- */
.events { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .events { grid-template-columns: 1fr; } }

/* ---------- Site photos: click to expand ---------- */
.lb-thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; font: inherit; color: inherit; text-align: left; }
.site-block__media .main.lb-thumb { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lift); }
.site-block__media .main.lb-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.site-block__media .thumbs .lb-thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; }
.site-block__media .thumbs .lb-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lb-thumb:hover img { transform: scale(1.03); }
.lb-thumb:focus-visible { outline: 3px solid var(--lf-pink-500); outline-offset: 3px; }
.lb-hint { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(27,10,38,.6); color: var(--lf-white); font-size: 1.05rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.lb-thumb:hover .lb-hint { background: var(--lf-pink-500); }

/* ---------- Contact band: intro, then form, then contact details ---------- */
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "intro form" "details details"; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); align-items: start; }
.contact-band__intro { grid-area: intro; }
.contact-band__form { grid-area: form; }
.contact-band__details { grid-area: details; }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "details"; } }
.contact-list--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.contact-list--row > div + div { border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) { .contact-list--row { grid-template-columns: 1fr; } .contact-list--row > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } }

/* Launch a Campaign page: form first, contact details underneath */
.quote-layout--stacked { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.quote-layout--stacked .quote-aside { position: static; }
.quote-layout--stacked .contact-card .contact-list { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); }
.quote-layout--stacked .contact-card .contact-list > div + div { border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) {
  .quote-layout--stacked .contact-card .contact-list { grid-template-columns: 1fr; }
  .quote-layout--stacked .contact-card .contact-list > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

/* Article cover cropped from the top (keeps the title and details in view) */
.article-cover--top img { width: min(100%, 880px); max-height: none; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 0; }

/* "The location" sections: photo fills the full height of the list */
.split--fill { align-items: stretch; }
.split--about { align-items: start; }
.split--fill > .stack-lg { justify-content: center; }
.rounded-img--fill { position: relative; min-height: 420px; height: 100%; }
.rounded-img--fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
@media (max-width: 900px) { .rounded-img--fill { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Artwork specifications ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card { background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.spec-card__img { aspect-ratio: 5 / 4; overflow: hidden; max-width: 100%; }  /* the site photos are 5:4: show all of each screen */
.spec-card__img img { width: 100%; height: 100%; object-fit: cover; }
.spec-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.spec-list { margin: 4px 0 0; display: flex; flex-direction: column; }
.spec-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lf-hairline); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { font-weight: 600; color: var(--text-strong); font-size: .925rem; }
.spec-list dd { margin: 0; font-size: .925rem; }
@media (max-width: 480px) { .spec-list > div { grid-template-columns: 1fr; gap: 2px; } }
.spec-card__note { padding: 12px 14px; border-radius: 12px; background: var(--surface-mist); color: var(--text-strong); font-weight: 500; font-size: .9rem; }
.footer-col a, .footer-col address { overflow-wrap: anywhere; min-width: 0; }

/* ---------- Howells "The Area" interactive map ---------- */
.area-map { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--lf-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); overflow: hidden; }
.am-stage { position: relative; order: 2; height: clamp(480px, 64vh, 640px); background: #F6F1F8; overflow: hidden; }
.am-svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; font-family: var(--font-sans); -webkit-tap-highlight-color: transparent; }
.area-map.is-dragging .am-svg { cursor: grabbing; }
.am-svg use { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.am-streets text { fill: #8D7C9B; font-size: 17px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; text-anchor: middle; dominant-baseline: central; }
.am-areas text { fill: #6F8A66; font-size: 20px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-anchor: middle; paint-order: stroke; stroke: #F6F1F8; stroke-width: 5px; stroke-linejoin: round; }
.am-areas text:nth-child(2) { fill: #5D8DB8; }
.am-pin { cursor: pointer; color: var(--lf-purple-500); }
.am-pin circle { fill: var(--lf-white); stroke: var(--lf-purple-500); stroke-width: 2; transition: fill .15s; }
.am-pin-label { fill: var(--lf-ink-900); font-size: 13px; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.am-pin:hover circle, .am-pin.is-hover circle { fill: #F3E6F7; }
.am-pin.is-active { color: var(--lf-white); }
.am-pin.is-active circle { fill: var(--lf-pink-500); stroke: var(--lf-white); stroke-width: 3; }
.area-map:not(.area-map--screens).am--compact .am-pins .am-pin:not(.is-active):not(.is-hover) .am-pin-label { display: none; }
.am-pin--board { color: var(--lf-white); }
.am-pin--board circle { fill: var(--lf-pink-500); stroke: var(--lf-white); stroke-width: 3; }
.am-pin--board:hover circle { fill: var(--lf-magenta-500); }
.am-pin--board .am-pulse { fill: var(--lf-pink-500); stroke: none; opacity: .45; transform-box: fill-box; transform-origin: center; animation: am-pulse 2.2s ease-out infinite; }
@keyframes am-pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .am-pin--board .am-pulse { animation: none; opacity: 0; } }
.am-route line { stroke: var(--lf-pink-500); stroke-width: 3; stroke-dasharray: 1 7; stroke-linecap: round; }
.am-route-tag rect { fill: var(--lf-ink-900); }
.am-route-tag text { fill: var(--lf-white); font-size: 13px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.am-route-tag .am-tag-dist { fill: var(--lf-pink-300); font-size: 12px; }
.am-pin.is-active .am-pin-label { display: none; }
.am-legend { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 0; border-radius: var(--radius-pill); background: var(--lf-white); box-shadow: var(--shadow-card); font: 600 .8125rem/1.2 var(--font-sans); color: var(--text-strong); cursor: pointer; }
.am-legend i { width: 14px; height: 14px; border-radius: 50%; background: var(--lf-pink-500); box-shadow: 0 0 0 3px rgba(217,32,127,.22); }
.am-legend:hover { color: var(--lf-pink-500); }
.am-card { position: absolute; top: 14px; right: 14px; width: 250px; background: var(--lf-white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); overflow: hidden; }
.am-card[hidden] { display: none; }
.am-card img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: 50% 35%; }
.am-card p { margin: 0; padding: 12px 14px 14px; font-size: var(--type-small); color: var(--text-body); line-height: 1.45; }
.am-card p b { display: block; color: var(--text-strong); font-size: .95rem; }
.am-card-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(27,10,38,.62); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.am-zoom { position: absolute; right: 14px; bottom: 34px; display: flex; flex-direction: column; background: var(--lf-white); border-radius: 14px; box-shadow: var(--shadow-card); overflow: hidden; }
.am-zoom button { width: 42px; height: 40px; border: 0; background: none; color: var(--text-strong); font: 500 1.35rem/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; }
.am-zoom button + button { border-top: 1px solid var(--lf-hairline); }
.am-zoom button:hover { color: var(--lf-pink-500); background: var(--surface-mist); }
.am-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.am-attr { position: absolute; left: 0; bottom: 0; margin: 0; padding: 3px 8px; font-size: 11px; color: var(--text-body); background: rgba(255,255,255,.82); border-top-right-radius: 8px; }
.am-attr a { color: inherit; }
.am-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(27,10,38,.82); color: #fff; font-size: var(--type-small); font-weight: 500; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.am-hint.is-on { opacity: 1; }
.am-panel { order: 1; padding: 18px 18px 18px; border-right: 1px solid var(--lf-hairline); max-height: clamp(480px, 64vh, 640px); overflow-y: auto; }
.am-panel-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 4px 20px; padding: 8px; border-radius: var(--radius-sm); background: var(--surface-mist); }
.am-panel-card img { width: 88px; height: 66px; border-radius: 12px; object-fit: cover; object-position: 50% 35%; }
.am-panel-card p { margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--text-body); }
.am-panel-card b { display: block; font-size: .9rem; color: var(--text-strong); }
.am-panel-head { margin: 0 8px 10px; font-size: var(--type-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-accent-alt); }
.am-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.am-list button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 8px 10px; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; color: var(--text-strong); cursor: pointer; transition: background .15s; }
.am-list button:hover { background: var(--surface-mist); }
.am-list button[aria-pressed="true"] { background: #FCE8F2; }
.am-list .am-ico { grid-row: 1 / 3; }
.am-list b { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.am-list span { grid-column: 2; color: var(--lf-pink-500); font-weight: 600; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.am-ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #F3E6F7; color: var(--lf-purple-500); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.am-list button[aria-pressed="true"] .am-ico { background: var(--lf-pink-500); color: #fff; }
.am-list button:focus-visible, .am-legend:focus-visible, .am-zoom button:focus-visible { outline: 3px solid var(--lf-pink-300); outline-offset: 2px; }
@media (max-width: 900px) {
  .area-map { grid-template-columns: minmax(0, 1fr); }
  .am-stage { order: 1; height: clamp(380px, 66vh, 520px); }
  .am-panel { order: 2; border-right: 0; border-top: 1px solid var(--lf-hairline); max-height: none; overflow: visible; padding: 16px 0 14px; }
  .am-panel-head { margin: 0 18px 10px; }
  .am-panel-card { display: none; }
  .am-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 18px 6px; scroll-padding: 0 18px; scrollbar-width: none; }
  .am-list::-webkit-scrollbar { display: none; }
  .am-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .am-list button { width: 160px; height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; justify-items: start; gap: 8px; padding: 12px 14px; background: var(--surface-mist); }
  .am-list .am-ico { grid-row: auto; }
  .am-list span { grid-column: 1; }
  .am-list b { font-size: .9rem; }
  .am-card { top: auto; bottom: 12px; left: 12px; right: 64px; width: auto; display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; }
  .am-card img { height: 100%; min-height: 84px; }
  .am-card p { padding: 10px 34px 10px 12px; font-size: .8125rem; }
  .am-legend { top: 12px; left: 12px; }
  .am-zoom { right: 12px; bottom: 30px; }
}

/* Wales Millennium Centre: screens version of the map */
.am-ctx { cursor: default; color: var(--lf-plum-600); }
.am-ctx circle { fill: var(--lf-white); stroke: #B9A7C6; stroke-width: 1.5; }
.am-ctx .am-pin-label { font-size: 11.5px; font-weight: 500; fill: var(--lf-plum-600); }
.am-ctx:hover circle { fill: var(--lf-white); }
.area-map.am--compact .am-ctx:not([data-fit]) .am-pin-label { display: none; }
.am-pin--screen { color: var(--lf-white); }
.am-pin--screen circle { fill: var(--lf-pink-500); stroke: var(--lf-white); stroke-width: 3; }
.am-pin--screen:hover circle, .am-pin--screen.is-hover circle { fill: var(--lf-magenta-500); }
.am-pin--screen .am-pulse { fill: var(--lf-pink-500); stroke: none; opacity: .4; transform-box: fill-box; transform-origin: center; animation: am-pulse 2.2s ease-out infinite; }
.am-pin--screen.is-active circle { fill: var(--lf-purple-500); }
.am-pin--screen .am-pin-label { fill: var(--lf-pink-500); font-weight: 700; }
.am-pin--screen.is-active .am-pin-label { display: inline; fill: var(--lf-purple-500); }
@media (prefers-reduced-motion: reduce) { .am-pin--screen .am-pulse { animation: none; opacity: 0; } }
.area-map--screens .am-card { width: 290px; }
.area-map--screens .am-card img { height: 190px; object-position: 50% 50%; }
.area-map--screens .am-card p span { display: block; }
.am-panel-note { margin: 0 8px 16px; font-size: var(--type-small); color: var(--text-body); line-height: 1.5; }
.area-map--screens .am-list { gap: 8px; }
.area-map--screens .am-list button { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 8px; }
.am-thumb { grid-row: 1 / 3; width: 96px; height: 72px; border-radius: 12px; object-fit: cover; }
.area-map--screens .am-list b { align-self: end; font-weight: 600; }
.area-map--screens .am-list span { align-self: start; color: var(--text-body); font-weight: 400; font-size: .8125rem; white-space: normal; line-height: 1.4; }
.area-map--screens .am-list button[aria-pressed="true"] { background: #FCE8F2; box-shadow: inset 3px 0 0 var(--lf-pink-500); }
.area-map--screens .am-list button[aria-pressed="true"] b { color: var(--lf-pink-500); }
@media (max-width: 900px) {
  .area-map--screens .am-panel-note { margin: 0 18px 12px; }
  .area-map--screens .am-list button { width: 210px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; padding: 8px 8px 12px; gap: 6px; }
  .area-map--screens .am-thumb { grid-row: auto; width: 100%; height: 110px; }
  .area-map--screens .am-list b, .area-map--screens .am-list span { padding: 0 4px; }
  .area-map--screens .am-card { width: auto; grid-template-columns: 120px minmax(0, 1fr); }
  .area-map--screens .am-card img { height: 100%; min-height: 96px; }
  .area-map--screens .am-card p { padding-right: 44px; }
}
