/* =====================================================================
   Utalente | Raliza Velichkova — site styles
   Palette and type follow the Utalente brand strategy (2025).
   Mobile-first. No frameworks.
   ===================================================================== */

:root {
  /* Brand colours */
  --purple: #5B2D8E;        /* Royal purple: headings, primary CTAs */
  --purple-dark: #3A1A65;   /* Deep purple: glamorous bands, footer */
  --purple-tint: #F3EDF9;   /* Light purple: card backgrounds */
  --gold: #D4A017;          /* Warm gold: accents, highlights */
  --gold-soft: #F6E7B8;
  --charcoal: #1A1A1A;      /* Body text */
  --ink-soft: #4A4458;      /* Secondary text */
  --offwhite: #FAFAFA;      /* Page background */
  --white: #FFFFFF;
  --line: #E6DFF0;
  --success: #1E6B3A;
  --error: #B3261E;

  /* Type */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape and spacing */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(58, 26, 101, 0.10);
  --shadow-lg: 0 20px 50px rgba(58, 26, 101, 0.18);
  --container: 1160px;
  --gutter: 20px;
  --space: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--offwhite);
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--purple-dark);
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7vw, 4.9rem); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(2.15rem, 4.8vw, 3.4rem); line-height: 1.06; letter-spacing: -0.016em; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: var(--space) 0; }
.section--tint { background: var(--purple-tint); }
.section--deep { background: var(--purple-dark); color: var(--white); }
.section--deep h2, .section--deep h3 { color: var(--white); }
/* Light cards sitting on a deep section keep their dark headings */
.section--deep .card h2, .section--deep .card h3, .section--deep .card h4,
.section--deep .testimonial h3, .section--deep .steps h3 { color: var(--purple-dark); }
.section--deep a { color: var(--gold-soft); }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.9rem;
}
.section--deep .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }
.section--deep .lead { color: rgba(255,255,255,0.86); }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.92rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.todo { background: #FFF3C4; color: #6B4E00; padding: 0 0.3em; border-radius: 4px; font-weight: 600; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--purple-dark); color: #fff; padding: 0.7rem 1rem;
  border-radius: var(--radius-sm); z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-dark); color: #fff; }
.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: #E4B12A; color: var(--charcoal); }
.btn--outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: #fff; }
.section--deep .btn--outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.section--deep .btn--outline:hover { background: #fff; color: var(--purple-dark); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px;
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__mark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  letter-spacing: 0.18em; color: var(--purple);
}
.brand__mark span { color: var(--gold); }
.brand__sub {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.25rem; white-space: nowrap;
}
@media (max-width: 420px) { .brand__mark { font-size: 1.4rem; } .brand__sub { font-size: 0.6rem; letter-spacing: 0.08em; } }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 2px solid var(--purple); color: var(--purple);
  border-radius: var(--radius-pill); padding: 0.5rem 0.9rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); font-size: 0.95rem;
}
.nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 0.5rem 0 1rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; padding: 0.8rem var(--gutter); text-decoration: none; font-weight: 500;
  color: var(--charcoal);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--purple); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .nav-cta { padding: 0.6rem var(--gutter) 0; }
