/* ============================================================
   Solo Sé — circulosolose.com
   Estética sumi-e: papel envejecido, tinta, un solo acento bermellón.
   Regla de movimiento: calmar, no excitar (transiciones lentas, deriva suave).
   Tokens del sistema de diseño de Claude Design (design-import/_ds/).
   ============================================================ */

:root {
  /* ---- Paleta ---- */
  --paper-1: #FCF7EF;
  --paper-2: #ECDED0;
  --gold-light: #F2D8B6;
  --vermillion: #D12414;
  --vermillion-dim: #B31E10;
  --wash-1: #AA9E93;
  --wash-2: #8F847A;
  --brown-1: #6C5D4E;
  --brown-2: #8B755F;
  --ink-1: #272522;
  --ink-2: #1F1C18;

  --surface-page: var(--paper-1);
  --surface-section-alt: var(--paper-2);
  --text-heading: var(--ink-2);
  --text-body: var(--ink-1);
  --text-muted: var(--brown-1);
  --text-faint: var(--wash-2);
  --text-on-dark: var(--paper-1);
  --accent: var(--vermillion);
  --border-hairline: rgba(39, 37, 34, 0.14);
  --border-strong: var(--wash-2);
  --focus-ring: rgba(209, 36, 20, 0.35);

  /* ---- Tipografía ---- */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-label: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --tracking-label: 0.16em;
  --tracking-label-wide: 0.24em;

  /* ---- Ritmo ---- */
  --section-padding-y: clamp(4.5rem, 8vw, 9rem);
  --section-padding-x: clamp(1.5rem, 6vw, 6rem);
  --content-max-width: 46rem;
  --content-max-width-wide: 68rem;
  --radius-md: 3px;

  /* ---- Movimiento ---- */
  --ease-calm: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-slow: 1400ms;
  --duration-medium: 800ms;
  --duration-fast: 400ms;
}

/* ============ Base ============ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font: 400 1.15rem/1.75 var(--font-serif-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(209, 36, 20, 0.14); }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Enlace para saltar al contenido (accesibilidad) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink-2);
  color: var(--paper-1);
  padding: 12px 20px;
  font: 500 0.8rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Las secciones ancladas no quedan bajo la cabecera fija */
section[id] { scroll-margin-top: 76px; }

/* ============ Cabecera ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 6vw, 64px);
  background: rgba(252, 247, 239, 0);
  border-bottom: 1px solid rgba(39, 37, 34, 0);
  transition: background 600ms var(--ease-calm), border-color 600ms var(--ease-calm);
}

.site-header.is-scrolled {
  background: rgba(252, 247, 239, 0.94);
  border-bottom-color: var(--border-hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-name {
  font: 600 0.8rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
  color: var(--ink-2);
}

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vermillion);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brown-1);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-calm);
}

.site-nav a:hover { color: var(--vermillion); }

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 12px;
  }
  .site-nav {
    justify-content: center;
    gap: 18px;
  }
}

/* ============ Hero ============ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-page);
  padding: 150px 24px 72px;
  position: relative;
  overflow: hidden;
}

.leaves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.leaf { position: absolute; left: -30px; }
.leaf svg { display: block; }
.leaf-1 { top: 16%; opacity: 0.35; }
.leaf-2 { top: 30%; opacity: 0.22; }
.leaf-3 { top: 52%; opacity: 0.4; }
.leaf-4 { top: 66%; opacity: 0.26; }
.leaf-5 { top: 40%; opacity: 0.18; }

.hero-emblem {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-halo {
  position: absolute;
  width: 190%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 216, 182, 0.55) 0%, rgba(242, 216, 182, 0.22) 42%, rgba(252, 247, 239, 0) 68%);
  pointer-events: none;
}

.hero-avatar {
  position: relative;
  width: 200px;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
}

.hero h1 {
  font: 400 clamp(3rem, 7vw, 5.5rem)/1.05 var(--font-display);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  margin: 64px 0 0;
  max-width: 16em;
  position: relative;
  z-index: 1;
}

.hero h1 .dot {
  width: 0.13em; height: 0.13em;
  margin-left: 0.14em;
}

.hero-tagline {
  font: 400 1.375rem/1.7 var(--font-serif-body);
  color: var(--brown-1);
  max-width: 31rem;
  margin: 30px auto 0;
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}

/* Entrada del hero (solo si se permite el movimiento) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ssReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes ssLeafA {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    30% { transform: translate3d(28vw, -3vh, 0) rotate(140deg); }
    60% { transform: translate3d(62vw, 2vh, 0) rotate(255deg); }
    100% { transform: translate3d(115vw, -2vh, 0) rotate(420deg); }
  }
  @keyframes ssLeafB {
    0% { transform: translate3d(0, 0, 0) rotate(40deg); }
    35% { transform: translate3d(34vw, 3vh, 0) rotate(190deg); }
    70% { transform: translate3d(74vw, -3vh, 0) rotate(310deg); }
    100% { transform: translate3d(115vw, 2vh, 0) rotate(470deg); }
  }
  .hero-emblem { animation: ssReveal var(--duration-slow) var(--ease-calm) 100ms both; }
  .hero h1 { animation: ssReveal var(--duration-slow) var(--ease-calm) 400ms both; }
  .hero-tagline { animation: ssReveal var(--duration-slow) var(--ease-calm) 700ms both; }
  .leaf-1 { animation: ssLeafA 26s linear -4s infinite; }
  .leaf-2 { animation: ssLeafB 34s linear -19s infinite; }
  .leaf-3 { animation: ssLeafA 23s linear -12s infinite; }
  .leaf-4 { animation: ssLeafB 29s linear -25s infinite; }
  .leaf-5 { animation: ssLeafA 37s linear -31s infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============ Revelado al hacer scroll ============ */

