/* Alobeda Fashion Academy — design system
   Palette taken from the academy's crest (gold + crimson) and its
   graduation branding (deep emerald), on a pattern-paper cream. */

:root {
  --cream: #f7f1e6;
  --paper: #fbf8f2;
  --ink: #14211c;
  --ink-soft: #3d4a44;
  --muted: #6b766f;
  --emerald: #0f3b2e;
  --emerald-2: #16503f;
  --gold: #b8893b;
  --gold-soft: #e8d3a8;
  --crimson: #9e1b32;
  --line: #e4dccb;
  --white: #ffffff;
  --wa: #1f9d55;

  --serif: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 33, 28, .06), 0 12px 32px -12px rgba(20, 33, 28, .18);
  --wrap: 1180px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.06;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; letter-spacing: -.01em; }
h4 { font-size: 1.15rem; letter-spacing: 0; }

/* Accent words get a gold running stitch that sews itself in (see main.js). */
em.accent, .accent {
  font-style: italic; color: var(--crimson);
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 .26em, transparent .26em .44em);
  background-repeat: no-repeat; background-position: 0 86%; background-size: 0% max(2px, .04em); -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.4s steps(22, end) .2s;
}
em.accent.sewn, .no-js em.accent { background-size: 100% max(2px, .04em); }
.section--dark em.accent, .mc em.accent, .spread em.accent { color: var(--gold-soft); }

/* Tape-measure reading progress along the top edge. */
.tape-progress { position: fixed; inset: 0 0 auto 0; height: 6px; z-index: 80; pointer-events: none; }
.tape-progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background-color: var(--gold);
  background-image:
    repeating-linear-gradient(90deg, rgba(20, 33, 28, .7) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(20, 33, 28, .9) 0 1.5px, transparent 1.5px 40px);
  background-size: 100% 3px, 100% 6px; background-repeat: no-repeat;
}

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--emerald); color: #eef3ef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark p { color: #cfdcd5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.sec-head { margin-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 700 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
/* Stitched seam appears inside filled buttons, around outline ones. */
.btn--primary:hover, .btn--gold:hover, .btn--wa:hover { outline: 1.5px dashed rgba(255, 255, 255, .7); outline-offset: -5px; }
.btn--gold:hover { outline-color: rgba(27, 20, 10, .55); }
.btn--ghost:hover { outline: 1.5px dashed var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-2); }
.btn--gold { background: var(--gold); color: #1b140a; }
.btn--gold:hover { background: #c9994a; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #188a49; }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink); color: #f1e9d8; font-size: .85rem; text-align: center;
  padding: 9px 16px;
}
.announce a { color: var(--gold-soft); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 50px; height: 50px; flex: none; border-radius: 50%; object-fit: cover;
  background: #fff; border: 1.5px solid var(--gold-soft);
}
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: .04em; }
.brand__name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; color: var(--gold); margin-top: 4px; font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: var(--cream); }
.nav__toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; color: var(--ink);
}
.nav__toggle svg { margin: auto; }
.nav__links .mobile-only { display: none; }

@media (max-width: 980px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
    box-shadow: var(--shadow);
  }
  .nav__links a { display: block; padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links li.mobile-only { display: block; margin-top: 8px; }
  .nav__links li.mobile-only a { width: 100%; color: #fff; background: var(--emerald); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(var(--paper), rgba(251, 248, 242, .85)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(184, 137, 59, .10) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(184, 137, 59, .10) 31px 32px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.trust-item span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero__art { position: relative; padding: 0 0 40px 40px; }
.hero__photo {
  margin: 0; border-radius: 220px 220px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow); border: 6px solid var(--white); background: var(--cream);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__inset {
  position: absolute; left: 0; bottom: 0; width: 38%; margin: 0; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden; border: 5px solid var(--white); box-shadow: var(--shadow);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__badge {
  position: absolute; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 14px; padding: 12px 16px; font-size: .85rem; line-height: 1.35;
}
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge--a { left: 0; top: 12%; }
.hero__badge--b { right: -4%; bottom: 18%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; width: 100%; margin-inline: auto; padding: 0 0 32px 28px; }
  .hero__badge--b { right: 0; }
}

/* Tape-measure divider */
.tape {
  height: 34px; background-color: var(--gold-soft);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 60px);
  background-size: 100% 9px, 100% 16px; background-repeat: no-repeat;
  background-position: 0 0, 0 0;
  border-block: 1px solid #cdb27b;
}

/* Marquee */
.marquee { overflow: hidden; background: var(--emerald); color: var(--gold-soft); padding: 18px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; white-space: nowrap; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .9rem; margin-left: 48px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card--hover { transition: transform .2s ease, box-shadow .2s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--emerald); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

.course-card { display: flex; flex-direction: column; }
.course-card .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--cream); color: var(--emerald); padding: 6px 10px; border-radius: 999px; margin-bottom: 16px;
}
.course-card .tag--hot { background: var(--crimson); color: #fff; }
.course-card ul { padding-left: 18px; margin: 0 0 20px; color: var(--ink-soft); }
.course-card li { margin-bottom: 4px; }
.course-card .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 600; display: block; }