.site-nav .nav-cta .btn { width: 100%; }
.header-cta { display: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 0.1rem; }
  .site-nav a { padding: 0.5rem 0.7rem; font-size: 0.95rem; border-radius: var(--radius-pill); }
  .site-nav a[aria-current="page"] { background: var(--purple-tint); }
  .site-nav .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__name {
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500; color: var(--purple); margin: 0 0 0.6rem; letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--purple); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
}
.hero__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--white); border-radius: var(--radius-sm); padding: 0.7rem 1rem;
  box-shadow: var(--shadow); font-size: 0.85rem; line-height: 1.35; max-width: 240px;
}
.hero__badge strong { display: block; color: var(--purple); font-family: var(--font-head); font-size: 1.15rem; }
@media (min-width: 800px) {
  .hero { padding-bottom: 0; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

/* Small page hero */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); }
.page-hero h1 { margin-bottom: 1.1rem; }
.page-hero .lead { max-width: 760px; }
.page-hero--split .container { display: grid; gap: 2rem; align-items: center; }
.page-hero--split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (min-width: 800px) { .page-hero--split .container { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }

/* ---------- Trust strip ---------- */
.trust { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1rem, 3vw, 2rem); }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.trust li { margin: 0; padding: 1.4rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.trust li:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.trust strong {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--purple-dark); font-variant-numeric: lining-nums tabular-nums; margin-bottom: 0.45rem;
}
.trust strong small { font-size: 0.42em; font-style: italic; font-weight: 500; letter-spacing: 0; color: var(--purple); }
.trust span { display: block; font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); max-width: 22ch; }
@media (min-width: 720px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .trust li, .trust li:nth-child(even) { border-bottom: 0; padding: 1.6rem 1.4rem 1.4rem; }
  .trust li:first-child { padding-left: 0; }
  .trust li + li { border-left: 1px solid var(--line); }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 8px rgba(58,26,101,0.06); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__media--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.5rem; }
.card__body p { color: var(--ink-soft); }
.card__body .card__link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card__link::after { content: " →"; }
.card--tint { background: var(--purple-tint); border-color: transparent; }
.card--plain { box-shadow: none; }
.card--plain:hover { transform: none; box-shadow: none; }

/* Homepage pathways: one featured pro-am block, a row of three, then text links */
.pathway-feature {
  display: grid; background: var(--purple-dark); color: #fff; text-decoration: none;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pathway-feature:hover { color: #fff; transform: translateY(-3px); }
.pathway-feature__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pathway-feature__body { padding: 1.8rem 1.6rem 2rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pathway-feature__tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.pathway-feature h3 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.6rem; }
.pathway-feature p { color: rgba(255,255,255,0.86); max-width: 46ch; }
.pathway-feature .btn { margin-top: 0.6rem; }
.pathway-feature:hover .btn--gold { background: #E4B12A; }
@media (min-width: 800px) {
  .pathway-feature { grid-template-columns: 1.25fr 1fr; }
  .pathway-feature__media img { aspect-ratio: auto; min-height: 380px; }
  .pathway-feature__body { padding: 2.5rem 2.8rem; }
}

/* Row of three: swipeable on phones, a grid from tablet up */
.pathway-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 1.5rem calc(var(--gutter) * -1) 0; padding: 0.3rem var(--gutter) 1rem;
  scroll-padding-inline: var(--gutter);
}
.pathway-row .card { scroll-snap-align: start; }
.pathway-row .card__media img { aspect-ratio: 3 / 2; }
.pathway-row .card__body { padding: 1.1rem 1.2rem 1.3rem; }
.pathway-row .card__body h3 { font-size: 1.45rem; }
.pathway-row .card__body p { font-size: 0.97rem; }
@media (min-width: 720px) {
  .pathway-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 1.5rem 0 0; padding: 0; }
}
.pathway-more { margin: 1.5rem 0 0; text-align: center; color: var(--ink-soft); }

/* Feature rows (text + image alternating) */
.feature { display: grid; gap: 1.8rem; align-items: center; }
.feature + .feature { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__media--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .feature--flip .feature__media { order: 2; }
}

.feature--belief .lead { color: var(--charcoal); }
.feature--belief p { max-width: 58ch; }
@media (min-width: 800px) { .feature--belief { grid-template-columns: 0.8fr 1.2fr; } }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/></svg>") center / contain no-repeat;
}
.section--deep .checklist li::before { background: var(--gold); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.2rem; }
.steps li {
  counter-increment: step; position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.2rem; top: 1.25rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--purple); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, 1fr); } }

