/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #F2F0EA;
  --bg-2:      #E6E1D3;
  --paper:     #FFFFFF;
  --ink:       #16130F;
  --ink-soft:  #2B2620;
  --ink-mute:  #6E675C;
  --cream:     #F5F2EA;
  --accent:    #8A2E20;   /* oxblood red — award / poster accent */
  --accent-2:  #4A4030;   /* olive-brown — memoria index color */
  --line:      rgba(22,19,15,0.14);
  --line-soft: rgba(22,19,15,0.08);

  --serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Anton", "Arial Narrow", sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1180px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; letter-spacing: -0.01em; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
::selection { background: var(--accent); color: var(--cream); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 6px; font-weight: 500;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent);
}

.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; margin-top: .9rem; max-width: 40ch; }

[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   4. Typography
   ============================================================= */
.h-hero {
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: .96;
  max-width: 15ch;
}
.h-xl {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: .98;
}
.h-lg {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.h-md {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.body-text { color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }
.body-text + .body-text { margin-top: 1.1em; }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border-radius: 999px;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-primary {
  background: var(--ink); color: var(--cream);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
  background: var(--accent);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.btn-arrow { transition: transform .4s var(--ease-soft); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(242,240,234,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; height: 26px; }
.nav-logo img { height: 100%; width: auto; }
.nav.is-hero .nav-logo img { filter: invert(1) brightness(2); }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding: .3rem 0;
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink);
}
.nav.is-hero .nav-link { color: var(--cream); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
.nav .btn-ghost { padding: .6rem 1.2rem; font-size: .82rem; }
.nav.is-hero .btn-ghost { border-color: rgba(245,242,234,0.45); color: var(--cream); }
.nav.is-hero.is-scrolled .btn-ghost { border-color: var(--line); color: var(--ink); }

/* Language switch */
.lang-switch {
  display: none; align-items: center; gap: .4rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .03em;
}
@media (min-width: 960px) { .lang-switch { display: flex; } }
.lang-switch button {
  padding: .25rem .4rem;
  color: var(--ink-mute);
  border-bottom: 1.5px solid transparent;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.nav.is-hero .lang-switch button { color: rgba(245,242,234,.65); }
.lang-switch button:hover { color: var(--ink); }
.nav.is-hero .lang-switch button:hover { color: var(--cream); }
.lang-switch button.is-active { color: var(--ink); border-color: var(--accent); }
.nav.is-hero .lang-switch button.is-active { color: var(--cream); border-color: var(--accent); }
.lang-switch-mobile {
  display: flex; margin-top: .6rem;
  font-size: 1rem;
}
.lang-switch-mobile button { color: rgba(245,242,234,.6); }
.lang-switch-mobile button.is-active { color: var(--cream); }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { width: 22px; height: 2px; background: currentColor; }
.nav.is-hero .nav-burger { color: var(--cream); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile.is-open { clip-path: inset(0); }
.nav-mobile a { font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.nav-mobile-close { position: absolute; top: 1.6rem; right: 1.6rem; font-size: 1.6rem; }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,8,6,.94) 0%, rgba(10,8,6,.74) 30%, rgba(10,8,6,.56) 55%, rgba(10,8,6,.68) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding-block: clamp(6rem, 14vw, 8rem) clamp(3rem, 7vw, 4.5rem);
  color: var(--cream);
}
.hero-eyebrow {
  color: var(--cream); opacity: .82;
}
.hero-eyebrow::before { background: var(--cream); opacity: .7; }
.hero-eyebrow, .hero-title, .hero-sub {
  text-shadow: 0 2px 20px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.55);
}
.hero-title { color: var(--cream); margin-top: 1.1rem; }
.hero-title em {
  font-style: normal; color: var(--accent);
}
.hero-sub {
  margin-top: 1.4rem; color: rgba(245,242,234,0.88);
  max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.14rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-actions .btn-ghost { border-color: rgba(245,242,234,.4); color: var(--cream); }
.hero-actions .btn-ghost:hover { border-color: var(--cream); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 1;
  transform: translateX(-50%);
  color: rgba(245,242,234,.65);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 34px; background: rgba(245,242,234,.4);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* --- Nuestros proyectos: Desagradecido (lead) + en preproducción --- */
.proyectos {
  background: var(--paper);
  padding-bottom: 0;
}
.feature-grid {
  display: grid; gap: 2.6rem;
  align-items: start;
}
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: .82fr 1.18fr; gap: 4.5rem; }
}
.feature-grid > * { min-width: 0; }
.feature-poster {
  position: relative;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(22,19,15,0.35);
  aspect-ratio: 1100 / 1572;
}
.feature-poster img { width: 100%; height: 100%; object-fit: cover; }

.feature-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.6rem;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: var(--cream);
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.stat-num {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink); line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem; color: var(--ink-mute); margin-top: .4rem;
  letter-spacing: .02em;
}
.feature-credits {
  margin-top: 1.6rem; font-size: .92rem; color: var(--ink-mute);
}
.feature-credits strong { color: var(--ink-soft); font-weight: 600; }

.selections-count {
  margin-top: 1.8rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.selections-count .stat-num { font-size: clamp(2rem, 4vw, 2.6rem); }
.selections-count .stat-label { margin-top: .3rem; display: block; }

.marquee-paper {
  margin-top: clamp(3rem, 5vw, 4rem);
}
.marquee-paper::before { background: linear-gradient(90deg, var(--paper), transparent); }
.marquee-paper::after  { background: linear-gradient(270deg, var(--paper), transparent); }

/* --- Proyectos en preproducción: Carretera Secundaria / Non dago muga? --- */
.proyectos-sub {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--bg-2);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.proyectos-sub-label {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: .02em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.project-row + .project-row {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
  .project-row--reverse .secondary-media { order: 2; }
  .project-row--reverse .secondary-text { order: 1; }
}
.secondary-grid {
  display: grid; gap: 2.4rem; align-items: center;
}
@media (min-width: 860px) {
  .secondary-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; }
}
.secondary-grid > * { min-width: 0; }
.secondary-media {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 2000/1124;
  box-shadow: 0 30px 60px -25px rgba(22,19,15,0.3);
}
.secondary-media img { width: 100%; height: 100%; object-fit: cover; }
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2);
}
.status-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* --- Quiénes somos --- */
.about { background: var(--paper); }
.about-intro { max-width: 58rem; }
.about-quote {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border-left: 3px solid var(--accent);
  background: var(--bg);
  border-radius: 0 12px 12px 0;
  font-size: 1.02rem; color: var(--ink-soft);
  max-width: 52ch;
}
.about-quote strong { color: var(--ink); }

.team-card {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: 2rem;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  background: var(--bg);
  border-radius: 20px;
}
@media (min-width: 720px) {
  .team-card { grid-template-columns: 200px 1fr; align-items: start; gap: 2.6rem; }
}
.team-photo {
  width: 180px; height: 180px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(22,19,15,0.35);
}
@media (min-width: 720px) { .team-photo { width: 100%; height: auto; aspect-ratio: 1; } }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { margin-top: 0; }
.team-role {
  font-family: var(--sans); text-transform: none; font-weight: 600;
  color: var(--accent-2); font-size: .88rem; letter-spacing: .04em;
  margin-top: .4rem; display: block;
}
.team-bio { margin-top: 1rem; color: var(--ink-soft); font-size: .98rem; max-width: 62ch; }
.team-links { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 1.6rem; }
.team-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .92rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: border-color .3s, color .3s, gap .3s;
}
.team-link:hover { color: var(--accent); border-color: var(--accent); gap: .75rem; }

/* --- Trayectoria --- */
.trajectory { background: var(--bg-2); }
.traj-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .traj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .traj-grid { grid-template-columns: repeat(3, 1fr); } }
.traj-card {
  display: block;
  background: var(--paper);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .5s var(--ease-soft), transform .1s;
}
.traj-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.1rem; font-size: .84rem; font-weight: 700; color: var(--accent);
  transition: gap .3s var(--ease-soft);
}
.traj-card:hover .traj-link { gap: .65rem; }
.traj-media { aspect-ratio: 16/9; overflow: hidden; }
.traj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.traj-card:hover .traj-media img { transform: scale(1.08); }
.traj-body { padding: 1.5rem 1.6rem 1.7rem; }
.traj-role { font-size: .78rem; color: var(--ink-mute); letter-spacing: .04em; text-transform: uppercase; }
.traj-title { margin-top: .5rem; font-size: 1.5rem; }
.traj-blurb { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); }
.traj-stats { display: flex; gap: 1.6rem; margin-top: 1.2rem; }
.traj-stats .stat-num { font-size: 1.5rem; }
.traj-stats .stat-label { font-size: .72rem; }