/* Stitch border — a dashed "seam" inset */
.stitched { position: relative; }
.stitched::before {
  content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(184, 137, 59, .55);
  border-radius: calc(var(--radius) - 6px); pointer-events: none;
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--dark .checklist li::before { background-color: var(--gold); }

/* ---------- Masterclass ---------- */
.mc {
  background: radial-gradient(120% 120% at 100% 0%, #1d5a47 0%, var(--emerald) 55%, #0a2a21 100%);
  color: #eef3ef; border-radius: 28px; padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative;
}
.mc h2 { color: #fff; }
.mc__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .mc__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .mc__price b { font-size: 1.45rem; }
  .countdown b { font-size: 1.4rem; }
  .mc__panel { padding: 18px; }
}
.mc__learn { columns: 2; column-gap: 24px; padding: 0; list-style: none; margin: 0 0 24px; }
.mc__learn li { break-inside: avoid; padding: 6px 0 6px 22px; position: relative; color: #dbe7e1; }
.mc__learn li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 9px; }
@media (max-width: 520px) { .mc__learn { columns: 1; } }
.mc__panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(232, 211, 168, .3); border-radius: 20px; padding: 24px; }
.mc__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; }
.mc__price { background: rgba(0, 0, 0, .18); border-radius: 14px; padding: 14px; }
.mc__price b { display: block; font-family: var(--serif); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.mc__price span { font-size: .78rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.mc__price--hot { background: var(--gold); color: #1b140a; }
.mc__price--hot b { color: #1b140a; }
.mc__price--hot span { color: #3b2a0d; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 18px; }
.countdown div { text-align: center; background: rgba(0, 0, 0, .2); border-radius: 12px; padding: 10px 4px; }
.countdown b { display: block; font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1; }
.countdown span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Course finder ---------- */
.finder { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.finder__q { border: 0; padding: 0; margin: 0 0 26px; }
.finder__q legend { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .92rem; cursor: pointer; transition: .15s ease; background: var(--paper);
}
.chip input:checked + span { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.finder__result {
  margin-top: 10px; padding: 24px; border-radius: 18px; background: var(--cream); border: 1.5px dashed var(--gold);
}
.finder__result[hidden] { display: none; }
.finder__result h3 { margin-bottom: 6px; }

/* ---------- Journey / steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 64px; right: 8px; height: 1px; background: var(--line); }
.section--dark .steps li::after { background: rgba(232, 211, 168, .25); }
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: 6px; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--dark .steps p { color: #b8c9c0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rating { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .rating { grid-template-columns: 1fr; } }
.rating__big { font-family: var(--serif); font-size: 5.5rem; line-height: .9; font-weight: 700; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 12px; font-size: .88rem; }
.bar__track { height: 10px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--gold); border-radius: 999px; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.theme { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.theme b { color: var(--crimson); margin-left: 4px; }
.quote { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; font-style: italic; }
.quote-cite { font-size: .85rem; color: var(--muted); margin-top: 14px; font-style: normal; font-family: var(--sans); }

/* ---------- Event ---------- */
.event { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.event__date { text-align: center; border: 1.5px solid var(--gold); border-radius: 18px; padding: 14px 22px; }
.event__date b { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; }
.event__date span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; text-align: left; } .event__date { justify-self: start; } }

.event--photo { grid-template-columns: 130px auto 1fr auto; }
.event__img { width: 130px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
@media (max-width: 760px) { .event--photo { grid-template-columns: 1fr; } .event__img { width: 100%; max-width: 240px; } }

/* ---------- Photo grid ----------
   4 columns; a --wide photo spans two. Rows should add up to 4 columns
   (e.g. 1 + wide + 1, or 4 singles) so no photo is left alone. */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream); grid-row: span 2; }
.photo--wide { grid-column: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  background: rgba(20, 33, 28, .78); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 980px) { .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .photo-grid { grid-auto-rows: 160px; gap: 10px; } .photo--wide { grid-row: span 2; } }
.media { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: auto; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.media-pair figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; }
.media-pair img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.media-cap { font-size: .85rem; color: var(--muted); margin: -14px 0 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--gold); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); background: #fff; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field.invalid input, .field.invalid select { border-color: var(--crimson); }
.field .err { color: var(--crimson); font-size: .82rem; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }

/* ---------- Gallery / IG ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ig-grid { grid-template-columns: 1fr; } }
.ig-grid .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.ig-card {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 22px;
  border-radius: var(--radius); text-decoration: none; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--emerald-2), var(--emerald));
}
.ig-card:nth-child(3n+2) { background: linear-gradient(160deg, #7c1528, var(--crimson)); }
.ig-card:nth-child(3n) { background: linear-gradient(160deg, #8a6524, var(--gold)); }
.ig-card h3 { color: #fff; margin: 0 0 4px; }
.ig-card p { margin: 0; font-size: .9rem; opacity: .9; }
.ig-card svg.deco { position: absolute; top: 18px; right: 18px; width: 90px; height: 90px; opacity: .25; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }

/* ---------- Map / contact ---------- */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

/* Course detail blocks */
.course-detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.course-detail:last-child { border-bottom: 0; }
@media (max-width: 860px) { .course-detail { grid-template-columns: 1fr; gap: 20px; } }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 700; text-align: right; }
.sticky-aside { position: sticky; top: 100px; align-self: start; }
@media (max-width: 860px) { .sticky-aside { position: static; } }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill-nav a { text-decoration: none; border: 1.5px solid var(--line); background: var(--white); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.pill-nav a:hover { border-color: var(--emerald); }
.note {
  background: #fff8e8; border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold);
  padding: 14px 18px; border-radius: 10px; font-size: .92rem; color: var(--ink-soft);
}

/* Comparison table */
.compare { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--emerald); color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.compare tbody th { font-family: var(--serif); font-size: 1.15rem; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gold-soft); }
.timeline li { padding: 0 0 28px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.timeline b { font-family: var(--serif); font-size: 1.5rem; display: block; line-height: 1.2; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--crimson); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #f6dfe3; margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7cfca; padding: 72px 0 28px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: 1.15rem; }
.site-footer a { color: #c7cfca; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand__name { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a4842; display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #2a3732; margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #8d9a93; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Runway lookbook (horizontal, swipe/drag) ---------- */
.runway { position: relative; }
.runway__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.runway__head .sec-head { margin: 0; }
.runway__nav { display: flex; gap: 10px; }
.runway__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s;
}
.runway__btn:hover { background: var(--ink); color: var(--paper); }
.runway__btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.runway__btn svg { width: 20px; height: 20px; }
.runway__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 330px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(16px, (100vw - var(--wrap)) / 2);
  padding: 4px max(16px, (100vw - var(--wrap)) / 2) 24px; scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
}
.runway__track::-webkit-scrollbar { display: none; }
.runway__track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.runway__track.dragging img { pointer-events: none; }
.look { margin: 0; scroll-snap-align: start; }
.look__frame { position: relative; aspect-ratio: 3 / 4; border-radius: 160px 160px 18px 18px; overflow: hidden; background: var(--cream); }
.look:nth-child(even) .look__frame { border-radius: 18px; }
.look__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s ease; }
.look:hover .look__frame img { transform: scale(1.04); }
.look__no {
  position: absolute; bottom: 14px; left: 14px; background: rgba(251, 248, 242, .92); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-size: .95rem; padding: 4px 12px; border-radius: 999px;
}
.look figcaption { padding: 14px 4px 0; }
.look figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.look figcaption span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.runway__meter { height: 2px; background: var(--line); margin: 6px auto 0; width: min(var(--wrap), 100% - 32px); border-radius: 2px; overflow: hidden; }
.runway__meter span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.15); transition: transform .15s linear; }

