/* ==========================================================================
   mariaglazunova.com — cinematic dark + gold design system
   No framework. Sections: tokens · base · layout · header · buttons · hero ·
   sections · cards · method · quotes · video · faq · forms · prose · footer ·
   motion · utilities
   ========================================================================== */

:root {
  --ink: #0e0d0b;
  --ink-2: #16140f;
  --ink-3: #211e17;
  --line-dark: rgb(243 238 228 / 0.12);
  --cream: #f3eee4;
  --muted-dark: #bdb4a4;

  --paper: #f7f3ec;
  --paper-2: #efe7da;
  --text: #1d1a15;
  --muted: #5b5449;
  --line: #e1d7c6;

  --gold: #e3b45a;
  --gold-light: #f2d08b;
  --gold-deep: #7a561c;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(30 20 5 / 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
[hidden]:not([popover]) { display: none !important; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.rockit-logo { inline-size: 6.5rem; block-size: auto; margin-bottom: 1.25rem; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }
em { font-style: italic; }
strong { font-weight: 650; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important;
  width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  border: 0 !important; white-space: nowrap !important;
}

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); color: var(--text); color-scheme: light; }
.section--paper-2 { background: var(--paper-2); color: var(--text); color-scheme: light; }
.section--ink-2 { background: var(--ink-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-2.grid-2--top { align-items: start; }
@media (min-width: 56rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .grid-2--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; inline-size: 1.75rem; block-size: 1px; background: currentColor; }
.section--paper .eyebrow, .section--paper-2 .eyebrow { color: var(--gold-deep); }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--muted-dark); line-height: 1.6; }
.section--paper .lead, .section--paper-2 .lead { color: var(--muted); }
.gold { color: var(--gold); }
.section--paper .gold, .section--paper-2 .gold { color: var(--gold-deep); }
.display-em { font-style: italic; color: var(--gold); }
.section--paper .display-em, .section--paper-2 .display-em { color: var(--gold-deep); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(14 13 11 / 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-block-size: 4.5rem;
}
.header-inner > * { flex-shrink: 0; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.brand-mark { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); margin-top: 0.2rem; }

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--cream);
  background: transparent; border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 0.55rem 1rem; cursor: pointer;
}
.menu-button:hover { border-color: var(--gold); }

.site-menu {
  list-style: none; margin: 0; padding: 0.5rem;
  background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 24px 60px -12px rgb(0 0 0 / 0.6);
  /* collapsed layout: popover anchored under the menu button */
  position: fixed; inset: auto;
  inset-block-start: 4.75rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(86dvw, 22rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin: 0.5rem 0 0; overflow: auto;
}
.site-menu a {
  display: block; padding: 0.75rem 0.9rem; border-radius: 10px;
  text-decoration: none; font-weight: 550; color: var(--cream);
}
.site-menu a:hover { background: var(--ink-3); }
.site-menu a[aria-current] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.site-menu .menu-cta { padding: 0.5rem 0.4rem 0.3rem; }
.site-menu .menu-cta a { display: flex; justify-content: center; color: var(--ink); }
.site-menu .menu-cta a:hover { background: var(--gold-light); }
.site-menu::backdrop { background: rgb(0 0 0 / 0.35); }

@media (prefers-reduced-motion: no-preference) {
  .site-menu[popover] {
    transition: opacity 0.2s var(--ease), translate 0.2s var(--ease), display 0.2s, overlay 0.2s;
    transition-behavior: allow-discrete;
    opacity: 0; translate: 0 -6px;
  }
  .site-menu[popover]:is(:popover-open, .\:popover-open) { opacity: 1; translate: 0 0; }
  @starting-style { .site-menu[popover]:is(:popover-open, .\:popover-open) { opacity: 0; translate: 0 -6px; } }
}
/* No Popover API: script toggles .is-open instead */
@supports not selector(:popover-open) {
  .site-menu[popover]:not(.is-open) { display: none; }
}

/* wide layout (script adds .is-wide when the whole row fits) */
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static; display: flex; align-items: center; gap: 0.15rem;
  inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none;
  overflow: visible; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  opacity: 1; translate: none;
}
.site-header.is-wide .site-menu::backdrop { display: none; }
.site-header.is-wide .site-menu a { padding: 0.5rem 0.7rem; font-size: 0.95rem; }
.site-header.is-wide .site-menu a:hover { background: transparent; color: var(--gold-light); }
.site-header.is-wide .site-menu .menu-cta { padding: 0 0 0 0.6rem; }
.site-header.is-wide .site-menu .menu-cta a { padding: 0.55rem 1.1rem; }
.site-header.is-measuring * { transition: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 0.95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, translate 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { translate: 0 -1px; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.92rem; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgb(227 180 90 / 0.65); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn-ghost:hover { border-color: var(--gold); }
.section--paper .btn-ghost:hover, .section--paper-2 .btn-ghost:hover { border-color: var(--gold-deep); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.actions--center { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; text-decoration: none; color: var(--gold);
}
.link-arrow .i { transition: translate 0.2s var(--ease); }
.link-arrow:hover .i { translate: 4px 0; }
.section--paper .link-arrow, .section--paper-2 .link-arrow { color: var(--gold-deep); }

/* ---------- Home hero ---------- */
.hero { display: grid; background: var(--ink); overflow: clip; }
.hero-media { position: relative; aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--ink) 0%, rgb(14 13 11 / 0) 45%);
}
.hero-copy { padding: 0 var(--gutter) clamp(3.5rem, 8vw, 5rem); margin-top: -3rem; position: relative; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .eyebrow { display: flex; margin-bottom: 1.3rem; line-height: 1.4; }
.hero h1 .h1-main { display: block; }
.hero .lead { max-width: 36rem; }
.hero-proof {
  list-style: none; padding: 0; margin: 2.75rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, max-content)); gap: 1.25rem 2.25rem;
  border-top: 1px solid var(--line-dark); padding-top: 1.5rem;
}
.hero-proof li { display: grid; line-height: 1.3; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold); }
.hero-proof span { font-size: 0.88rem; color: var(--muted-dark); }

