/* ==========================================================================
   acdebernadac.com: design system
   Mobile first. Colours and type taken from the July 2026 prototype.
   Gold #B8935A is for decoration and dark backgrounds only: on white, text
   uses --gold-text (#7F643A: 5.5:1 on white, 5.0:1 on warm paper, WCAG AA).
   ========================================================================== */

:root {
  --ink: #1b1a17;
  --ink-soft: #4a4844;
  --paper: #ffffff;
  --paper-warm: #f6f3ee;
  --night: #141414;
  --night-deep: #0d0d0d;
  --gold: #b8935a;
  --gold-text: #7f643a;
  --gold-pale: #e8dcc6;
  --line: #e4dccd;
  --on-dark: #f3ede3;
  --on-dark-soft: #c9c1b4;

  --serif: "EB Garamond", Garamond, "Times New Roman", Georgia, serif;
  --serif-zh: "EB Garamond", "STFangsong", "FangSong", "FangSong_GB2312", "Songti SC", "Noto Serif CJK SC", serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
}
:lang(zh-Hans), :lang(zh-Hant) { font-family: var(--serif-zh); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--dark a:hover { color: var(--gold); }
.eyebrow {
  display: block; margin: 0 0 1rem; font-size: .8rem; line-height: 1.4;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.2rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 40em; }
.section--dark .lead { color: var(--on-dark-soft); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: var(--night); color: #fff; }
.skip-link:focus { left: 0; }
main:focus { outline: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: #c9a56b; color: var(--night); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #2a2a2a; color: #fff; }
.btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn--outline:hover, .section--dark .btn--outline:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.link-arrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15em; }
.link-arrow::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1.5rem; }

/* ---------- placeholders (must all be gone before go-live) ---------- */
.placeholder {
  display: inline-block; padding: .1em .45em; border: 1px dashed #b07a1f; background: #fff4dc; color: #6b4400;
  font: 600 .78rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; vertical-align: middle;
}
.placeholder-block { border: 1px dashed #b07a1f; background: #fffaf0; padding: 1.5rem; text-align: center; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: .6rem var(--gutter); min-height: 64px;
}
.brand { justify-self: center; }
.brand img { width: auto; height: 52px; }
.lang { display: flex; list-style: none; gap: .1rem; font-size: .8rem; letter-spacing: .1em; }
.lang li + li::before { content: "·"; margin: 0 .35rem; color: var(--gold-text); }
.lang a { text-decoration: none; }
.lang [aria-current] { color: var(--gold-text); }
.lang .is-disabled { color: #767069; cursor: help; }
.menu-toggle {
  justify-self: end; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px; padding: 0 .25rem;
  background: none; border: 0; font: inherit; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
  display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .2s;
}
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -7px; } .menu-toggle__icon::after { top: 7px; }
.is-open .menu-toggle__icon { background: transparent; }
.is-open .menu-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.is-open .menu-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* mobile menu panel */
.nav { display: none; padding: .5rem var(--gutter) 1.5rem; border-top: 1px solid var(--line); }
.is-open .nav { display: block; }
.nav__list { list-style: none; }
.nav__list > li { border-bottom: 1px solid var(--line); position: relative; }
.nav__list a { display: block; padding: .8rem 0; text-decoration: none; font-size: 1.15rem; }
.nav [aria-current="page"], .nav .is-current > a { color: var(--gold-text); }
.sub-toggle {
  position: absolute; right: 0; top: .35rem; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit;
}
.sub-toggle span { display: block; width: 9px; height: 9px; margin: auto; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
.sub { display: none; list-style: none; padding: 0 0 .75rem 1rem; }
.sub a { padding: .45rem 0; font-size: 1rem; color: var(--ink-soft); }
.has-sub.is-expanded > .sub { display: block; }
.nav__cta { display: grid; gap: .75rem; margin-top: 1.25rem; }

@media (min-width: 1100px) {
  .site-header__bar { min-height: 84px; }
  .brand img { height: 78px; }
  .menu-toggle { display: none; }
  .nav { display: flex !important; justify-content: center; padding: 0 var(--gutter); }
  .nav__list { display: flex; gap: 2rem; }
  .nav__list > li { border: 0; }
  .nav__list a { padding: .85rem 0; font-size: 1.05rem; }
  .sub-toggle { display: none; }
  .sub {
    display: block; position: absolute; left: -1.25rem; top: 100%; min-width: 19rem; padding: .75rem 1.25rem;
    background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.08);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-3px) rotate(45deg); }
  .nav__cta { position: absolute; right: var(--gutter); top: 20px; display: flex; gap: .6rem; margin: 0; }
  .nav__cta { top: 30px; }
  .nav__cta .btn { min-height: 34px; padding: .4em .85em; font-size: .62rem; letter-spacing: .16em; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); min-height: min(68vh, 600px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.88) 100%); }