/* ---------- Editorial spread ---------- */
.spread { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.spread__img { position: absolute; inset: 0; z-index: -2; }
.spread__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.spread::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 27, 21, .92) 0%, rgba(10, 27, 21, .7) 38%, rgba(10, 27, 21, 0) 68%),
    linear-gradient(180deg, rgba(10, 27, 21, 0) 55%, rgba(10, 27, 21, .55) 100%);
}
.spread__img img { object-position: 70% 30%; }
.spread__copy { padding: 0 0 clamp(40px, 7vw, 88px); }
.spread h2 { line-height: 1.04; margin-bottom: 28px; }
@media (max-width: 760px) {
  .spread { min-height: 640px; }
  .spread::before { background: linear-gradient(180deg, rgba(10, 27, 21, .1) 15%, rgba(10, 27, 21, .92) 72%); }
  .spread__img img { object-position: 62% 20%; }
}
.spread .eyebrow { color: var(--gold-soft); }
.spread h2 { color: #fff; font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .98; max-width: 12ch; margin-bottom: 18px; }
.spread p { color: #e7eee9; max-width: 52ch; font-size: 1.08rem; }
.spread__rule { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }

/* ---------- Masterclass theme (blush & gold, matching the 2027 flyer) ---------- */
.theme-blush { --blush: #f8e3e6; --blush-2: #f2cdd3; --rose: #b2324e; --rose-ink: #3b1420; }
.theme-blush .page-hero, .mc-hero { background: var(--blush); }
.mc-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0; }
.mc-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px dashed var(--rose); opacity: .25; pointer-events: none;
}
.mc-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .mc-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.mc-hero h1 { color: var(--rose-ink); font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.08; }
.mc-hero h1 em.accent { color: var(--rose); }
.mc-hero .eyebrow { color: var(--rose); }
.mc-hero .lede { color: #5b3a43; }
.mc-flyer { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(59, 20, 32, .55); transform: rotate(2deg); border: 8px solid #fff; max-width: 420px; justify-self: center; }
.mc-flyer img { width: 100%; height: auto; }
.mc-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 28px; margin: 26px 0 28px; justify-content: start; }
.mc-facts div b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--rose-ink); line-height: 1.1; font-weight: 600; }
.mc-facts div span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
@media (max-width: 520px) {
  .mc-facts { grid-template-columns: repeat(3, auto); gap: 8px 18px; }
  .mc-facts div b { font-size: 1.2rem; }
  .mc-facts div span { font-size: .64rem; letter-spacing: .1em; }
}
.theme-blush .countdown div { background: #fff; }
.theme-blush .countdown b { color: var(--rose-ink); }
.theme-blush .countdown span { color: var(--rose); }
.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: #962840; outline: 1.5px dashed rgba(255, 255, 255, .7); outline-offset: -5px; }
.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; counter-reset: mod; }
.modules li { counter-increment: mod; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px dashed var(--blush-2, var(--line)); }
.modules li::before { content: counter(mod, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--rose, var(--crimson)); }
.modules b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
@media (max-width: 700px) { .modules { grid-template-columns: 1fr; } }
.perk { background: #fff; border: 1px solid var(--blush-2); border-radius: var(--radius); padding: 24px; }
.perk h4 { margin-bottom: 6px; }
.perk .icon { background: var(--blush); color: var(--rose); }
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price-duo > div { border-radius: 18px; padding: 22px; background: #fff; border: 1px solid var(--blush-2); }
.price-duo > div.hot { background: var(--rose-ink); color: #fff; border-color: var(--rose-ink); }
.price-duo b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.price-duo span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--rose); }
.price-duo .hot span { color: var(--blush-2); }
