/* ==========================================================================
   Daniel Barranco · Traductor
   Sistema visual: "documento bilingüe" — tinta, papel y texto en paralelo.
   ========================================================================== */

:root {
  --ink:        #0D1117;
  --ink-2:      #121821;
  --ink-3:      #1A212B;
  --vellum:     #F2ECDE;
  --vellum-2:   #E4DAC4;
  --vellum-ink: #2A2620;
  --text:       #E9EBEF;
  --muted:      #8A94A4;
  --gold:       #C9A227;
  --gold-lift:  #E2BF52;
  --gold-soft:  rgba(201, 162, 39, 0.12);
  --line:       #232B36;
  --danger:     #E8705C;

  --display: 'Bodoni Moda', Georgia, serif;
  --body:    'Archivo', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --radius: 4px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sectionpad: clamp(4.5rem, 9vw, 8rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1em; }

a { color: inherit; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.container { width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-lift);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 0.75rem 1.25rem;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.anchor { display: block; height: 0; scroll-margin-top: 120px; }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible[data-stagger] > *,
[data-reveal].is-visible [data-stagger] > * { opacity: 1; transform: none; }
[data-reveal].is-visible[data-stagger] > *:nth-child(2) { transition-delay: 0.10s; }
[data-reveal].is-visible[data-stagger] > *:nth-child(3) { transition-delay: 0.20s; }
[data-reveal].is-visible[data-stagger] > *:nth-child(4) { transition-delay: 0.30s; }
[data-reveal].is-visible[data-stagger] > *:nth-child(5) { transition-delay: 0.40s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem 0;
}
.site-header__logo { text-decoration: none; display: grid; gap: 0.1rem; margin-right: auto; }
.site-header__name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.site-header__role { color: var(--muted); font-size: 0.62rem; }

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--text);
  padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--gold-lift); border-bottom-color: var(--gold); }

.lang-switcher { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switcher__pill {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.lang-switcher__pill:hover { color: var(--text); }
.lang-switcher__pill.is-active { background: var(--gold); color: var(--ink); }

/* ==========================================================================
   Hero — declaración trilingüe (elemento firma)
   ========================================================================== */
/* Hero: una sola pantalla. La foto va a sangre con Daniel a la derecha y se
   funde a tinta hacia la izquierda para que el texto siempre sea legible. */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h, 82px));
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__visual { position: absolute; inset: 0; background: var(--ink); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(13,17,23,0.92) 45%, rgba(13,17,23,0.55) 62%, rgba(13,17,23,0.12) 82%, rgba(13,17,23,0) 100%),
    linear-gradient(180deg, rgba(13,17,23,0.55) 0%, rgba(13,17,23,0) 22%, rgba(13,17,23,0) 62%, rgba(13,17,23,0.9) 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto;
  padding: clamp(2rem, 5vh, 3.5rem) 0;
}
.hero__main { max-width: 660px; }

.hero__meta { color: var(--muted); margin: 0 0 clamp(1.1rem, 2.5vh, 1.75rem); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__meta-sep { color: var(--gold); }

.hero__declaration { margin: 0 0 clamp(1.1rem, 2.5vh, 1.6rem); font-weight: 500; }

.tri {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0 0.9rem; align-items: baseline;
  padding: clamp(0.5rem, 1.1vh, 0.8rem) 0;
  border-top: 1px solid var(--line);
}
.tri:last-child { border-bottom: 1px solid var(--line); }
.tri__tag { color: var(--muted); font-size: 0.68rem; transition: color 0.4s ease; }
.tri__text {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.95vw, 1.7rem);
  line-height: 1.22;
  color: var(--muted);
  opacity: 0.42;
  font-style: italic;
  font-weight: 500;
  transition: color 0.4s ease, opacity 0.4s ease;
}
:root[lang="es"] .tri[data-lang="es"] .tri__text,
:root[lang="en"] .tri[data-lang="en"] .tri__text,
:root[lang="fr"] .tri[data-lang="fr"] .tri__text {
  color: var(--text); opacity: 1; font-style: normal; font-weight: 600;
}
:root[lang="es"] .tri[data-lang="es"] .tri__tag,
:root[lang="en"] .tri[data-lang="en"] .tri__tag,
:root[lang="fr"] .tri[data-lang="fr"] .tri__tag { color: var(--gold); }

