:root {
  --ink: #101416;
  --navy: #0c2f4c;
  --blue: #174f7c;
  --bright: #2f78ae;
  --paper: #f7f8f8;
  --muted: #5f6b72;
  --line: rgba(16, 20, 22, 0.11);
  --heart: #8f1d24;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.event-header {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), 1280px);
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 18px 9px 10px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(12,47,76,.1);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  transform: translateX(-50%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 13px; font-weight: 720; text-decoration: none; }
.brand img {
  width: 48px;
  height: 48px;
  display: block;
  padding: 5px;
  border: 1px solid rgba(16, 20, 22, .1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 16px rgba(16, 20, 22, .07);
}
.header-date { color: var(--blue); font-size: 11px; font-weight: 790; letter-spacing: .09em; text-transform: uppercase; }

main { min-height: 100vh; }
.hero {
  position: relative;
  min-height: 920px;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(400px, .72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding: 126px max(24px, calc((100vw - 1280px) / 2)) 70px;
  background:
    radial-gradient(circle at 75% 34%, rgba(47,120,174,.12), transparent 28%),
    linear-gradient(145deg, #fff 0%, #f8f9f9 60%, #edf3f6 100%);
}
.hero::before {
  content: "HEART";
  position: absolute;
  left: max(14px, calc((100vw - 1340px) / 2));
  bottom: 14px;
  color: rgba(23,79,124,.035);
  font-size: clamp(9rem, 20vw, 19rem);
  font-weight: 800;
  line-height: .75;
  letter-spacing: -.1em;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; animation: rise 720ms var(--ease) both; }
.event-line { margin: 0 0 22px; color: var(--blue); font-size: 11px; font-weight: 790; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(4rem, 6.2vw, 6.9rem); font-weight: 680; line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
h1 span { display: block; color: var(--blue); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #2c3d48; font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.hero-intro { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.event-details {
  position: relative;
  max-width: 690px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(244, 248, 250, .82));
  box-shadow: 0 18px 45px rgba(12, 47, 76, .1), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
}
.event-detail { position: relative; min-width: 0; padding: 20px 21px 21px; }
.event-detail + .event-detail::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(16, 20, 22, .13), transparent);
}
.event-detail span, .event-detail strong, .event-detail small { display: block; }
.event-detail span { color: var(--blue); font-size: 9px; font-weight: 760; text-transform: uppercase; letter-spacing: .12em; }
.event-detail strong { margin-top: 8px; color: var(--navy); font-size: clamp(1.05rem, 1.45vw, 1.28rem); font-weight: 690; line-height: 1.12; letter-spacing: -.035em; }
.event-detail small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 560; line-height: 1.35; }

.flyer-stage { position: relative; width: min(100%, 430px); margin: 34px auto 20px; }
.flyer-stage::before { content: ""; position: absolute; z-index: -1; inset: 16px -18px -18px 18px; border-radius: 34px; background: rgba(23,79,124,.08); transform: rotate(2deg); }
.flyer-stage img { width: 100%; height: auto; display: block; border: 9px solid rgba(255,255,255,.96); border-radius: 34px; background: white; box-shadow: 0 34px 80px rgba(12,47,76,.16); transform: rotate(-1deg); }
.focus-line { max-width: 690px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: -4px; color: var(--blue); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.focus-line span + span::before { content: "·"; margin-right: 26px; color: var(--heart); }

.registration-stage { position: relative; z-index: 5; width: min(100%, 500px); justify-self: end; scroll-margin-top: 100px; animation: rise 780ms 80ms var(--ease) both; }
.registration-card {
  min-height: 650px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 38px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 40px 100px rgba(12,47,76,.16), inset 0 1px 0 white;
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
}
.form-kicker { margin: 0 0 14px; color: var(--blue); font-size: 10px; font-weight: 790; letter-spacing: .13em; text-transform: uppercase; }
.registration-card h2 { margin: 0; color: var(--navy); font-size: clamp(2.55rem, 4vw, 3.8rem); font-weight: 680; line-height: .96; letter-spacing: -.065em; }
.form-intro { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
form { display: grid; gap: 14px; margin-top: 26px; }
.field { display: grid; gap: 7px; color: #2d3e48; font-size: 11px; font-weight: 720; }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid transparent; border-radius: 16px; background: #f1f4f5; box-shadow: inset 0 0 0 1px rgba(16,20,22,.05); color: var(--ink); font-size: 16px; outline: 0; transition: 180ms ease; }
.field input:hover { background: #edf1f3; }
.field input:focus { border-color: rgba(47,120,174,.58); background: white; box-shadow: 0 0 0 4px rgba(47,120,174,.11); }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.consents { min-width: 0; display: grid; gap: 9px; margin: 2px 0 0; padding: 0; border: 0; }
.consents legend { margin-bottom: 9px; padding: 0; color: #2d3e48; font-size: 11px; font-weight: 720; }
.consent { position: relative; display: grid; grid-template-columns: 19px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border: 1px solid rgba(23,79,124,.11); border-radius: 15px; background: rgba(231,241,248,.48); color: #5e6b73; font-size: 10px; font-weight: 560; line-height: 1.48; cursor: pointer; }
.consent input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; opacity: 0; }
.consent-box { width: 19px; height: 19px; display: grid; place-items: center; border: 1.5px solid #8c9aa3; border-radius: 6px; background: white; transition: 180ms ease; }
.consent-box::after { content: ""; width: 8px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; opacity: 0; transform: translateY(-1px) rotate(-45deg); }
.consent:has(input:checked) { border-color: rgba(23,79,124,.38); background: rgba(231,241,248,.94); }
.consent:has(input:checked) .consent-box { border-color: var(--blue); background: var(--blue); }
.consent:has(input:checked) .consent-box::after { opacity: 1; }
.consent:has(input:focus-visible) { outline: 2px solid rgba(47,120,174,.5); outline-offset: 2px; }

form button { min-height: 56px; margin-top: 2px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; font-size: 13px; font-weight: 780; box-shadow: 0 16px 34px rgba(12,47,76,.18); cursor: pointer; transition: transform 180ms var(--ease), box-shadow 180ms ease; }
form button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(12,47,76,.24); }
form button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-disclosure { margin: -2px 2px 0; color: #7a868d; font-size: 10px; line-height: 1.5; text-align: center; }
.form-disclosure a { color: var(--blue); }
.form-status { min-height: 18px; margin: -3px 0 0; color: var(--blue); font-size: 11px; font-weight: 650; line-height: 1.5; text-align: center; }
.reassurance { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.reassurance span { color: var(--muted); font-size: 10px; }
.reassurance span::before { content: "✓"; margin-right: 5px; color: var(--blue); font-weight: 800; }

.success { min-height: 550px; display: grid; align-content: center; }
.success[hidden] { display: none; }
.success:focus { outline: 0; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 50%; background: #e7f1f7; color: var(--blue); font-size: 24px; font-weight: 800; }
.success > p:not(.form-kicker) { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.success a { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; margin-top: 28px; border-radius: 999px; background: var(--navy); color: white; font-size: 13px; font-weight: 760; text-decoration: none; }

footer { width: min(calc(100% - 40px), 1280px); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; color: var(--muted); font-size: 11px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }

button:focus-visible, a:focus-visible { outline: 3px solid rgba(47,120,174,.38); outline-offset: 3px; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 54px; }
  .registration-stage { width: min(100%, 650px); justify-self: center; }
  .flyer-stage { margin-inline: auto; }
}

@media (max-width: 680px) {
  .event-header { top: 8px; width: calc(100% - 16px); min-height: 60px; padding: 7px 12px 7px 8px; }
  .brand { font-size: 12px; }
  .brand img { width: 44px; height: 44px; }
  .header-date { max-width: 128px; font-size: 9px; line-height: 1.35; text-align: right; }
  .hero { min-height: auto; gap: 38px; padding: 92px 10px 36px; }
  .hero-copy { padding: 28px 10px 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  .hero-lead { font-size: 1.18rem; }
  .hero-intro { font-size: 15px; }
  .event-details { grid-template-columns: 1fr; border-radius: 24px; }
  .event-detail { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; }
  .event-detail + .event-detail::before { top: 0; right: 18px; bottom: auto; left: 18px; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(16, 20, 22, .13), transparent); }
  .event-detail span { grid-row: 1 / span 2; }
  .event-detail strong { margin-top: 0; font-size: 1.06rem; }
  .event-detail small { margin-top: 3px; }
  .flyer-stage { width: min(100%, 360px); margin-top: 30px; }
  .flyer-stage::before { inset: 12px -10px -12px 10px; border-radius: 27px; }
  .flyer-stage img { border-width: 7px; border-radius: 27px; transform: none; }
  .focus-line { gap: 8px 12px; font-size: 9px; }
  .focus-line span + span::before { margin-right: 12px; }
  .registration-card { min-height: 0; padding: 30px 18px 24px; border-radius: 30px; }
  .registration-card h2 { font-size: 2.6rem; }
  .consent { padding: 12px 10px; }
  .reassurance { display: grid; grid-template-columns: 1fr 1fr; }
  footer { width: calc(100% - 32px); min-height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .registration-stage { animation: none; }
}
