:root {
  --black: #080808;
  --ink: #11100f;
  --ivory: #f4efe7;
  --paper: #ded6ca;
  --gold: #c9a45b;
  --gold-light: #ead49b;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--gold);
  color: var(--black);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 102px;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  transition: background .35s, min-height .35s, box-shadow .35s;
}
.site-header.scrolled {
  min-height: 76px;
  background: rgba(8, 8, 8, .92);
  box-shadow: 0 1px 0 rgba(201, 164, 91, .25);
  backdrop-filter: blur(12px);
}
.brand img { width: clamp(170px, 18vw, 250px); }
.main-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3rem); }
.main-nav a {
  position: relative;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -.45rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: .65rem 1.1rem; border: 1px solid var(--gold); color: var(--gold-light); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 9rem clamp(1.5rem, 9vw, 9rem) 6rem;
}
.parallax-layer { position: absolute; inset: -10%; will-change: transform; }
.hero-photo {
  background: url("assets/soprano.jpg") 68% center / cover no-repeat;
  transform: scale(1.03);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.68) 40%, rgba(0,0,0,.08) 78%),
    linear-gradient(0deg, rgba(0,0,0,.72), transparent 42%);
}
.hero-content { position: relative; z-index: 2; width: min(680px, 64vw); }
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
h1, h2, blockquote { font-family: var(--serif); font-weight: 500; line-height: .94; }
h1 {
  margin: 0;
  color: #cdad7d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
}
h1 em, h2 em { color: var(--gold-light); font-weight: 500; }
h1 em { display: block; max-width: none; margin-top: .12em; color: inherit; font-size: 1em; font-style: normal; font-weight: inherit; line-height: inherit; }
.hero-copy { max-width: 540px; margin: 2rem 0 2.3rem; color: var(--paper); font-size: clamp(.95rem, 1.3vw, 1.12rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 54px;
  padding: .8rem 1.7rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s, background .25s, transform .25s;
}
.button-gold { background: var(--gold); color: var(--black); }
.button:hover { background: var(--gold-light); transform: translateY(-2px); }
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--paper);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}
.scroll-cue i { display: block; width: 65px; height: 1px; background: var(--gold); }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem); }
.prize {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  background: var(--ivory);
  color: var(--ink);
}
.prize::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9%;
  width: 1px;
  height: 5rem;
  background: var(--gold);
}
h2 { margin: 0 0 1.7rem; font-size: clamp(3.1rem, 6vw, 6rem); letter-spacing: -.035em; }
.prize .eyebrow, .gallery .eyebrow, .entry .eyebrow { color: #92702f; }
.section-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #56514a;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}
.section-copy .button { margin-top: 1rem; }
.prize-list { display: flex; gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.prize-list li { display: grid; min-width: 90px; }
.prize-list strong { color: #9f7934; font-family: var(--serif); font-size: 2.8rem; font-weight: 600; line-height: 1; }
.prize-list span { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
.offset-photo { margin: 0; }
.photo-frame { position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.photo-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.photo-frame img { width: 100%; aspect-ratio: 1.28; object-fit: cover; transition: transform 1s ease; }
.photo-frame:hover img { transform: scale(1.025); }
.offset-photo figcaption { margin-top: .8rem; color: #756d62; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }

.experience {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78svh;
  overflow: hidden;
  text-align: center;
}
.experience-photo { background: url("assets/musicos.jpg") center / cover no-repeat; }
.experience-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.68); }
.experience-content { position: relative; z-index: 2; max-width: 900px; padding: 5rem 1.5rem; }
blockquote { margin: 0; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.04em; }
.gold-rule { display: block; width: 85px; height: 1px; margin: 2.5rem auto 0; background: var(--gold); }

.gallery { background: #0c0b0b; }
.gallery-intro { max-width: 850px; margin-bottom: 4rem; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1rem, 2.5vw, 2.5rem); align-items: end; }
.gallery-card { margin: 0; overflow: hidden; background: #171515; }
.gallery-card img { width: 100%; height: clamp(330px, 50vw, 670px); object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gallery-card:not(.gallery-wide) img { height: clamp(280px, 39vw, 530px); }
.gallery-card:hover img { transform: scale(1.035); }

.entry {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 10vw, 10rem);
  background: var(--ivory);
  color: var(--ink);
}
.entry-copy > p:not(.eyebrow) {
  max-width: 480px;
  color: #5f584e;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}
.deadline { padding-top: 1.5rem; border-top: 1px solid #cfc5b6; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.entry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.3rem; align-self: center; }
.entry-closed {
  align-self: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid #cfc5b6;
  border-bottom: 1px solid #cfc5b6;
  text-align: center;
}
.entry-closed h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}
.entry-closed p { margin: 0; color: #5f584e; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.field { position: relative; }
.field:first-child { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .45rem; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.field input {
  width: 100%;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid #a9a094;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}
.field input:focus { border-color: #9f7934; box-shadow: 0 1px 0 #9f7934; }
.field small { display: none; color: #9e3030; font-size: .7rem; }
.field.invalid small { display: block; }
.field.invalid input { border-color: #9e3030; }
.check { grid-column: 1 / -1; display: flex; gap: .75rem; align-items: flex-start; color: #625a50; font-size: .72rem; line-height: 1.5; }
.check input { margin-top: .25rem; accent-color: #9f7934; }
.check.invalid { color: #9e3030; }
.submit-button { grid-column: 1 / -1; justify-self: start; border: 0; }
.form-message { grid-column: 1 / -1; margin: 0; color: #5c7048; font-size: .82rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem clamp(1.5rem, 8vw, 8rem);
  color: #8e8982;
  font-size: .65rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.site-footer img { width: 150px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { min-height: 78px; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { height: 1px; background: var(--gold-light); transition: transform .25s, opacity .25s; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: 1.5rem;
    background: rgba(8,8,8,.97);
    text-align: center;
  }
  .main-nav.open { display: grid; gap: 1.4rem; }
  .nav-cta { justify-self: center; }
  .hero-content { width: min(650px, 86vw); }
  .prize, .entry { grid-template-columns: 1fr; }
  .offset-photo { width: min(680px, 100%); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:not(.gallery-wide) { width: 72%; margin-left: auto; }
  .site-footer { grid-template-columns: 1fr; gap: .6rem; }
}

@media (max-width: 600px) {
  .hero { align-items: end; min-height: 830px; padding-bottom: 8rem; }
  .hero-photo { inset: -5%; background-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.98) 10%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.1)); }
  h1 { font-size: clamp(2.6rem, 12vw, 3.75rem); }
  .hero-copy { margin: 1.3rem 0 1.8rem; }
  .scroll-cue { display: none; }
  .section { padding-block: 5rem; }
  .prize-list { justify-content: space-between; gap: .5rem; }
  .prize-list li { min-width: 0; }
  .experience { min-height: 620px; }
  .gallery-card img, .gallery-card:not(.gallery-wide) img { height: 440px; }
  .gallery-card:not(.gallery-wide) { width: 88%; }
  .entry-form { grid-template-columns: 1fr; }
  .field, .field:first-child, .check, .submit-button, .form-message { grid-column: 1; }
  .submit-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .parallax-layer { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Composición basada en la pieza gráfica de campaña */
body { background: #f4f0ea; }
.hero {
  min-height: clamp(650px, 56.25vw, 900px);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 9.5vw, 9rem);
}
.hero-photo { background-position: center center; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 12, 31, .96) 0%, rgba(12, 12, 31, .72) 42%, rgba(12, 12, 31, .12) 76%),
    linear-gradient(0deg, rgba(12, 12, 31, .44), rgba(12, 12, 31, .08));
}
.hero-content { width: min(610px, 49vw); }
.hero-logo { width: clamp(135px, 16vw, 230px); margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.18;
}
.hero h1 em { display: inline; margin: 0; }
.hero-copy {
  max-width: 510px;
  margin: 1.5rem 0 1.8rem;
  color: #f5f1eb;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
}
.button { min-height: 56px; }

.editorial {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  min-height: 680px;
  background: #f4f0ea;
  color: #191a42;
}
.editorial-intro { grid-template-columns: minmax(280px, .64fr) minmax(480px, 1.36fr); }
.editorial-event { grid-template-columns: 1fr .95fr; }
.editorial-copy h2 {
  margin-bottom: 2rem;
  color: #191a42;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
}
.editorial-copy h2 em { color: inherit; font-style: normal; font-weight: inherit; }
.editorial-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: #252640;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}
.editorial-photo { margin: 0; }
.editorial-photo > div { overflow: hidden; background: #090909; }
.editorial-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.editorial-event .editorial-photo img { aspect-ratio: 1.02; }
.event-copy p { margin-bottom: 2.4rem; }

.benefits {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 15vw, 14rem);
}
.benefits-photo {
  background: url("assets/escenario.jpg") center 38% / cover no-repeat;
}
.benefits-overlay { position: absolute; inset: 0; background: rgba(17, 18, 49, .88); }
.benefits-content { position: relative; z-index: 2; max-width: 1200px; margin: auto; }
.benefits-heading { margin-bottom: 3.5rem; text-align: center; }
.benefits-heading h2 { margin: 0 0 .75rem; color: #cdad7d; font-size: clamp(2.4rem, 4vw, 4rem); }
.benefits-heading p { margin: 0; color: #cdad7d; font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.5rem); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.benefit p {
  min-height: 220px;
  margin: 0;
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  border: 2px solid #ad915e;
  color: #f5f1eb;
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
}
.benefit h3 {
  margin: 1.4rem 0 0 1.4rem;
  color: #cdad7d;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer {
  display: block;
  min-height: 480px;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 12vw, 11rem);
  background: #281e1f;
  color: #f4eee8;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}
.site-footer > div { max-width: 1000px; }
.site-footer p { margin: 0 0 2rem; }
.site-footer a:hover { color: #cdad7d; }

@media (max-width: 900px) {
  .hero { min-height: 720px; }
  .hero-content { width: min(620px, 74vw); }
  .editorial-intro,
  .editorial-event { grid-template-columns: 1fr; }
  .editorial-event .editorial-photo { order: 2; }
  .editorial-event .event-copy { order: 1; }
  .editorial-photo { width: 100%; }
  .benefits { padding-inline: clamp(1.5rem, 7vw, 5rem); }
}

@media (max-width: 650px) {
  .hero {
    align-items: end;
    min-height: 780px;
    padding-bottom: 4.5rem;
  }
  .hero-photo { background-position: 61% center; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(12,12,31,.98) 8%, rgba(12,12,31,.62) 64%, rgba(12,12,31,.18));
  }
  .hero-content { width: 100%; }
  .hero-logo { width: 150px; margin-bottom: 2.5rem; }
  .hero h1 { max-width: 11ch; font-size: clamp(2.6rem, 11vw, 4rem); }
  .section { padding: 4.5rem 1.5rem; }
  .editorial { min-height: auto; gap: 3rem; }
  .editorial-intro .editorial-photo { margin-inline: -1.5rem; width: auto; }
  .editorial-event .editorial-photo { margin-inline: -1.5rem; width: auto; }
  .editorial-photo img,
  .editorial-event .editorial-photo img { aspect-ratio: 1.18; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit p { min-height: 0; }
  .benefit h3 { margin-bottom: 2rem; }
  .site-footer { min-height: 420px; }
}

.entry {
  position: relative;
  grid-template-columns: minmax(280px, .78fr) minmax(500px, 1.22fr);
  background: #f4f0ea;
  color: #191a42;
}
.entry h2 {
  color: #191a42;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
}
.entry h2 em { color: inherit; font-style: normal; font-weight: inherit; }
.entry-copy > p:not(.eyebrow) {
  color: #252640;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}
.entry .deadline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  color: #6b6258;
  font-size: .78rem;
  line-height: 1.55;
}
.entry-form { align-self: start; }
.form-alert {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.2rem;
  border-left: 3px solid #9e3030;
  background: rgba(158, 48, 48, .08);
  color: #7f2424;
  font-size: .85rem;
  line-height: 1.5;
}
.form-alert.visible { display: grid; gap: .15rem; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #191a42; font-size: .75rem; }
.field input,
.field textarea {
  width: 100%;
  padding: .85rem 0;
  border: 0;
  border-bottom: 1px solid #9d958a;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #191a42;
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field textarea:focus {
  border-color: #a58450;
  box-shadow: 0 1px 0 #a58450;
}
.field.invalid input,
.field.invalid textarea { border-color: #9e3030; box-shadow: 0 1px 0 #9e3030; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .35rem; }
.field-meta small { flex: 1; }
.character-count { color: #746c62; font-size: .7rem; white-space: nowrap; }
.check a { border-bottom: 1px solid currentColor; }
.form-message { min-height: 1.4rem; color: #8d2929; }
.form-success {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  place-content: center;
  padding: clamp(3rem, 10vw, 9rem);
  background: #f4f0ea;
  color: #191a42;
  text-align: center;
}
.form-success.visible { display: grid; }
.form-success > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  border: 1px solid #a58450;
  border-radius: 50%;
  color: #a58450;
  font-size: 1.8rem;
}
.form-success h2 { margin-bottom: 1.2rem; }
.form-success p { max-width: 620px; margin: auto; font-size: 1.1rem; }

@media (max-width: 900px) {
  .entry { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .entry-form { grid-template-columns: 1fr; }
  .field,
  .field-wide,
  .check,
  .submit-button,
  .form-message { grid-column: 1; }
}

body.modal-open { overflow: hidden; }
.legal-modal {
  width: min(1080px, calc(100% - 2rem));
  max-width: none;
  height: min(880px, calc(100dvh - 2rem));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f4f0ea;
  color: #252640;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
}
.legal-modal::backdrop {
  background: rgba(8, 8, 20, .82);
  backdrop-filter: blur(5px);
}
.legal-modal-shell { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.legal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-bottom: 1px solid #d2c9bd;
  background: #f4f0ea;
}
.legal-modal-header p {
  margin: 0 0 .3rem;
  color: #9b7b48;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-modal-header h2 {
  margin: 0;
  color: #191a42;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.15;
}
.legal-modal-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b6aa9b;
  border-radius: 50%;
  background: transparent;
  color: #191a42;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 2rem;
  line-height: 1;
  transition: color .2s, background .2s;
}
.legal-modal-close:hover,
.legal-modal-close:focus-visible { background: #191a42; color: #fff; }
.legal-modal-content {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.legal-notice {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid #a58450;
  background: rgba(165, 132, 80, .1);
  color: #66502e;
}
.legal-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 3.5rem;
  border-top: 1px solid #cfc5b8;
}
.legal-summary div {
  padding: 1rem;
  border-right: 1px solid #cfc5b8;
  border-bottom: 1px solid #cfc5b8;
}
.legal-summary div:nth-child(even) { border-right: 0; }
.legal-summary dt {
  color: #8d6e3d;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legal-summary dd { margin: .25rem 0 0; font-size: .9rem; line-height: 1.5; }
.legal-modal-content section { max-width: 820px; margin: 0 auto 2.8rem; }
.legal-modal-content h3 {
  margin: 0 0 1rem;
  color: #191a42;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
}
.legal-modal-content p { font-size: .95rem; line-height: 1.75; }
.legal-modal-content a { color: #755726; text-decoration: underline; text-underline-offset: 3px; }
.legal-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem clamp(1.4rem, 3vw, 2.5rem);
  border-top: 1px solid #d2c9bd;
  background: #f4f0ea;
}

@media (max-width: 600px) {
  .legal-modal {
    width: 100%;
    height: 100dvh;
  }
  .legal-modal-header { gap: 1rem; }
  .legal-summary { grid-template-columns: 1fr; }
  .legal-summary div,
  .legal-summary div:nth-child(even) { border-right: 0; }
  .legal-modal-footer .button { width: 100%; }
}