.hero__content { position: relative; z-index: 1; padding-block: 5rem 3rem; }
.hero__slogan { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; margin: 0 0 1.25rem; letter-spacing: -.01em; }
.hero__slogan em { color: var(--gold); }
.hero h1 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 34em; color: var(--on-dark); margin-bottom: 0; }
@media (min-width: 900px) { .hero::after { background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.2) 100%); } }

/* ---------- intro / answer paragraph ---------- */
.crest-divider { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-bottom: 2rem; }
.crest-divider::before, .crest-divider::after { content: ""; width: 5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.crest-divider::after { transform: scaleX(-1); }
.crest-divider img { width: 34px; }
.answer { font-size: clamp(1.25rem, 2.3vw, 1.55rem); line-height: 1.5; max-width: 34em; margin-inline: auto; }
.bridge { font-style: italic; color: var(--gold-text); font-size: 1.2rem; margin-top: 1.5rem; }

/* ---------- two expertises (equal weight) ---------- */
.duo { display: grid; gap: 3.5rem; margin-top: 3rem; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.75rem; background: var(--paper-warm); }
.card__media picture { height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card:hover .card__media img { transform: none; } }
.card p { color: var(--ink-soft); }

/* ---------- figures ---------- */
.figures { list-style: none; display: grid; gap: 2rem; text-align: center; }
@media (min-width: 700px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures strong { display: block; font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--gold); margin-bottom: .5rem; }
.figures span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ---------- smaller offers ---------- */
.pair { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .card__media { aspect-ratio: 16 / 9; margin-bottom: 1.25rem; }

/* ---------- client logos ---------- */
.logos { display: flex; overflow: hidden; margin-top: 2.5rem; border-block: 1px solid var(--line); padding-block: 1.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; flex: none; align-items: center; gap: 3.5rem; padding-right: 3.5rem; list-style: none; animation: marquee 70s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos img { height: 52px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logos { mask-image: none; }
  .logos__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 0; flex: 1; }
  .logos__track[aria-hidden] { display: none; }
}
.countries { margin-top: 1.5rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- heritage ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.timeline dt { font-size: 1.5rem; }
.timeline dd { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.figure-caption { font-size: .85rem; color: var(--ink-soft); margin-top: .75rem; }

/* ---------- press ---------- */
.outlets { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 0; margin: 1.5rem auto 2rem; max-width: 52rem; font-size: 1.2rem; }
.outlets li:not(:last-child)::after { content: "·"; margin: 0 .8rem; color: var(--gold-text); }

/* ---------- form ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 4rem; } }
.form label { display: block; font-size: .9rem; margin-bottom: .35rem; color: var(--on-dark-soft); }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid #3a3835; border-radius: var(--radius);
  background: #1d1c1a; color: #fff; font: inherit; font-size: 1.05rem;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(184,147,90,.35); }
.form__grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__choice { border: 0; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.form__choice legend { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; padding: 0; }
.form__choice label { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.05rem; min-height: 44px; cursor: pointer; }
.form input[type=radio], .form input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--gold); flex: none; }
.form__consent label { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; }
.form__consent a { color: #fff; }
.form__consent input { margin-top: .25rem; }
.form__opt { color: #8c857a; }
.form__hp { position: absolute; left: -9999px; }
.form__status:not(:empty) { padding: .75rem 1rem; border-left: 2px solid var(--gold); background: #1d1c1a; }
.form__alt { font-size: .95rem; color: var(--on-dark-soft); }
.direct { margin-top: 2rem; font-size: 1rem; color: var(--on-dark-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--night-deep); color: var(--on-dark-soft); font-size: 1rem; padding-top: 4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h2 { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer__brand img { width: 48px; margin-bottom: 1rem; }
.site-footer__name { color: var(--on-dark); font-size: 1.15rem; margin-bottom: .25rem; }
.site-footer__locations { letter-spacing: .15em; font-size: .85rem; text-transform: uppercase; }
.site-footer__sub { font-size: .92rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid #2a2927; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- client situation (opens the page, action list point 3) ---------- */
.situation__title { max-width: 22em; }
.situations { list-style: none; display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .situations { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }
.situations li { padding-top: 1.25rem; border-top: 1px solid var(--gold); }
.situations li p:last-child { margin: 0; font-size: 1.15rem; }
.situations__where { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6rem; }

/* ---------- client result (Challenge / What we did / Result, point 24) ---------- */
.result { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid #2f2d2a; }
.result__grid { display: grid; gap: 1.5rem; margin: 0; }
@media (min-width: 760px) { .result__grid { grid-template-columns: repeat(3, 1fr); } }
.result__grid dt { font-size: 1.3rem; margin-bottom: .5rem; color: var(--on-dark); }
.result__grid dd { margin: 0; }

/* ---------- method steps ---------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2rem; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.steps__n { font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: .75rem; }
.steps p:last-child { color: var(--ink-soft); }

/* ---------- reasons to choose ---------- */
.reasons { list-style: none; display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .reasons { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; } }
.reasons h3 { font-size: 1.35rem; }
.reasons h3::before { content: ""; display: block; width: 2rem; height: 1px; background: var(--gold); margin-bottom: 1rem; }
.reasons p { color: var(--ink-soft); margin: 0; }
.result__figures { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 760px) { .result__figures { grid-template-columns: repeat(4, 1fr); } }
.result__figures strong { display: block; font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.6rem); line-height: 1; color: var(--gold); margin-bottom: .5rem; }
.result__figures span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.result__note { margin: 1.5rem 0 0; text-align: center; }
.result .eyebrow { text-align: center; }

/* ---------- feedback 14 Oct 2026 ---------- */
.crest-divider--dark::before, .crest-divider--dark::after { background: linear-gradient(90deg, transparent, var(--gold)); }
.section--dark .crest-divider { margin-bottom: 1.5rem; }
.result .crest-divider { margin-bottom: 1rem; }
.center .lead { margin-inline: auto; }
.situations { text-align: left; }
@media (min-width: 1000px) { .situations { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.situations li p:last-child { font-size: 1.05rem; }
.accent { font-style: italic; color: var(--gold-text); }
/* cards: equal height, buttons aligned on one line */
.duo, .pair { align-items: stretch; }
.card { display: flex; flex-direction: column; text-align: left; }
.card > .actions { margin-top: auto; padding-top: 1.5rem; }
.card > p:last-of-type { margin-bottom: 0; }
@media (min-width: 1000px) { .reasons--three { grid-template-columns: repeat(3, 1fr); } }
.logos--media { background: transparent; }
.logos--media img { height: 46px; max-width: 140px; }
.site-footer__brand img { width: 170px; }

/* ==========================================================================
   Inner pages (phase 2, 20 Oct 2026)
   ========================================================================== */

/* ---------- page hero: H1 + answer paragraph at the top (points 3, 69) ---------- */
.hero--page { min-height: min(60vh, 520px); }
.hero--page h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; color: #fff; max-width: 20em; margin-bottom: 1.25rem; }
.hero--page .answer { color: var(--on-dark); margin: 0; max-width: 38em; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero--plain { min-height: 0; }
.hero--plain::after { display: none; }
.hero--plain .hero__content { padding-block: 4.5rem 3.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .6rem; margin: 0 0 1.5rem; padding: 0; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; color: var(--gold); }
.breadcrumb a { text-decoration: none; color: var(--on-dark-soft); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* ---------- generic grids ---------- */
.grid-3 { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; } }
.grid-3 .card__media { aspect-ratio: 4 / 3; margin-bottom: 1.25rem; }
.card h3 a { text-decoration: none; }
.card .eyebrow { margin-bottom: .6rem; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split--reverse > :first-child { order: 2; } }
.narrow { max-width: 46rem; }
.center.narrow, .narrow.center { margin-inline: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: .95rem; }
.section--dark .muted { color: var(--on-dark-soft); }

/* ---------- curriculum (programme pages) ---------- */
.curriculum { list-style: none; counter-reset: c; display: grid; gap: 0 3rem; margin: 2rem 0 0; padding: 0; }
@media (min-width: 760px) { .curriculum { grid-template-columns: 1fr 1fr; } }
.curriculum li { counter-increment: c; display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.curriculum li::before { content: counter(c, decimal-leading-zero); color: var(--gold-text); font-size: .95rem; padding-top: .15rem; }
.curriculum strong { font-weight: 500; }
.facts { list-style: none; display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding-top: 1rem; border-top: 1px solid var(--gold); }
.facts strong { display: block; font-weight: 400; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .35rem; }
.section--dark .facts strong { color: var(--gold); }

/* ---------- FAQ (visible text = FAQPage markup) ---------- */
.faq { max-width: 50rem; margin: 2.5rem auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-size: 1.25rem; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--gold-text); font-size: 1.5rem; line-height: 1; flex: none; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.4rem; color: var(--ink-soft); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- client results / case boxes ---------- */
.case { display: grid; gap: 1.5rem; margin: 2.5rem 0 0; padding: 2rem; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 900px) { .case { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding: 2.5rem; } }
.case dt { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6rem; }
.case dd { margin: 0; color: var(--ink-soft); }
.case__figure { display: block; font-size: 2.2rem; line-height: 1.1; color: var(--ink); margin-bottom: .4rem; }
.case-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); background: var(--paper); }
.case-card .actions { margin-top: auto; padding-top: 1.25rem; }
.case-card__result { font-size: 1.6rem; color: var(--gold-text); margin: .5rem 0 1rem; }
.story { max-width: 46rem; margin-inline: auto; }
.story h2 { margin-top: 2.5rem; }
.story ul { list-style: none; margin: 0 0 1.25rem; }
.story ul li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; }
.story ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: .6rem; height: 1px; background: var(--gold); }

/* ---------- VIP formats ---------- */
.formats { list-style: none; display: grid; gap: 3rem 2.5rem; margin: 2.5rem 0 0; padding: 0; }
@media (min-width: 700px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.formats .card__media { aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.formats h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.formats__n { font-size: .8rem; letter-spacing: .2em; color: var(--gold-text); margin: 0 0 .35rem; }
.formats p { color: var(--ink-soft); }
.best-for { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: 1rem; }
.best-for strong { font-weight: 400; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-right: .4rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 2rem 0 0; padding: 0; }
.chips li { padding: .45rem 1rem; border: 1px solid var(--line); background: var(--paper); font-size: 1rem; }

/* ---------- AdB-AI ---------- */
.pillars { list-style: none; display: grid; gap: 2rem; margin: 2.5rem 0 0; padding: 0; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.pillars li { padding-top: 1.25rem; border-top: 1px solid var(--gold); }
.pillars h3 { font-size: 1.4rem; }
.pillars p { color: var(--ink-soft); margin: 0; }
.section--dark .pillars p { color: var(--on-dark-soft); }
.scenarios { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .scenarios { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.scenarios h3 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; }
.scenarios dl { margin: 0; }
.scenarios dt { font-size: 1.3rem; line-height: 1.3; }
.scenarios dd { margin: .25rem 0 1.4rem; color: var(--ink-soft); font-size: 1.02rem; }
.languages { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; }
.languages li { padding: .35rem .9rem; border: 1px solid var(--gold); font-size: 1rem; }
.section--dark .languages li { border-color: #5a4a33; }
.device { max-width: 240px; margin-inline: auto; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); border: 6px solid #111; }
.screen { margin: 2.5rem 0 0; }
.screen img { width: 100%; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.screen figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .75rem; }
.offers { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer { display: flex; flex-direction: column; padding: 2.25rem; border: 1px solid var(--line); background: var(--paper); }
.offer h3 { margin-bottom: .3rem; }
.offer__tag { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.25rem; }
.offer ul { list-style: none; margin: 0 0 1.5rem; }
.offer li { position: relative; padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 1.05rem; }
.offer li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6rem; height: 1px; background: var(--gold); }
.offer .actions { margin-top: auto; }
.video-slot { display: none; }

/* ---------- About: founder, trainers, testimonials ---------- */
.founder { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: 22rem 1fr; gap: 4rem; } }
.founder__title { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.25rem; }
.trainers { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; margin: 2.5rem 0 0; padding: 0; }
@media (min-width: 700px) { .trainers { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .trainers { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; } }
.trainers img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(.15); margin-bottom: .9rem; }
.trainers h3 { font-size: 1.25rem; margin: 0 0 .2rem; }
.trainers p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.quotes { list-style: none; display: grid; gap: 2rem; margin: 2.5rem 0 0; padding: 0; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
.quotes figure { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--gold); }
.quotes blockquote { margin: 0 0 1rem; font-size: 1.2rem; line-height: 1.5; font-style: italic; }
.quotes figcaption { font-size: .95rem; color: var(--ink-soft); }
.section--dark .quotes figcaption { color: var(--on-dark-soft); }
.quotes figcaption strong { display: block; font-weight: 500; color: inherit; }
.values { list-style: none; display: grid; gap: 2rem; margin: 2.5rem 0 0; padding: 0; text-align: left; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { padding-top: 1.25rem; border-top: 1px solid var(--gold); }
.values p { color: var(--ink-soft); margin: 0; }
.vm { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 760px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm p { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin: 0; }
.lineage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.lineage figure { margin: 0; }
.lineage img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.lineage figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; text-align: center; }
.places { list-style: none; display: grid; gap: 1.5rem; margin: 2rem 0 0; padding: 0; }
@media (min-width: 760px) { .places { grid-template-columns: repeat(3, 1fr); } }
.places li { padding-top: 1rem; border-top: 1px solid var(--gold); }
.places strong { display: block; font-weight: 400; font-size: 1.5rem; }
.places span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- references (schools), logo row without animation ---------- */
.refs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.75rem 3rem; margin: 2rem 0 0; padding: 0; }
.refs img { height: 54px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; }
.refs__text { font-size: 1rem; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------- certification ---------- */
.table-wrap { overflow-x: auto; margin-top: 2rem; }
.cert-table { width: 100%; border-collapse: collapse; min-width: 34rem; text-align: left; font-size: 1.02rem; }
.cert-table th, .cert-table td { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cert-table th { font-weight: 400; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.lookup { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; max-width: 34rem; }
.lookup label { flex-basis: 100%; font-size: .95rem; color: var(--ink-soft); }
.lookup input { flex: 1 1 14rem; min-height: 48px; padding: .6rem .8rem; border: 1px solid #bdb4a4; border-radius: var(--radius); font: inherit; background: #fff; }
.lookup input:focus { border-color: var(--gold-text); outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- Individuals: day-by-day programme ---------- */
.programme { margin-top: 2rem; }
.programme details { border-top: 1px solid var(--line); }
.programme details:last-child { border-bottom: 1px solid var(--line); }
.programme summary { cursor: pointer; padding: 1.1rem 0; font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.programme summary::-webkit-details-marker { display: none; }
.programme summary::after { content: "+"; color: var(--gold-text); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.programme details[open] summary::after { transform: rotate(45deg); }
.programme summary span { color: var(--gold-text); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-right: .75rem; }
.modules { display: grid; gap: 1.5rem 2.5rem; padding: 0 0 1.75rem; }
@media (min-width: 760px) { .modules { grid-template-columns: 1fr 1fr; } }
.modules h4 { font-weight: 500; font-size: 1.1rem; margin: 0 0 .4rem; }
.modules p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.track { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.track__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; }
.track__meta li { padding: .3rem .8rem; border: 1px solid var(--gold); font-size: .9rem; }

/* ---------- Media ---------- */
.boilerplate { max-width: 46rem; margin: 2rem auto 0; padding: 2rem; border: 1px solid var(--line); background: var(--paper); text-align: left; }
.boilerplate p { margin: 0 0 1rem; }
.boilerplate p:last-child { margin: 0; }
.topics { list-style: none; display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(2, 1fr); } }
.topics li { padding: 1rem 0; border-top: 1px solid var(--line); }
.press { margin-top: 3rem; }
.press h3 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; }
.press ul { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.press li { display: grid; gap: .1rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .press li { grid-template-columns: 7rem 13rem 1fr; } }
.press time { color: var(--ink-soft); font-size: .95rem; }
.press .press__outlet { font-size: .95rem; letter-spacing: .04em; }
.press a { text-decoration: none; }
.press a:hover { text-decoration: underline; }

/* ---------- prose (privacy policy) ---------- */
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.5rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; }

/* ---------- related links at the end of each page (point 59) ---------- */
.related { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; padding: 1.5rem; border: 1px solid var(--line); text-decoration: none; background: var(--paper); transition: border-color .2s; }
.related a:hover { border-color: var(--gold); color: inherit; }
.related strong { display: block; font-weight: 400; font-size: 1.3rem; margin-bottom: .35rem; }
.related span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- forms on light pages / individuals form ---------- */
.form__cond[hidden] { display: none; }
.form__error { color: #f0b38a; font-size: .9rem; margin: .35rem 0 0; }
.form__small { font-size: .85rem; color: #8c857a; }
.forms-switch { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

/* ---------- footer QR ---------- */
.qr { margin: 1.25rem 0 0; display: flex; gap: 1rem; align-items: center; }
.qr img { width: 88px; height: 88px; background: #fff; padding: 4px; }
.qr figcaption { font-size: .88rem; line-height: 1.45; }
.qr__hint { display: block; color: #8c857a; font-size: .8rem; margin-top: .3rem; }
@media (min-width: 900px) { .qr__hint { display: none; } }
.site-footer__brand img { width: 170px; }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.feature { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.modules ul { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.modules li { display: inline; }
.modules li + li::before { content: " · "; color: var(--gold-text); }
.programme summary > span { display: flex; align-items: baseline; flex-wrap: wrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.split > *, .founder > *, .contact-grid > * { min-width: 0; }
.kpis { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin: 2.5rem 0 0; padding: 0; text-align: center; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpis strong { display: block; font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--gold-text); margin-bottom: .5rem; }
.kpis span { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .5rem; }
.kpis small { display: block; font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.programme summary > span { color: inherit; font-size: 1.25rem; letter-spacing: 0; text-transform: none; margin: 0; gap: .25rem .75rem; }
.programme summary > span > span { color: var(--gold-text); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