/* Solo se ocultan los elementos si hay JavaScript y se permite el movimiento */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 1200ms var(--ease-calm) var(--reveal-delay, 0ms),
      transform 1200ms var(--ease-calm) var(--reveal-delay, 0ms);
  }
  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============ Secciones ============ */

.section {
  background: var(--surface-page);
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section--bordered { border-top: 1px solid var(--border-hairline); }
.section--alt { background: var(--surface-section-alt); }
.section--dark { background: var(--ink-2); }

.section-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-inner--wide { max-width: var(--content-max-width-wide); }
.section-inner--medium { max-width: 56rem; }

.section-label {
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.section--dark .section-label { color: rgba(252, 247, 239, 0.55); }

/* ============ El origen ============ */

.origen-quote {
  font: 400 clamp(2.4rem, 5vw, 4rem)/1.2 var(--font-display);
  color: var(--ink-2);
  margin: 26px 0 0;
  text-wrap: balance;
}

.origen-body {
  font: 400 1.375rem/1.7 var(--font-serif-body);
  color: var(--ink-1);
  max-width: 34rem;
  margin: 34px 0 0;
  text-wrap: pretty;
}

.origen-names { margin-top: 56px; }

.origen-names-intro {
  font: 400 1.15rem/1.75 var(--font-serif-body);
  color: var(--brown-1);
  margin: 0;
}

.palabra-wrap {
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.palabra {
  font: 400 italic clamp(2rem, 4vw, 3rem)/1.2 var(--font-display);
  color: var(--vermillion);
  opacity: 1;
  transition: opacity 1100ms var(--ease-calm);
}

.palabra.is-fading { opacity: 0; }

.origen-names-outro {
  font: 400 1rem/1.65 var(--font-serif-body);
  color: var(--wash-2);
  margin: 8px 0 0;
}

/* ============ El gesto ============ */

.gesto-heading {
  font: 500 clamp(1.8rem, 4vw, 2.75rem)/1.25 var(--font-display);
  color: var(--ink-2);
  margin: 26px 0 0;
  text-wrap: balance;
  max-width: 22em;
}

.gesto-figure {
  position: relative;
  width: min(100%, 1040px);
  margin: clamp(40px, 6vw, 72px) 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Viñeta de papel alrededor de la ilustración */
.gesto-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px 50px var(--paper-1);
  pointer-events: none;
  z-index: 1;
}

.gesto-figure img { width: 100%; display: block; }

.momentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 44px);
  margin-top: clamp(48px, 6vw, 80px);
  width: 100%;
}

.momento { text-align: center; }

.momento-numeral {
  font: 400 2rem/1 "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", serif;
  color: var(--wash-1);
}

.momento h3 {
  font: 500 1.6rem/1.25 var(--font-display);
  color: var(--ink-2);
  margin: 18px 0 0;
}

.momento p {
  font: 400 1.05rem/1.7 var(--font-serif-body);
  color: var(--brown-1);
  margin: 12px auto 0;
  max-width: 17rem;
  text-wrap: pretty;
}

.gesto-nota {
  font: 400 italic 1.1rem/1.8 var(--font-serif-body);
  color: var(--wash-2);
  max-width: 36rem;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-hairline);
  text-align: center;
  text-wrap: pretty;
}