.hero__lede { max-width: 52ch; color: #B9C0CC; font-size: clamp(0.98rem, 1.2vw, 1.05rem); margin-bottom: clamp(1rem, 2.2vh, 1.5rem); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0 0 clamp(1.1rem, 2.5vh, 1.75rem); }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  font-size: 0.85rem; color: var(--text); background: var(--ink-2);
}
.chip__code {
  background: var(--gold-soft); color: var(--gold-lift);
  padding: 0.15rem 0.45rem; border-radius: 999px; font-size: 0.64rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.button {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; border: 1px solid transparent;
  cursor: pointer; font-family: var(--body);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button--primary { background: var(--gold); color: var(--ink); }
.button--primary:hover { background: var(--gold-lift); transform: translateY(-2px); }
.button--ghost { border-color: var(--line); color: var(--text); }
.button--ghost:hover { border-color: var(--gold); color: var(--gold-lift); transform: translateY(-2px); }

.field { display: grid; gap: 0.15rem; }
.field dt { color: var(--muted); font-size: 0.62rem; }
.field dd { margin: 0; font-size: 0.86rem; line-height: 1.35; }

/* Pares de idiomas — franja bajo el hero */
.pairs {
  width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto;
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.pairs__label { color: var(--gold); margin: 0; font-size: 0.66rem; }
.pairs__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  padding: 0; margin: 0; color: var(--muted); font-size: 0.75rem;
}
.pairs__list li { white-space: nowrap; }
.pairs__list span { color: var(--gold); padding: 0 0.15rem; }

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: var(--sectionpad) 0; scroll-margin-top: 84px; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow { color: var(--gold); margin: 0 0 0.9rem; }
.section__lede { color: var(--muted); max-width: 58ch; margin: 0; }
.note { color: var(--muted); margin: 2.5rem 0 0; font-size: 0.66rem; line-height: 1.8; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--ink); display: flex; flex-direction: column; transition: background 0.3s ease; }
.service:hover { background: var(--ink-3); }
.service__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.service__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transition: transform 0.7s ease, filter 0.5s ease; }
.service:hover .service__photo img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.service__body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { margin-bottom: 0.5rem; }
.service__body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.25rem; }
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: auto 0 0; }
.taglist li { border: 1px solid var(--line); padding: 0.25rem 0.55rem; color: var(--muted); font-size: 0.6rem; }

/* ==========================================================================
   Credenciales — el papel real
   ========================================================================== */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cred { border: 1px solid var(--line); background: var(--ink); display: flex; flex-direction: column; }
.cred[hidden] { display: none; }

.cred__doc {
  position: relative; display: block; width: 100%; padding: 1.1rem;
  background: var(--vellum); border: 0; border-bottom: 1px solid var(--line);
  cursor: zoom-in; overflow: hidden;
}
.cred__doc img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: top center;
  transition: transform 0.5s ease;
}
.cred__doc:hover img { transform: scale(1.03); }
.cred__zoom {
  position: absolute; right: 0.9rem; bottom: 0.9rem;
  background: var(--vellum-ink); color: var(--vellum);
  padding: 0.35rem 0.7rem; font-size: 0.6rem;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.cred__doc:hover .cred__zoom, .cred__doc:focus-visible .cred__zoom { opacity: 1; transform: none; }

.cred__info { padding: 1.5rem 1.4rem 1.6rem; }
.cred__lang { color: var(--gold); margin: 0 0 0.4rem; font-size: 0.66rem; }
.cred__info h3 { margin-bottom: 1.1rem; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

.cefr { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 0; margin: 0 0 1.5rem; }
.cefr li {
  font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.06em; text-align: center;
  padding: 0.4rem 0.1rem; background: var(--ink-3); color: var(--muted); border-bottom: 2px solid var(--line);
}
.cefr .is-level { background: var(--gold); color: var(--ink); font-weight: 500; border-bottom-color: var(--gold-lift); }

.cred__fields { display: grid; gap: 0.75rem; }
.cred__fields dt { color: var(--muted); font-size: 0.6rem; }
.cred__fields dd {
  margin: 0; font-family: var(--body); font-size: 0.88rem;
  letter-spacing: 0; text-transform: none; line-height: 1.4;
}

/* ==========================================================================
   Trabajo real — texto en paralelo
   ========================================================================== */
.samples { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.sample { border: 1px solid var(--line); background: var(--ink-3); }

.sample__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line);
}
.sample__head h3 { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.sample__pair { color: var(--gold); font-size: 0.66rem; white-space: nowrap; }

.sample__cols { display: grid; grid-template-columns: 1fr 1fr; }
.sample__col { padding: 1.5rem; }
.sample__col + .sample__col { border-left: 1px solid var(--line); }
.sample__col--target { background: rgba(201, 162, 39, 0.035); }
.sample__col-label { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.6rem; }
.sample__col--target .sample__col-label { color: var(--gold); }
.sample__col p:last-child { margin: 0; color: var(--text); font-size: 0.93rem; line-height: 1.72; }

.sample__doc {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: 0.9rem 1.5rem; background: transparent; border: 0; border-top: 1px solid var(--line);
  cursor: zoom-in; color: var(--muted); text-align: left; transition: background 0.25s ease, color 0.25s ease;
}
.sample__doc:hover { background: var(--ink-2); color: var(--gold-lift); }
.sample__doc[hidden] { display: none; }
.sample__doc img {
  width: 56px; height: 42px; object-fit: cover; object-position: top left;
  background: var(--vellum); border: 1px solid var(--line); flex: none;
}
.sample__doc span { font-size: 0.63rem; }

/* ==========================================================================
   Clases
   ========================================================================== */
/* La foto alta ocupa la columna izquierda completa; las otras dos se apilan
   a la derecha, así la retícula no deja huecos. */
.classes { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.classes__shot { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
/* Las dos fotos apiladas fijan la altura de fila; la alta ocupa las dos. */
.classes__shot:not(.classes__shot--tall) { aspect-ratio: 3 / 2; }
.classes__shot--tall { grid-row: span 2; }
.classes__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.classes__shot:hover img { transform: scale(1.04); }
.classes__shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.9rem; font-size: 0.6rem; color: var(--text);
  background: linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(13,17,23,0.9) 100%);
}

/* ==========================================================================
   Proceso
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.step { background: var(--ink); padding: 1.75rem 1.5rem 2rem; }
.step__n { display: block; color: var(--gold); font-size: 0.8rem; margin-bottom: 1.75rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Criterio humano
   ========================================================================== */
.statement { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; background: var(--ink-2); border-block: 1px solid var(--line); }
.statement__visual { position: relative; overflow: hidden; min-height: 60vh; }
.statement__visual img { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.statement__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,23,0.25) 0%, rgba(18,24,33,0.85) 100%); }
.statement__text { align-self: center; margin-inline: auto; padding: clamp(3rem, 7vw, 5rem); max-width: 62ch; }
.statement__text h2 { margin-bottom: 1.2rem; }
.statement__text p { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.1rem); }
.statement__text p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Sobre mí
   ========================================================================== */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__visual { border: 1px solid var(--line); overflow: hidden; }
