/* Calvento · Sunset Session Ibiza (5 nov 2026): invitación completa de un evento de marca premium.
   Siete pantallas con scroll que encajan una a una. La foto de ambiente (creada con IA y aprobada
   por Sandra) hace de fondo en la portada, el lugar y el cierre; en medio, pantallas de arena y
   noche con tipografía fina. Marca, lugar y fechas inventados. Tipografías alojadas en EVOW. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  color: #2b1d15;
  background: #f3ebe0;
  font-family: "Jost", sans-serif;
}

p,
h1,
h2,
dl,
dd {
  margin: 0;
  font-weight: inherit;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100svh;
  overflow: hidden;
  padding: 7vh 9vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Filete fino que enmarca cada pantalla */
.screen::after {
  content: "";
  position: absolute;
  inset: min(3.6vw, 1.7vh);
  z-index: 3;
  border: 1px solid currentColor;
  opacity: 0.3;
  pointer-events: none;
}

.screen > * {
  position: relative;
  z-index: 2;
}

.mono {
  font: 400 min(2.7vw, 1.3vh) "IBM Plex Mono", monospace;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.heading {
  margin-top: 1.4vh;
  font-size: min(11vw, 5.4vh);
  line-height: 0.98;
}

.sun-dot {
  display: inline-block;
  width: 0.5em;
  aspect-ratio: 1;
  margin-right: 0.6em;
  border-radius: 50%;
  background: #e4793d;
  vertical-align: 0.05em;
}

/* ---------- Pantallas con la foto de fondo ---------- */
.photo {
  color: #fffaf2;
  background: #2a1a12;
}

.photo > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--veil);
}

/* 1 · Portada */
.cover {
  --veil:
    linear-gradient(180deg, rgba(20, 12, 8, 0.55) 0%, rgba(20, 12, 8, 0) 22%),
    linear-gradient(180deg, rgba(20, 12, 8, 0) 38%, rgba(20, 12, 8, 0.55) 58%, rgba(20, 12, 8, 0.9) 100%);
  justify-content: space-between;
  padding: 6vh 9vw 5vh;
  text-align: center;
}

.cover > img {
  object-position: 50% 40%;
}

.cover .top {
  display: grid;
  justify-items: center;
  gap: 0.8vh;
}

.brand {
  font: 500 min(5.2vw, 2.5vh) "Jost", sans-serif;
  letter-spacing: 0.62em;
  margin-right: -0.62em;
  text-transform: uppercase;
}

.cover .bottom {
  display: grid;
  justify-items: center;
}