/* ============ Los temas ============ */

.temas-list { margin-top: clamp(36px, 5vw, 56px); width: 100%; text-align: left; }

.tema {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 17px 4px;
  border-top: 1px solid var(--border-hairline);
}

.temas-list::after {
  content: '';
  display: block;
  border-top: 1px solid var(--border-hairline);
}

.tema-num {
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  color: var(--wash-1);
  flex-shrink: 0;
  min-width: 2ch;
}

.tema-nombre {
  font: 400 1.2rem/1.6 var(--font-serif-body);
  color: var(--ink-1);
}

/* Encabezados genéricos de sección clara */

.section-heading {
  font: 500 clamp(1.8rem, 4vw, 2.75rem)/1.25 var(--font-display);
  color: var(--ink-2);
  margin: 26px 0 0;
}

.section-sub {
  font: 400 1.15rem/1.75 var(--font-serif-body);
  color: var(--brown-1);
  max-width: 32rem;
  margin: 20px auto 0;
  text-wrap: pretty;
}

/* ============ Un minuto de presencia ============ */

.section--dark .section-heading { color: var(--paper-1); }

.section--dark .section-sub { color: rgba(252, 247, 239, 0.72); max-width: 30rem; }

.breath-stage {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 52px);
}

.breath-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(252, 247, 239, 0.4);
  background: radial-gradient(circle, rgba(242, 216, 182, 0.16) 0%, rgba(242, 216, 182, 0.05) 55%, transparent 75%);
  transform: scale(var(--breath-scale, 1));
  transition: transform var(--breath-ms, 600ms) cubic-bezier(0.37, 0, 0.63, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .breath-circle { transition: none; transform: none; }
}

.breath-label {
  font: 400 italic 1.3rem/1.4 var(--font-serif-body);
  color: rgba(252, 247, 239, 0.85);
  opacity: 0;
  transition: opacity 900ms var(--ease-calm);
}

.breath-label.is-on { opacity: 1; }

.breath-controls {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 8px;
}

.breath-timer {
  font: 500 0.8rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  color: rgba(252, 247, 239, 0.45);
}

.breath-done {
  font: 400 italic 1.15rem/1.6 var(--font-serif-body);
  color: rgba(252, 247, 239, 0.8);
  margin: 0;
}

/* Botón sobre fondo oscuro */
.btn-dark-ghost {
  background: transparent;
  border: 1px solid rgba(252, 247, 239, 0.45);
  color: var(--paper-1);
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font: 500 0.8rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-calm), opacity var(--duration-fast);
}

.btn-dark-ghost:hover { border-color: rgba(252, 247, 239, 0.9); }
.btn-dark-ghost:active { opacity: 0.8; }

.btn-dark-text {
  background: transparent;
  border: none;
  color: rgba(252, 247, 239, 0.55);
  padding: 6px 10px;
  font: 500 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-calm);
}

.btn-dark-text:hover { color: var(--paper-1); }

[hidden] { display: none !important; }

/* ============ El canal ============ */

.canal-media {
  width: min(100%, 880px);
  margin-top: clamp(36px, 5vw, 56px);
}

.canal-placeholder,
.canal-poster {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  width: 100%;
}

.canal-poster { cursor: pointer; }

.canal-placeholder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.9;
}

.canal-placeholder-avatar img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
}

.canal-placeholder-text {
  font: 400 italic 1.15rem/1.6 var(--font-serif-body);
  color: var(--brown-1);
  margin: 0;
}

.canal-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}

.canal-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

.canal-cta { margin-top: 40px; }

/* Botón fantasma del sistema de diseño */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font: 500 0.8rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-calm), color var(--duration-medium) var(--ease-calm), border-color var(--duration-medium) var(--ease-calm);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost:active { opacity: 0.8; }

/* ============ La comunidad ============ */

.section--alt .origen-body { color: var(--ink-1); max-width: 33rem; margin-top: 22px; }

.comunidad-form-wrap {
  width: min(100%, 480px);
  margin-top: clamp(32px, 5vw, 48px);
}

