/* Triple F — teaser
   Implemented from the Claude Design file "Triple F Teaser.dc.html". */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Winky Milky";
  src: url("../assets/fonts/winky-milky.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("../assets/fonts/sofia-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("../assets/fonts/sofia-sans-condensed.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FDF7ED;
  --navy: #001871;
  --pink: #F57EB6;
  --white: #FFFFFF;

  --font-display: "Winky Milky", "Cooper Black", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Sofia Sans Condensed", "Arial Narrow", system-ui, sans-serif;

  --gutter: max(30px, 6vw);
  --panel-h: 100vh;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--pink); color: var(--navy); }

a { color: var(--pink); }
a:hover { color: var(--navy); }

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  text-decoration: none;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 0 0 transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--pink { background: var(--pink); }
.btn--cream { background: var(--cream); }
.btn--pink:hover,
.btn--pink:focus-visible { color: var(--navy); transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--cream); }
.btn--cream:hover,
.btn--cream:focus-visible { color: var(--navy); transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--pink); }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter);
  text-align: center;
  overflow: hidden;
  background: var(--cream);
}

.hero__tent {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
.hero__tent--bottom { left: -60px; bottom: -70px; width: min(280px, 50vw); }
.hero__tent--top { right: 30px; top: -15px; width: min(190px, 28vw); transform: rotate(180deg); }

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 900px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(12vw, 90px);
  line-height: 1.05;
}
.hero__word { position: relative; display: inline-block; }
.hero__tag {
  position: absolute;
  left: -19px;
  top: 0;
  transform: rotate(-16deg);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  background: var(--pink);
  color: var(--cream);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.24em;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero__sub {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.75;
}

.hero__cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bounce 2s ease-in-out infinite;
}
.hero__cue-label {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 0.25em;
  opacity: 0.6;
}
.hero__cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--navy), transparent);
  opacity: 0.6;
}

@media (min-width: 701px) {
  .hero__tent--bottom { bottom: -40px; width: min(220px, 32vw); }
  .hero__tent--top { right: 40px; top: -50px; width: min(160px, 24vw); }
}

/* ---------- Horizontal scroll ---------- */
.hscroll { position: relative; }

.hscroll__viewport {
  position: sticky;
  top: 0;
  height: var(--panel-h);
  overflow: hidden;
}

.hscroll__track {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--panel-h);
  width: max-content;
  display: flex;
  will-change: transform;
}

/* Without JS the track becomes a plain horizontally scrollable strip. */
html:not(.js) .hscroll__viewport { position: static; overflow-x: auto; overflow-y: hidden; }
html:not(.js) .hscroll__track { position: static; }

.panel {
  flex: none;
  height: var(--panel-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.panel--navy { background: var(--navy); color: var(--cream); }
.panel--pink { background: var(--pink); color: var(--cream); }
.panel--cream { background: var(--cream); color: var(--navy); }

.panel--wide { width: 90vw; }
.panel--half { width: max(45vw, 340px); container-type: inline-size; }
.panel--strip {
  width: min(160px, 18vw);
  padding: 0;
  background: url("../assets/banner-tentaculos.webp") center / cover no-repeat;
}
.panel--cta { width: calc(100vw - 40px); gap: 22px; }

.panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(12vw, 96px);
  line-height: 1;
}
.panel__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(150px, 17cqw);
  line-height: 1;
}

/* Love panel + stickers */
.love { position: relative; overflow: hidden; gap: 14px; }
.love__kicker {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: min(4vw, 22px);
  letter-spacing: 0.1em;
}
.love__title {
  max-width: 950px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(12vw, 102px);
  line-height: 1.05;
  color: var(--pink);
}

.sticker {
  position: absolute;
  z-index: 2;
  width: min(120px, 26vw);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  animation: stickerFloat 3.6s ease-in-out infinite;
}
.sticker img {
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.25s ease;
}
.sticker--0 { left: 62%; top: 20%; }
.sticker--1 { left: 18%; top: 78%; animation-delay: 1.4s; }
.sticker--2 { width: min(100px, 22vw); left: 15%; top: 46%; animation-delay: 2.2s; }
.sticker--3 { width: min(60px, 14vw); left: 26%; top: 16%; animation-delay: 0.6s; }
.sticker--flip img { transform: scaleX(-1); }
.sticker.is-dragging { cursor: grabbing; z-index: 3; }
.sticker[hidden] { display: none; }

@media (hover: hover) {
  .sticker:hover img { transform: scale(1.18); }
  .sticker--flip:hover img { transform: scaleX(-1) scale(1.18); }
}

@media (max-width: 700px) {
  .sticker--2, .sticker--3 { display: none; }
}
@media (min-width: 701px) {
  .sticker--0 { left: 85%; top: 29%; }
  .sticker--1 { left: 72%; top: 84%; }
}

/* CTA panel */
.cta__title {
  max-width: 900px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(9vw, 68px);
  line-height: 1.1;
}
.cta__lead { max-width: 480px; font-size: 18px; opacity: 0.85; }
.cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.cta__note { max-width: 420px; margin-top: 8px; font-size: 15px; opacity: 0.7; }
.cta__follow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--pink);
}

/* ---------- Signup ---------- */
.signup {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px var(--gutter);
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.signup__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.signup__city {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--pink);
}
.signup__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(12vw, 89px);
  line-height: 1.05;
  color: var(--pink);
}
.signup__sub { max-width: 480px; font-size: 17px; opacity: 0.8; }

.signup__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.signup__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.signup__input {
  width: min(260px, 70vw);
  padding: 14px 18px;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.signup__input::placeholder { color: color-mix(in srgb, var(--navy) 55%, transparent); }
.signup__input:focus-visible {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pink) 40%, transparent);
}
.signup__input[aria-invalid="true"] { border-color: var(--pink); }

.signup__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.8;
  cursor: pointer;
}
.signup__check {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.signup__check:checked { background: var(--pink); border-color: var(--pink); }
.signup__check:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.signup__status {
  max-width: 420px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.signup__status:empty { display: none; }
.signup__status--ok { color: var(--pink); }
.signup__status--error { color: var(--cream); }

.signup__fine { font-size: 12px; line-height: 1.5; }

/* Honeypot: fuera de pantalla, invisible para personas, visible para bots. */
.signup__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer {
  padding: 18px 24px;
  background: var(--navy);
  text-align: center;
}
.footer img { height: 28px; width: auto; margin: 0 auto; }

/* ---------- Motion ---------- */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes stickerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue, .sticker { animation: none; }
  .btn, .sticker img { transition: none; }
}
