/* ============================================
   Nina & Tato — design system
   Editorial collage, Cafayate-inspired
   ============================================ */

:root {
  --paper: #e9e1c9;    /* crema */
  --sand: #f1d583;     /* dorado claro */
  --brick: #8e1a12;    /* rojo profundo (principal) */
  --terracotta: #b0623f; /* terracota/naranja (acento) */
  --olive: #5a2417;    /* granate oscuro (superficies) */
  --ink: #3b1f12;      /* marrón muy oscuro (texto) */

  --font-display: "scotch-display", Georgia, serif;   /* títulos grandes */
  --font-body: "adobe-jenson-pro", Georgia, serif;      /* párrafos y texto */
  --font-accent: "anisette-petite", "Poppins", sans-serif; /* labels en mayúsculas */

  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* cursor personalizado: el florero del splash */
  cursor: url("../assets/img/florero-cursor.png") 19 3, auto;
}

body {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* sin faux-bold/italic: usamos solo los cortes reales de Adobe Fonts */
  font-synthesis: none;
}

/* fotos dispersas en los márgenes, repartidas a lo alto de la página.
   Ancladas justo por fuera de la columna de contenido (máx 1200px):
   nunca tapan el texto; en pantallas angostas se salen por los bordes. */
.page-scatter {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}
/* clusters de 2-3 fotos en el espacio vacío junto al contenido (gutters) */
.photo-cluster {
  position: absolute;
  width: 116px;                /* ancho base de cada foto del cluster */
  pointer-events: none;
}
.photo-cluster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: auto;
}
/* sin espacio lateral suficiente → se ocultan para no encimar el contenido */
@media (max-width: 1300px) { .page-scatter { display: none; } }

