:root {
  --red: #c7171b;
  --red-dark: #9e1014;
  --red-soft: #fff2f1;
  --ink: #172b3a;
  --muted: #687580;
  --line: #e5e9eb;
  --cream: #f8f5f0;
  --green: #327344;
  --shadow: 0 24px 70px rgba(23, 43, 58, .12);
  --radius: 24px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: hidden; font-size: 16px; line-height: 1.65; }
body.is-submitting { cursor: progress; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1c75a3; outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
p { color: var(--muted); }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; margin-bottom: 13px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.eyebrow.light { color: #ffadaf; }

.site-header { position: relative; z-index: 20; background: var(--red); color: #fff; box-shadow: 0 4px 18px rgba(113, 16, 19, .1); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 26px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.brand { display: flex; flex-shrink: 0; align-items: center; }
.brand img { display: block; width: 205px; height: auto; }
.project-name { margin-right: auto; padding-left: 25px; border-left: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.header-action { padding: 11px 17px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 9px; font-size: 12px; font-weight: 700; transition: background .2s; }
.header-action:hover { background: rgba(255, 255, 255, .12); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border: 1px solid transparent; border-radius: 10px; background: var(--red); color: #fff; font-size: 13px; font-weight: 750; line-height: 1.4; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 10px 25px rgba(114, 10, 14, .18); }
.button:disabled { cursor: not-allowed; opacity: .65; }
.event-section { padding: 52px 0 72px; background: var(--cream); }
.event-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #e7e2dc; border-radius: var(--radius); background: #fff; box-shadow: 0 14px 45px rgba(23, 43, 58, .06); }
.event-media { position: relative; min-height: 520px; overflow: hidden; background: #e9e3dc; }
.event-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.event-status { position: absolute; top: 24px; left: 24px; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 6px 20px rgba(23, 43, 58, .1); }
.event-status.closed { color: var(--muted); }
.event-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(40px, 5vw, 70px); }
.event-content h1 { margin-bottom: 18px; font-size: clamp(30px, 3.3vw, 45px); }
.event-content > p { margin-bottom: 27px; font-size: 14px; line-height: 1.8; }
.event-details { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 30px; border-top: 1px solid var(--line); }
.event-details > div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.event-details > div:nth-child(odd) { padding-right: 16px; }
.event-details > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.event-details > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.event-details dt { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.event-details dt svg { width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.event-details dd { margin: 0; font-size: 13px; font-weight: 700; }

.registration-section { padding: 105px 0; background: #111f2d; color: #fff; }
.registration-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 90px; }
.registration-intro { position: sticky; top: 130px; padding-top: 33px; }
.registration-intro h2 { max-width: 450px; margin-bottom: 22px; font-size: clamp(39px, 4.6vw, 58px); }
.registration-intro > p { max-width: 480px; color: #aab4bd; font-size: 15px; line-height: 1.85; }
.registration-note { max-width: 470px; display: flex; align-items: flex-start; gap: 14px; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9da9b3; font-size: 11px; line-height: 1.7; }
.registration-note strong { display: block; color: #fff; }
.registration-note svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: #ff777a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-shell { min-height: 650px; padding: clamp(30px, 4vw, 52px); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 28px; }
.step-label { display: block; margin-bottom: 8px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.form-heading h3, .success-panel h3 { margin-bottom: 8px; font-size: 28px; }
.form-heading p { margin-bottom: 0; font-size: 12px; }
.field { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 700; }
.field input, .field select { width: 100%; height: 50px; display: block; margin-top: 7px; padding: 0 14px; border: 1px solid #d9dfe2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; transition: border .2s, box-shadow .2s; }
.field input::placeholder { color: #9aa4ab; font-weight: 400; }
.field input:focus, .field select:focus { border-color: var(--red); outline: 0; box-shadow: 0 0 0 3px rgba(199, 23, 27, .1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b31d22; }
.field select:disabled { cursor: not-allowed; background: #f1f3f4; color: #8b969e; }
.location-fields { display: grid; grid-template-columns: .72fr 1.28fr; gap: 12px; }
.choice-group { padding: 0; border: 0; margin: 0 0 19px; }
.choice-group legend { margin-bottom: 9px; font-size: 11px; font-weight: 700; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { min-height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid #d9dfe2; border-radius: 9px; background: #fff; font-size: 13px; font-weight: 650; transition: border .2s, background .2s; }
.choice input:checked + span { border: 2px solid var(--red); background: var(--red-soft); color: var(--red); }
.choice input:focus-visible + span { outline: 3px solid #1c75a3; outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 6px; color: var(--muted); cursor: pointer; font-size: 11px; line-height: 1.6; }
.consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.field-error { min-height: 16px; display: block; margin-top: 4px; color: #b31d22; font-size: 10px; font-weight: 550; }
.form-message { margin-bottom: 18px; padding: 12px 14px; border-radius: 8px; font-size: 12px; }
.error-message { border: 1px solid #efc3c4; background: #fff3f3; color: #99181c; }
.button-submit { width: 100%; margin-top: 16px; }
.button-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.success-panel { padding: 20px 0; }
.success-mark { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; background: #edf6ee; color: var(--green); }
.success-mark svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success-panel > p { font-size: 13px; }
.confirmation-event { margin: 25px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f8faf9; }
.confirmation-event strong { display: block; margin-bottom: 4px; font-size: 14px; }
.confirmation-event span { display: block; color: var(--muted); font-size: 11px; }
.live-access { margin: 20px 0; padding: 19px; border-radius: 12px; background: var(--red-soft); }
.live-access p { margin-bottom: 14px; font-size: 12px; }
.calendar-block { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.calendar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.button-secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.button-secondary:hover:not(:disabled) { background: #f5f7f8; box-shadow: none; }
.pending-details { margin: 20px 0; padding: 15px; border-radius: 10px; background: #f5f7f8; }
.text-button { min-height: 38px; padding: 7px 0; border: 0; background: none; color: var(--red); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

footer { padding: 65px 0 25px; background: #0c1722; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 70px; }
.footer-grid img { width: 220px; height: auto; display: block; margin-bottom: 19px; }
.footer-grid p { max-width: 350px; color: #8996a1; font-size: 12px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid > div > span { margin-bottom: 7px; color: #ff7477; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.footer-grid a { color: #a9b3bc; font-size: 12px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: #778590; font-size: 10px; }
.footer-bottom div { display: flex; gap: 20px; }
.noscript { margin: 0; padding: 15px; background: #fff3cd; color: #664d03; text-align: center; }

@media (max-width: 960px) {
  .event-media { min-height: 470px; }
  .registration-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 620px); }
  .header-inner { min-height: 78px; gap: 14px; }
  .brand img { width: 160px; }
  .project-name { display: none; }
  .header-action { margin-left: auto; padding: 9px 11px; font-size: 10px; }
  .event-section { padding: 32px 0 48px; }
  .event-card { grid-template-columns: 1fr; }
  .event-media { min-height: 0; aspect-ratio: 5 / 4; }
  .event-content { padding: 34px 27px 40px; }
  .registration-section { padding: 72px 0; }
  .registration-grid { grid-template-columns: 1fr; gap: 35px; }
  .registration-intro { position: static; padding-top: 0; }
  .registration-intro h2 { font-size: 43px; }
  .form-shell { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 24px); }
  .brand img { width: 142px; }
  .event-details { grid-template-columns: 1fr; }
  .event-details > div, .event-details > div:nth-child(odd), .event-details > div:nth-child(even) { grid-column: auto; padding: 14px 0; border-left: 0; }
  .form-shell { padding: 27px 20px; border-radius: 18px; }
  .location-fields { grid-template-columns: 1fr; gap: 0; }
  .calendar-actions { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
