/* Landing de expectativa de sonoma.art: el símbolo bajo un foco, una frase y la fecha. Sin recursos externos. */
:root {
  --ink: #0f0d15; --ink-2: #17141f; --ink-3: #1e1a28; --line: #2c2838;
  --ivory: #f3eee4; --gold: #e3b565; --gold-2: #f0c97f; --text-2: #b8b1c2; --text-3: #8d8699;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--ivory); font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; overflow-x: hidden; }
p { margin: 0; }

/* Escenario: un foco cálido que cae desde arriba y un telón de pliegues muy suaves */
.stage { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.beam { position: absolute; left: 50%; top: -12vh; width: min(1100px, 150vw); height: 112vh; transform: translateX(-50%);
  background: radial-gradient(42% 58% at 50% 34%, rgba(227, 181, 101, .20), rgba(227, 181, 101, .06) 45%, transparent 72%);
  animation: breathe 9s ease-in-out infinite; }
.curtain { position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.016) 0 2px, transparent 2px 52px),
              linear-gradient(180deg, transparent 55%, rgba(8, 7, 12, .75)); }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

.bar { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding: 20px 24px 0; }
.lang-wrap { position: relative; }
.lang-wrap::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang { appearance: none; -webkit-appearance: none; color-scheme: dark; background: rgba(15, 13, 21, .5); border: 1px solid var(--line);
  color: var(--ivory); border-radius: 999px; font: 600 13px var(--sans); padding: 7px 32px 7px 14px; cursor: pointer; }
.lang:hover { border-color: var(--gold); }
.lang:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang option { background: var(--ink-2); color: var(--ivory); }

/* Centro */
.hero { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 20px 48px; }
.mark { position: relative; width: 148px; filter: drop-shadow(0 0 48px rgba(227, 181, 101, .22)); }
.mark img { display: block; width: 100%; height: auto; }
/* Un destello de luz recorre la S de vez en cuando (la S hace de máscara) */
.glint { position: absolute; inset: 0; -webkit-mask: url(/site/sonoma-simbolo.svg) center / contain no-repeat; mask: url(/site/sonoma-simbolo.svg) center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 230, .75) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0; animation: glint 7s ease-in-out 2.2s infinite; mix-blend-mode: screen; }
@keyframes glint { 0% { background-position: 130% 0; } 22%, 100% { background-position: -30% 0; } }
.word { margin: 34px 0 0; line-height: 0; }
.word img { width: min(300px, 70vw); height: auto; }
.title { font: 600 clamp(30px, 5.2vw, 54px)/1.1 var(--serif); letter-spacing: -.015em; margin-top: 40px; max-width: 16ch; }
.desc { color: var(--text-2); font-size: clamp(17px, 2vw, 20px); margin-top: 18px; max-width: 34em; }
.launch { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.launch .label { font: 600 12px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); }
.launch .date { font: 600 clamp(24px, 3.4vw, 34px)/1.1 var(--serif); color: var(--gold); position: relative; padding: 0 26px; }
.launch .date::before, .launch .date::after { content: ""; position: absolute; top: 50%; width: 14px; height: 1px; background: rgba(227, 181, 101, .55); }
.launch .date::before { left: 0; } .launch .date::after { right: 0; }

/* Entrada escalonada */
.mark, .word, .title, .desc, .launch { opacity: 0; transform: translateY(14px); animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.mark { animation-delay: .1s; } .word { animation-delay: .5s; } .title { animation-delay: .8s; } .desc { animation-delay: 1.05s; } .launch { animation-delay: 1.35s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Pie */
.foot { position: relative; z-index: 1; padding: 18px 24px 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.foot .linkish:hover, .cookie .linkish:hover { color: var(--ivory); text-decoration: underline; }

/* Aviso de cookies y textos legales */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie-in { width: 100%; max-width: 760px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.cookie h2 { font: 600 21px var(--serif); margin: 0 0 8px; }
.cookie p { color: var(--text-2); font-size: 15px; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; }
.cookie-links .linkish { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.cookie-actions [hidden] { display: none; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 14px; }
.cookie-prefs[hidden] { display: none; }
.pref { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.pref input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.pref input:disabled { opacity: .6; }
.pref strong { display: block; color: var(--ivory); font-size: 15px; }
.pref span span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.button, .ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font: 700 15px var(--sans); cursor: pointer; padding: 11px 24px; }
.button { background: var(--gold); color: var(--ink); border: 0; }
.button:hover { background: var(--gold-2); }
.ghost { background: none; color: var(--ivory); border: 1px solid var(--line); }
.ghost:hover { border-color: var(--gold); color: var(--gold); }
dialog.legal { width: min(760px, calc(100vw - 32px)); max-height: min(82vh, 900px); background: var(--ink-2); color: var(--ivory); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px 32px 32px; overflow: auto; }
dialog.legal::backdrop { background: rgba(8, 7, 12, .72); }
dialog.legal h2 { font: 600 28px var(--serif); margin: 0 40px 18px 0; }
dialog.legal h3 { font: 600 15px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 26px 0 10px; }
dialog.legal p, dialog.legal li, dialog.legal dd { color: var(--text-2); font-size: 15px; line-height: 1.65; }
dialog.legal p + p { margin-top: 10px; }
dialog.legal ul, dialog.legal ol { padding-left: 22px; margin: 10px 0; }
dialog.legal li + li { margin-top: 8px; }
dialog.legal a { color: var(--gold); }
dialog.legal .legal-note { font-size: 13px; color: var(--gold); margin: -8px 0 14px; }
.close { position: sticky; top: 0; float: right; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-3);
  color: var(--ivory); font-size: 22px; line-height: 1; cursor: pointer; }
.close:hover { border-color: var(--gold); }
.capa { display: grid; grid-template-columns: 140px 1fr; gap: 12px 18px; margin: 0; }
.capa dt { font-weight: 700; color: var(--ivory); }
.capa dd { margin: 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { padding: 14px 16px 0; }
  .hero { padding: 24px 16px 36px; }
  .mark { width: 116px; }
  .word { margin-top: 26px; }
  .title { margin-top: 30px; }
  .launch { margin-top: 34px; }
  .foot { padding: 14px 16px 20px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; }
  .cookie-in { padding: 18px; }
  .cookie-actions .button, .cookie-actions .ghost { flex: 1 1 40%; }
  .cookie-in { max-height: calc(100dvh - 16px); overflow-y: auto; }
  dialog.legal { padding: 28px 20px 24px; }
  .capa { grid-template-columns: 1fr; gap: 4px; }
  .capa dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .beam, .glint { animation: none; }
  .mark, .word, .title, .desc, .launch { animation: none; opacity: 1; transform: none; }
}