.marquee {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex; overflow: hidden; position: relative;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track {
  display: inline-flex; flex-shrink: 0; gap: 2.4rem; white-space: nowrap; will-change: transform;
  font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ink-mute); text-transform: uppercase;
}
.marquee-track span.dot { color: var(--accent); }

/* --- En desarrollo --- */
.dev { background: var(--paper); }
.dev-list { border-top: 1px solid var(--line); }
.dev-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.dev-item-title { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem); }
.dev-item-format { font-size: .85rem; color: var(--ink-mute); text-align: right; flex-shrink: 0; max-width: 22rem; }

/* --- Líneas de negocio --- */
.business { background: var(--bg-2); }
.business-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .business-grid { grid-template-columns: repeat(2, 1fr); } }
.business-card {
  background: var(--paper); border-radius: 16px; padding: clamp(1.8rem, 3vw, 2.4rem);
}
.business-num { font-family: var(--display); font-size: .95rem; color: var(--accent); }
.business-card h3 { margin-top: .9rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.business-card p { margin-top: .9rem; color: var(--ink-soft); font-size: .96rem; }

/* --- Contacto --- */
.contact { background: var(--ink); color: var(--cream); }
.contact h2 { color: var(--cream); }
.contact .section-head p { color: rgba(245,242,234,.68); }
.contact-email {
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  color: var(--cream);
  display: inline-block;
  border-bottom: 2px solid rgba(245,242,234,.3);
  transition: border-color .4s var(--ease-out), color .4s var(--ease-out);
}
.contact-email:hover { border-color: var(--accent); color: var(--accent); }
.contact-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem;
  margin-top: 2.2rem;
}
.socials { display: flex; gap: 1.2rem; }
.socials a {
  font-size: .88rem; font-weight: 600;
  color: rgba(245,242,234,.75);
  border-bottom: 1px solid transparent;
}
.socials a:hover { color: var(--cream); border-color: var(--cream); }