/* Timeline variant: numbered dots joined by a line, no boxes. Vertical on phones, horizontal from 960px */
.steps--timeline { gap: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.steps--timeline li { background: none; border: 0; border-radius: 0; padding: 0 0 2rem 3.4rem; }
.steps--timeline li:last-child { padding-bottom: 0; }
.steps--timeline li::before { left: 0; top: 0; }
.steps--timeline li::after {
  content: ""; position: absolute; left: calc(1.05rem - 1px); top: 2.5rem; bottom: 0.4rem;
  width: 2px; background: var(--line);
}
.steps--timeline li:last-child::after { display: none; }
@media (min-width: 960px) {
  .steps--timeline { max-width: none; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
  .steps--timeline li { padding: 3.3rem 0 0; }
  .steps--timeline li::after { top: calc(1.05rem - 1px); left: 2.7rem; right: -1rem; bottom: auto; width: auto; height: 2px; }
}

/* Open three-column list with hairline rules (pro-am "who it's for") */
.who-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; border-top: 1px solid rgba(58,26,101,0.15); }
.who-list li { margin: 0; padding: 1.5rem 0; border-bottom: 1px solid rgba(58,26,101,0.15); }
.who-list h3 { margin-bottom: 0.4rem; }
.who-list p { margin: 0; color: var(--ink-soft); max-width: 40ch; }
@media (min-width: 800px) {
  .who-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(58,26,101,0.15); }
  .who-list li { border-bottom: 0; padding: 1.8rem 2rem 1.6rem 0; }
  .who-list li + li { border-left: 1px solid rgba(58,26,101,0.15); padding-left: 2rem; }
}

/* A single headline result */
.result-highlight {
  max-width: 780px; margin: 2rem auto 0; text-align: center;
  padding: 2rem 1rem 2.2rem; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--line);
}
.result-highlight__label { font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--purple); margin: 0 0 0.3rem; }
.result-highlight__title {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.016em; color: var(--purple-dark); margin: 0 0 0.7rem; text-wrap: balance;
}
.result-highlight__detail { margin: 0 auto; max-width: 52ch; color: var(--ink-soft); }

/* Competition names as a ruled list */
.comp-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; border-top: 1px solid var(--line); }
.comp-list li {
  margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--purple-dark);
}
.comp-list li span { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); margin-left: 0.4rem; }
@media (min-width: 720px) { .comp-list { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; } }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; font-size: 0.97rem; }
.schedule th, .schedule td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { background: var(--purple-tint); color: var(--purple-dark); font-weight: 600; }
.schedule tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* Testimonials */
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.8rem 1.6rem;
  border: 1px solid var(--line); position: relative; display: flex; flex-direction: column;
}
.testimonial::before {
  content: "\201C"; font-family: var(--font-head); font-size: 4rem; line-height: 1;
  color: var(--gold); position: absolute; top: 0.6rem; left: 1.2rem; opacity: 0.9;
}
.testimonial blockquote { margin: 1.2rem 0 1rem; font-size: 1.05rem; line-height: 1.6; flex: 1; }
.testimonial figcaption { font-size: 0.9rem; color: var(--ink-soft); }
.testimonial figcaption strong { color: var(--purple-dark); display: block; }
.testimonial--featured { background: var(--purple-tint); border-color: transparent; }
.testimonial--featured blockquote { font-family: var(--font-head); font-size: 1.45rem; line-height: 1.4; color: var(--purple-dark); }

/* Homepage: open testimonials, a hairline rule instead of a box */
.testimonials-open { gap: 2rem 2.5rem; }
.testimonials-open .testimonial,
.testimonials-open .testimonial--featured {
  background: none; border: 0; border-radius: 0; border-top: 1px solid rgba(58,26,101,0.18);
  padding: 2.2rem 0 0;
}
.testimonials-open .testimonial::before { top: 0.5rem; left: 0; font-size: 3.2rem; }
.testimonials-open .testimonial--featured { border-top: 2px solid var(--gold); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.2rem; margin-bottom: 0.8rem;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 600;
  font-size: 1.05rem; position: relative; color: var(--purple-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.75rem; font-size: 1.5rem; color: var(--purple);
  font-weight: 400; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--purple-dark); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(212,160,23,0.25), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 640px; }
