@font-face {
  font-family: "Transformers Movie";
  src: url("assets/fonts/transformers_movie.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #102434;
  --night: #091b2c;
  --deep: #102e47;
  --steel: #667c8e;
  --muted: #5f7180;
  --paper: #f4f6f5;
  --paper-blue: #e7eef1;
  --white: #fffdf9;
  --red: #e6543e;
  --red-dark: #b83f31;
  --electric: #7bd7ff;
  --line: rgba(16, 46, 71, .16);
  --shadow: 0 24px 60px rgba(9, 27, 44, .15);
  --display: "Transformers Movie", "Arial Black", "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(120deg, rgba(123,215,255,.08), transparent 35%), radial-gradient(rgba(16,46,71,.13) .65px, transparent .65px); background-size: auto, 20px 20px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
img, video { display: block; max-width: 100%; }
button, a, input, select, textarea { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .94; }
h1 { margin-bottom: 18px; font-size: clamp(4rem, 18vw, 9rem); letter-spacing: -.08em; }
h1 span { display: block; color: var(--electric); font-size: .46em; line-height: 1; letter-spacing: -.04em; }
h2 { margin-bottom: 18px; font-size: clamp(2.45rem, 10vw, 5.4rem); letter-spacing: -.065em; }
h3 { margin-bottom: 9px; font-size: clamp(1.35rem, 4.5vw, 1.9rem); letter-spacing: -.04em; }
.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: 12px; left: 12px; padding: 10px 14px; color: var(--white); background: var(--night); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site { width: 100%; overflow: hidden; }
.section { width: min(100%, 1160px); margin-inline: auto; padding: 88px 22px; }
.section-heading { max-width: 670px; margin: 0 auto 34px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading > p:last-child, .story__copy { color: var(--muted); }
.section-kicker, .eyebrow { margin: 0 0 11px; color: var(--red-dark); font-size: .7rem; font-weight: 850; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; box-shadow: 5px 5px 0 currentColor; cursor: pointer; font-family: var(--sans); font-size: .83rem; font-weight: 850; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 currentColor; }
.button--light { color: var(--night); background: var(--white); box-shadow: 5px 5px 0 var(--red); }
.button--primary { color: var(--white); background: var(--red); }
.button--outline { color: var(--deep); border-color: var(--deep); background: transparent; }
.button--full { width: 100%; }
.button:focus-visible, .floating-cta a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .quantity-control button:focus-visible, .ronda-signature:focus-visible { outline: 3px solid var(--electric); outline-offset: 4px; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: end center; isolation: isolate; overflow: hidden; color: var(--white); background: var(--night); }
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__media { z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero__veil { z-index: -2; background: linear-gradient(180deg, rgba(7,25,43,.08) 15%, rgba(7,25,43,.18) 41%, rgba(7,25,43,.9) 100%), linear-gradient(90deg, rgba(7,25,43,.36), transparent 65%); }
.hero__hud { position: absolute; z-index: -1; color: rgba(255,255,255,.78); font-family: var(--sans); font-size: .57rem; font-weight: 800; letter-spacing: .14em; }
.hero__hud--top { top: calc(20px + env(safe-area-inset-top)); right: 18px; left: 18px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 9px; }
.hero__hud--side { top: 33%; right: 15px; display: grid; gap: 8px; justify-items: center; writing-mode: vertical-rl; opacity: .8; }
.hero__hud--side i { width: 1px; height: 48px; background: var(--electric); }
.hero__content { width: min(calc(100% - 36px), 780px); padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.hero .eyebrow { color: var(--electric); text-shadow: 1px 1px 2px var(--night); }
.hero__tagline { max-width: 310px; margin-bottom: 15px; color: rgba(255,255,255,.88); font-size: clamp(.98rem, 3.8vw, 1.2rem); }
.hero__date { margin-bottom: 25px; color: var(--white); font-family: var(--sans); font-size: .9rem; font-weight: 850; letter-spacing: .17em; }
.scroll-cue { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; width: 25px; height: 39px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 7px; border-radius: 8px; background: var(--electric); transform: translateX(-50%); animation: scrollCue 1.8s ease-in-out infinite; }

.story { position: relative; max-width: 800px; padding-top: 120px; padding-bottom: 125px; text-align: center; }
.story h2 { max-width: 650px; margin-inline: auto; }
.story__copy { max-width: 590px; margin: 0 auto; font-size: clamp(1.03rem, 2.8vw, 1.2rem); }
.tech-line { display: flex; width: 120px; align-items: center; justify-content: center; gap: 7px; margin: 0 auto 34px; }
.tech-line span { display: block; width: 8px; height: 8px; border: 1px solid var(--red); transform: rotate(45deg); }
.tech-line span:nth-child(2) { width: 54px; border-color: var(--electric); background: var(--electric); transform: none; }

.video-section { padding-top: 34px; background: linear-gradient(180deg, transparent, rgba(123,215,255,.1)); }
.video-frame { position: relative; width: min(100%, 390px); aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; border: 1px solid rgba(16,46,71,.35); background: var(--night); box-shadow: 10px 10px 0 var(--red), 18px 18px 0 rgba(16,46,71,.12); }
.video-frame::before, .video-frame::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.video-frame::before { inset: 10px; border: 1px solid rgba(255,255,255,.24); }
.video-frame::after { right: 20px; bottom: 20px; width: 26px; height: 26px; border-right: 2px solid var(--electric); border-bottom: 2px solid var(--electric); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-fallback { position: absolute; z-index: 2; inset: 0; display: grid; align-content: end; gap: 8px; padding: 28px 22px; color: var(--white); text-align: center; background: linear-gradient(180deg, rgba(9,27,44,.12), rgba(9,27,44,.94)), url("assets/benja_imagen.jpeg") center / cover; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.video-fallback strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; }
.video-fallback span { font-size: .85rem; }
.video-frame.is-video-unavailable video { visibility: hidden; }
.video-frame.is-video-unavailable .video-fallback { opacity: 1; }

.event-section { padding-top: 112px; }
.event-card { display: grid; grid-template-columns: 132px 1fr; gap: 22px; max-width: 800px; margin: 0 auto; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.58); box-shadow: var(--shadow); }
.event-date { display: grid; min-height: 166px; place-items: center; align-content: center; gap: 6px; padding: 12px 8px; color: var(--white); background: var(--deep); box-shadow: 6px 6px 0 var(--electric); text-align: center; }
.event-date span { font-family: var(--sans); font-size: .65rem; font-weight: 850; letter-spacing: .1em; }
.event-date strong { color: var(--electric); font-family: var(--display); font-size: 4.5rem; line-height: .78; letter-spacing: -.08em; }
.event-details { align-self: center; }
.event-details__type { margin-bottom: 7px; color: var(--red-dark); font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.event-details h3 { margin-bottom: 10px; font-size: clamp(1.36rem, 5vw, 2rem); }
.event-details p { margin-bottom: 5px; color: var(--muted); }
.event-details p strong { color: var(--ink); }
.event-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 30px; }

.countdown-section { width: 100%; max-width: none; padding: 0; color: var(--white); background: var(--night); }
.countdown-inner { position: relative; max-width: 1050px; padding: 86px 22px 92px; margin: 0 auto; isolation: isolate; overflow: hidden; text-align: center; }
.countdown-inner::before { content: ""; position: absolute; z-index: -1; top: 22px; left: 50%; width: min(86vw, 550px); height: min(86vw, 550px); border: 1px solid rgba(123,215,255,.18); border-radius: 50%; transform: translateX(-50%); }
.orb { position: absolute; z-index: -1; width: 130px; height: 130px; border-radius: 50%; filter: blur(1px); opacity: .45; }
.orb--one { top: -70px; left: -50px; background: var(--red); }
.orb--two { right: -60px; bottom: -80px; background: var(--electric); }
.countdown-section .section-kicker { color: var(--electric); }
.countdown-section h2 { color: var(--white); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 700px; margin: 36px auto 0; border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.15); }
.countdown > div { padding: 17px 4px 14px; }
.countdown > div + div { border-left: 1px solid rgba(255,255,255,.15); }
.countdown strong { display: block; color: var(--electric); font-family: var(--display); font-size: clamp(1.85rem, 8vw, 4.2rem); line-height: 1; letter-spacing: -.07em; }
.countdown span { display: block; margin-top: 9px; color: rgba(255,255,255,.68); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.countdown-finished { margin: 30px 0 0; color: var(--electric); font-family: var(--display); font-size: 1.35rem; }

.details-section { padding-top: 112px; }
.details-grid { display: grid; gap: 0; max-width: 850px; margin: 0 auto; border-top: 1px solid var(--line); }
.detail-block { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.detail-block--highlight { border-left: 4px solid var(--red); padding-left: 16px; }
.detail-number { color: var(--red-dark); font-family: var(--sans); font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.detail-block h3 { margin-bottom: 6px; font-size: 1.3rem; }
.detail-block p { margin-bottom: 0; color: var(--muted); }
.signal-note { display: flex; max-width: 650px; align-items: flex-start; gap: 12px; margin: 62px auto 0; }
.signal-note span { color: var(--red); font-size: 1.4rem; }
.signal-note p { margin: 0; color: var(--deep); font-family: var(--display); font-size: clamp(1.35rem, 5vw, 2.1rem); line-height: 1.05; }

.rsvp-section { padding-top: 72px; padding-bottom: 112px; background: linear-gradient(180deg, transparent, rgba(230,84,62,.09)); }
.rsvp-card { display: grid; gap: 34px; max-width: 1000px; padding: clamp(26px, 5vw, 54px); margin: 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.8); box-shadow: var(--shadow); }
.rsvp-intro p:last-child { max-width: 420px; margin-bottom: 0; color: var(--muted); }
#rsvpForm { display: grid; gap: 9px; }
#rsvpForm > label, .quantity-field > label { color: var(--deep); font-size: .8rem; font-weight: 850; }
#rsvpForm input, #rsvpForm select, #rsvpForm textarea { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; outline: none; background: var(--white); font-size: 16px; }
#rsvpForm input, #rsvpForm select { min-height: 51px; }
#rsvpForm textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
#rsvpForm input::placeholder, #rsvpForm textarea::placeholder { color: #8797a2; }
#rsvpForm input:focus, #rsvpForm select:focus, #rsvpForm textarea:focus { border-color: var(--electric); box-shadow: 0 0 0 4px rgba(123,215,255,.23); }
.field-error { min-height: 0; color: #a7352b; font-size: .74rem; font-weight: 750; }
.field-error.is-visible { min-height: 18px; }
.quantity-field { display: grid; gap: 9px; }
.quantity-field[hidden] { display: none; }
.quantity-control { display: grid; grid-template-columns: 51px minmax(0, 1fr) 51px; gap: 8px; }
.quantity-control input { text-align: center; font-weight: 800; }
.quantity-control button { min-height: 51px; color: var(--white); border: 0; border-radius: 3px; background: var(--deep); font-size: 1.5rem; font-weight: 800; }
.quantity-control button:disabled, #rsvpForm input:disabled { cursor: not-allowed; opacity: .45; }
.quantity-control input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.quantity-control input[type="number"]::-webkit-inner-spin-button, .quantity-control input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
#rsvpForm [aria-invalid="true"] { border-color: var(--red-dark); box-shadow: 0 0 0 3px rgba(182,63,49,.15); }

.closing-section { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; overflow: hidden; color: var(--white); background: var(--night); }
.closing__media, .closing__veil { position: absolute; inset: 0; }
.closing__media { z-index: -2; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 52%; transform: scale(1.05); }
.closing__veil { z-index: -1; background: linear-gradient(180deg, rgba(9,27,44,.35), rgba(9,27,44,.93)); }
.closing__content { width: min(calc(100% - 36px), 760px); padding: 70px 0; text-align: center; }
.closing__content .section-kicker { color: var(--electric); }
.closing__content h2 { max-width: 700px; margin-inline: auto; color: var(--white); }
.closing__name { margin: 28px 0 12px; color: var(--electric); font-family: var(--display); font-size: 1.45rem; }
.closing__date { margin-bottom: 0; color: var(--white); font-family: var(--sans); font-size: .84rem; font-weight: 850; letter-spacing: .16em; }
.footer { padding: 42px 22px calc(72px + env(safe-area-inset-bottom)); text-align: center; }
.ronda-signature { display: inline-flex; flex-direction: column; gap: 3px; color: var(--muted); }
.ronda-signature span { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.ronda-signature strong { color: var(--red-dark); }
.ronda-signature small { font-size: .7rem; }
.floating-cta { position: fixed; z-index: 20; right: 16px; bottom: calc(17px + env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; pointer-events: none; opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.floating-cta.is-visible { pointer-events: auto; opacity: 1; transform: translateY(0); }
.floating-cta .button { max-width: calc(100vw - 32px); padding-inline: 16px; box-shadow: 0 13px 28px rgba(9,27,44,.28); }
.toast { position: fixed; z-index: 30; right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 16px; max-width: 380px; padding: 13px 16px; margin: auto; color: var(--white); background: var(--night); box-shadow: var(--shadow); font-size: .82rem; font-weight: 750; text-align: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 12px); } }

@media (min-width: 680px) {
  .hero { place-items: center start; }
  .hero__content { padding-bottom: 7svh; margin-left: max(6vw, calc((100vw - 1120px) / 2)); }
  .hero__media img { object-position: 64% 45%; }
  .story { padding-top: 155px; padding-bottom: 155px; }
  .event-card { grid-template-columns: 180px 1fr; gap: 38px; padding: 18px; }
  .event-date { min-height: 190px; }
  .details-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 0; }
  .detail-block, .detail-block--highlight { display: block; min-height: 205px; padding: 23px; border: 1px solid var(--line); }
  .detail-block--highlight { border-left: 4px solid var(--red); background: rgba(230,84,62,.07); }
  .detail-number { display: block; margin-bottom: 48px; }
  .rsvp-card { grid-template-columns: .9fr 1fr; gap: clamp(40px, 6vw, 78px); }
  .floating-cta { left: auto; }
}

@media (min-width: 980px) {
  .section { padding-top: 130px; padding-bottom: 130px; }
  .hero__media img { object-position: 65% 45%; }
  .event-section, .details-section, .rsvp-section { padding-top: 140px; padding-bottom: 140px; }
  .closing-section { min-height: 680px; }
}

@media (max-width: 430px) {
  .section { padding-inline: 18px; }
  .hero__content { width: min(calc(100% - 36px), 780px); }
  .hero__content h1 { font-size: clamp(3.6rem, 17vw, 4.6rem); }
  .event-card { grid-template-columns: 106px 1fr; gap: 15px; padding: 10px; }
  .event-date { min-height: 148px; }
  .event-date strong { font-size: 3.9rem; }
  .event-details h3 { font-size: 1.23rem; }
  .event-actions .button { flex: 1 1 150px; }
  .video-frame { box-shadow: 7px 7px 0 var(--red), 13px 13px 0 rgba(16,46,71,.12); }
  .countdown > div { padding-inline: 2px; }
  .countdown strong { font-size: 1.75rem; }
  .countdown span { font-size: .53rem; letter-spacing: .04em; }
}

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