.cover .mono {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.title {
  margin-top: 1.2vh;
  font-size: min(17vw, 8.2vh);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.cover .lead {
  max-width: 34ch;
  margin-top: 1.8vh;
  font-size: min(3.5vw, 1.7vh);
  line-height: 1.5;
  color: rgba(255, 250, 242, 0.88);
}

/* Tres datos separados por filetes verticales */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 2.4vh;
  padding-block: 1.6vh;
  border-block: 1px solid rgba(255, 250, 242, 0.35);
}

.facts div + div {
  border-left: 1px solid rgba(255, 250, 242, 0.35);
}

.facts dt {
  font: 400 min(2.3vw, 1.1vh) "IBM Plex Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}

.facts dd {
  margin-top: 0.5vh;
  font: 400 min(4.6vw, 2.2vh) "Fraunces", Georgia, serif;
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 0.8vh;
  margin-top: 2.6vh;
  opacity: 0.8;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 4vh;
  background: linear-gradient(#fffaf2, transparent);
}

/* ---------- 2 · La idea: noche, con una cita ---------- */
.idea {
  color: #f3ebe0;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(228, 121, 61, 0.35), transparent 70%),
    #1d1410;
  text-align: center;
  align-items: center;
}

.idea .quote {
  max-width: 15ch;
  margin-top: 3vh;
  font-size: min(8.4vw, 4.1vh);
  line-height: 1.12;
}

.idea .quote em {
  font-style: normal;
  color: #f0a56c;
}

.idea .body {
  max-width: 32ch;
  margin-top: 3vh;
  font-size: min(3.6vw, 1.75vh);
  line-height: 1.6;
  color: rgba(243, 235, 224, 0.78);
}

/* Horizonte: un sol que se pone sobre una línea */
.horizon {
  position: relative;
  width: min(34vw, 16vh);
  aspect-ratio: 2 / 1;
  margin-top: 4vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(243, 235, 224, 0.6);
}

.horizon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e4793d;
  transform: translateX(-50%);
}

/* ---------- 3 · Programa: arena ---------- */
.program {
  background: #f3ebe0;
}

.timeline {
  margin-top: 3.4vh;
  border-top: 1px solid rgba(43, 29, 21, 0.25);
}

.timeline div {
  display: grid;
  grid-template-columns: 22vw 1fr;
  align-items: baseline;
  padding-block: 1.9vh;
  border-bottom: 1px solid rgba(43, 29, 21, 0.25);
}

.timeline dt {
  font: 400 min(5.4vw, 2.6vh) "Fraunces", Georgia, serif;
  color: #c0602d;
}

.timeline dd {
  font-size: min(3.8vw, 1.85vh);
  line-height: 1.4;
}

.timeline small {
  display: block;
  margin-top: 0.3vh;
  font-size: 0.85em;
  color: #7a6656;
}

/* ---------- 4 · El lugar: foto del mar y los barcos ---------- */
.place {
  --veil:
    linear-gradient(180deg, rgba(20, 12, 8, 0.15) 0%, rgba(20, 12, 8, 0.35) 45%, rgba(20, 12, 8, 0.92) 100%);
  justify-content: flex-end;
}

.place > img {
  /* Los barcos y el sol, sin la pérgola */
  object-position: 72% 46%;
  transform: scale(1.9);
  transform-origin: 72% 46%;
}

.place .body {
  max-width: 32ch;
  margin-top: 1.8vh;
  font-size: min(3.6vw, 1.75vh);
  line-height: 1.55;
  color: rgba(255, 250, 242, 0.85);
}

.transfers {
  display: grid;
  gap: 1.2vh;
  margin-top: 2.6vh;
}

.transfers p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3vw;
  align-items: baseline;
  padding: 1.5vh 4vw;
  border: 1px solid rgba(255, 250, 242, 0.4);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: min(3.5vw, 1.7vh);
}

.transfers b {
  font: 400 min(2.4vw, 1.15vh) "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f6c88f;
}

/* ---------- 5 · Dress code: terracota ---------- */
.dress {
  color: #fff4e8;
  background: #b9582a;
  text-align: center;
  align-items: center;
}

.dress .heading {
  font-size: min(13vw, 6.4vh);
}

.dress .body {
  max-width: 30ch;
  margin-top: 2.4vh;
  font-size: min(3.7vw, 1.8vh);
  line-height: 1.55;
}

.swatches {
  display: flex;
  gap: 3vw;
  margin-top: 3.6vh;
}

.swatches span {
  display: grid;
  justify-items: center;
  gap: 1vh;
  font: 400 min(2.2vw, 1.05vh) "IBM Plex Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.swatches span::before {
  content: "";
  width: min(14vw, 6.8vh);
  aspect-ratio: 1 / 1.5;
  border-radius: 999px 999px 0 0;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(43, 29, 21, 0.15);
}

/* ---------- 6 · Confirmación: arena ---------- */
.rsvp {
  background: #f3ebe0;
}

.rsvp .deadline {
  margin-top: 1.2vh;
  font-size: min(3.6vw, 1.75vh);
  color: #7a6656;
}

.form {
  display: grid;
  gap: 1.5vh;
  margin-top: 3vh;
}

.field {
  display: grid;
  gap: 0.6vh;
}

.field > span:first-child {
  font: 400 min(2.3vw, 1.1vh) "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a6656;
}

.input {
  padding-bottom: 1vh;
  border-bottom: 1px solid rgba(43, 29, 21, 0.35);
  font-size: min(3.8vw, 1.85vh);
}

.input--empty {
  color: #a8968a;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
}

.chips span {
  padding: 0.9vh 4vw;
  border: 1px solid rgba(43, 29, 21, 0.35);
  border-radius: 999px;
  font-size: min(3.4vw, 1.65vh);
}

.chips .on {
  color: #f3ebe0;
  background: #2b1d15;
  border-color: #2b1d15;
}

.button {
  justify-self: stretch;
  margin-top: 1.6vh;
  padding: 1.8vh 0;
  border-radius: 999px;
  color: #f3ebe0;
  background: #2b1d15;
  font: 500 min(2.9vw, 1.4vh) "Jost", sans-serif;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- 7 · Cierre: la foto otra vez, centrada en el sol ---------- */
.closing {
  --veil: radial-gradient(80% 60% at 50% 45%, rgba(20, 12, 8, 0.3), rgba(20, 12, 8, 0.75));
  align-items: center;
  text-align: center;
}

.closing > img {
  object-position: 46% 44%;
  transform: scale(1.5);
  transform-origin: 46% 44%;
}

.closing .title {
  font-size: min(13vw, 6.4vh);
}

.closing .mono {
  margin-top: 2.4vh;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.closing .brand {
  margin-top: 6vh;
}
