/* =========================================================
   Anastasia Shabanova · tutor site
   Editorial monochrome system (Playfair Display + Satoshi)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --canvas: #ffffff;
  --surface-grey: #f3f3f3;
  --surface-dark: #191917;
  --ink: #191917;
  --ink-muted: rgba(25, 25, 23, 0.6);
  --ink-faint: rgba(25, 25, 23, 0.3);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.6);
  --on-dark-faint: rgba(255, 255, 255, 0.3);
  --line: rgba(25, 25, 23, 0.2);
  --line-strong: rgba(25, 25, 23, 0.4);
  --line-on-dark: rgba(255, 255, 255, 0.2);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", "Onest", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-spring-soft: cubic-bezier(0.25, 1.2, 0.5, 1);
}
/* Satoshi has no Cyrillic: Russian pages use Onest, a close grotesk. */
html[lang="ru"] { --sans: "Onest", "Satoshi", "Helvetica Neue", Arial, sans-serif; }

/* Light design only: stops dark-mode phones and browsers from painting
   inputs and text boxes dark. */
:root { color-scheme: light; }

/* ---------- Adaptive rem grid ---------- */
html { font-size: 16px; }
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw; } }
@media (max-width: 640px)  { html { font-size: 4.444444vw; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
::selection { background: #191917; color: #ffffff; }
:focus-visible { outline: 1px dashed currentColor; outline-offset: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
html.menu-open { overflow: hidden; height: 100%; position: relative; }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; font-size: 0.875rem;
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout primitives ---------- */
.container { max-width: 120rem; margin-inline: auto; width: 100%; }
.section {
  border-top: 1px dashed var(--line);
  background: var(--canvas);
  padding: 6rem 1.5rem;
  scroll-margin-top: 6rem;
}
.section--grey { background: var(--surface-grey); }
.section--first { border-top: 0; padding-top: 9rem; }
@media (min-width: 1024px) {
  .section { padding: 8rem 3rem; }
  .section--first { padding-top: 11rem; }
}

.grid12 { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .grid12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
  .lg-4 { grid-column: span 4; }
  .lg-5 { grid-column: span 5; }
  .lg-6 { grid-column: span 6; }
  .lg-7 { grid-column: span 7; }
  .lg-8 { grid-column: span 8; }
  .lg-6.lg-start-7 { grid-column: 7 / span 6; }
  .lg-5.lg-start-8 { grid-column: 8 / span 5; }
  .lg-only { display: revert; }
  .lg-hide { display: none !important; }
}
@media (max-width: 1023.98px) { .lg-only { display: none !important; } }

/* ---------- Shared UI ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-muted);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; flex: none; }
.on-dark .eyebrow { color: var(--on-dark-muted); }

.accent { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }

.h-section {
  max-width: 18ch;
  font-size: 2.25rem;
  color: var(--ink);
}
.h-mid { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 640px) { .h-section { font-size: 3rem; } .h-mid { font-size: 3rem; } }
@media (min-width: 1024px) { .h-section { font-size: 4.5rem; } .h-mid { font-size: 3.75rem; } }
.on-dark .h-section, .on-dark .h-mid { color: var(--on-dark); }
.section-heading .eyebrow { margin-bottom: 1.5rem; }

.cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.cta__arrow { display: inline-block; transition: transform 400ms var(--ease-spring); }
.cta--solid { background: #191917; color: #fff; }
.cta--solid:hover { background: rgba(25, 25, 23, 0.9); }
.cta--ghost { border: 1px dashed var(--line); color: #191917; }
.cta--ghost:hover { background: #191917; color: #fff; border-color: #191917; }
.cta--dark.cta--solid { background: #fff; color: #191917; }
.cta--dark.cta--solid:hover { background: rgba(255, 255, 255, 0.9); }
.cta--dark.cta--ghost { border-color: var(--line-on-dark); color: #fff; }
.cta--dark.cta--ghost:hover { background: #fff; color: #191917; }
@media (hover: hover) and (min-width: 769px) {
  .cta:hover .cta__arrow { transform: translateX(0.4rem); }
}

.plate { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 810 / 975); background: var(--surface-grey); }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.plate--color img { filter: none; }
.plate[data-parallax] img { top: -2.5rem; height: calc(100% + 5rem); transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.on-dark .plate { background: #262624; }

.ledger dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); }
.ledger dd { color: var(--ink); }

/* ---------- Motion ---------- */
/* Hold the page for a beat so the saved language applies before first paint. */
.js:not(.ready):not(.no-motion) body { opacity: 0; }
.js body { transition: opacity 0.35s ease; }
.js [data-reveal="fade"] { opacity: 0; transition: opacity 640ms var(--ease-out) var(--delay, 0ms); }
.js [data-reveal="fadeUp"] {
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity 720ms var(--ease-out) var(--delay, 0ms), transform 720ms var(--ease-out) var(--delay, 0ms);
}
.js [data-reveal="plate"] {
  opacity: 0; transform: translateY(3.5rem) scale(1.04);
  transition: opacity 700ms var(--ease-out) var(--delay, 0ms), transform 700ms var(--ease-out) var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.lw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.14em; margin: 0 -0.08em -0.14em; }
.lwi, .wwi { display: inline-block; }
.js [data-reveal="lines"] .lwi {
  transform: translateY(110%); opacity: 0;
  transition: transform 1000ms var(--ease-out), opacity 1000ms var(--ease-out);
}
.js [data-reveal="lines"].is-in .lwi { transform: none; opacity: 1; }
.js [data-reveal="words"] .wwi {
  transform: translateY(0.8rem); opacity: 0;
  transition: transform 720ms var(--ease-quart), opacity 720ms var(--ease-quart);
}
.js [data-reveal="words"].is-in .wwi { transform: none; opacity: 1; }

.no-motion [data-reveal], .no-motion [data-reveal] .lwi, .no-motion [data-reveal] .wwi {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal] .lwi, [data-reveal] .wwi { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cta__arrow, .photo-hover img, .lift { transition: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  color: #fff; mix-blend-mode: difference;
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 1.25rem 1.5rem; max-width: 120rem; margin-inline: auto;
}
@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; padding: 1.25rem 3rem; }
}
.hdr-left { display: none; }
@media (min-width: 1024px) { .hdr-left { display: block; } }
.hdr-role { font-size: 0.875rem; letter-spacing: -0.02em; }
.hdr-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.7); }

.logo { display: inline-flex; align-items: center; gap: 0.75rem; justify-self: start; }
@media (min-width: 1024px) { .site-header .logo { justify-self: center; } }
.logo__mark { width: 0.625rem; height: 0.625rem; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.logo__word { font-family: var(--serif); font-style: italic; text-transform: lowercase; font-size: 1.125rem; letter-spacing: 0.04em; white-space: nowrap; }

.hdr-right { justify-self: end; display: flex; align-items: center; gap: 2rem; }
.hdr-nav { display: none; gap: 2rem; }
@media (min-width: 1024px) { .hdr-nav { display: flex; } }
.hdr-nav a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.14em;
}
.hdr-nav .dot { width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.3s; }
.hdr-nav a:hover .dot, .hdr-nav a[aria-current="page"] .dot { opacity: 1; }

.lang { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; letter-spacing: 0.16em; }
@media (max-width: 639.98px) { .hdr-right > .lang { display: none; } }
.lang button { opacity: 0.45; text-transform: uppercase; letter-spacing: inherit; padding: 0.25rem 0; transition: opacity 0.3s; }
.lang button[aria-pressed="true"], .lang button:hover { opacity: 1; }
.lang span { opacity: 0.35; }

.menu-btn { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; }
.menu-btn__word { display: none; }
@media (min-width: 640px) { .menu-btn__word { display: inline; } }
.menu-btn__icon { display: inline-flex; flex-direction: column; gap: 0.375rem; }
.menu-btn__icon i { display: block; height: 1px; width: 1.5rem; background: #fff; }

/* ---------- Modal menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; color: #fff; visibility: hidden; pointer-events: none; }
.menu.is-open, .menu.is-closing { visibility: visible; }
.menu.is-open { pointer-events: auto; }
.menu__panel {
  position: absolute; inset: 0; background: #191917;
  transform-origin: top; transform: scaleY(0);
  transition: transform 450ms var(--ease-out);
}
.menu.is-open .menu__panel { transform: scaleY(1); transition-duration: 600ms; }
.menu__content {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 2.5rem; max-width: 120rem; margin-inline: auto;
}
@media (min-width: 1024px) { .menu__content { padding-inline: 3rem; } }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--on-dark-faint); }
.menu__close { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; transition: color 0.3s; }
.menu__close:hover { color: var(--on-dark-muted); }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.menu__link {
  display: flex; align-items: baseline; gap: 1.25rem;
  opacity: 0; transform: translateY(1.5rem);
  transition: opacity 200ms ease, transform 200ms ease;
}
.menu.is-open .menu__link {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(180ms + var(--i) * 70ms);
}
.menu__idx { width: 2rem; font-size: 0.875rem; color: var(--on-dark-muted); flex: none; }
.menu__text { font-family: var(--serif); font-size: 3rem; line-height: 1.1; letter-spacing: -0.01em; }
.menu__link:hover .menu__text, .menu__link[aria-current="page"] .menu__text { font-style: italic; }
@media (min-width: 640px) { .menu__text { font-size: 3.75rem; } }
@media (min-width: 1024px) { .menu__text { font-size: 4.5rem; } }
.menu__bottom {
  border-top: 1px dashed var(--line-on-dark); padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  opacity: 0; transition: opacity 200ms ease;
}
.menu.is-open .menu__bottom { opacity: 1; transition: opacity 700ms var(--ease-out) 600ms; }
@media (min-width: 640px) { .menu__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.menu__mail { font-size: 1.125rem; }
.menu__where { font-size: 0.875rem; color: var(--on-dark-muted); margin-top: 0.25rem; }
.menu__social { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.menu__social a { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-dark-muted); transition: color 0.3s; }
.menu__social a:hover { color: var(--on-dark); }
.menu__lang { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 8rem 1.5rem 4rem; display: flex; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 10rem 3rem 4rem; } }
.hero .grid12 { align-items: center; width: 100%; }
.hero h1 {
  max-width: 14ch; margin-top: 2rem;
  font-size: 3.75rem; line-height: 1.04;
}
@media (min-width: 640px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 6rem; } }
.hero__lead { max-width: 46ch; font-size: 1.125rem; line-height: 1.625; color: var(--ink-muted); margin-top: 2.5rem; }
.cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__facts { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.hero__facts dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hero__facts dd { font-size: 0.875rem; margin-top: 0.25rem; }
.hero__cue { margin-top: 3rem; display: flex; align-items: center; gap: 0.75rem; }
.hero__cue span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--ink-faint); }
.hero__cue i { width: 1px; height: 2.5rem; background: var(--line-strong); }

/* ---------- Statement ---------- */
.statement { padding: 7rem 1.5rem; }
@media (min-width: 1024px) { .statement { padding: 10rem 3rem; } }
.statement__inner { max-width: 80rem; margin-inline: auto; }
.statement__text { font-family: var(--serif); font-size: 1.875rem; line-height: 1.3; color: var(--ink); margin-top: 3rem; }
@media (min-width: 640px) { .statement__text { font-size: 2.25rem; } }
@media (min-width: 1024px) { .statement__text { font-size: 3rem; line-height: 1.25; } }
.signature { margin-top: 3rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-muted); }

/* ---------- Featured (zig-zag) ---------- */
.works { display: grid; gap: 4rem; margin-top: 4rem; }
@media (min-width: 1024px) {
  .works { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 0; margin-top: 6rem; }
  .work { grid-column: 1 / span 7; }
  .work:nth-child(even) { grid-column: 6 / span 7; margin-top: 6rem; }
  .work:nth-child(odd):not(:first-child) { margin-top: 2rem; }
}
.work a { display: block; }
.work figcaption {
  border-top: 1px dashed var(--line); margin-top: 1.5rem; padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
}
.work h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; color: var(--ink); letter-spacing: 0; line-height: 1.3; }
.work__medium { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.25rem; }
.work__meta { font-family: var(--serif); font-size: 1rem; color: var(--ink); white-space: nowrap; }