.about__visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about__text p { color: var(--muted); }
.about__text p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-form { display: grid; gap: 1.1rem; }
.formrow { display: grid; gap: 0.4rem; }
.contact-form label { color: var(--muted); font-size: 0.62rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--body); font-size: 0.95rem; color: var(--text);
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; width: 100%; transition: border-color 0.2s ease;
}
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: #33404f; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { justify-self: start; margin-top: 0.4rem; }
.contact-status { min-height: 1.4em; font-size: 0.9rem; font-weight: 500; margin: 0; color: var(--gold-lift); }
.contact-status.is-error { color: var(--danger); }

.contact-alt { border: 1px solid var(--line); padding: 1.5rem 1.4rem; background: var(--ink); }
.contact-alt__label { color: var(--gold); margin: 0 0 1.25rem; font-size: 0.62rem; }
.contact-alt__link { display: grid; gap: 0.2rem; text-decoration: none; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.contact-alt__kind { color: var(--muted); font-size: 0.6rem; }
.contact-alt__value { font-size: 0.95rem; transition: color 0.2s ease; word-break: break-word; }
.contact-alt__link:hover .contact-alt__value { color: var(--gold-lift); }
.contact-alt__note { color: var(--muted); font-size: 0.82rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.site-footer__inner { display: grid; gap: 0.5rem; text-align: center; }
.site-footer__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; margin: 0; }
.site-footer__inner p.mono { color: var(--muted); margin: 0; font-size: 0.62rem; }
.site-footer__rights { opacity: 0.7; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 11, 15, 0.94); padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__content { margin: 0; max-width: 1000px; width: 100%; }
.lightbox__image {
  width: 100%; max-height: 78vh; object-fit: contain;
  background: var(--vellum); padding: clamp(0.5rem, 1.5vw, 1rem);
}
.lightbox__caption { text-align: center; color: var(--muted); margin-top: 1rem; font-size: 0.66rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: transparent; border: 0; color: var(--text);
  cursor: pointer; line-height: 1; padding: 0.5rem;
}
.lightbox__close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); font-size: 2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 1.75rem; }
.lightbox__nav--prev { left: clamp(0.25rem, 1.5vw, 1.25rem); }
.lightbox__nav--next { right: clamp(0.25rem, 1.5vw, 1.25rem); }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--gold-lift); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  /* En vertical el encuadre se corre a la derecha, que es donde está Daniel en
     la imagen 16:9; el texto va arriba sobre tinta y él asoma abajo. */
  .hero { min-height: auto; padding: clamp(2rem, 6vw, 3rem) 0 clamp(7rem, 26vw, 11rem); }
  .hero__visual img { object-position: 88% 16%; }
  .hero__visual::after {
    background:
      linear-gradient(180deg, rgba(13,17,23,0.95) 0%, rgba(13,17,23,0.9) 34%, rgba(13,17,23,0.62) 52%, rgba(13,17,23,0.3) 72%, rgba(13,17,23,0.88) 100%);
  }
  .statement { grid-template-columns: 1fr; }
  .statement__visual { min-height: 52vw; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; padding: 0.75rem 0; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 0.7rem; }
  .site-nav a { font-size: 0.82rem; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tri { grid-template-columns: 1fr; gap: 0.35rem; }
  .sample__cols { grid-template-columns: 1fr; }
  .sample__col + .sample__col { border-left: 0; border-top: 1px solid var(--line); }
  .classes { grid-template-columns: 1fr; }
  .classes__shot--tall { grid-row: auto; aspect-ratio: 4 / 5; }
  .cefr li { font-size: 0.55rem; letter-spacing: 0; }
  .hero__actions .button { flex: 1 1 100%; text-align: center; }
  .pairs { gap: 0.75rem; }
  .pairs__list { gap: 0.4rem 1rem; font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; }
}