.cta-band .btn--outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.cta-band .btn--outline:hover { background: #fff; color: var(--purple-dark); }

/* Gallery */
.gallery { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
/* Homepage mosaic: one wide shot, tall portraits either side */
.gallery--mosaic {
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "stage stage" "blackpool medals" "blackpool kids" "judge judge";
  grid-auto-rows: minmax(150px, 38vw);
}
.gallery--mosaic picture { min-height: 0; }
.gallery--mosaic img { aspect-ratio: auto; height: 100%; border-radius: 8px; }
.gallery--mosaic .g-stage { grid-area: stage; }
.gallery--mosaic .g-blackpool { grid-area: blackpool; }
.gallery--mosaic .g-medals { grid-area: medals; }
.gallery--mosaic .g-kids { grid-area: kids; }
.gallery--mosaic .g-judge { grid-area: judge; }
.gallery--mosaic .g-stage img { object-position: center 30%; }
.gallery--mosaic .g-medals img, .gallery--mosaic .g-kids img, .gallery--mosaic .g-judge img { object-position: center 20%; }
@media (min-width: 720px) {
  .gallery--mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "blackpool stage stage judge" "blackpool medals kids judge";
    grid-auto-rows: clamp(180px, 20vw, 270px);
  }
}
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 720px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

/* Achievements list */
.ach-group { margin-bottom: 2.5rem; }
.ach-group h3 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 0.2rem; margin-bottom: 1rem; }
.ach-group ul { list-style: none; padding: 0; margin: 0; }
.ach-group li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.ach-group li span.year { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }
.ach-group li.win::before { content: "🏆 "; }

/* Timeline (CV) */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.5rem; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--offwhite);
}
.timeline .when { font-size: 0.85rem; color: var(--purple); font-weight: 600; letter-spacing: 0.04em; }
.timeline .what { display: block; font-weight: 600; color: var(--purple-dark); }
.timeline .where { color: var(--ink-soft); font-size: 0.95rem; }

/* Video placeholders */
.video-grid { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
}
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--purple-dark); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff;
  padding: 1rem; font-size: 0.95rem;
}
.video__body { padding: 1rem 1.2rem; }
.video__body h3 { font-size: 1.2rem; margin: 0 0 0.2rem; }
.video__body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.form label .opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  padding: 0.85rem 1rem; border: 1.5px solid #CFC5DE; border-radius: var(--radius-sm); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--purple); outline: 3px solid rgba(91,45,142,0.2); outline-offset: 0; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form__status.is-success { display: block; background: #E3F4E8; color: var(--success); }
.form__status.is-error { display: block; background: #FBE7E5; color: var(--error); }
.form__consent { font-size: 0.88rem; color: var(--ink-soft); }

/* Contact panel */
.contact-panel { background: var(--white); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-list svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--purple); margin-top: 0.15rem; }
.contact-list strong { display: block; color: var(--purple-dark); }
.contact-list a { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-dark); color: rgba(255,255,255,0.86); padding: 3.5rem 0 2rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h3 { color: var(--gold); font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-brand .brand__mark { color: #fff; }
.footer-brand .brand__sub { color: rgba(255,255,255,0.7); }
.footer-tagline { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: #fff; margin: 1rem 0 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.3rem; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,0.1); text-decoration: none;
}
.social a:hover { background: var(--gold); color: var(--purple-dark); }
.social svg { width: 20px; height: 20px; }

/* Floating contact button */
.contact-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 600;
  padding: 0.75rem 1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
}
.contact-float svg { width: 22px; height: 22px; }
.contact-float:hover { background: var(--purple-dark); color: #fff; }
@media (min-width: 1080px) { .contact-float span { display: inline; } }

/* Scroll reveal: js/main.js adds .reveal only to content that starts below the fold */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Print */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .site-footer, .contact-float, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