/* --- Footer --- */
.footer {
  background: var(--ink); color: rgba(245,242,234,.55);
  padding-block: 1.6rem 2.2rem;
  border-top: 1px solid rgba(245,242,234,.12);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .8rem;
}
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(245,242,234,.12);
  font-size: .74rem;
}
.footer-legal a { color: rgba(245,242,234,.5); }
.footer-legal a:hover { color: rgba(245,242,234,.9); }

/* --- Legal pages --- */
.legal-simple-header {
  padding-block: 1.4rem; border-bottom: 1px solid var(--line); background: var(--paper);
}
.legal-simple-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-simple-header .nav-logo img { filter: none; }
.legal-back {
  font-size: .82rem; font-weight: 600; color: var(--ink-mute); letter-spacing: .02em;
}
.legal-back:hover { color: var(--ink); }
.legal-page {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(3rem, 6vw, 4rem);
  max-width: 68ch; background: var(--paper);
}
.legal-page h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .3rem;
}
.legal-page .updated { color: var(--ink-mute); font-size: .82rem; }
.legal-page h2 {
  font-family: var(--sans); text-transform: uppercase; font-weight: 700;
  font-size: .82rem; letter-spacing: .1em; color: var(--accent-2);
  margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { margin-top: 2rem; }
.legal-page h3 {
  font-family: var(--sans); font-weight: 700; text-transform: none; letter-spacing: normal;
  font-size: 1rem; color: var(--ink); margin-top: 1.7rem;
}
.legal-page p { color: var(--ink-soft); font-size: .98rem; line-height: 1.7; margin-top: 1em; }
.legal-page ul { margin-top: 1em; padding-left: 1.2rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
.legal-page li { margin-top: .5em; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }

/* =============================================================
   7. Effects
   ============================================================= */
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft);
}
.has-tilt:hover {
  transition-duration: .15s;
  box-shadow: 0 40px 70px -30px rgba(22,19,15,0.4);
}

/* =============================================================
   8. Responsive breakpoints reference
   (rules embedded per-component above; extra tweaks below)
   ============================================================= */
@media (min-width: 540px)  { .hero-actions { gap: 1.2rem; } }
@media (min-width: 1280px) { .section { padding-block: clamp(5rem, 8vw, 9rem); } }

/* =============================================================
   9. Reduced motion — only genuinely intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after { animation: none; }
  .marquee-track { animation-play-state: paused !important; }
}