.comunidad-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.comunidad-form input[type="email"] {
  flex: 1 1 240px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--wash-2);
  padding: 12px 4px;
  font: 400 1.15rem/1.4 var(--font-serif-body);
  color: var(--ink-1);
  outline: none;
  border-radius: 0;
  transition: border-color var(--duration-fast) var(--ease-calm);
}

.comunidad-form input[type="email"]:focus { border-bottom-color: var(--vermillion); }

.comunidad-form input[type="email"]::placeholder { color: var(--wash-2); opacity: 1; }

/* Campo trampa para robots: oculto para personas */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.comunidad-consent {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
  cursor: pointer;
  font: 400 0.95rem/1.6 var(--font-serif-body);
  color: var(--brown-1);
}

.comunidad-consent input[type="checkbox"] {
  appearance: auto;
  accent-color: var(--vermillion);
  width: 15px;
  height: 15px;
  margin: 4px 0 0;
  flex-shrink: 0;
  cursor: pointer;
}

.comunidad-consent a {
  color: var(--brown-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-calm);
}

.comunidad-consent a:hover { color: var(--vermillion); }

.comunidad-privacidad {
  font: 400 0.9rem/1.6 var(--font-serif-body);
  color: var(--wash-2);
  margin: 18px 0 0;
}

.comunidad-privacidad a {
  color: var(--brown-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-calm);
}

.comunidad-privacidad a:hover { color: var(--vermillion); }

.comunidad-gracias {
  font: 400 italic 1.2rem/1.7 var(--font-serif-body);
  color: var(--ink-1);
  margin: 0;
}

.comunidad-error {
  font: 400 1rem/1.6 var(--font-serif-body);
  color: var(--vermillion-dim);
  margin: 14px 0 0;
}

/* ============ Pie ============ */

.site-footer {
  background: var(--ink-2);
  padding: clamp(4.5rem, 8vw, 8rem) var(--section-padding-x) 40px;
}

.footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-phrase {
  font: 400 clamp(1.8rem, 4vw, 2.75rem)/1.3 var(--font-display);
  color: var(--paper-1);
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.footer-phrase .dot { width: 0.13em; height: 0.13em; margin-left: 0.14em; }

.footer-note {
  font: 400 1rem/1.7 var(--font-serif-body);
  color: rgba(252, 247, 239, 0.6);
  max-width: 34rem;
  margin: 32px 0 0;
  text-align: center;
  text-wrap: pretty;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 52px);
}

.footer-social a {
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(252, 247, 239, 0.55);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-calm);
}

.footer-social a:hover { color: var(--paper-1); }

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(252, 247, 239, 0.14);
  margin: clamp(40px, 6vw, 64px) 0 28px;
}

.footer-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font: 600 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
  color: rgba(252, 247, 239, 0.7);
}

.footer-thanks {
  font: 400 italic 1rem/1.4 var(--font-serif-body);
  color: rgba(252, 247, 239, 0.55);
}

.footer-copy {
  font: 500 0.7rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  color: rgba(252, 247, 239, 0.35);
}

.footer-legal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.footer-legal a {
  font: 500 0.65rem/1.4 var(--font-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(252, 247, 239, 0.4);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-calm);
}

.footer-legal a:hover { color: rgba(252, 247, 239, 0.8); }

/* ============ Páginas interiores (legales, 404) ============ */

.page-simple {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-simple main {
  flex: 1;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 150px var(--section-padding-x) var(--section-padding-y);
}

.page-simple main h1 {
  font: 400 clamp(2.4rem, 5vw, 4rem)/1.15 var(--font-display);
  color: var(--ink-2);
  margin: 0 0 40px;
}

.page-simple main h2 {
  font: 500 1.75rem/1.25 var(--font-display);
  color: var(--ink-2);
  margin: 48px 0 0;
}

.page-simple main p, .page-simple main li {
  font: 400 1.1rem/1.75 var(--font-serif-body);
  color: var(--ink-1);
}

.page-simple main p { margin: 18px 0 0; }

.page-simple main a {
  color: var(--brown-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-calm);
}

.page-simple main a:hover { color: var(--vermillion); }

/* 404 */
.page-404 main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-404 .torii {
  width: 120px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.92;
}

.page-404 h1 { margin: 40px 0 0; }

.page-404 p {
  color: var(--brown-1);
  max-width: 26rem;
  text-wrap: pretty;
}

.page-404 .btn-ghost { margin-top: 40px; }