/* ---------- Pinned CTA ---------- */
.pinned {
  border-top: 1px dashed var(--line);
  background: var(--surface-dark); color: var(--on-dark);
  min-height: 100svh; display: flex; align-items: center;
  padding: 6rem 1.5rem; scroll-margin-top: 6rem;
}
@media (min-width: 1024px) { .pinned { padding-inline: 3rem; } }
.pinned .grid12 { align-items: center; }
.pinned__copy { max-width: 34rem; }
.pinned__copy .eyebrow { margin-bottom: 1.5rem; }
.pinned__body { margin-top: 2rem; font-size: 1.125rem; line-height: 1.625; color: var(--on-dark-muted); }
.pinned__cta { margin-top: 2.5rem; }
.pinned--center .pinned__copy { max-width: 40rem; margin-inline: auto; text-align: center; }
.pinned--center .h-mid { margin-inline: auto; }
.pinned--center .pinned__cta { display: flex; justify-content: center; }

/* ---------- Principles ---------- */
.cards3 { display: grid; gap: 2.5rem 3rem; margin-top: 4rem; }
@media (min-width: 640px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principle { border-top: 1px dashed var(--line); padding-top: 2rem; display: flex; flex-direction: column; }
.principle__idx { font-family: var(--serif); font-size: 1.5rem; }
.principle h3 { margin-top: 1.5rem; font-family: var(--sans); font-size: 1.25rem; font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.principle p { margin-top: 0.75rem; line-height: 1.625; color: var(--ink-muted); }

/* ---------- About ---------- */
.about__copy p { max-width: 52ch; line-height: 1.625; color: var(--ink-muted); }
.about__copy p + p { margin-top: 1.5rem; }
.about__h { max-width: 20ch; margin-top: 2rem; }
.photos3 { display: grid; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 640px) { .photos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .photos3 { margin-top: 5rem; } }
.photo-hover img { transition: transform 700ms var(--ease-spring-soft); }
@media (hover: hover) and (min-width: 769px) {
  .photo-hover:hover img { transform: scale(1.06); }
}
.facts4 { margin-top: 4rem; border-top: 1px dashed var(--line); padding-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
@media (min-width: 640px) { .facts4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts4 dd { margin-top: 0.5rem; }

/* ---------- Process ---------- */
@media (min-width: 1024px) { .sticky-lg { position: sticky; top: 8rem; } }
.steps li {
  border-top: 1px dashed var(--line); padding-block: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .steps li { flex-direction: row; gap: 3rem; padding-block: 3rem; } }
.steps__idx { font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--ink-faint); flex: none; min-width: 1.4em; }
@media (min-width: 640px) { .steps__idx { font-size: 6rem; } .steps__body { padding-top: 0.75rem; } }
.steps h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 500; letter-spacing: 0; }
@media (min-width: 1024px) { .steps h3 { font-size: 1.875rem; } }
.steps p { margin-top: 1rem; max-width: 48ch; font-size: 1.125rem; line-height: 1.625; color: var(--ink-muted); }

/* ---------- Offer (acquire) ---------- */
.offer-head { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .offer-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.offer-head__lead { max-width: 42ch; line-height: 1.625; color: var(--ink-muted); }
.offers { display: grid; gap: 3.5rem 2.5rem; margin-top: 4rem; }
@media (min-width: 640px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.offer { scroll-margin-top: 7rem; }
.offer a { display: block; }
.lift { transition: transform 600ms var(--ease-spring); }
@media (hover: hover) and (min-width: 769px) {
  .offer a:hover .lift { transform: translateY(-0.75rem); }
}
.offer__info {
  border-top: 1px dashed var(--line); margin-top: 1.5rem; padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
}
.offer h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.offer__medium { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.5rem; }
.offer__edition { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-faint); margin-top: 0.25rem; }
.offer__price { font-family: var(--serif); font-size: 1.25rem; text-align: right; white-space: nowrap; }
.offer__per { display: block; font-family: var(--sans); font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.25rem; }
.center-cta { margin-top: 4rem; display: flex; justify-content: center; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 2.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { border-top: 1px dashed var(--line); padding-top: 2rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.625; }
@media (min-width: 1024px) { .quote blockquote { font-size: 1.5rem; } }
.quote figcaption { margin-top: 2.5rem; }
.quote__role { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.25rem; }
.placeholder-note { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-faint); margin-top: 3rem; }

/* ---------- Venues / goals list ---------- */
.venues { display: grid; }
@media (min-width: 640px) { .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) { .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.venues li { border-top: 1px dashed var(--line); padding-block: 1.5rem; display: flex; align-items: baseline; gap: 1.25rem; }
.venues__idx { font-family: var(--serif); font-size: 0.875rem; color: var(--ink-muted); }
.venues__name { font-family: var(--serif); font-size: 1.25rem; }
@media (min-width: 1024px) { .venues__name { font-size: 1.5rem; } }

/* ---------- Credentials ---------- */
.cred-list li { border-top: 1px dashed var(--line); padding-block: 1.5rem; }
.cred-list li:last-child { border-bottom: 1px dashed var(--line); }
.cred-list h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.cred-list p { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.35rem; }
.cert-link { display: block; }
.cert-link .plate { background: #fff; outline: 1px dashed var(--line); outline-offset: -1px; }
.cert-link .plate img { object-fit: contain; filter: grayscale(1); transition: filter 0.6s var(--ease-out); }
@media (hover: hover) { .cert-link:hover .plate img { filter: none; } }
.cert-caption { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq-row { border-top: 1px dashed var(--line); }
.faq-row:last-child { border-bottom: 1px dashed var(--line); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2rem; text-align: left; }
.faq-q { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
@media (min-width: 1024px) { .faq-q { font-size: 1.5rem; } }
.faq-plus { font-size: 1.5rem; line-height: 1; flex: none; transition: transform 450ms var(--ease-spring); font-family: var(--sans); font-weight: 300; }
.faq-btn[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-panel { height: 0; opacity: 0; overflow: hidden; transition: height 550ms var(--ease-out), opacity 550ms var(--ease-out); }
.faq-panel.is-open { opacity: 1; }
.faq-panel p { padding-bottom: 2.5rem; max-width: 60ch; font-size: 1.125rem; line-height: 1.625; color: var(--ink-muted); }
.faq-h3 { font: inherit; letter-spacing: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: #191917; color: #fff; padding: 6rem 1.5rem 3rem; }
@media (min-width: 1024px) { .site-footer { padding-inline: 3rem; } }
.footer-top { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
  .footer-brand { grid-column: span 5; }
  .footer-col { grid-column: span 2; }
  .footer-col--wide { grid-column: span 3; }
}
.footer-tagline { margin-top: 1.5rem; max-width: 28ch; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: var(--on-dark-muted); }
.footer-mail { display: inline-block; margin-top: 2rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-dark); transition: color 0.3s; word-break: break-all; }
.footer-mail:hover { color: var(--on-dark-muted); }
.footer-col__title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--on-dark-faint); }
.footer-col ul { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.footer-col a { color: var(--on-dark-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-giant { margin-top: 6rem; overflow: hidden; text-align: center; }
.footer-giant span {
  display: block; font-family: var(--sans); font-weight: 900; text-transform: uppercase;
  font-size: 13.5vw; line-height: 0.8; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.footer-legal {
  margin-top: 3rem; border-top: 1px dashed var(--line-on-dark); padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem; justify-content: space-between;
  font-size: 0.875rem; color: var(--on-dark-faint);
}
@media (min-width: 640px) { .footer-legal { flex-direction: row; } }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: var(--on-dark-muted); }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.muted { color: var(--ink-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-link { border-bottom: 1px dashed var(--line-strong); transition: border-color 0.3s; }
.text-link:hover { border-bottom-color: var(--ink); }
.about__copy .about__aside { margin-top: 2rem; font-size: 0.875rem; }
@media (min-width: 768px) { .quotes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; } }

/* ---------- Tips (blog) ---------- */
.tips-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }
.tips-tags button { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; padding: 0.45rem 0.9rem; border: 1px dashed var(--line-strong); }
.tips-tags button[aria-pressed="true"] { background: var(--ink); color: #fff; border-style: solid; }
.tips-grid { display: grid; gap: 3rem 2rem; margin-top: 4rem; }
@media (min-width: 760px) { .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tip { display: grid; gap: 0.85rem; align-content: start; border-top: 1px dashed var(--line); padding-top: 1.5rem; }
.tip .plate { margin-bottom: 0.5rem; }
.tip__meta { display: flex; gap: 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-muted); }
.tip__title { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; transition: opacity 0.3s; }
.tip:hover .tip__title { opacity: 0.7; }
.tip__summary { color: var(--ink-muted); line-height: 1.6; }
.tip__more { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; }
.tips-empty { margin-top: 4rem; color: var(--ink-muted); border-top: 1px dashed var(--line); padding-top: 1.5rem; }
.post { max-width: 46rem; }
.post__back { display: inline-block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 3rem; }
.post__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 1.25rem 0 1.5rem; }
.post__lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-muted); }
.post__cover { margin-top: 2.5rem; }
.post__body { margin-top: 2.5rem; font-size: 1.1rem; line-height: 1.75; }
.post__body p, .post__body ul { margin-bottom: 1.25rem; }
.post__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.post__body ul { padding-left: 1.25rem; list-style: none; }
.post__body li { position: relative; margin-bottom: 0.45rem; }
.post__body li::before { content: ""; position: absolute; left: -1.1rem; top: 0.8em; width: 0.5rem; height: 1px; background: var(--ink); }
.tips-cta { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .tips-cta { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.tips-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Level test ---------- */
.lt { min-height: 80svh; }
.lt-intro { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .lt-intro { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.lt-intro__side { display: grid; gap: 1.75rem; justify-items: start; }
.lt-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }
.lt-facts li::before { content: "— "; color: var(--ink-faint); }
.lt-note { font-size: 0.9rem; color: var(--ink-muted); max-width: 46ch; line-height: 1.6; }
.lt-run { max-width: 46rem; margin-inline: auto; }
.lt-run__top { display: grid; gap: 1rem; }
.lt-bar { height: 2px; background: var(--line); }
.lt-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.5s var(--ease-out); }
.lt-q { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.25; margin: 3rem 0 2.5rem; min-height: 2.6em; }
.lt-gap { display: inline-block; color: var(--ink-faint); letter-spacing: 0.05em; }
.lt-opts { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .lt-opts { grid-template-columns: 1fr 1fr; } }
.lt-opt { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1.1rem 1.25rem; border: 1px solid var(--line-strong); font-size: 1.1rem; transition: border-color 0.2s, background 0.2s, transform 0.4s var(--ease-spring-soft); }
.lt-opt:hover, .lt-opt:focus-visible { border-color: var(--ink); transform: translateY(-2px); outline: none; }
.lt-opt.is-picked { background: var(--ink); color: #fff; border-color: var(--ink); }
.lt-opt__key { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink-faint); width: 1.4rem; height: 1.4rem; border: 1px solid currentColor; display: grid; place-items: center; flex: none; }
.lt-opt.is-picked .lt-opt__key { color: rgba(255, 255, 255, 0.7); }
.lt-run__foot { display: flex; justify-content: space-between; margin-top: 2.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-muted); }
.lt-result { max-width: 46rem; display: grid; gap: 1.25rem; justify-items: start; }
.lt-level { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 0.9; animation: lt-pop 0.9s var(--ease-spring) both; }
.lt-desc { font-size: 1.3rem; line-height: 1.55; max-width: 36ch; }
.lt-score { color: var(--ink-muted); }
.lt-result__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
@keyframes lt-pop { from { opacity: 0; transform: translateY(1.5rem) scale(0.92); } to { opacity: 1; transform: none; } }
.no-motion .lt-level { animation: none; }

/* The hidden attribute always wins over display rules. */
[hidden] { display: none !important; }

/* ---------- 2026-10-19: smaller pictures, course details ---------- */
/* Pictures a little smaller across the site. */
@media (min-width: 1024px) {
  .hero .lg-start-7 .plate { max-width: 34rem; margin-left: auto; }
  .work { grid-column: 1 / span 6; }
  .work:nth-child(even) { grid-column: 7 / span 6; }
  .pinned .lg-start-8 .plate { max-width: 28rem; margin-left: auto; }
  .offers { column-gap: 4rem; }
}
.works .plate { aspect-ratio: 16 / 11; }
.offer .plate { aspect-ratio: 16 / 10; }
.photos3 .plate { aspect-ratio: 16 / 10; }

.offer__list { margin-top: 1rem; display: grid; gap: 0.4rem; font-size: 0.875rem; color: var(--ink); }
.offer__list li { position: relative; padding-left: 1.1rem; line-height: 1.45; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.55rem; height: 1px; background: var(--ink); }

.cmp-wrap { margin-top: 3.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.9rem; line-height: 1.45; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 1rem 1.25rem 1rem 0; border-top: 1px dashed var(--line-strong); }
.cmp thead th { border-top: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; padding-bottom: 1.25rem; }
.cmp tbody th { font-weight: 400; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-muted); width: 11rem; padding-top: 1.2rem; }
.cmp tbody tr:last-child > * { border-bottom: 1px dashed var(--line-strong); }

.pinned__cta { flex-wrap: wrap; }
.pinned__more { flex-basis: 100%; margin-top: 1.5rem; font-size: 0.9rem; }
.text-link--light { color: var(--on-dark-muted); border-bottom-color: var(--line-on-dark); }
.text-link--light:hover { color: var(--on-dark); border-bottom-color: var(--on-dark); }
