:root {
  --green: #082f26;
  --green-2: #0e4436;
  --green-3: #164d3e;
  --cream: #f3ecdd;
  --paper: #f8f4eb;
  --ink: #10201b;
  --blue: #0a3158;
  --gold: #c7a96b;
  --line: rgba(16,32,27,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; color: white; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.brand em { display: block; font-style: normal; font-size: .62rem; font-weight: 500; letter-spacing: .24em; opacity: .7; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-family: "Libre Caslon Display", serif; font-size: 1.25rem; }
nav { display: flex; gap: 34px; font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 600; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.45); background: transparent; color: white; padding: 9px 14px; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.hero { position: relative; min-height: 100svh; height: 900px; display: flex; align-items: center; background: var(--green) url("assets/mallix-hero.png") center/cover no-repeat; color: white; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,22,17,.92) 0%, rgba(2,22,17,.7) 35%, rgba(2,22,17,.14) 74%), linear-gradient(0deg, rgba(1,15,11,.65), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 86vw); margin-left: 8vw; padding-top: 70px; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .28em; }
.eyebrow.dark { color: var(--green-2); }
h1,h2,h3 { font-family: "Libre Caslon Display", serif; font-weight: 400; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(5rem, 9.5vw, 9rem); line-height: .78; text-transform: uppercase; }
h1 i, h2 i { color: var(--gold); text-transform: none; }
.hero-intro { max-width: 600px; margin: 34px 0; font-size: 1.1rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-block; padding: 15px 22px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.button-light { background: var(--cream); color: var(--green); }
.button-light:hover { background: white; }
.text-link { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.text-link span { color: var(--gold); padding-left: 6px; }
.hero-score { position: absolute; z-index: 2; right: 4vw; bottom: 52px; display: flex; align-items: center; gap: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-score b { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--gold); }
.scroll-note { position: absolute; z-index: 2; left: 4vw; bottom: 56px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-note span { color: var(--gold); margin-left: 10px; }
.section { padding: 120px max(6vw, 28px); }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 62px; font-size: .73rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-kicker span { color: var(--gold); }
.section-kicker::after { content:""; height: 1px; width: 100px; background: currentColor; opacity: .25; }
.section-kicker.light { color: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10vw; align-items: start; }
.intro h2, .format h2, .manifesto h2, .president h2, .road h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .94; }
.intro-copy { max-width: 590px; font-size: 1.1rem; }
.intro-copy p:first-child { margin-top: 6px; }
.intro-copy p + p { color: #66736e; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row article { padding: 28px 0; border-right: 1px solid var(--line); }
.stat-row article:not(:first-child) { padding-left: 32px; }
.stat-row article:last-child { border-right: 0; }
.stat-row strong { display: block; font-family: "Libre Caslon Display", serif; font-size: 3rem; line-height: 1; color: var(--green-2); }
.stat-row span { display: block; margin-top: 6px; color: #6d7874; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.format { background: var(--green); color: white; }
.format-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 64px; }
.format-heading p { color: rgba(255,255,255,.6); }
.format-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.format-card { min-height: 410px; padding: 30px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.025); }
.format-card.featured { background: var(--cream); color: var(--green); transform: translateY(-18px); }
.day { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; opacity: .65; }
.card-number { margin: 28px 0 42px; font-family: "Libre Caslon Display", serif; font-size: 4.5rem; color: var(--gold); }
.format-card h3 { font-size: 2.2rem; }
.format-card p { color: rgba(255,255,255,.62); max-width: 330px; }
.format-card.featured p { color: rgba(8,47,38,.7); }
.rule { margin-top: auto; padding-top: 22px; border-top: 1px solid currentColor; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; opacity: .7; }
.teams-title { text-align: center; margin-bottom: 70px; }
.teams-title p { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: #6d7874; }
.teams-title h2 { font-size: clamp(4rem, 8vw, 8rem); line-height: .9; text-transform: uppercase; }
.teams-title i { color: var(--gold); font-size: .58em; }
.choose-side { max-width: 1160px; margin: 0 auto 28px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--green); color: white; }
.choice-kicker { color: var(--gold); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.choose-side h3 { margin-top: 3px; font-size: 1.9rem; }
.choose-side p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.choice-buttons { display: flex; gap: 10px; flex: 0 0 auto; }
.choice-button { min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: white; cursor: pointer; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.choice-button:hover { transform: translateY(-2px); border-color: var(--gold); }
.choice-button span { width: 10px; height: 10px; border-radius: 50%; background: white; border: 1px solid rgba(0,0,0,.18); }
.choice-blue span { background: #4f8ece; border-color: #4f8ece; }
.choice-button[aria-pressed="true"] { background: var(--gold); color: var(--green); border-color: var(--gold); }
.team-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; max-width: 1160px; margin: auto; }
.team { min-height: 430px; padding: 38px; display: flex; flex-direction: column; transition: transform .28s ease, opacity .28s ease, box-shadow .28s ease; }
.team-white { background: #fff; border: 1px solid var(--line); }
.team-blue { background: var(--blue); color: white; }
.team-top { display: flex; align-items: center; gap: 10px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.team-dot { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.team-blue .team-dot { background: #4f8ece; border-color: #4f8ece; }
.team h3 { margin-top: 74px; font-size: clamp(4rem, 7vw, 7rem); text-transform: uppercase; line-height: 1; }
.team p { opacity: .65; }
.lineup { margin-top: auto; padding-top: 18px; border-top: 1px solid currentColor; font-size: .67rem; letter-spacing: .14em; opacity: .68; }
.lineup b { float: right; color: var(--gold); }
.lineup ol { clear: both; display: none; margin: 18px 0 0; padding: 0; list-style-position: inside; font-size: .85rem; letter-spacing: .02em; line-height: 1.9; }
.lineup.is-revealed ol { display: block; }
.lineup.is-revealed b { display: none; }
.teams[data-allegiance="white"] .team-white, .teams[data-allegiance="blue"] .team-blue { transform: translateY(-8px); box-shadow: 0 22px 55px rgba(8,47,38,.18); }
.teams[data-allegiance="white"] .team-blue, .teams[data-allegiance="blue"] .team-white { opacity: .62; }
.versus { display: grid; place-items: center; width: 72px; font-family: "Libre Caslon Display", serif; color: var(--gold); }
.roster { background: #e9e0cf; }
.roster-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; margin-bottom: 64px; }
.roster-heading h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .94; }
.roster-heading h2 i { color: var(--green-2); }
.roster-heading p { max-width: 470px; margin: 0 0 8px; color: #66736e; font-size: 1rem; }
.roster-grid { counter-reset: roster; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: rgba(255,255,255,.34); }
.roster-grid li { counter-increment: roster; position: relative; min-height: 112px; display: flex; align-items: center; gap: 18px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roster-grid li::before { content: counter(roster, decimal-leading-zero); color: var(--gold); font-family: "Libre Caslon Display", serif; font-size: 1.15rem; }
.roster-grid li span { font-family: "Libre Caslon Display", serif; font-size: 1.35rem; line-height: 1.18; }
.manifesto { background: #10241e; color: var(--cream); }
.manifesto-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.manifesto ol { list-style: none; margin: 0; padding: 0; }
.manifesto li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); padding: 21px 0; }
.manifesto li > span { color: var(--gold); font-size: .7rem; letter-spacing: .15em; }
.manifesto li p { margin: 0; font-size: 1.1rem; }
.manifesto small { display: block; margin-top: 6px; color: rgba(255,255,255,.46); }
.honours { background: var(--paper); }
.honours-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 64px; }
.honours-heading h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .94; }
.honours-heading h2 i { color: var(--gold); }
.honours-heading p { max-width: 340px; color: #66736e; }
.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.award-card { min-height: 350px; padding: 30px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.award-code { font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
.award-card h3 { margin-top: 58px; font-size: clamp(1.85rem, 2.6vw, 3rem); line-height: .95; }
.award-card p { margin-top: auto; max-width: 330px; color: #66736e; font-size: .9rem; }
.award-overall { position: relative; grid-column: 1 / -1; min-height: 360px; overflow: hidden; background: linear-gradient(120deg, #073c2b, #0f6846); color: white; }
.award-overall::after { content: "M"; position: absolute; right: 5%; top: 50%; transform: translateY(-52%); color: rgba(255,255,255,.055); font-family: "Libre Caslon Display", serif; font-size: clamp(13rem, 29vw, 29rem); line-height: .7; pointer-events: none; }
.award-overall .award-code { color: #e0c17f; }
.award-overall h3 { position: relative; z-index: 1; margin-top: 42px; font-size: clamp(3.4rem, 7vw, 7rem); text-transform: uppercase; }
.award-overall h3 i { color: #e0c17f; text-transform: none; }
.award-overall p { position: relative; z-index: 1; max-width: 640px; color: rgba(255,255,255,.7); font-size: 1rem; }
.overall-prize { position: absolute; z-index: 1; right: 34px; bottom: 30px; padding: 12px 17px; border: 1px solid rgba(224,193,127,.7); color: #e0c17f; font-family: "Libre Caslon Display", serif; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; }
.award-dark { background: var(--green); color: white; }
.award-dark p { color: rgba(255,255,255,.58); }
.award-gold { background: var(--gold); color: var(--green); }
.award-gold .award-code { color: var(--green); }
.award-gold p { color: rgba(8,47,38,.7); }
.award-team { background: var(--blue); color: white; }
.award-team h3 i { color: var(--gold); }
.award-team p { color: rgba(255,255,255,.58); }
.president { background: var(--cream); }
.president-card { min-height: 620px; display: grid; grid-template-columns: .9fr 1.1fr; background: white; box-shadow: 0 24px 60px rgba(16,32,27,.1); }
.president-seal { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; background: #201812; color: var(--cream); cursor: pointer; }
.president-seal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(5,18,14,.82) 100%); pointer-events: none; }
.president-seal img { width: 100%; height: 100%; min-height: 620px; display: block; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.president-seal:hover img { transform: scale(1.025); filter: brightness(1.06); }
.president-seal:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.president-seal small { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); color: white; letter-spacing: .25em; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.president-copy { padding: 68px 7vw; }
.president-copy .section-kicker { margin-bottom: 36px; }
.role { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #66736e; }
blockquote { margin: 38px 0; padding-left: 22px; border-left: 2px solid var(--gold); font-family: "Libre Caslon Display", serif; font-size: 1.45rem; line-height: 1.4; }
.birthday { padding-top: 20px; border-top: 1px solid var(--line); color: var(--green-2); font-weight: 700; }
.sponsor { background: #071c17; color: white; text-align: center; }
.sponsor .section-kicker { justify-content: flex-start; text-align: left; }
.sponsor-lockup { padding: 42px 20px 24px; }
.sponsor-lockup p { margin: 0 0 24px; color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.sponsor-lockup h2 { font-size: clamp(4.5rem, 11vw, 10rem); line-height: .85; text-transform: uppercase; }
.sponsor-lockup h2 i { color: var(--gold); text-transform: none; }
.sponsor-lockup > span { display: inline-block; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
.president-dialog { width: min(650px, calc(100vw - 32px)); padding: 58px; border: 1px solid rgba(199,169,107,.5); background: var(--green); color: white; box-shadow: 0 30px 90px rgba(0,0,0,.5); overflow: hidden; }
.president-dialog::backdrop { background: rgba(2,17,13,.8); backdrop-filter: blur(7px); }
.president-dialog h2 { font-family: "Libre Caslon Display", serif; font-weight: 400; font-size: clamp(3rem, 7vw, 5rem); line-height: .92; letter-spacing: -.035em; }
.president-dialog h2 i { color: var(--gold); }
.president-dialog > p:not(.eyebrow) { max-width: 480px; margin: 28px 0 14px; color: rgba(255,255,255,.75); }
.president-dialog > small { display: block; color: rgba(255,255,255,.46); }
.dialog-signature { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: var(--gold); font-family: "Libre Caslon Display", serif; font-size: 1.25rem; }
.dialog-close { position: absolute; z-index: 3; top: 18px; right: 20px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -20px; width: 8px; height: 18px; opacity: 0; animation: confetti-fall 1.8s ease-out forwards; }
@keyframes confetti-fall { 0% { transform: translateY(-10px) rotate(0); opacity: 1; } 100% { transform: translateY(680px) rotate(620deg); opacity: 0; } }
.road { text-align: center; }
.road h2 { text-transform: uppercase; }
.road-details { display: flex; justify-content: center; gap: 0; margin: 54px auto 34px; }
.road-details span { padding: 0 28px; border-right: 1px solid var(--line); font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.road-details span:last-child { border-right: 0; }
.road > p:last-child { max-width: 620px; margin: auto; color: #66736e; }
footer { padding: 38px 4vw; display: flex; justify-content: space-between; align-items: center; background: #071c17; color: white; }
footer p, footer a { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
@media (max-width: 820px) {
  .site-header { height: 74px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 12px 4vw 20px; background: rgba(7,28,23,.98); }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .hero { height: 780px; background-position: 60% center; }
  .hero-content { margin: 0 7vw; padding-top: 30px; }
  h1 { font-size: clamp(4.1rem, 20vw, 6rem); }
  .hero-intro { max-width: 90%; }
  .hero-score { left: 7vw; right: auto; bottom: 38px; }
  .scroll-note { display: none; }
  .section { padding: 82px 7vw; }
  .section-kicker { margin-bottom: 40px; }
  .intro-grid, .manifesto-grid, .president-card { grid-template-columns: 1fr; gap: 44px; }
  .roster-heading { grid-template-columns: 1fr; gap: 26px; }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .honours-heading { display: block; }
  .award-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .stat-row article:nth-child(2) { border-right: 0; }
  .stat-row article:nth-child(3), .stat-row article:nth-child(4) { border-top: 1px solid var(--line); }
  .format-heading { display: block; }
  .format-cards { grid-template-columns: 1fr; }
  .format-card { min-height: 330px; }
  .format-card.featured { transform: none; }
  .card-number { margin-bottom: 24px; }
  .team-board { grid-template-columns: 1fr; }
  .choose-side { align-items: flex-start; flex-direction: column; }
  .versus { width: auto; height: 60px; }
  .team { min-height: 360px; }
  .president-seal { min-height: 0; aspect-ratio: 11 / 14.3; }
  .president-seal img { min-height: 0; }
  .president-dialog { padding: 50px 28px 38px; }
  footer { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 520px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-score { gap: 10px; font-size: .62rem; }
  .hero-score b { width: 38px; height: 38px; }
  .stat-row article { padding: 22px 0; }
  .stat-row article:not(:first-child) { padding-left: 16px; }
  .team { padding: 28px; }
  .award-grid { grid-template-columns: 1fr; }
  .award-card { min-height: 310px; }
  .award-overall { min-height: 490px; }
  .award-overall h3 { margin-top: 36px; }
  .overall-prize { left: 28px; right: auto; bottom: 26px; }
  .choice-buttons { width: 100%; }
  .choice-button { flex: 1; justify-content: center; padding: 0 10px; }
  .roster-grid { grid-template-columns: 1fr; }
  .roster-grid li { min-height: 90px; }
  .president-copy { padding: 45px 28px; }
  .president-seal small { left: 18px; right: 18px; bottom: 18px; font-size: .64rem; letter-spacing: .18em; }
  .road-details { flex-direction: column; gap: 14px; }
  .road-details span { border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
