:root {
  --ink: #172d45;
  --muted: #54687a;
  --plum: #12385e;
  --purple: #17436f;
  --purple-dark: #0d2b4d;
  --gold: #f4bb46;
  --cream: #fdf8ed;
  --line: #e7e3df;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 15px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 94px 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }

.site-header { position: relative; z-index: 10; background: #fffdf8; border-bottom: 1px solid rgba(23, 45, 69, .1); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--purple-dark); font-size: 1.38rem; font-weight: 850; letter-spacing: .1em; text-decoration: none; line-height: 1; }
.brand-name > span { color: var(--purple); font-weight: 650; letter-spacing: .02em; }
.brand-logo { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px 23px; }
.nav-links a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }
.nav-links .nav-register { padding: 8px 16px; border-radius: 999px; background: var(--purple); color: var(--white); }
.nav-links .nav-register:hover { background: var(--purple-dark); color: var(--white); text-decoration: none; }
.nav-links .admin-link { color: var(--muted); font-weight: 550; }

.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #0b294c 0%, #17436f 63%, #245980 100%); color: var(--white); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); pointer-events: none; }
.hero::before { width: 750px; height: 750px; right: -170px; top: -190px; }
.hero::after { width: 490px; height: 490px; right: -40px; top: -55px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: 48px; min-height: 665px; padding-top: 72px; padding-bottom: 72px; }
.eyebrow, .section-label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #ffe2a4; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { max-width: 760px; margin: 22px 0 22px; font-size: clamp(3.3rem, 5.1vw, 5.4rem); font-weight: 700; }
.hero h1 em { color: #ffd372; font-style: normal; }
.hero-lead { max-width: 570px; color: #e7f1f9; font-size: 1.18rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 12px 23px; border-radius: 7px; font-weight: 750; text-align: center; text-decoration: none; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #172d45; box-shadow: 0 6px 18px rgba(15, 39, 66, .14); }
.button-primary:hover { background: #ffd071; }
.button-light { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: var(--white); }
.button-light:hover { background: rgba(255,255,255,.18); }
.registration-disabled { pointer-events: none; opacity: .65; cursor: default; }
.registration-disabled:hover { transform: none; text-decoration: none !important; }
.hero-deadline { color: #ecf3fa; font-size: .92rem; }
.hero-art { position: relative; min-height: 585px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.hero-logo-frame { width: min(390px, 100%); aspect-ratio: 1; padding: 8px; border: 3px solid var(--gold); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 17px rgba(255,255,255,.07), 0 22px 52px rgba(4, 22, 42, .24); }
.hero-logo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.event-card { width: min(330px, 90%); padding: 20px 26px; border-radius: 12px; background: #fffdf9; box-shadow: 0 18px 42px rgba(4, 22, 42, .3); color: var(--ink); }
.event-card-label { margin-bottom: 13px; color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.event-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; line-height: 1.14; }
.event-card-rule { width: 45px; height: 3px; margin: 19px 0; background: var(--gold); }
.event-card p:last-child { margin-bottom: 0; color: var(--muted); }
.event-card p:nth-last-child(2) { margin-bottom: 7px; font-weight: 700; }

.section-label { margin-bottom: 18px; color: var(--purple); }
.welcome { background: var(--white); }
.welcome-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.welcome h2 { max-width: 430px; }
.prose { color: var(--muted); font-size: 1.05rem; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--ink); }
.section-heading { max-width: 760px; margin: 0 auto 45px; text-align: center; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.07rem; }
.experience { background: #f4f7f9; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.experience-card { min-height: 245px; padding: 31px; border: 1px solid #e3eaed; border-radius: 12px; background: var(--white); box-shadow: 0 5px 22px rgba(35, 58, 81, .04); }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 20px; border-radius: 12px; background: #fff0d2; color: var(--purple); font-size: 1.55rem; }
.experience-card h3 { margin-bottom: 9px; font-size: 1.2rem; }
.experience-card p { color: var(--muted); }
.experience-note { max-width: 670px; margin: 30px auto 0; color: var(--muted); text-align: center; }
.details { background: var(--white); }
.details-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; }
.details-intro > p:last-child { max-width: 390px; color: var(--muted); font-size: 1.06rem; }
.detail-list { border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 65px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-symbol { color: var(--purple); font-weight: 800; }
.detail-row h3 { margin-bottom: 5px; font-size: 1.08rem; }
.detail-row p { margin-bottom: 0; color: var(--muted); }
.registration-section { background: #f8ecd4; }
.registration-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 85px; align-items: center; }
.registration-grid > div:first-child > p:not(.section-label) { max-width: 530px; color: var(--muted); font-size: 1.06rem; }
.registration-grid .registration-reminder { padding-top: 8px; color: var(--ink) !important; }
.registration-status { padding: 12px 16px; border-left: 3px solid var(--purple); background: #fffaf1; color: var(--ink) !important; font-weight: 650; }
.registration-card { padding: 36px; border-radius: 13px; background: var(--white); box-shadow: 0 18px 48px rgba(80, 55, 60, .08); }
.registration-card-kicker { color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.registration-card h3 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.button-full { width: 100%; }
.existing-link { display: block; margin-top: 19px; color: var(--purple); font-weight: 650; text-align: center; text-underline-offset: 4px; }
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-grid > div:first-child > p:last-child { color: var(--muted); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-weight: 700; }
.contact-list a { color: var(--purple); font-weight: 750; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.closing { padding: 85px 0; background: var(--purple-dark); color: var(--white); text-align: center; }
.closing-inner { max-width: 760px; }
.closing .section-label { color: #f2ce80; }
.closing h2 { margin-bottom: 17px; }
.closing p { color: #e0ebf4; }
.closing-date { margin: 28px 0; font-weight: 700; }
.footer { background: #091f39; color: #d8e5f0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; min-height: 85px; font-size: .9rem; }
.footer strong { color: var(--white); letter-spacing: .08em; }
.footer a { color: #d8e5f0; }

@media (max-width: 950px) {
  .nav { align-items: flex-start; padding-top: 21px; padding-bottom: 21px; }
  .hero-grid { grid-template-columns: 1fr; gap: 5px; padding-top: 65px; }
  .hero-art { min-height: 0; max-width: 500px; width: 100%; margin: 0 auto; padding-top: 25px; }
  .hero-logo-frame { width: min(390px, 100%); }
  .welcome-grid, .details-grid, .registration-grid { gap: 40px; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 34px); max-width: 560px; }
  .section-pad { padding: 65px 0; }
  .nav { flex-direction: column; gap: 17px; }
  .nav-links { justify-content: flex-start; gap: 7px 17px; }
  .nav-links a { font-size: .83rem; }
  .hero-grid { min-height: 0; padding-top: 58px; padding-bottom: 50px; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4.5rem); }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art { max-width: 390px; gap: 19px; }
  .hero-logo-frame { width: min(320px, 92%); }
  .event-card { width: min(320px, 92%); padding: 19px 23px; }
  .event-card strong { font-size: 1.7rem; }
  .welcome-grid, .details-grid, .registration-grid, .contact-grid, .experience-grid { grid-template-columns: 1fr; gap: 27px; }
  .section-heading { text-align: left; }
  .experience-card { min-height: 0; }
  .registration-card { padding: 27px; }
  .contact-list > div { flex-direction: column; gap: 2px; }
  .closing { padding: 65px 0; }
  .footer-inner { padding-top: 22px; padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
