:root {
  --purple: #281068;
  --purple-2: #3a1a88;
  --purple-dark: #17083f;
  --green: #009238;
  --green-dark: #006f2b;
  --red: #d9231b;
  --ink: #171622;
  --muted: #666472;
  --line: #e9e7ee;
  --soft: #f7f6f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(26, 15, 57, .10);
  --shadow-sm: 0 12px 30px rgba(26, 15, 57, .08);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 9999; background: #fff; color: var(--purple); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.90); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(40,16,104,.07); }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 5px; text-transform: uppercase; letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.button) { font-size: 14px; font-weight: 650; color: #383640; transition: color .2s ease; }
.main-nav > a:not(.button):hover { color: var(--green); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 750; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(0,146,56,.20); }
.button-primary:hover { background: var(--green-dark); }
.button-outline { border-color: #d9d6e0; color: var(--ink); background: #fff; }
.button-outline:hover { border-color: var(--purple); color: var(--purple); }
.button-light { background: #fff; color: var(--purple-dark); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.button-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.button-ghost-light:hover { background: rgba(255,255,255,.13); }
.button-sm { min-height: 40px; padding-inline: 17px; font-size: 12px; }
.button-lg { min-height: 56px; padding-inline: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; color: var(--purple); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: #fff; }
.back-link { color: var(--muted); font-weight: 650; font-size: 14px; display: inline-block; margin-bottom: 20px; }

/* Type */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 7.5vw, 94px); }
h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--green); text-transform: uppercase; font-size: 12px; letter-spacing: .17em; font-weight: 850; }
.eyebrow.light { color: #9ee0b3; }
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--purple-dark); color: #fff; }
.section-heading { max-width: 670px; margin-bottom: 52px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered p { max-width: 620px; margin-inline: auto; }
.section-heading.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading.split h2 { margin-bottom: 0; }

/* Hero */
.hero-home { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 12% 18%, #46239d 0, transparent 28%), linear-gradient(135deg, #140735 0%, #281068 58%, #321373 100%); min-height: 690px; display: flex; align-items: center; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-block: 82px 100px; }
.hero-copy h1 { max-width: 760px; margin-bottom: 28px; font-weight: 850; }
.hero-copy h1 span { color: #9ee0b3; }
.hero-lead { color: rgba(255,255,255,.77); font-size: 20px; max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { margin-top: 46px; display: flex; gap: 40px; }
.hero-meta div { display: grid; gap: 3px; }
.hero-meta strong { font-size: 14px; }
.hero-meta span { color: rgba(255,255,255,.60); font-size: 12px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero-orb-one { width: 450px; height: 450px; background: rgba(0,146,56,.20); right: -130px; bottom: -150px; }
.hero-orb-two { width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.12); left: 46%; top: -100px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 34px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 35px 80px rgba(0,0,0,.28); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { width: 70%; height: 430px; right: 0; top: 40px; }
.hero-photo-small { width: 34%; height: 190px; left: 0; }
.hero-photo-small.top { top: 0; }
.hero-photo-small.bottom { bottom: 28px; }
.hero-badge { position: absolute; z-index: 4; right: 36px; bottom: 5px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.94); color: var(--ink); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); }
.hero-badge img { width: 44px; height: 44px; }
.hero-badge span { display: grid; line-height: 1.2; }
.hero-badge strong { font-size: 13px; }
.hero-badge small { color: var(--muted); font-size: 10px; margin-top: 4px; }

.announcement-bar { background: var(--green); color: #fff; }
.announcement-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.announcement-inner > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.announcement-inner > div > span:last-child { color: rgba(255,255,255,.78); }
.announcement-inner > a { font-weight: 800; }
.pulse-dot { width: 9px; height: 9px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.13); }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.intro-grid .section-heading { margin-bottom: 0; }
.intro-copy .lead { color: #393743; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .925fr .925fr; gap: 22px; }
.feature-card { min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 40px rgba(24,13,54,.04); display: flex; flex-direction: column; }
.feature-card h3 { margin-top: auto; }
.feature-card p { font-size: 15px; }
.feature-card-featured { color: #fff; background: linear-gradient(145deg, var(--purple) 0%, var(--purple-dark) 100%); border: 0; box-shadow: var(--shadow); }
.feature-card-featured p { color: rgba(255,255,255,.72); }
.feature-kicker { color: #a8dfb6; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.feature-actions { margin-top: 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #e9f7ef; color: var(--green); font-weight: 900; font-size: 19px; margin-bottom: auto; }
.icon-tile.red { background: #fff0ef; color: var(--red); }

.values-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 95px; align-items: center; }
.image-stack { position: relative; min-height: 620px; }
.image-stack-main { width: 86%; height: 570px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.image-stack-small { position: absolute; width: 48%; height: 250px; object-fit: cover; right: 0; bottom: 0; border-radius: 26px; border: 10px solid #fff; box-shadow: var(--shadow-sm); }
.values-copy > h2 { margin-bottom: 42px; }
.value-row { display: grid; grid-template-columns: 54px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 25px 0; }
.value-row > span { color: var(--green); font-weight: 850; font-size: 12px; letter-spacing: .08em; }
.value-row h3 { font-size: 20px; margin-bottom: 7px; }
.value-row p { margin-bottom: 0; font-size: 14px; }

.youth-promo { padding-top: 20px; }
.youth-promo-inner { border-radius: 38px; padding: 64px; background: linear-gradient(125deg, var(--purple-dark), var(--purple) 60%, #37208a); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.youth-promo-inner:after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(0,146,56,.18); right: -100px; top: -140px; }
.youth-promo-inner p { color: rgba(255,255,255,.72); max-width: 700px; }
.youth-promo-mark { position: relative; z-index: 2; font-size: 64px; font-weight: 900; line-height: .85; letter-spacing: -.08em; text-align: right; opacity: .85; }
.youth-promo-mark span { color: #9ee0b3; }
.gallery-strip { display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.1fr; gap: 14px; }
.gallery-strip img { width: 100%; height: 300px; object-fit: cover; border-radius: 22px; }
.gallery-strip img:nth-child(2), .gallery-strip img:nth-child(3) { margin-top: 38px; }
.visit-section { padding-top: 30px; }
.visit-card { padding: 55px 60px; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #006b2a 0%, var(--green) 100%); display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.visit-card h2 { max-width: 620px; margin-bottom: 12px; }
.visit-card p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; padding: 115px 0 105px; position: relative; overflow: hidden; }
.page-hero:after { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; right: -100px; top: -180px; }
.page-hero-green { background: linear-gradient(135deg, #004e20, var(--green)); }
.page-hero-purple { background: linear-gradient(135deg, #18083f, #3b188d); }
.page-hero.compact { padding-block: 80px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 82px); margin-bottom: 22px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 19px; max-width: 720px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 86px; align-items: center; }
.story-photo { position: relative; }
.story-photo img { width: 100%; height: 590px; object-fit: cover; border-radius: 34px; }
.story-photo-caption { position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 18px 20px; border-radius: 18px; color: #fff; background: rgba(23,8,63,.82); backdrop-filter: blur(12px); display: grid; }
.story-photo-caption span { color: rgba(255,255,255,.70); font-size: 12px; margin-top: 4px; }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mission-card { padding: 38px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mission-card > span { font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; color: var(--green); }
.mission-card h3 { margin-top: 50px; }
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: 38px; margin-bottom: 10px; }
.cta-band p { margin-bottom: 0; max-width: 700px; }
.department-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.department-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; min-height: 285px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.department-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.department-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--purple); font-weight: 900; margin-bottom: auto; }
.department-card h2 { font-size: 23px; margin: 28px 0 12px; }
.department-card p { font-size: 14px; }
.department-card .text-link { margin-top: auto; }

/* Youth */
.youth-hero { padding: 110px 0; color: #fff; background: radial-gradient(circle at 82% 15%, rgba(0,146,56,.38), transparent 28%), linear-gradient(125deg, #150633, #2d0e73 70%, #1e0b58); }
.youth-hero-grid { display: grid; grid-template-columns: 1.1fr .6fr; gap: 80px; align-items: center; }
.youth-hero h1 { font-size: clamp(58px, 8vw, 100px); }
.youth-hero h1 span { color: #9ee0b3; }
.youth-hero p { color: rgba(255,255,255,.72); font-size: 20px; max-width: 650px; }
.youth-hero-card { border: 1px solid rgba(255,255,255,.18); border-radius: 30px; padding: 38px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.youth-hero-card > span { display: inline-block; color: #9ee0b3; font-weight: 900; letter-spacing: .18em; font-size: 12px; margin-bottom: 35px; }
.youth-hero-card h2 { font-size: 35px; }
.youth-hero-card p { font-size: 16px; }
.youth-hero-card a { font-weight: 800; }
.youth-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.youth-card { min-height: 360px; padding: 34px; border-radius: 28px; display: flex; flex-direction: column; color: #fff; overflow: hidden; position: relative; }
.youth-card:after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); right: -70px; top: -70px; }
.youth-card.conference { background: linear-gradient(145deg, var(--purple), #18083e); }
.youth-card.games { background: linear-gradient(145deg, #00682a, var(--green)); }
.youth-card.future { background: linear-gradient(145deg, #a91b15, var(--red)); }
.youth-card .card-label { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; color: rgba(255,255,255,.68); }
.youth-card h3 { margin-top: auto; font-size: 36px; }
.youth-card p { color: rgba(255,255,255,.75); }
.card-arrow { font-size: 30px; font-weight: 200; }
.youth-values { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: end; }
.youth-values p { color: rgba(255,255,255,.68); font-size: 21px; margin-bottom: 5px; }
.game-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.game-preview { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.game-preview.alt { background: var(--soft); }
.fake-input-row { display: flex; gap: 10px; margin: 14px 0 10px; }
.fake-input-row input { flex: 1; }

/* Conference */
.conference-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #19073d, #2a0d68 58%, #0d642f); padding: 115px 0 90px; }
.conference-pattern { position: absolute; width: 620px; height: 620px; border-radius: 50%; border: 80px solid rgba(255,255,255,.025); right: -220px; top: -240px; }
.conference-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: center; }
.conference-year { display: inline-flex; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; padding: 8px 13px; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.conference-overline { margin: 27px 0 0; color: #a5dfb6; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 850; }
.conference-hero h1 { margin: 7px 0 25px; font-size: clamp(74px, 10vw, 130px); line-height: .82; }
.conference-hero h1 span { color: #9ee0b3; }
.conference-intro { color: rgba(255,255,255,.74); font-size: 20px; max-width: 680px; }
.conference-date-card { background: #fff; color: var(--ink); border-radius: 30px; padding: 36px; box-shadow: 0 36px 90px rgba(0,0,0,.22); }
.conference-date-card > div:not(.conference-location) { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label big" "small big" "time big"; align-items: center; column-gap: 20px; }
.conference-date-card span { grid-area: label; color: var(--green); font-size: 10px; letter-spacing: .14em; font-weight: 900; }
.conference-date-card strong { grid-area: big; justify-self: end; font-size: 72px; line-height: 1; letter-spacing: -.08em; color: var(--purple); }
.conference-date-card small { grid-area: small; font-size: 14px; font-weight: 800; }
.conference-date-card p { grid-area: time; margin: 3px 0 0; font-size: 13px; }
.conference-date-card hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.conference-location { margin-top: 25px; border-radius: 16px; background: var(--soft); padding: 15px; font-size: 12px; font-weight: 750; color: var(--muted); text-align: center; }
.countdown-band { border-bottom: 1px solid var(--line); }
.countdown { min-height: 90px; display: flex; align-items: center; gap: 45px; }
.countdown > span { margin-right: auto; font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; color: var(--purple); }
.countdown > div { display: grid; text-align: center; }
.countdown strong { font-size: 25px; color: var(--purple); }
.countdown small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.conference-info-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; }
.conference-detail-list { border-top: 1px solid var(--line); }
.conference-detail-list > div { display: grid; grid-template-columns: 45px 1fr; gap: 15px; border-bottom: 1px solid var(--line); padding: 24px 0; }
.conference-detail-list > div > span { font-size: 11px; font-weight: 900; color: var(--green); }
.conference-detail-list strong { font-size: 18px; }
.conference-detail-list p { margin: 5px 0 0; font-size: 14px; }
.registration-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.registration-cta h2 { margin-bottom: 12px; }
.registration-cta p { max-width: 700px; margin-bottom: 0; }

/* Forms */
.form-hero { background: linear-gradient(120deg, var(--purple-dark), var(--purple)); color: #fff; padding: 75px 0; }
.form-hero h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 15px; }
.form-hero p { color: rgba(255,255,255,.72); }
.form-hero .back-link { color: rgba(255,255,255,.68); }
.form-section { background: var(--soft); }
.form-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.registration-form { display: grid; gap: 18px; }
.form-card { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(24,13,54,.035); }
.form-card-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.form-card-heading > span { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #eaf7ef; color: var(--green); font-size: 11px; font-weight: 900; }
.form-card-heading h2 { font-size: 25px; margin-bottom: 5px; }
.form-card-heading p { font-size: 13px; margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-grid.field-wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span, .field legend { font-weight: 750; color: #383641; font-size: 13px; }
.field input, .field textarea, .field select, .fake-input-row input, .admin-filters input, .admin-filters select { width: 100%; border: 1px solid #dcd9e2; border-radius: 13px; background: #fff; color: var(--ink); padding: 13px 14px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus, .admin-filters input:focus, .admin-filters select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(40,16,104,.08); }
.field textarea { resize: vertical; }
.field small { color: var(--muted); font-size: 11px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-stack, .consent-stack { display: grid; gap: 11px; }
.check, .radio { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.check input, .radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); flex: 0 0 auto; }
.check > span { display: grid; line-height: 1.4; }
.check small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.radio-row { display: flex; gap: 10px; }
.radio { padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; min-width: 120px; }
.consent { padding: 16px; border-radius: 14px; background: var(--soft); }
.privacy-note { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--green); background: #f2faf5; font-size: 12px; }
.form-submit { padding: 10px 4px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.form-submit > div { display: grid; }
.form-submit span { color: var(--muted); font-size: 12px; }
.form-aside .aside-sticky { position: sticky; top: 110px; padding: 27px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, var(--purple-dark), var(--purple)); }
.form-aside h2 { font-size: 36px; }
.form-aside p { color: rgba(255,255,255,.70); font-size: 14px; }
.form-aside hr { border: 0; border-top: 1px solid rgba(255,255,255,.16); margin: 24px 0; }
.form-aside small { color: rgba(255,255,255,.66); }
.form-aside a { text-decoration: underline; }
.form-note { font-size: 12px; color: var(--muted); }
.guest-fields[hidden], [data-parent-section][data-disabled="true"] { display: none !important; }

.success-section { min-height: 680px; display: grid; place-items: center; background: var(--soft); padding: 90px 0; }
.success-card { max-width: 720px; margin: auto; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 56px; text-align: center; box-shadow: var(--shadow); }
.success-icon { width: 65px; height: 65px; border-radius: 50%; margin: 0 auto 25px; display: grid; place-items: center; background: #e8f8ee; color: var(--green); font-size: 28px; font-weight: 900; }
.success-card h1 { font-size: 54px; }
.reference-box { margin: 30px auto; padding: 20px; border-radius: 18px; background: var(--soft); display: grid; }
.reference-box small { color: var(--muted); }
.reference-box strong { color: var(--purple); font-size: 28px; letter-spacing: .03em; }
.success-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Events / gallery / contact */
.event-list { display: grid; gap: 14px; }
.event-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 25px; align-items: center; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.event-row.featured { border-color: rgba(40,16,104,.20); background: #faf9fd; }
.event-date { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; align-content: center; background: var(--purple); color: #fff; line-height: 1; }
.event-date strong { font-size: 30px; }
.event-date span { font-size: 10px; letter-spacing: .12em; margin-top: 5px; }
.event-tag { font-size: 10px; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.event-row h2 { font-size: 24px; margin: 5px 0 7px; }
.event-row p { margin: 0; font-size: 13px; }
.empty-state { padding: 50px; text-align: center; border: 1px dashed #d8d4df; border-radius: 24px; background: var(--soft); }
.masonry-gallery { columns: 3 280px; column-gap: 16px; }
.masonry-gallery figure { margin: 0 0 16px; break-inside: avoid; }
.masonry-gallery img { width: 100%; border-radius: 20px; }
.notice-card { border: 1px solid var(--line); border-radius: 28px; padding: 45px; }
.notice-card h2 { font-size: 38px; }
.contact-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 75px; align-items: center; }
.contact-main h2 { font-size: 55px; }
.contact-links { display: grid; margin-top: 45px; border-top: 1px solid var(--line); }
.contact-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-links small { color: var(--muted); }
.contact-panel { padding: 45px; border-radius: 28px; background: var(--soft); }
.contact-panel img { width: 110px; margin-bottom: 35px; }
.contact-panel h3 { font-size: 30px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 42px; font-size: 30px; }
.prose p { font-size: 17px; }
.prose a { color: var(--purple); text-decoration: underline; }
.error-page { min-height: 650px; display: grid; place-items: center; text-align: center; }
.error-page span { font-size: 13px; color: var(--green); font-weight: 900; letter-spacing: .17em; }
.error-page h1 { font-size: 60px; }

/* Flash */
.flash-stack { position: relative; z-index: 950; }
.flash { margin-top: 14px; border-radius: 14px; padding: 13px 16px; font-size: 13px; font-weight: 650; border: 1px solid transparent; }
.flash-success { background: #edf9f1; color: #155f31; border-color: #caecd6; }
.flash-error { background: #fff0ef; color: #8d1712; border-color: #f3cbc8; }
.flash-info { background: #f3f0fb; color: var(--purple); border-color: #ddd4f2; }

/* Admin */
.admin-body { background: #f5f4f8; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: var(--purple-dark); color: #fff; display: flex; flex-direction: column; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 6px 25px; border-bottom: 1px solid rgba(255,255,255,.10); }
.admin-brand img { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.admin-brand span { display: grid; line-height: 1.2; }
.admin-brand small { color: rgba(255,255,255,.50); margin-top: 3px; font-size: 10px; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 25px; }
.admin-sidebar nav a { padding: 11px 13px; border-radius: 10px; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 650; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-logout { margin-top: auto; }
.admin-logout button { width: 100%; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; border-radius: 11px; padding: 10px; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 72px; padding: 0 38px; display: flex; align-items: center; justify-content: flex-end; background: #fff; border-bottom: 1px solid var(--line); }
.admin-topbar > div { display: grid; text-align: right; }
.admin-topbar span { color: var(--muted); font-size: 10px; }
.admin-topbar strong { font-size: 13px; }
.admin-content { padding: 42px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.admin-heading h1 { font-size: 42px; margin: 0; }
.admin-heading p { margin: 8px 0 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; margin-bottom: 20px; }
.admin-stat { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; }
.admin-stat span { color: var(--muted); font-size: 11px; }
.admin-stat strong { color: var(--purple); font-size: 36px; letter-spacing: -.05em; }
.admin-stat small { color: var(--muted); font-size: 10px; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 25px; margin-bottom: 20px; }
.admin-panel.muted { background: #faf9fb; }
.admin-panel h2 { font-size: 22px; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.admin-panel-head h2 { margin-bottom: 4px; }
.admin-panel-head p { margin: 0; font-size: 12px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .10em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 13px 12px; border-bottom: 1px solid #efedf2; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table small { color: var(--muted); }
.admin-filters { display: grid; grid-template-columns: 1.3fr repeat(3,.8fr) auto; gap: 9px; margin-bottom: 16px; }
.admin-split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.admin-form { display: grid; gap: 15px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid #efedf2; }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.danger-link { border: 0; background: transparent; color: var(--red); font-size: 12px; font-weight: 700; }
.admin-login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 20% 10%, #4927a2, transparent 28%), var(--purple-dark); padding: 30px; }
.admin-login-shell { width: min(100%, 430px); }
.admin-login-brand { color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; font-weight: 800; }
.admin-login-brand img { width: 46px; height: 46px; background: #fff; border-radius: 50%; }
.admin-login-card { display: grid; gap: 18px; padding: 36px; border-radius: 26px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.27); }
.admin-login-card h1 { font-size: 38px; margin-bottom: -8px; }
.admin-login-card p { margin-bottom: 3px; font-size: 13px; }
.admin-login-card .button { width: 100%; }

/* Footer */
.site-footer { margin-top: 80px; padding: 70px 0 28px; background: #12062f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 60px; }
.footer-grid h3 { font-size: 14px; letter-spacing: -.01em; }
.footer-grid a, .footer-grid p { display: block; color: rgba(255,255,255,.58); font-size: 13px; margin: 0 0 9px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; gap: 15px; align-items: flex-start; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; }
.footer-brand h2 { font-size: 18px; margin: 7px 0 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 45px; padding-top: 24px; color: rgba(255,255,255,.38); display: flex; justify-content: space-between; gap: 30px; font-size: 11px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: 82px 18px auto; display: none; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 9px 4px; }
  .nav-toggle { display: block; }
  .hero-grid, .conference-hero-grid, .youth-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-featured { grid-column: 1 / -1; }
  .department-grid { grid-template-columns: repeat(2,1fr); }
  .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .intro-grid, .values-grid, .two-col, .conference-info-grid, .contact-grid, .youth-values, .game-preview-grid { grid-template-columns: 1fr; gap: 45px; }
  .mission-grid, .youth-card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-featured { grid-column: auto; }
  .image-stack { min-height: 540px; }
  .image-stack-main { height: 500px; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-strip img:nth-child(2), .gallery-strip img:nth-child(3) { margin-top: 0; }
  .youth-promo-inner { grid-template-columns: 1fr; padding: 44px; }
  .youth-promo-mark { text-align: left; }
  .visit-card, .registration-cta, .cta-band { flex-direction: column; align-items: flex-start; }
  .visit-actions { justify-content: flex-start; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { order: -1; }
  .form-aside .aside-sticky { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; }
  .admin-logout { margin-top: 20px; }
  .admin-topbar { display: none; }
  .admin-content { padding: 24px; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
  .admin-split, .detail-grid { grid-template-columns: 1fr; }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-shell { min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; }
  .main-nav { top: 72px; }
  .hero-grid { padding-block: 64px 75px; gap: 35px; }
  .hero-copy h1 { font-size: 53px; }
  .hero-lead { font-size: 17px; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-visual { min-height: 410px; }
  .hero-photo-main { height: 330px; width: 73%; }
  .hero-photo-small { height: 140px; }
  .hero-badge { right: 12px; bottom: 0; }
  .announcement-inner { padding: 15px 0; flex-direction: column; align-items: flex-start; }
  .section-heading.split { flex-direction: column; align-items: flex-start; }
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { height: 250px; }
  .visit-card { padding: 38px 28px; }
  .department-grid { grid-template-columns: 1fr; }
  .page-hero { padding-block: 82px; }
  .page-hero h1 { font-size: 49px; }
  .story-photo img { height: 470px; }
  .youth-hero { padding-block: 80px; }
  .youth-hero h1 { font-size: 55px; }
  .conference-hero { padding-block: 80px 65px; }
  .conference-hero h1 { font-size: 76px; }
  .conference-date-card { padding: 28px; }
  .countdown { gap: 18px; }
  .countdown > span { display: none; }
  .form-card { padding: 23px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: stretch; }
  .form-submit .button { width: 100%; }
  .success-card { padding: 36px 24px; }
  .event-row { grid-template-columns: 70px 1fr; }
  .event-row > .button { grid-column: 1 / -1; }
  .contact-main h2 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .admin-content { padding: 18px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-filters { grid-template-columns: 1fr; }
  .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* About leadership photography */
.leadership-photo-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.leadership-photo-equal { margin: 0; height: 540px; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); background: var(--soft); }
.leadership-photo-equal img { width: 100%; height: 100%; object-fit: cover; }
.leadership-grid-caption { left: 26px; right: 26px; bottom: 26px; width: auto; z-index: 4; }

/* Giving */
.giving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1020px; margin: 0 auto; }
.giving-card { border-radius: 30px; padding: 38px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.giving-card:after { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -95px; top: -95px; }
.giving-card.tithe { background: linear-gradient(145deg, #004d20, #008235); }
.giving-card.building { background: linear-gradient(145deg, #130a43, #281068); }
.giving-card-head { display: flex; align-items: center; gap: 15px; position: relative; z-index: 1; }
.giving-card-head > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.11); font-size: 12px; font-weight: 900; }
.giving-card-head small { color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 850; }
.giving-card-head h3 { margin: 4px 0 0; font-size: 30px; }
.bank-details { margin: 34px 0 0; position: relative; z-index: 1; }
.bank-details > div { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 135px 1fr; gap: 24px; }
.bank-details dt { color: rgba(255,255,255,.61); font-size: 11px; text-transform: uppercase; letter-spacing: .10em; font-weight: 800; }
.bank-details dd { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 780; }
.bank-details > div:nth-child(2) dd, .bank-details > div:nth-child(3) dd { font-size: 29px; letter-spacing: .04em; }
.giving-note { max-width: 780px; margin: 30px auto 0; text-align: center; font-size: 13px; }
.giving-note a { color: var(--purple); font-weight: 800; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 820px) {
  .giving-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .leadership-photo-grid { gap: 12px; }
  .leadership-photo-equal { height: 430px; border-radius: 24px; }
  .leadership-grid-caption { left: 16px; right: 16px; bottom: 16px; }
  .leadership-photo-grid { grid-template-columns: 1fr; }
  .leadership-photo-equal { height: 420px; }
  .leadership-grid-caption { position: static; margin-top: 0; }
  .giving-card { padding: 28px 24px; }
  .bank-details > div { grid-template-columns: 1fr; gap: 6px; }
  .bank-details > div:nth-child(2) dd, .bank-details > div:nth-child(3) dd { font-size: 25px; }
}

/* Interactive games bridge */
.feature-grid.three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.feature-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; }
.feature-card > strong { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--purple); color:#fff; margin-bottom:16px; }
.feature-card h3 { margin:0 0 8px; }
.feature-card p { margin:0; color:var(--muted); }
.compact-actions { margin-top:20px; flex-wrap:wrap; }
@media (max-width: 760px) { .feature-grid.three { grid-template-columns:1fr; } .fake-input-row { flex-direction:column; } }

/* V5: clearer game-host action and in-form conference privacy notice */
.host-game-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.registration-privacy-summary {
  margin: 0 0 22px;
  padding: 22px 24px;
  border: 1px solid #d9e9df;
  border-radius: 18px;
  background: #f5fbf7;
}
.registration-privacy-summary h3 { margin: 5px 0 10px; font-size: 20px; }
.registration-privacy-summary p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; }
.registration-privacy-summary a { font-size: 13px; font-weight: 800; color: var(--green); }
@media (max-width: 640px) {
  .host-game-actions { display: grid; }
  .host-game-actions .button { width: 100%; justify-content: center; }
  .registration-privacy-summary { padding: 18px; }
}

/* V6: make conference privacy information impossible to miss */
.privacy-notice-prominent {
  border: 2px solid rgba(40, 16, 104, .22);
  border-left: 6px solid var(--purple);
  background: linear-gradient(135deg, #fbfaff 0%, #f4f0ff 100%);
  box-shadow: 0 16px 35px rgba(40, 16, 104, .08);
}
.privacy-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--purple);
}
.privacy-bullets {
  margin: 12px 0 16px 20px;
  padding: 0;
}
.privacy-bullets li {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.65;
}
.privacy-full-link {
  display: inline-flex;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