@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-block-size: min(86vh, 50rem); }
  .hero-media { order: 2; aspect-ratio: auto; }
  .hero-media img { position: absolute; inset: 0; object-position: 47% 30%; }
  .hero-media::after { background: linear-gradient(to right, var(--ink) 0%, rgb(14 13 11 / 0.55) 22%, rgb(14 13 11 / 0) 55%); }
  .hero-copy {
    order: 1; margin: 0; align-self: center;
    padding-block: 5rem;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-inline-end: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem); background:
  radial-gradient(60rem 30rem at 85% -10%, rgb(227 180 90 / 0.16), transparent 60%), var(--ink); }
.page-hero .grid-2 { align-items: center; }
.page-hero .lead { max-width: 40rem; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.h1-sub {
  display: block; margin-top: 0.9rem; font-family: var(--font-sans); font-style: normal;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--muted-dark);
}
.page-hero .facts { margin-top: 2.25rem; max-width: 32rem; }
.poster { max-width: 26rem; justify-self: center; width: 100%; }
.poster-frame { margin: 0; max-width: 26rem; justify-self: center; }
.poster-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.poster img { aspect-ratio: 2 / 3; }
.faq--dark .faq-item { background: var(--ink-2); border-color: var(--line-dark); }
.faq--dark .faq-answer { color: var(--muted-dark); }
.faq--dark .faq-item summary::before { background-color: var(--gold); }
.faq--dark a { color: var(--gold-light); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 2rem; font-size: 0.88rem; color: var(--muted-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumbs a { color: var(--muted-dark); }
.breadcrumbs [aria-current] { color: var(--cream); }

/* ---------- Pattern cards (problem) ---------- */
.cards-3 { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.pattern-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.pattern-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--ink); }
.pattern-body { padding: 1.5rem 1.6rem 1.8rem; }
.pattern-body h3 { margin-bottom: 0.25rem; }
.pattern-q { font-family: var(--font-display); font-style: italic; color: var(--gold-deep); font-size: 1.1rem; margin-bottom: 0.8rem; }
.pattern-body p:last-child { margin-bottom: 0; color: var(--muted); }
.question-line {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 44rem; text-align: center;
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3;
}

/* ---------- Method ---------- */
.method-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 30px 80px -30px rgb(227 180 90 / 0.35); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.1rem; align-items: start;
  padding: 1.3rem 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgb(255 255 255 / 0.02);
}
.step-num {
  grid-row: span 3; inline-size: 2.6rem; block-size: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
}
.step h3 { margin: 0.1rem 0 0.1rem; font-size: 1.4rem; }
.step-q { margin: 0; color: var(--gold-light); font-style: italic; font-family: var(--font-display); }
.step-tags { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.step-tags li { font-size: 0.8rem; padding: 0.2rem 0.65rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.section--paper .step, .section--paper-2 .step { border-color: var(--line); background: #fff; }
.section--paper .step-num, .section--paper-2 .step-num { border-color: var(--gold-deep); color: var(--gold-deep); }
.section--paper .step-q, .section--paper-2 .step-q { color: var(--gold-deep); }
.section--paper .step-tags li, .section--paper-2 .step-tags li { border-color: var(--line); color: var(--muted); }

/* ---------- Service cards ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .services { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 0.2rem;
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: translate 0.25s var(--ease), box-shadow 0.25s;
}
.service-card:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgb(0 0 0 / 0.05), 0 24px 48px -20px rgb(30 20 5 / 0.35); }
.service-card--featured { background: var(--ink); color: var(--cream); border-color: rgb(227 180 90 / 0.5); }
.service-card.service-card--featured .service-meta { color: var(--gold); }
.service-card.service-card--featured p { color: var(--muted-dark); }
.service-card.service-card--featured .link-arrow { color: var(--gold); }
.service-icon {
  inline-size: 3rem; block-size: 3rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--gold-deep); margin-bottom: 1rem;
}
.service-icon .i { width: 1.5rem; height: 1.5rem; }
.service-card--featured .service-icon { background: var(--ink-3); color: var(--gold); }
.service-meta { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin: 0; }
.service-card h3 { margin: 0.35rem 0 0.6rem; }
.service-card p { color: var(--muted); }
.service-card .link-arrow { margin-top: auto; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Chips / audience ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgb(255 255 255 / 0.03);
  font-size: 0.95rem;
}
.chips .i { color: var(--gold); }
.who-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 48rem) { .who-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.section--paper .who, .section--paper-2 .who { background: #fff; border-color: var(--line); }
.section--paper .who p, .section--paper-2 .who p { color: var(--muted); }
.section--paper .who .i, .section--paper-2 .who .i { color: var(--gold-deep); }
.who {
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgb(255 255 255 / 0.02);
}
.who .i { width: 1.6rem; height: 1.6rem; color: var(--gold); margin-bottom: 0.9rem; }
.who h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.who p { margin: 0; color: var(--muted-dark); font-size: 0.95rem; }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.7rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.checklist .i { margin-top: 0.25em; color: var(--gold); stroke-width: 2.4; }
.section--paper .checklist .i, .section--paper-2 .checklist .i { color: var(--gold-deep); }

/* ---------- Video facade ---------- */
.video {
  position: relative; display: block; inline-size: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: var(--radius-lg); overflow: hidden; background: #000; cursor: pointer; color: var(--cream);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8); border: 1px solid var(--line-dark);
}
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity 0.3s, scale 0.6s var(--ease); }
.video:hover img { opacity: 0.85; scale: 1.02; }
.video-play {
  position: absolute; inset: 0; margin: auto; inline-size: 5.25rem; block-size: 5.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--ink);
  box-shadow: 0 0 0 10px rgb(227 180 90 / 0.25);
  transition: scale 0.25s var(--ease), box-shadow 0.25s;
}
.video-play .i { width: 2rem; height: 2rem; margin-left: 4px; }
.video:hover .video-play { scale: 1.06; box-shadow: 0 0 0 16px rgb(227 180 90 / 0.18); }
.video-label {
  position: absolute; left: 1.25rem; bottom: 1.1rem; right: 1.25rem; text-align: left;
  font-weight: 650; font-size: 1rem; text-shadow: 0 1px 12px rgb(0 0 0 / 0.8);
}
.video-label small { display: block; font-weight: 400; color: var(--muted-dark); font-size: 0.85rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: 0.82rem; color: var(--muted-dark); margin-top: 0.8rem; }
.section--paper .video-note { color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { columns: 3 20rem; column-gap: 1.25rem; }
.quotes--2 { columns: 2 22rem; max-width: 62rem; margin-inline: auto; }
.quote {
  break-inside: avoid; margin: 0 0 1.25rem; padding: 1.75rem 1.6rem 1.5rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.quote blockquote { margin: 0; }
.quote-lead { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.38; margin: 0; }
.quote-lead::before { content: "“"; display: block; font-size: 3.2rem; line-height: 0.6; color: var(--gold); margin: 0.4rem 0 0.4rem; }
.quote-more { margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); }
.quote-more summary { cursor: pointer; font-weight: 650; color: var(--gold-deep); font-size: 0.9rem; list-style: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.quote-more summary::-webkit-details-marker { display: none; }
.quote-more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.quote-more[open] summary::after { content: "–"; }
.quote-full { padding-top: 0.75rem; }
.quote-full p:last-child { margin-bottom: 0; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quote figcaption img { inline-size: 3.25rem; block-size: 3.25rem; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.quote figcaption > span { display: grid; line-height: 1.35; }
.quote figcaption strong { font-weight: 650; }
.quote figcaption span span { font-size: 0.86rem; color: var(--muted); }
.section:not(.section--paper, .section--paper-2) .quote { border-color: transparent; }

/* ---------- Review carousel (3 / 2 / 1 per view) ---------- */
.carousel { --per-view: 1; --gap: 1.25rem; position: relative; }
@media (min-width: 48rem) { .carousel { --per-view: 2; } }
@media (min-width: 68rem) { .carousel { --per-view: 3; } }
.carousel-controls { display: flex; justify-content: flex-end; gap: 0.6rem; margin-bottom: 1rem; }
.carousel-btn {
  inline-size: 3rem; block-size: 3rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--text); background: transparent; color: var(--text); cursor: pointer;
  touch-action: manipulation; transition: background-color 0.2s, color 0.2s, translate 0.2s var(--ease);
}
.carousel-btn:hover { background: var(--text); color: var(--paper); }
.carousel-btn .i { width: 1.25rem; height: 1.25rem; }
.carousel-track {
  position: relative; display: flex; align-items: flex-start; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0.25rem 0.25rem 1.5rem; scroll-padding-inline: 0.25rem;
  scrollbar-width: none; touch-action: pan-x pan-y;
}
.carousel-track:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .carousel-track { scroll-behavior: smooth; } }
.carousel-track > .carousel-slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
}
.carousel-slide > .quote { margin: 0; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 24px -14px rgb(30 20 5 / 0.3); }
@media (max-width: 47.99rem) { .carousel-track > .carousel-slide { flex-basis: 86%; } }
.carousel-markers { display: flex; justify-content: center; gap: 0.25rem; margin-top: 0.5rem; }
.carousel-markers button {
  inline-size: 1.75rem; block-size: 1.75rem; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; touch-action: manipulation;
}
.carousel-markers button::before {
  content: ""; inline-size: 0.6rem; block-size: 0.6rem; border-radius: 999px;
  border: 1.5px solid var(--muted); background: transparent; transition: inline-size 0.25s var(--ease), background-color 0.2s;
}
.carousel-markers button[aria-current="true"]::before { inline-size: 1.6rem; background: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- About teaser / portrait ---------- */
.portrait { position: relative; margin: 0; }
.portrait img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.portrait::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--gold);
  border-radius: var(--radius-lg); z-index: -1; opacity: 0.6;
}
.portrait-wrap { position: relative; z-index: 0; max-width: 30rem; }
.pull {
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3;
  border-left: 2px solid var(--gold); padding-left: 1.25rem; margin: 0 0 1.5rem;
}
.section--paper .pull, .section--paper-2 .pull { border-color: var(--gold-deep); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.stat { padding: 1.25rem 1.3rem; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.stat dt { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem); color: var(--gold); line-height: 1.1; }
.stat dd { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--muted-dark); }

/* ---------- FAQ (details accordion) ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 0.8rem; cursor: pointer;
  padding: 1.15rem 1.3rem; font-weight: 650; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: ""; inline-size: 1em; block-size: 1em; flex-shrink: 0; background-color: var(--gold-deep);
  mask: url("/assets/icons/chevron.svg") no-repeat center / contain;
  rotate: -90deg;
}
.faq-item[open] > summary::before { rotate: 0deg; }
.faq-answer { padding: 0 1.3rem 1.2rem 3.1rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.faq-item:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item summary::before { transition: rotate 0.2s; }
  .faq-item::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s; transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: clamp(5rem, 10vw, 8rem); text-align: center; position: relative; overflow: clip;
  background:
    radial-gradient(40rem 22rem at 50% 115%, rgb(227 180 90 / 0.28), transparent 70%),
    radial-gradient(30rem 16rem at 50% -20%, rgb(227 180 90 / 0.1), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line-dark);
}
.cta-inner { max-width: 48rem; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::after { content: ""; inline-size: 1.75rem; block-size: 1px; background: currentColor; }
.cta-band .lead { margin-inline: auto; max-width: 40rem; }

/* ---------- Offer / info panel ---------- */
.panel {
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--line-dark); background: var(--ink-2);
}
.section--paper .panel, .section--paper-2 .panel { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 0.75rem; }
.facts { display: grid; gap: 0.8rem; margin: 1.25rem 0 0; }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line-dark); }
.section--paper .facts div, .section--paper-2 .facts div { border-color: var(--line); }
.facts dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gold); padding-top: 0.15rem; }
.section--paper .facts dt, .section--paper-2 .facts dt { color: var(--gold-deep); }
.facts dd { margin: 0; }

