@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000;
  --white: #fff;
  --green: #2bd758;      /* brand accent */
  --flyer-green: #539f3d; /* green used on the flyer */
  --blue: #3478ff;
  --ink: #0b0b0d;
  --card: #111114;
  --field: #1d1d23;
  --line: #3a3a44;
  --edge: #7a7a88;
  --muted: #c4c4cc;
  --danger: #ff6b6b;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Page shell ---------- */
.page { position: relative; width: 100%; max-width: 560px; margin: 0 auto; background: var(--black); min-height: 100vh; }

/* ---------- Hero (flyer look) ---------- */
.hero {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 24px 44px;
  text-align: center;
  background:
    radial-gradient(ellipse 110% 20% at 55% 11%, rgba(52, 120, 255, 1), rgba(52, 120, 255, 0) 72%),
    radial-gradient(ellipse 60% 17% at 100% 0%, rgba(98, 214, 110, 1), rgba(98, 214, 110, 0) 75%),
    radial-gradient(ellipse 70% 12% at 0% 100%, rgba(40, 90, 200, .55), rgba(40, 90, 200, 0) 70%),
    #000;
}
.hero::after { /* film grain like the flyer */
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.orbits path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.orbits .dot-w { fill: #fff; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .85)); }
.orbits .dot-g { fill: var(--flyer-green); filter: drop-shadow(0 0 14px rgba(83, 159, 61, .85)); }

.logo-link { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); z-index: 5; display: block; line-height: 0; }
.logo { display: block; width: 100px; height: auto; } /* brand: min 100 px */
.logo-black { display: none; }
.hero { padding-top: 140px; }

.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.title {
  font-weight: 700;
  font-size: clamp(56px, 17vw, 92px);
  line-height: 1;
  letter-spacing: -.03em;
}
.vol { font-weight: 600; font-size: clamp(34px, 9vw, 48px); line-height: 1; margin-top: 30px; letter-spacing: -.01em; }
.edition { font-weight: 500; font-size: clamp(17px, 4.6vw, 22px); letter-spacing: .02em; text-transform: uppercase; margin-top: 12px; }

.details { margin-top: 56px; }
.details .what { font-weight: 700; font-size: clamp(22px, 6vw, 28px); }
.details .where { font-size: clamp(14px, 3.8vw, 17px); margin-top: 10px; color: rgba(255, 255, 255, .92); line-height: 1.3; }

.when { position: relative; height: 34cqw; margin-top: 30px; }
.pill {
  position: absolute; top: 50%; width: 24cqw; height: 24cqw; transform: translate(-50%, -50%);
  display: grid; place-items: center; align-content: center; gap: .5cqw;
  text-align: center; z-index: 0;
}
.pill:nth-child(1) { left: 26.2%; }
.pill:nth-child(2) { left: 71.5%; }
.pill::before { /* tilted ellipse (signature shape), proportions taken from the flyer */
  content: ''; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 15.6cqw; height: 26.6cqw; border-radius: 50%;
  background: var(--flyer-green);
  transform: translate(-50%, -50%) rotate(45deg);
}
.pill .big { font-weight: 700; font-size: 8cqw; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.pill .small { font-weight: 600; font-size: 5.2cqw; line-height: 1; }


/* ---------- Mobile: hero is laid out like the flyer (same aspect ratio, positions measured from it) ---------- */
@media (max-width: 599.98px) {
  .page { --w: min(100vw, 560px); }
  .logo-link { top: calc(var(--w) * .266 - 32px); }
  .hero { aspect-ratio: 1449 / 2576; padding: 0; }
  .hero > :not(.orbits) { position: absolute; left: 0; right: 0; margin: 0; }
  .title { top: 44.3cqw; font-size: 18cqw; line-height: 1.1; letter-spacing: -.03em; }
  .vol { top: 91cqw; font-size: 8.5cqw; line-height: 1; }
  .edition { top: 102.1cqw; font-size: 5.2cqw; line-height: 1; }
  .details { top: 125.9cqw; }
  .details .what { font-size: 6cqw; line-height: 1; }
  .details .where { font-size: max(12.5px, 3.5cqw); line-height: 1.2; margin-top: 2.8cqw; }
  .when { top: 158cqw; height: 0; }
}

/* ---------- Form card ---------- */
.panel { padding: 32px 24px 56px; background: var(--ink); border-top: 1px solid var(--line); }
.panel h2 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.panel .lead { margin-top: 10px; font-size: 16px; line-height: 1.4; color: #dcdce2; }

.deadline { margin-top: 14px; font-size: 14px; color: #dcdce2; }
.deadline strong { font-weight: 700; color: #fff; }
.fine a { color: #fff; text-underline-offset: 3px; }
form { margin-top: 26px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label, .legend { font-size: 14px; font-weight: 600; color: #ececf1; }
.opt { font-weight: 400; color: var(--muted); }
input[type='text'], input[type='password'], textarea {
  width: 100%; background: var(--field); border: 1.5px solid var(--edge);
  border-radius: var(--radius); padding: 14px 16px; font-size: 16px; line-height: 1.3;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9a9aa6; }
input[type='text']:focus, input[type='password']:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 215, 88, .25); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 12px; border-radius: var(--radius); border: 1.5px solid var(--edge);
  background: var(--field); font-weight: 600; font-size: 16px; transition: border-color .15s, background .15s;
}
.choice input:checked + span { border-color: var(--green); background: rgba(43, 215, 88, .14); }
.choice input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.btn {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  background: var(--green); color: #000; font-weight: 700; font-size: 17px;
  padding: 16px 20px; border-radius: var(--radius); transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid var(--edge); width: auto; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.btn.small { width: auto; padding: 10px 16px; font-size: 14px; }

.error { color: var(--danger); font-size: 14px; min-height: 1.2em; }
.fine { font-size: 13px; line-height: 1.45; color: #c4c4cc; }

.thanks { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); text-align: left; }
.thanks .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.thanks h3 { margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.thanks p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: #dcdce2; }
.cal { margin-top: 20px; }
.calmain { display: inline-block; padding: 14px 20px; border-radius: var(--radius); background: var(--green); color: #000; font-size: 16px; font-weight: 700; text-decoration: none; }
.calmain:hover { filter: brightness(1.08); }
.calalt { margin-top: 14px; font-size: 14px; color: #c4c4cc; }
.calalt a { color: #fff; text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- 600 px and up: brand background over the full width, fluid sizes ---------- */
@media (min-width: 600px) {
  body { background: #000; }
  .page {
    max-width: none; min-height: 100vh;
    padding: clamp(110px, 14vh, 170px) clamp(24px, 6.5vw, 130px) clamp(32px, 5vh, 96px);
    background: #000 url('/img/bg-desktop.jpg') center / cover no-repeat;
  }
  .logo-link { top: clamp(24px, 4.5vh, 56px); left: auto; transform: none; right: clamp(24px, 3.2vw, 80px); }
  .logo { width: clamp(100px, 7.5vw, 150px); }
  .logo-white { display: none; }
  .logo-black { display: block; }

  .hero { background: none; padding: 0; text-align: left; overflow: visible; isolation: auto; }
  .hero::after, .orbits { display: none; }
  .title { font-size: clamp(60px, 12vw, 120px); }
  .vol { font-size: clamp(34px, 5.4vw, 56px); margin-top: 28px; }
  .edition { font-size: clamp(17px, 2.4vw, 24px); margin-top: 12px; }
  .details { margin-top: 40px; }
  .details .what { font-size: clamp(24px, 3.4vw, 34px); }
  .details .where { font-size: clamp(16px, 2.1vw, 20px); }
  .when { display: flex; justify-content: flex-start; gap: clamp(40px, 8vw, 90px); height: auto; margin-top: 32px; }
  .pill { position: relative; top: auto; transform: none; width: clamp(120px, 11vw, 190px); height: clamp(120px, 11vw, 190px); }
  .pill:nth-child(1), .pill:nth-child(2) { left: auto; }
  .pill::before { width: clamp(70px, 6.4vw, 112px); height: clamp(120px, 11vw, 190px); }
  .pill .big { font-size: clamp(30px, 4.6vw, 50px); }
  .pill .small { font-size: clamp(18px, 2.6vw, 28px); }

  .panel {
    width: 100%; max-width: 560px;
    padding: clamp(24px, 3.2vh, 44px) clamp(24px, 3.6vw, 44px); border-radius: var(--radius);
    background: rgba(8, 8, 10, .9); border: 1.5px solid var(--edge);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .panel form { gap: clamp(10px, 1.6vh, 20px); margin-top: clamp(14px, 2vh, 26px); }
  .panel .error { min-height: 0; margin: -6px 0; }
  .panel .lead { margin-top: 8px; }
  .deadline { margin-top: 14px; font-size: 14px; color: #dcdce2; }
  .panel h2 { font-size: clamp(24px, 3.2vh, 30px); }
  .panel textarea { min-height: clamp(64px, 9vh, 110px); }
  .panel input[type='text'], .panel textarea { padding: 12px 16px; }
  .panel .choice span { min-height: 50px; }
  .panel .btn { padding: 14px 20px; }
}

/* 600 to 899 px: stacked and centred */
@media (min-width: 600px) and (max-width: 899.98px) {
  .hero { text-align: center; }
  .when { justify-content: center; }
  .panel { margin: 56px auto 0; max-width: 640px; }
}

/* 900 px and up: two columns */
@media (min-width: 900px) {
  .page {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: clamp(28px, 5vw, 110px); align-items: center;
    padding: clamp(116px, 14vh, 170px) clamp(32px, 6.5vw, 130px) clamp(28px, 5vh, 96px);
  }
  .title { font-size: clamp(60px, min(8.6vw, 13.5vh), 176px); }
  .vol { font-size: clamp(34px, min(4vw, 6vh), 76px); margin-top: clamp(20px, 4vh, 40px); }
  .edition { font-size: clamp(17px, min(1.6vw, 2.6vh), 30px); }
  .details { margin-top: clamp(28px, 6vh, 64px); }
  .details .what { font-size: clamp(24px, min(2.3vw, 3.8vh), 42px); }
  .details .where { font-size: clamp(16px, min(1.35vw, 2.4vh), 24px); }
  .when { gap: clamp(40px, 4vw, 90px); margin-top: clamp(24px, 5vh, 52px); }
  .pill .big { font-size: clamp(30px, 2.9vw, 50px); }
  .pill .small { font-size: clamp(18px, 1.7vw, 28px); }
  .panel { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