/* fotos arrastrables (mouse + touch) */
.photo-sticker,
.splash__photo {
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.splash__photo,
.side-photo { pointer-events: auto; }
.photo-sticker.is-dragging,
.splash__photo.is-dragging {
  cursor: grabbing;
  box-shadow: 0 20px 38px rgba(20, 14, 4, 0.5);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- type scale ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.display-xl { font-size: clamp(3.5rem, 12vw, 9rem); }
.display-lg { font-size: clamp(2.5rem, 8vw, 5.5rem); }
.display-md { font-size: clamp(2rem, 5vw, 3.5rem); }

.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* Todos los labels en mayúsculas usan la déco Anisette */
.splash__hint,
.countdown__label,
.nav__links a,
.marquee__track,
.badge,
.footer__meta,
.field label,
.tag,
.photo-credit {
  font-family: var(--font-accent);
}

.amp { color: var(--terracotta); }

/* ---------- splash ---------- */

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: #4a1c11; /* fondo del splash (granate oscuro) */
  text-align: center;
  padding: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* fondo del splash: canvas del shader (textura pintada) */
.splash__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash__cta { margin-top: 0.75rem; }

/* escenario del florero: mantiene el aspecto del PNG y encaja en la pantalla.
   Es un "container" para que el texto de adentro escale con el florero. */
.splash__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  aspect-ratio: 900 / 1091;
  z-index: 2;
  isolation: isolate;
  container-type: size;
}

/* fotos cayendo sobre la mesa (detrás del florero) */
.splash__photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.splash__photo {
  position: absolute;
  width: var(--w, 150px);
  object-fit: cover;
  /* borde blanco tipo sticker, como Archo */
  border: 6px solid #f4efe3;
  border-bottom-width: 14px;
  border-radius: 3px;
  background: #f4efe3;
  box-shadow: 0 10px 22px rgba(20, 14, 4, 0.42);
  opacity: 0;
  transform: translateY(-130vh) rotate(var(--r0, 0deg));
  animation: photo-fall 0.85s cubic-bezier(0.18, 0.7, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

@keyframes photo-fall {
  0% { transform: translateY(-130vh) rotate(var(--r0, 0deg)) scale(1.06); opacity: 0; }
  55% { opacity: 1; }
  78% { transform: translateY(0) rotate(calc(var(--rf, 0deg) * 1.18)); opacity: 1; }
  100% { transform: translateY(0) rotate(var(--rf, 0deg)); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .splash__photo { animation-duration: 0.01s; }
}

.splash__florero {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(42, 37, 15, 0.18));
}

/* capa de fotos detrás del florero (se llena en el próximo paso) */
.splash__slideshow {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
}

/* contenido dentro del cuerpo del florero (medidas relativas al florero, cq*) */
.splash__inside {
  position: absolute;
  z-index: 3;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4cqh;
  text-align: center;
}

.splash__names {
  font-size: clamp(1.1rem, 6.2cqw, 2.4rem);
  line-height: 0.95;
}

.splash__date {
  font-size: clamp(0.44rem, 1.7cqw, 0.62rem);
  letter-spacing: 0.14em;
}

.splash__inside .countdown { gap: 2.4cqw; }

.splash__inside .countdown__num {
  font-size: clamp(0.85rem, 4.4cqw, 1.7rem);
}

.splash__inside .countdown__label {
  font-size: clamp(0.4rem, 1.5cqw, 0.52rem);
  margin-top: 0.15rem;
}

.splash__inside .splash__cta {
  margin-top: 1.2cqh;
  font-size: clamp(0.58rem, 2.2cqw, 0.72rem);
  padding: 0.5rem 1.3rem;
}

.splash__heart {
  background: none;
  border: none;
  cursor: pointer;
  animation: sway 3s ease-in-out infinite;
  transform-origin: top center;
}

.splash__heart:hover { animation-play-state: paused; transform: scale(1.06); }

@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.splash__hint {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ---------- countdown ---------- */

.countdown {
  display: flex;
  gap: clamp(1rem, 4vw, 2.5rem);
  justify-content: center;
}

.countdown__unit { text-align: center; }

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
}

.countdown__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 0.35rem;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  flex-wrap: nowrap;
  justify-content: center;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover, .nav__links a[aria-current="page"] {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

/* contenedor del menú (solo los links); en pantallas medianas hace scroll horizontal */
.nav__menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav__menu::-webkit-scrollbar { display: none; }

/* grupo derecho: idioma + RSVP (+ hamburger en móvil) — siempre visible */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* CTA principal de RSVP en el nav (siempre visible) */
.nav__cta {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--sand);
  background: var(--brick);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav__cta:hover,
.nav__cta[aria-current="page"] {
  color: var(--sand);
  background: var(--olive);
  transform: rotate(-1.5deg) scale(1.04);
}

/* botón hamburger (oculto en desktop) */
.nav__burger {
  display: none;
  width: 44px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1.5px solid var(--olive);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--olive);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- nav responsive: hamburger en pantallas pequeñas ---------- */
@media (max-width: 600px) {
  .nav { gap: 0.5rem; }
  .nav__burger { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    overflow: visible;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: color-mix(in srgb, var(--paper) 97%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
    display: none;
  }
  .nav__menu.is-open { display: flex; }

  .nav__links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav__links a { font-size: 0.9rem; }
}

.lang-toggle {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--olive);
  border-radius: 999px;
  background: none;
  color: var(--olive);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}

.lang-toggle:hover { background: var(--olive); color: var(--paper); }

/* ---------- marquee strip ---------- */

.marquee {
  overflow: hidden;
  background: var(--brick);
  color: var(--sand);
  padding: 0.55rem 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-block;
  animation: marquee 22s linear infinite;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- layout ---------- */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.section--tint { position: relative; background: transparent; max-width: none; isolation: isolate; }
/* capa de color con textura pintada y borde irregular */
.section--tint::before {
  content: "";
  position: absolute;
  inset: -22px 0;
  z-index: -1;
  background-color: var(--sand);
  background-image: var(--tex-sand);
  background-size: cover;
  background-position: center;
  filter: url(#paint-edge);
}
.section--tint > .section__inner { max-width: var(--max-width); margin: 0 auto; }

.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--terracotta);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__date {
  margin-top: 1.5rem;
}

/* banda con textura granate y texto claro (hero, fotos) */
.brown-band {
  position: relative;
  color: var(--sand);
  isolation: isolate;
  overflow: clip;
  overflow-clip-margin: 34px;
}
.brown-band::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px;
  z-index: -1;
  background-color: var(--olive);
  background-image: var(--tex-olive);
  background-size: cover;
  background-position: center;
  filter: url(#paint-edge);
}
.brown-band .display { color: var(--sand); }
.brown-band .eyebrow,
.brown-band .countdown__label { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.brown-band .section__num { color: var(--terracotta); }
.page-head.brown-band {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* stickers: decorative cut-outs scattered editorially */
.sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.sticker--tilt-l { transform: rotate(-8deg); }
.sticker--tilt-r { transform: rotate(7deg); }

/* ---------- mapa embebido ---------- */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--olive);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 3 / 4; } }

/* ---------- cards / tickets ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ticket {
  background: var(--paper);
  border: 1.5px dashed var(--terracotta);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
}

.ticket--solid { background: var(--sand); border-style: solid; border-color: var(--olive); }

.ticket h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.ticket .eyebrow { display: block; margin-bottom: 0.75rem; }

/* recommendation tags (venue chips) */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--terracotta);
  color: var(--olive);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

.tag a {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brick);
  border-left: 1px solid color-mix(in srgb, var(--terracotta) 45%, transparent);
  padding-left: 0.5rem;
}

.tag a:hover { text-decoration: underline; }

.tag:nth-child(3n) { transform: rotate(-1.5deg); }
.tag:nth-child(3n + 1) { transform: rotate(1.2deg); }

/* card image */
.ticket__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--olive) 25%, transparent);
  margin-bottom: 1.1rem;
}