.acts { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .acts { grid-template-columns: 1fr 1fr; } }
.act { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.act-label { font-family: var(--font-display); font-style: italic; color: var(--gold-deep); font-size: 1.1rem; margin-bottom: 0.25rem; }
.act h4 { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin: 1.5rem 0 0.5rem; }

.formula {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0.9rem;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); margin: 2rem 0 0;
  list-style: none; padding: 0;
}
.formula li + li::before { content: "→"; color: var(--gold); margin-right: 0.9rem; font-family: var(--font-sans); }

.hosts { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .hosts { grid-template-columns: 1fr 1fr; } }
.host { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: start; padding: 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.host img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 6.5rem; }
.host h3 { margin-bottom: 0.4rem; }
.host p { color: var(--muted-dark); font-size: 0.97rem; }

/* ---------- Article cards ---------- */
.post-card {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); position: relative;
}
@media (min-width: 52rem) { .post-card { grid-template-columns: 1fr 1fr; } }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.post-card-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.post-card h2, .post-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.post-card a::after { content: ""; position: absolute; inset: 0; }
.post-meta { font-size: 0.85rem; color: var(--muted); }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 42rem; margin-inline: auto; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 2.4em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose figure { margin: 2.2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.6rem; }
.prose blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--gold-deep); font-family: var(--font-display); font-size: 1.3rem; }
.prose li { margin-bottom: 0.4em; }
.prose .todo { background: #fff4d6; border: 1px dashed #c89b3c; padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.95em; }
.callout { background: var(--paper-2); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field .label { font-weight: 650; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: #fff; inline-size: 100%;
  border: 1px solid #cbbfa9; border-radius: 10px; padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-block-size: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgb(227 180 90 / 0.45);
}
.field :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) { border-color: #b3261e; background: #fdf1ef; }
.error-msg { display: none; color: #b3261e; font-size: 0.88rem; font-weight: 600; }
.field :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) ~ .error-msg { display: block; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field--check input { inline-size: 1.2rem; block-size: 1.2rem; margin-top: 0.2rem; accent-color: var(--gold-deep); }
.field--check label { font-weight: 400; font-size: 0.93rem; color: var(--muted); }
.field--check .error-msg { grid-column: 2; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.form-status--error { background: #fdf1ef; color: #8c1d18; border: 1px solid #f0b8b2; }

.contact-options { display: grid; gap: 1.25rem; }
.contact-option { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact-option .service-icon { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #090807; border-top: 1px solid var(--line-dark); padding-block: 4rem 2rem; color: var(--muted-dark); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { max-width: 26rem; margin: 1.1rem 0 1.4rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a:not(.btn, .brand) { color: var(--muted-dark); text-decoration: none; }
.site-footer a:not(.btn, .brand):hover { color: var(--gold-light); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 1.25rem; }

/* ---------- Motion: reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from { opacity: 0; translate: 0 28px; }
    }
    .reveal {
      animation: reveal-in auto var(--ease) backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted-dark); }
.section--paper .muted, .section--paper-2 .muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.stack > * + * { margin-top: 1rem; }
.max-38 { max-width: 38rem; }

@media (forced-colors: active) {
  .btn, .service-card, .quote, .faq-item, .step, .panel { border: 1px solid CanvasText; }
  .site-menu a[aria-current] { text-decoration: underline; }
}
