/* Kazakhstan Diagamma 2026 — built to match mockup/approved-two-page-mockup.png.
   Tokens from docs/DESIGN_SPECIFICATION.md. Display face: Lexend (as in the mockup); "50" and the tagline: Playfair Display italic. */
:root {
  --navy: #09233C;
  --navy-2: #153A5C;
  --gold: #E9A928;
  --gold-2: #F8D98B;
  --gold-ink: #B07A0E;
  --cream: #F7F5EF;
  --white: #FFFFFF;
  --text: #17212D;
  --muted: #5B636C;
  --border: #E5E2DA;
  --rule: #C9C5BC;
  --sans: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ── Header (sits on top of the mountain hero) ─────────────────────── */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: #fff; }
.header-inner { display: flex; align-items: center; gap: 22px; padding-block: 22px; }
.brand { font: 700 21px/1.02 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.header-rule { width: 2px; height: 42px; background: var(--gold); flex: none; }
.header-subtitle { font: 400 13.5px/1.4 var(--sans); }
.site-header nav { margin-left: auto; display: flex; gap: 38px; }
.site-header nav a { font: 400 15px var(--sans); text-decoration: none; padding: 8px 0 12px; position: relative; color: rgba(255,255,255,.92); }
.site-header nav a:hover { color: #fff; }
.site-header nav a[aria-current="page"] { font-weight: 600; color: #fff; }
.site-header nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--gold); }

/* ── Heroes ────────────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--navy) center bottom / cover no-repeat; overflow: hidden; }
.hero-salon { background: #1b4f93; height: clamp(600px, 100svh, 880px); display: flex; flex-direction: column; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.hero-salon::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9,35,60,.72) 0%, rgba(9,35,60,.25) 34%, rgba(9,35,60,0) 55%), linear-gradient(90deg, rgba(9,35,60,.62) 0%, rgba(9,35,60,.25) 42%, rgba(9,35,60,0) 64%); }
.hero-salon .hero-content { position: relative; z-index: 2; flex: 1; padding: 118px 0 28px; }
.hero-salon .photo-credit { position: relative; z-index: 2; bottom: auto; right: auto; align-self: flex-end; margin: 0 max(16px, env(safe-area-inset-right, 0px)) 8px 0; }
.hero-salon h1 { font: 600 clamp(40px, 5vw, 60px)/1.08 var(--sans); letter-spacing: .005em; text-shadow: 0 2px 20px rgba(9,35,60,.45); }
.hero-salon .hero-sub { font: 300 clamp(17px, 1.7vw, 21px)/1.4 var(--sans); margin-top: 14px; text-shadow: 0 1px 12px rgba(9,35,60,.5); }
.hero-actions { display: flex; gap: 16px 20px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.redirect-note { display: flex; gap: 10px; align-items: flex-start; max-width: 30em; margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(9,35,60,.6); }
.redirect-note .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; stroke: var(--gold-2); }
.redirect-note b { color: #fff; }
.hero-actions .redirect-note { align-items: center; background: rgba(9,35,60,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.redirect-note-dark { margin: -50px 0 70px; color: var(--muted); text-shadow: none; background: none; }
.redirect-note-dark b { color: var(--navy); }
.redirect-note-dark .icon { stroke: var(--gold-ink); }
/* Patronage numbers: one compact strip under the title */
.patronage { display: inline-flex; align-items: center; margin: 22px 0 0; background: rgba(9,35,60,.55); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 10px 6px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.patronage div { display: grid; padding: 0 18px; }
.patronage div + div { border-left: 2px solid var(--gold); }
.patronage dt { font-size: 13px; color: rgba(255,255,255,.85); }
.patronage dd { margin: 0; font: 700 20px/1.25 var(--sans); color: var(--gold); letter-spacing: .01em; }
.photo-credit { position: absolute; z-index: 2; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 12px; margin: 0; font-size: 12px; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.7); padding: 0 12px; }

/* 50-years band on the Current Salon page */
.anniv-band { position: relative; z-index: 2; background: rgba(9,35,60,.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.14); color: #fff; }
.anniv-band-inner { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.band-fifty { display: inline-block; font: italic 700 72px/1 var(--serif); color: var(--gold); padding-right: .14em; }
.band-text { flex: 1; min-width: 0; }
.band-text h2 { font: 600 21px/1.25 var(--sans); }
.band-text h2 span { color: var(--gold); letter-spacing: .25em; font-weight: 700; margin-left: 10px; white-space: nowrap; }
.band-text p { margin-top: 4px; font-size: 15px; color: rgba(255,255,255,.82); max-width: 44em; }

.hero-history { background-image: linear-gradient(180deg, rgba(9,35,60,.55) 0%, rgba(9,35,60,.35) 45%, rgba(9,35,60,.7) 100%), url("images/hero-meadow.jpg"); background-position: center 32%; }
.hero-history .hero-content { padding: 210px 0 60px; display: grid; justify-items: center; text-align: center; gap: 14px; }
.anniv { display: flex; align-items: center; gap: 26px; }
.anniv h1 { font: 700 clamp(38px, 5.4vw, 66px)/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-align: left; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.anniv-rule { width: 2px; align-self: stretch; background: rgba(255,255,255,.85); }
.anniv-fifty { display: flex; align-items: center; gap: 18px; }
.fifty { display: inline-block; font: italic 700 clamp(84px, 11vw, 140px)/1 var(--serif); padding: 0 .2em .06em .04em; margin-right: -.12em; background: linear-gradient(180deg, #FFD978, var(--gold) 55%, #C98A12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fifty-label { text-align: left; font: 500 clamp(16px, 2vw, 25px)/1.15 var(--sans); text-transform: uppercase; }
.fifty-label b { display: block; font-weight: 500; font-size: 1.3em; margin-bottom: 2px; }
.years { font: 700 clamp(22px, 2.8vw, 34px) var(--sans); color: var(--gold); letter-spacing: .55em; margin: 6px -.55em 0 0;  text-shadow: 0 2px 14px rgba(9,35,60,.8); }
.tagline { font: italic 500 clamp(20px, 2.5vw, 30px)/1.3 var(--serif); text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.cta-row { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 30px; font: 600 19px var(--sans); text-decoration: none; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn .icon { width: 22px; height: 22px; }
.btn-gold { background: linear-gradient(180deg, #F7C64A, var(--gold)); color: var(--navy); box-shadow: 0 8px 20px rgba(233,169,40,.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(233,169,40,.45); }
.btn-pill { border-radius: 999px; padding-inline: 44px; }
.btn-ghost { border: 2px solid #fff; color: #fff; background: rgba(9,35,60,.55); }
.btn-ghost:hover { background: rgba(9,35,60,.8); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; padding-inline: 24px; }
.btn-outline:hover { background: var(--navy); color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Salon: information strip ──────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; padding-block: 34px; border-bottom: 1px solid var(--border); }
.info-block { padding: 6px 34px; border-left: 1px solid var(--rule); min-width: 0; }
.info-block:first-child { border-left: 0; padding-left: 0; }
.info-block:last-child { padding-right: 0; }
.info-block .icon { width: 56px; height: 56px; color: var(--gold); stroke-width: 1.5; }
.info-block h2 { font: 700 26px var(--sans); margin: 14px 0 12px; letter-spacing: -.01em; }
.info-block ul { margin: 0; padding-left: 22px; font-size: 19px; line-height: 1.6; }
.info-block li::marker { color: var(--text); }
.info-block p { font-size: 14px; line-height: 1.5; }
.info-block ul.awards { font-size: 15.5px; line-height: 1.45; display: grid; gap: 4px; }
.info-block .note { margin-top: 10px; font-size: 13px; color: var(--muted); font-style: italic; }
.date-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.date-row:last-child { border-bottom: 0; }
.date-row b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── Section headings ─────────────────────────────────────────────── */
.section { padding-block: 40px; }
.section + .section { border-top: 1px solid var(--border); }
.heading { font: 700 clamp(28px, 3vw, 36px)/1.15 var(--sans); letter-spacing: -.015em; }
.heading::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 4px; background: var(--gold); margin-top: 16px; }
.lede { font-size: 18px; line-height: 1.5; margin-top: 26px; max-width: 34em; }

/* ── Jury ─────────────────────────────────────────────────────────── */
.jury-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.jury-card { text-align: center; }
.jury-card img { width: 100%; aspect-ratio: 1 / 1.13; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 22px rgba(9,35,60,.12); }
.jury-card h3 { font: 700 23px var(--sans); margin-top: 16px; letter-spacing: -.01em; }
.jury-card .country { font-size: 19px; margin-top: 2px; }
.jury-card .dist { font-size: 16px; margin-top: 12px; line-height: 1.35; }

/* ── Early bird + actions ─────────────────────────────────────────── */
.early-bird { display: flex; align-items: center; gap: 26px; background: linear-gradient(90deg, #FBE3A6, #FDF1D2); border: 1px solid #F1D489; border-radius: 16px; padding: 24px 30px; margin-top: 8px; }
.early-bird .icon { width: 58px; height: 58px; color: var(--gold-ink); stroke-width: 1.5; }
.early-copy { flex: 1; min-width: 0; }
.early-copy h2 { font: 700 26px var(--sans); letter-spacing: -.01em; }
.early-copy p { font-size: 17px; margin-top: 4px; }
.promo-code { display: flex; align-items: center; gap: 14px; border: 1.5px dashed #B48A2E; border-radius: 10px; padding: 10px 14px 10px 18px; background: rgba(255,255,255,.6); }
.promo-code strong { font: 700 19px var(--sans); letter-spacing: .1em; }
.promo-code button { font: 600 15px var(--sans); color: var(--navy); background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.action-row { display: flex; gap: 18px; flex-wrap: wrap; padding-block: 26px 70px; }

/* ── History: intro, timeline, exhibition, organizers ─────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 44px; align-items: center; }
.split > * { min-width: 0; }
.archive { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.archive img { width: 100%; aspect-ratio: 1200 / 760; object-fit: cover; }

.timeline { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold) 92%, rgba(233,169,40,0)); }
.timeline li { position: relative; padding-top: 34px; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 30%; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 2.5px solid var(--gold); }
.timeline .yr { font: 700 30px var(--sans); letter-spacing: -.01em; }
.timeline li:last-child .yr { color: var(--gold-ink); }
.timeline p { font-size: 16px; line-height: 1.35; margin-top: 6px; }

.exhibition { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.exhibition > * { min-width: 0; }
.gallery { display: grid; gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; border-radius: 10px; }
.side-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin-top: 34px; }
.caption, .archive figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--muted); font-style: italic; margin-top: 2px; }
.archive figcaption { background: var(--white); padding: 10px 14px; margin: 0; }

.organizers { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 30px; }
.org { display: grid; justify-items: center; text-align: center; gap: 4px; padding-inline: 10px; }
.org-mark { width: 150px; height: 150px; margin-bottom: 8px; }
.org b { font: 700 22px var(--sans); }
.org span { font-size: 18px; }
.medeo { border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; border: 3px solid var(--gold); box-shadow: inset 0 0 0 6px var(--navy), inset 0 0 0 7px rgba(233,169,40,.6); }
.medeo small { font: 500 10.5px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }
.medeo strong { font: 700 30px/1.15 var(--sans); letter-spacing: .08em; margin: 2px 0; }
.org-person { border-left: 1px solid var(--rule); padding-left: 44px; }
.org-person b { display: block; font: 700 24px/1.25 var(--sans); }
.org-person p { font-size: 17px; margin-top: 14px; max-width: 32em; }
.history-cta { text-align: center; padding-block: 50px 60px; border-top: 1px solid var(--border); }
.history-cta > p { font-size: 18px; margin-top: 18px; }
.heading-center::after { margin-inline: auto; }
.paper-ridge { width: 100%; height: auto; margin-top: 30px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { color: #fff; }
.footer-ridge { display: block; width: 100%; height: auto; margin-bottom: -2px; }
.footer-body { background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 30px; padding-block: 18px 48px; flex-wrap: wrap; }
.footer-inner img { width: 130px; height: 130px; border-radius: 50%; background: #fff; padding: 5px; }
.footer-divider { width: 3px; height: 110px; background: var(--gold); border-radius: 3px; }
.footer-text strong { display: block; font: 600 22px var(--sans); letter-spacing: .01em; }
.footer-text p { font-size: 18px; line-height: 1.45; margin-top: 6px; color: rgba(255,255,255,.88); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .header-subtitle { display: none; }
  .header-rule { display: none; }
  .hero-salon .hero-content { padding: 140px 0 240px; }
  .anniv-band-inner { flex-wrap: wrap; }
  .organizers { grid-template-columns: 1fr 1fr; }
  .org-person { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .info-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .info-block:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .split, .exhibition { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 4px; }
  .timeline::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: var(--gold); }
  .timeline li { padding: 0 0 20px 44px; }
  .timeline li::before { left: 0; top: 6px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 16px; }
  .brand { font-size: 18px; }
  .site-header nav { width: 100%; margin-left: 0; gap: 24px; }
  .hero-salon { min-height: 0; }
  .hero-salon { height: auto; min-height: 100svh; }
  .hero-salon .hero-content { padding: 140px 0 40px; }
  .patronage div { padding: 0 12px; }
  .patronage dd { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .band-fifty { font-size: 72px; }
  .anniv-band-inner .btn { flex: 1 1 100%; }
  .band-text h2 span { display: block; margin: 4px 0 0; }
  .hero-history .hero-content { padding-top: 170px; }
  .anniv { flex-direction: column; gap: 14px; }
  .anniv h1 { text-align: center; }
  .anniv-rule { display: none; }
  .btn { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .info-grid { grid-template-columns: 1fr; }
  .info-block, .info-block:last-child { border-left: 0; padding: 0 0 22px; border-bottom: 1px solid var(--border); grid-column: auto; }
  .info-block:last-child { border-bottom: 0; padding-bottom: 0; }
  .jury-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .early-bird { flex-wrap: wrap; padding: 22px; gap: 16px; }
  .promo-code { width: 100%; justify-content: space-between; }
  .action-row .btn { flex: 1 1 100%; }
  .organizers { grid-template-columns: 1fr; gap: 28px; }
  .org-mark { width: 120px; height: 120px; }
  .footer-divider { height: 70px; }
  .footer-inner img { width: 88px; height: 88px; }
  .footer-text { text-align: center; }
}

/* ── Salon at a glance: sections + awards (illustrated) ───────────── */
.glance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; padding-block: 46px 34px; }
.glance-col { min-width: 0; }
.sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.sec { margin: 0; }
.sec-img { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(9,35,60,.12); transition: transform .3s ease; }
.sec img { width: 100%; aspect-ratio: 640 / 544; object-fit: cover; }
.sec-credit { position: absolute; right: 8px; bottom: 6px; font-size: 10.5px; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.sec:hover .sec-img { transform: translateY(-3px); }
.sec figcaption { font: 600 16px/1.3 var(--sans); margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--gold); }

/* Awards: one award at a time, sliding automatically */
.awards-slider { position: relative; margin-top: 26px; background: linear-gradient(180deg, #fff, #FBF8F1); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(9,35,60,.06); }
.awards-track { display: flex; transition: transform .8s cubic-bezier(.65,0,.35,1); }
.award { flex: 0 0 100%; margin: 0; display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 28px; padding: 18px 28px 8px 18px; }
/* One "display case" for every award, so FIAP photos and salon items read as a set */
.stage { height: 270px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(ellipse 70% 60% at 50% 38%, #2A5684 0%, #153A5C 45%, #09233C 100%); box-shadow: inset 0 0 40px rgba(0,0,0,.35); position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 16px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.stage img { position: relative; z-index: 1; width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.stage-medal img { max-height: 170px; max-width: 78%; }
.stage-tall img { max-height: 238px; max-width: 86%; }
.award figcaption b { display: block; font: 600 25px/1.2 var(--serif); font-style: italic; color: var(--navy); }
.award figcaption b::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); margin: 12px 0; }
.award figcaption span { font-size: 16px; color: var(--muted); }
.awards-dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 16px; }
.awards-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #D8D2C4; cursor: pointer; transition: width .3s ease, background .3s ease; }
.awards-dots button[aria-current] { width: 26px; border-radius: 6px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .awards-track, .sec-img { transition: none; } }
.glance .note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ── Key dates as tear-off calendar sheets ─────────────────────────── */
.dates-sec { padding-block: 10px 46px; border-bottom: 1px solid var(--border); }
.calendar { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; }
.calendar::before { content: ""; position: absolute; left: 8%; right: 8%; top: 74px; border-top: 2px dotted rgba(233,169,40,.7); }
.sheet { position: relative; text-align: center; }
.sheet > div { position: relative; margin-inline: auto; width: min(168px, 100%); background: var(--white); border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.sheet-top { border-top: 4px solid var(--navy); border-radius: 12px 12px 0 0; padding: 14px 0 0; font: 600 13px var(--sans); letter-spacing: .32em; padding-left: .32em; color: var(--gold-ink); }
.sheet-day { font: 600 56px/1.05 var(--sans); color: var(--navy); padding: 4px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sheet-year { border-bottom: 1px solid var(--border); border-radius: 0 0 12px 12px; padding: 0 0 14px; font-size: 14px; color: var(--muted); box-shadow: 0 12px 24px rgba(9,35,60,.08); }
.sheet p { margin-top: 16px; font: 500 15.5px var(--sans); }
.sheet-hl .sheet-top { border-top-color: var(--gold); }
.sheet-eb .sheet-top { border-top-color: #2f9e6b; }
.sheet-eb .sheet-day { color: #2f9e6b; }
.sheet-eb .sheet-tag { background: #2f9e6b; color: #fff; }
.sheet-link { display: inline-block; margin-top: 6px; font: 600 13.5px var(--sans); color: var(--gold-ink); text-decoration: none; border-bottom: 1px dashed currentColor; }
.sheet-link:hover { color: var(--navy); }
.sheet-hl .sheet-day { color: var(--gold-ink); }
.sheet-hl > div { border-color: rgba(233,169,40,.6); }
.sheet-tag { position: absolute; z-index: 2; top: -11px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font: 700 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 980px) {
  .glance { grid-template-columns: 1fr; gap: 40px; }
  .calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .calendar::before { display: none; }
}
@media (max-width: 640px) {
  .sections { gap: 10px; }
  .sec figcaption { font-size: 13.5px; padding-left: 8px; }
  .sheet-day { font-size: 46px; }
  .award { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 18px 6px; gap: 10px; }
  .award .stage { width: 100%; height: 240px; }
  .award figcaption b::after { margin-inline: auto; }
}
@media (max-width: 640px) { .hero-salon .slide { background-position: 64% 40% !important; } }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 34px; font-size: 15px; color: rgba(255,255,255,.85); }
.footer-contact span { color: var(--gold); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; align-self: center; }
.footer-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(233,169,40,.6); }
.footer-contact a:hover { border-bottom-color: var(--gold); }
/* Patronage strip with small logos */
.patronage .pat { display: flex; align-items: center; gap: 10px; }
.patronage .pat img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.patronage .pat span { display: grid; }
.stage-wide img { max-width: 94%; max-height: 220px; }
@media (max-width: 640px) { .patronage .pat img { width: 32px; height: 32px; } }
/* Awards arrows */
.awards-arrow { position: absolute; z-index: 3; top: calc(50% - 26px); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(9,35,60,.15); transition: background .2s ease, color .2s ease; }
.awards-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.awards-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.awards-arrow.prev { left: 8px; }
.awards-arrow.next { right: 8px; }
.awards-slider:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.award { padding-left: 56px; padding-right: 60px; }
@media (max-width: 640px) { .award { padding-left: 52px; padding-right: 52px; } .awards-arrow { top: 120px; } }
.post-tag { display: inline-block; margin-top: 12px; font: 600 12px var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--gold-2); border-radius: 999px; padding: 5px 12px; }
.award figcaption span { display: block; }
/* Early Bird above the jury */
.eb-sec { padding-top: 34px; }
.eb-sec .early-bird { margin-top: 0; }
/* "Join Diagamma" call to action in the top menu */
.site-header nav { align-items: center; }
.site-header nav a.nav-cta { background: var(--gold); color: var(--navy); font-weight: 600; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(233,169,40,.35); }
.site-header nav a.nav-cta:hover { background: #F7C64A; color: var(--navy); }
.site-header nav a.nav-cta::after { display: none; }
@media (max-width: 640px) { .site-header nav { gap: 16px; flex-wrap: wrap; } .site-header nav a.nav-cta { padding: 7px 14px; } }
@media (max-width: 640px) { .hero-salon .hero-content { padding-top: 190px; } .hero-history .hero-content { padding-top: 210px; } }
/* Secondary call to action on dark backgrounds: gold outline instead of a third gold button */
.btn-gold-outline { border: 2px solid var(--gold); color: var(--gold-2); background: transparent; }
.btn-gold-outline:hover { background: rgba(233,169,40,.14); color: #fff; }
/* Quieter menu call to action: gold outline, no fill */
.site-header nav a.nav-cta { background: transparent; color: #fff; border: 1.5px solid rgba(233,169,40,.85); box-shadow: none; font-weight: 500; }
.site-header nav a.nav-cta:hover { background: rgba(233,169,40,.16); color: #fff; }
/* Consent line under the Participate buttons */
.consent { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(9,35,60,.6); max-width: 34em; }
.consent a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.consent-dark { margin-top: -54px; padding-bottom: 60px; color: var(--muted); text-shadow: none; }
.consent-dark a { color: var(--gold-ink); }
/* Plain link inside the Early Bird panel */
.eb-link { display: inline-block; margin-top: 8px; font: 600 15px var(--sans); color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.eb-link:hover { color: var(--gold-ink); }
.stage img[src*="eagle-"] { border-radius: 3px; box-shadow: 0 10px 24px rgba(0,0,0,.45); filter: none; }
.hero-history .consent { margin-inline: auto; text-align: center; }
.consent-center { margin: 16px auto 0; padding-bottom: 0; text-align: center; }
.lede + .lede { margin-top: 14px; }
.eb-how { margin-top: 6px; font-size: 15px; color: var(--gold-ink); font-weight: 500; }
.promo-label { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 640px) { .promo-code { flex-wrap: wrap; } .promo-label { width: 100%; } }
/* Participation figures on the History page */
.stats { background: var(--navy); color: #fff; }
.stats-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 56px; padding-block: 40px 30px; text-align: center; }
.stat { display: grid; gap: 4px; }
.stat-num { font: italic 700 clamp(52px, 6vw, 76px)/1 var(--serif); color: var(--gold); padding-right: .1em; }
.stat-label { font: 500 17px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.stat-rule { width: 2px; height: 80px; background: rgba(233,169,40,.6); }
.stat-note { flex-basis: 100%; margin: 6px 0 0; font-size: 14px; font-style: italic; color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .stat-rule { display: none; } .stats-inner { flex-direction: column; } }