.ticket__links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ticket__links a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brick);
  padding-bottom: 1px;
}

.ticket__links a:hover { color: var(--olive); border-color: var(--olive); }

.photo-credit {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  padding: 0 var(--gutter) 2rem;
}

/* rotated corner badge */
.badge {
  position: absolute;
  top: -0.9rem;
  right: 1rem;
  transform: rotate(6deg);
  background: var(--brick);
  color: var(--sand);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  cursor: pointer;
  border: 1.5px solid var(--brick);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--primary { background: var(--brick); color: var(--sand); }
.btn--primary:hover { background: var(--olive); border-color: var(--olive); transform: rotate(-1.5deg) scale(1.03); }

.btn--ghost { background: none; color: var(--brick); }
.btn--ghost:hover { background: var(--brick); color: var(--sand); transform: rotate(1.5deg) scale(1.03); }

/* ---------- placeholder frames (until real photos) ---------- */

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--terracotta) 14%, var(--paper)),
    color-mix(in srgb, var(--terracotta) 14%, var(--paper)) 12px,
    var(--paper) 12px,
    var(--paper) 24px
  );
  border: 1.5px solid var(--olive);
  border-radius: 12px;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 220px;
  text-align: center;
  padding: 1rem;
}

/* ---------- rsvp form ---------- */

.rsvp-form {
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.field input,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--olive);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.field select { appearance: none; cursor: pointer; }

.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--brick);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brick) 18%, transparent);
}

.rsvp-form .btn { grid-column: 1 / -1; justify-self: center; }

.form-msg {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-msg--ok { color: var(--olive); }
.form-msg--error { color: var(--brick); }

@media (max-width: 560px) {
  .rsvp-form { grid-template-columns: 1fr; }
}

/* ---------- photobook ---------- */

/* Archo se asoma desde la esquina, apuntando su cámara al título */
.page-head {
  position: relative;
  padding-top: clamp(7rem, 16vw, 11rem);
}

.archo {
  position: absolute;
  top: -1rem;
  right: clamp(-2rem, -2vw, -0.5rem);
  width: min(210px, 34vw);
  transform: rotate(8deg);
  transform-origin: top right;
  z-index: 2;
  pointer-events: none;
  /* Archo ya trae su contorno blanco de sticker; solo agregamos sombra */
  filter: drop-shadow(0 8px 14px rgba(42, 37, 15, 0.28));
  animation: archo-peek 6s ease-in-out infinite;
}

@keyframes archo-peek {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-8px); }
}

@media (max-width: 640px) {
  .archo { top: -0.75rem; right: -0.75rem; width: 32vw; }
  .page-head { padding-top: clamp(7rem, 40vw, 11rem); }
}

@media (prefers-reduced-motion: reduce) {
  .archo { animation: none; }
}

/* stack de fotos de la pareja (Nuestra historia) — arrastrable */
.photo-stack {
  position: relative;
  width: min(360px, 90%);
  margin: 0 auto 3rem;
  justify-self: center;
  align-self: start;
  display: flex;
  justify-content: center;
}
/* las de atrás: más pequeñas y abanicadas, asoman por los bordes */
.photo-stack img:not(:last-child) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  height: auto;          /* forma original de cada foto */
}
/* la primera (última en el DOM): grande, encima, cubre el resto */
.photo-stack img:last-child {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 6;
}
.photo-stack img:nth-child(1) { transform: translate(-50%, -50%) rotate(-11deg); }
.photo-stack img:nth-child(2) { transform: translate(-50%, -50%) rotate(7deg); }
.photo-stack img:nth-child(3) { transform: translate(-50%, -50%) rotate(-6deg); }
.photo-stack img:nth-child(4) { transform: translate(-50%, -50%) rotate(9deg); }
.photo-stack img:nth-child(5) { transform: rotate(-3deg); }
.photo-stack::after {
  content: "✦ Arrástralas ✦";
  position: absolute;
  left: 0; right: 0; bottom: -2rem;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  pointer-events: none;
}
html[lang="en"] .photo-stack::after { content: "✦ Drag them ✦"; }

/* ---------- foto sticker reutilizable (borde blanco tipo Archo) ---------- */
.photo-sticker {
  border: 6px solid #f4efe3;
  border-bottom-width: 14px;
  border-radius: 3px;
  background: #f4efe3;
  box-shadow: 0 10px 22px rgba(20, 14, 4, 0.28);
  display: block;
}

/* foto que se asoma en el encabezado de las páginas internas */
.head-sticker {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  width: clamp(96px, 14vw, 165px);
  z-index: 2;
  transform: rotate(var(--r, -5deg));
}
.head-sticker--l { left: clamp(0.5rem, 5vw, 4rem); }
.head-sticker--r { right: clamp(0.5rem, 5vw, 4rem); }

@media (max-width: 720px) {
  .head-sticker { display: none; }
}

/* banda de fotos tipo collage (antes del footer) */
.photo-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(0.5rem, 2vw, 1.5rem);
}
.photo-band img {
  width: clamp(112px, 15vw, 185px);
  flex: none;
}
.photo-band img:nth-child(4n + 1) { transform: rotate(-5deg); }
.photo-band img:nth-child(4n + 2) { transform: rotate(3deg); margin-top: 1.4rem; }
.photo-band img:nth-child(4n + 3) { transform: rotate(-2deg); }
.photo-band img:nth-child(4n)     { transform: rotate(5deg); margin-top: 0.8rem; }

.upload-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.upload-bar .btn { cursor: pointer; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.9rem;
}

.gallery:empty::after {
  content: "✦";
  grid-column: 1 / -1;
  text-align: center;
  color: color-mix(in srgb, var(--terracotta) 60%, transparent);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid color-mix(in srgb, var(--olive) 30%, transparent);
  background: color-mix(in srgb, var(--sand) 50%, var(--paper));
}

.gallery img:nth-child(4n + 1) { transform: rotate(-1.2deg); }
.gallery img:nth-child(4n + 3) { transform: rotate(1.2deg); }

.album-locked { max-width: 34rem; margin: 0 auto; text-align: center; }

/* ---------- vinilo / música de fondo ---------- */

.vinyl {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 70;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(42, 37, 15, 0.35));
}

.vinyl svg { width: 100%; height: 100%; display: block; }

.vinyl.is-playing svg { animation: spin 2.2s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.vinyl__state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--brick);
  pointer-events: none;
  transform: translateY(0.35rem);
}

.vinyl:hover { transform: scale(1.08); }

/* iframe de Spotify oculto (lo controla el vinilo) */
.spotify-hidden {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0.01;
  pointer-events: none;
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  background: transparent;
  color: var(--paper);
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) 2rem;
  text-align: center;
  overflow: clip;
  overflow-clip-margin: 30px;
  isolation: isolate;
}
/* capa oliva con textura pintada y borde superior irregular */
.footer::before {
  content: "";
  position: absolute;
  inset: -24px 0 0;
  z-index: -1;
  background-color: var(--olive);
  background-image: var(--tex-olive);
  background-size: cover;
  background-position: center;
  filter: url(#paint-edge);
}

.footer__names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 10rem);
  line-height: 0.9;
  color: var(--sand);
}

.footer__meta {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

/* ---------- page header (inner pages) ---------- */

.page-head {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) 0;
}


