/* ============================================================
   GSWCF — public site
   Brand: black #070707 · white #F6F6F3 · Georgian red #B2181F
   Type:  Montserrat (display, Latin) · Noto Sans Georgian (body)
   ============================================================ */
:root {
  --bg: #070707;
  --bg-2: #0e0e10;
  --bg-3: #151517;
  --bg-4: #1c1c1f;
  --line: rgba(246, 246, 243, 0.09);
  --line-2: rgba(246, 246, 243, 0.18);
  --text: #f6f6f3;
  --muted: #9d9d99;
  --muted-2: #6f6f6b;
  --red: #b2181f;
  --red-2: #d61f28;
  --red-soft: rgba(178, 24, 31, 0.16);
  --display: "Montserrat", "Noto Sans Georgian", system-ui, sans-serif;
  --body: "Noto Sans Georgian", "Montserrat", system-ui, sans-serif;
  --radius: 6px;
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(22px, 2.8vw, 32px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- kicker / section heads ---------- */
.kicker {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 12px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.link-arrow { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.link-arrow:hover { color: var(--text); }
.h-line { position: relative; padding-left: 18px; margin-bottom: 26px; }
.h-line::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; background: var(--red); }
.h-small { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.count { display: inline-block; font-family: var(--display); font-size: 12px; background: var(--bg-4); padding: 2px 8px; border-radius: 20px; vertical-align: middle; margin-left: 6px; }

/* ---------- ornament strip ---------- */
.ornament-strip {
  height: 26px;
  background: url("../img/ornament.svg") repeat-x center / 26px 26px;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: all 0.25s var(--ease); line-height: 1;
}
.btn-sm { padding: 11px 16px; font-size: 11.5px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(214, 31, 40, 0.6); color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-ghost { color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-hero h1 { margin: 0; }
.page-hero .lead { margin: 14px 0 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 64ch; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.detail-grid { grid-template-columns: 1fr 340px; }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.toc a { padding: 8px 16px; color: var(--muted); font-size: 14px; border-left: 2px solid transparent; margin-left: -1px; transition: all 0.2s; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--red); }
.content-col { min-width: 0; }
.block { padding: 8px 0 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.block:last-child { border-bottom: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img:not(.ph) { transform: scale(1.04); }
.card-media.no-image { display: grid; place-items: center; }
.card-media img.ph { width: 34%; height: auto; opacity: 0.12; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { margin: 0; font-size: 17px; }
.card-body p { margin: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--muted); }
.tag-red { background: var(--red); border-color: var(--red); color: #fff; }
.tag-upcoming { color: var(--text); border-color: var(--text); }
.tag-ongoing { color: var(--red-2); border-color: var(--red-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 12.5px; padding: 5px 11px; border-radius: 20px; background: var(--bg-4); color: var(--muted); border: 1px solid transparent; transition: all 0.2s; margin: 2px 4px 2px 0; }
.chip.active, a.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { background: var(--red); color: #fff; border-color: var(--red); }

.news-card-large { grid-column: 1 / -1; flex-direction: row; margin-bottom: 22px; }
.news-card-large .card-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.news-card-large .card-body { justify-content: center; padding: 34px; }
.news-card-large h3 { font-size: 24px; }
.news-card-large p { color: var(--muted); }

.event-card { flex-direction: row; }
.event-date { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); background: var(--bg-3); padding: 18px 8px; font-family: var(--display); line-height: 1; }
.event-date .d { font-size: 36px; font-weight: 800; }
.event-date .m { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-2); margin-top: 6px; font-weight: 700; }
.event-date .y { font-size: 11px; color: var(--muted-2); margin-top: 6px; }
.status-finished .event-date { filter: grayscale(1); opacity: 0.8; }

.athlete-card .portrait { aspect-ratio: 3 / 4; }
.portrait { position: relative; overflow: hidden; background: var(--bg-3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait.no-image { display: grid; place-items: center; background: linear-gradient(160deg, var(--bg-3), var(--bg-4)); }
.portrait.no-image::after { content: ""; position: absolute; inset: 0; background: url("../brand/monogram.svg") center / 40% no-repeat; opacity: 0.06; }
.initials { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: 0.08em; color: var(--muted-2); }
.badge-national { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(7, 7, 7, 0.75); border: 1px solid var(--red); color: #fff; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; }
.portrait .badge-national img, .badge-national img { width: 12px; height: 12px; object-fit: contain; filter: invert(19%) sepia(80%) saturate(3000%) hue-rotate(345deg); }
.athlete-card h3 strong { font-weight: 800; }
.cross-inline { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; filter: invert(19%) sepia(80%) saturate(3000%) hue-rotate(345deg); }

/* ---------- next event ---------- */
.next-event-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.next-event-media { min-height: 360px; background: var(--bg-3); position: relative; }
.next-event-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.next-event-media.no-image { display: grid; place-items: center; }
.next-event-media img.ph { position: static; width: 40%; height: auto; opacity: 0.1; }
.next-event-body { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.next-event-body h3 { font-size: clamp(22px, 2.6vw, 32px); margin: 0; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; }
.facts dt { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.facts dd { margin: 0; }
.facts.inline { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 16px; }
.facts.inline > div { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* ---------- ranking box ---------- */
.ranking-box { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.leaders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.leaders li { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.leaders li:last-child { border-bottom: 0; }
.leaders .pos { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--muted-2); }
.leaders li:first-child .pos { color: var(--red-2); }
.leaders .name { font-weight: 600; }
.leaders .cat { font-size: 12px; color: var(--muted); }
.leaders .pts { font-family: var(--display); font-weight: 800; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .num { text-align: center; width: 64px; }
.table td.pos { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--muted); }
.table .pts { font-family: var(--display); font-weight: 800; font-size: 17px; }
.table.ranking .athlete-cell a { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--bg-4); display: grid; place-items: center; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
tr.podium td.pos { color: var(--text); }
tr.p1 td.pos { color: var(--red-2); }
tr.p1 td.pos::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red-2); border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.up { color: #2ecc71; font-size: 12px; font-weight: 700; }
.down { color: var(--red-2); font-size: 12px; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* ---------- filters / search ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 30px; }
.filters label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.chips-filter { display: flex; flex-wrap: wrap; align-items: center; }
select, input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  font: inherit; color: var(--text); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 11px 14px; outline: none; transition: border-color 0.2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239d9d99' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select:focus, input:focus, textarea:focus { border-color: var(--red-2); }
.search-inline { margin-left: auto; }
.search-inline input { min-width: 240px; }
.search-big { display: flex; gap: 10px; margin-bottom: 40px; }
.search-big input { flex: 1; font-size: 18px; padding: 16px 18px; }

/* ---------- forms ---------- */
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form label { font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form .req { color: var(--red-2); }
.form .error { color: var(--red-2); font-size: 12.5px; }
.form .has-error input, .form .has-error textarea, .form .has-error select { border-color: var(--red-2); }
.form .checkbox label { flex-direction: row; display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; }
.form .checkbox input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.flashes { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--bg-3); margin-bottom: 10px; }
.flash-success { border-color: #2ecc71; }
.flash-error { border-color: var(--red-2); }

/* ---------- prose ---------- */
.prose { line-height: 1.75; max-width: 72ch; }
.prose.small { font-size: 14.5px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h3 { font-size: 18px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--red-2); }
.prose a { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- lists ---------- */
.list-lines { list-style: none; margin: 0; padding: 0; }
.list-lines li { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-lines.cols { columns: 2; column-gap: 40px; }
.list-lines.cols li { break-inside: avoid; display: block; }
.list-lines.cols li span { display: block; font-size: 13px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.doc-list a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, background 0.2s; }
.doc-list a:hover { border-color: var(--line-2); background: var(--bg-3); }
.doc-icon { font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; background: var(--red); color: #fff; padding: 7px 0; text-align: center; border-radius: 3px; }
.doc-title small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.people .person { text-align: left; }
.people .portrait { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 14px; }
.people h3 { margin-bottom: 2px; }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { margin-bottom: 8px; }
.info-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.info-card .facts > div { grid-template-columns: 96px 1fr; }
.info-card .btn { margin-top: 20px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.crumb { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumb:hover { color: var(--text); }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.logo-item { display: grid; place-items: center; min-width: 150px; height: 84px; padding: 16px 22px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(1) brightness(1.4); opacity: 0.75; transition: all 0.3s; }
.logo-item:hover { filter: none; opacity: 1; border-color: var(--line-2); }
.logo-item img { max-height: 48px; width: auto; }
.logo-row.big .logo-item { min-width: 200px; height: 110px; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rank-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rank-badge { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; transition: border-color 0.2s; }
.rank-badge:hover { border-color: var(--red); }
.rank-badge .pos { grid-row: 1 / 3; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--red-2); }
.rank-badge .lbl { font-size: 12.5px; }
.rank-badge .pts { font-size: 12px; color: var(--muted); }

/* ---------- athlete detail ---------- */
.athlete-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.portrait.large { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.athlete-name { font-size: clamp(30px, 4vw, 50px); font-weight: 500; margin-bottom: 10px; }
.athlete-name strong { font-weight: 800; display: block; }

/* ---------- article ---------- */
.article-head { padding: 64px 0 30px; }
.article-head h1 { font-size: clamp(28px, 4vw, 46px); max-width: 24ch; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); margin: 10px 0 30px; }
.article-body { padding-bottom: 30px; }
.related-event { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); margin: 20px 0; }
.related-event .kicker { margin: 0; }
.share { display: flex; align-items: center; gap: 14px; padding: 24px 0 60px; border-top: 1px solid var(--line); margin-top: 20px; font-size: 14px; }
.share a, .share button { font: inherit; color: var(--muted); background: none; border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.share a:hover, .share button:hover { color: var(--text); border-color: var(--text); }

/* ---------- media ---------- */
.video-card .video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card p { margin: 10px 0 0; font-size: 14px; }
.masonry { columns: 3; column-gap: 14px; }
.masonry-item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 4px; overflow: hidden; background: var(--bg-3); }
.masonry-item img { transition: transform 0.5s var(--ease), opacity 0.3s; }
.masonry-item:hover img { transform: scale(1.03); opacity: 0.9; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7, 7, 7, 0.96); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--text); font-size: 44px; cursor: pointer; padding: 20px; opacity: 0.7; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 20px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
.map-frame { aspect-ratio: 16 / 10; margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); filter: grayscale(1) invert(0.92) contrast(0.9); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; }
.social-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about teaser / seal ---------- */
.about-teaser { position: relative; overflow: hidden; }
.about-teaser .two-col { align-items: center; }
.seal-wrap { display: grid; place-items: center; }
.seal { width: min(100%, 360px); filter: invert(1) hue-rotate(180deg) brightness(0.92); opacity: 0.9; mix-blend-mode: screen; }
.partners-strip .section-head { margin-bottom: 22px; }

/* ---------- empty state ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.empty img { opacity: 0.25; }
.empty-title { font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin: 0; }
.empty-body { color: var(--muted); font-size: 14px; margin: 0; max-width: 42ch; }
.empty-compact { flex-direction: row; justify-content: flex-start; padding: 16px 20px; gap: 14px; }
.empty-compact img { width: 26px; height: auto; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--muted); }
.pagination a:hover { border-color: var(--text); color: var(--text); }
.pagination a.current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer .ornament-strip { margin: 0 auto; max-width: var(--wrap); opacity: 0.55; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer-grid h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { opacity: 0.9; }
.footer-abbr { font-family: var(--display); font-weight: 800; letter-spacing: 0.24em; font-size: 20px; margin-top: 14px; }
.footer-full { color: var(--muted); font-size: 13.5px; max-width: 30ch; margin: 6px 0 12px; }
.footer-slogan { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red-2); }
.social { display: flex; gap: 6px; margin-top: 12px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; }
.social a:hover { border-color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 24px 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }
.admin-link { opacity: 0.5; }
.admin-link:hover { opacity: 1; }
.notfound { min-height: 60vh; display: grid; place-items: center; }
.notfound img { margin: 0 auto 20px; opacity: 0.3; }
.notfound h1 { font-size: 90px; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 6px; margin-bottom: 10px; }
  .toc a { border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; font-size: 13px; margin: 0; }
}
@media (max-width: 1280px) {
  .two-col, .detail-grid, .athlete-grid { grid-template-columns: 1fr; gap: 40px; }
  .ranking-box, .sidebar { position: static; }
  .next-event-card { grid-template-columns: 1fr; }
  .next-event-media { min-height: 240px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-card-large { flex-direction: column; }
  .news-card-large .card-media { min-height: 0; aspect-ratio: 16 / 9; }
  .masonry { columns: 2; }
  .section { padding: 60px 0; }
  .portrait.large { max-width: 320px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .event-card { flex-direction: row; }
  .event-date { flex-basis: 78px; }
  .event-date .d { font-size: 28px; }
  .search-inline { margin-left: 0; width: 100%; }
  .search-inline input { width: 100%; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .list-lines.cols { columns: 1; }
  .hero-actions .btn { width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filters { gap: 12px; }
  .masonry { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   v2 — header with drawer navigation, hero, home sections
   ============================================================ */
:root { --header-h: 84px; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(7, 7, 7, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: rgba(7, 7, 7, 0.92); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9); }
.site-header .wrap { max-width: none; padding: 0 32px; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--text); }
.brand-mark { display: inline-flex; color: var(--text); }
.brand-mark svg { width: 46px; height: auto; display: block; filter: drop-shadow(0 0 14px rgba(246, 246, 243, 0.12)); transition: transform 0.4s var(--ease); }
.brand:hover .brand-mark svg { transform: scale(1.06); }
.brand-mark.big svg { width: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-abbr { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.26em; }
.brand-full { font-size: 10px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: all 0.2s; }
.icon-btn:hover { background: var(--bg-3); color: var(--text); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); transition: all 0.2s; }
.lang-switch:hover { border-color: var(--text); color: var(--text); }
.burger { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 12px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); cursor: pointer; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: all 0.25s; }
.burger:hover { border-color: var(--text); }
.burger-lines { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.burger-lines span { display: block; height: 2px; background: currentColor; transition: transform 0.3s, opacity 0.3s, width 0.3s; transform-origin: center; }
.burger-lines span:nth-child(3) { width: 70%; }
.burger.open .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open .burger-lines span:nth-child(2) { opacity: 0; }
.burger.open .burger-lines span:nth-child(3) { width: 100%; transform: translateY(-6px) rotate(-45deg); }

/* drawer */
body.drawer-open { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7, 7, 7, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 520px); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.45s var(--ease); overflow-y: auto; }
.drawer.in .drawer-backdrop { opacity: 1; }
.drawer.in .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 12px; height: var(--header-h); padding: 0 24px 0 28px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-head .brand-mark svg { width: 40px; }
.drawer-head .brand-abbr { font-size: 18px; }
.drawer-close { margin-left: auto; width: 42px; height: 42px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 50%; color: var(--text); cursor: pointer; transition: all 0.2s; }
.drawer-close:hover { border-color: var(--red-2); color: var(--red-2); transform: rotate(90deg); }
.drawer-list { list-style: none; margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.drawer-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 6px; font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); transition: all 0.25s var(--ease); position: relative; }
.drawer-list a:hover, .drawer-list a.active { color: var(--text); background: var(--bg-3); }
.drawer-list a.active::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--red); border-radius: 2px; }
.drawer-ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); transition: all 0.25s; }
.drawer-list a:hover .drawer-ico, .drawer-list a.active .drawer-ico { color: #fff; background: var(--red); border-color: var(--red); }
.drawer-arrow { opacity: 0; transform: translateX(-6px); transition: all 0.25s; color: var(--red-2); }
.drawer-list a:hover .drawer-arrow { opacity: 1; transform: none; }
.drawer-foot { margin-top: auto; padding: 18px 28px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.drawer-foot .btn-block { text-align: center; }
.drawer-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-meta .social { margin: 0; }
.drawer-slogan { margin: 0; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--red-2); }
.drawer-strip { opacity: 0.6; flex-shrink: 0; }

/* hero */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; filter: saturate(0.85) contrast(1.05); }
.hero-bg-fallback { background: radial-gradient(ellipse at 75% 45%, #1b1b1f 0%, var(--bg) 62%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(246, 246, 243, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 246, 243, 0.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); }
.hero-glow { position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(178, 24, 31, 0.22) 0%, rgba(178, 24, 31, 0) 60%); filter: blur(20px); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0) 40%, rgba(7, 7, 7, 0.9) 100%), linear-gradient(90deg, rgba(7, 7, 7, 0.75), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding-top: 60px; padding-bottom: 40px; width: 100%; flex: 1; }
.hero-slogan { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--red-2); margin-bottom: 26px; }
.cross-dot { display: inline-block; width: 12px; height: 12px; background: var(--red-2); -webkit-mask: url("../img/cross.svg") center / contain no-repeat; mask: url("../img/cross.svg") center / contain no-repeat; }
.hero-title { font-size: clamp(34px, 4.8vw, 66px); max-width: 16ch; margin-bottom: 22px; text-wrap: balance; }
.hero-lead { font-size: 17px; color: var(--muted); max-width: 52ch; margin-bottom: 34px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-lg { padding: 18px 30px; font-size: 13px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-mono { position: relative; z-index: 2; width: min(60%, 360px); color: var(--text); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(178, 24, 31, 0.25)); }
.hero-mono svg { width: 100%; height: auto; display: block; }
.hero-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(246, 246, 243, 0.12); z-index: 1; }
.hero-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 18px var(--red-2); }
.hero-ring-2 { width: 100%; border-color: rgba(178, 24, 31, 0.35); border-style: dashed; }
.hero-ring-2::before { background: var(--text); box-shadow: 0 0 12px var(--text); top: auto; bottom: -5px; }
.hero-abbr { position: absolute; right: -2%; bottom: -6%; font-family: var(--display); font-weight: 900; font-size: clamp(60px, 9vw, 140px); letter-spacing: 0.1em; color: transparent; -webkit-text-stroke: 1px rgba(246, 246, 243, 0.14); line-height: 1; pointer-events: none; user-select: none; z-index: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 14, 16, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 54px; overflow: hidden; }
.hero-stats .stat { padding: 22px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats b { font-family: var(--display); font-size: 36px; font-weight: 800; line-height: 1; }
.hero-stats b::after { content: "+"; color: var(--red-2); font-size: 22px; margin-left: 2px; vertical-align: top; }
.hero-stats span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--red); color: #fff; padding: 12px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.34em; }
.marquee .cross-dot { background: #fff; opacity: 0.8; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* next event + calendar */
.next-grid { grid-template-columns: 1.5fr 1fr; }
.next-event-media { position: relative; }
.ph-mono { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); opacity: 0.08; }
.ph-mono svg { width: 40%; height: auto; }
.countdown { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown > div { background: rgba(7, 7, 7, 0.8); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 6px; text-align: center; backdrop-filter: blur(6px); }
.countdown b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.calendar-box { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.calendar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.calendar-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: transform 0.25s var(--ease); }
.calendar-list li:last-child a { border-bottom: 0; }
.calendar-list a:hover { transform: translateX(6px); }
.cal-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-4); border-radius: 6px; padding: 8px 4px; font-family: var(--display); line-height: 1; }
.cal-date b { font-size: 22px; font-weight: 800; }
.cal-date small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-2); margin-top: 4px; font-weight: 700; }
.cal-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-body strong { font-size: 15px; }
.cal-body .muted { font-size: 12.5px; }

/* disciplines */
.disc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; color: var(--text); }
.disc-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(178, 24, 31, 0.25), transparent 55%); opacity: 0; transition: opacity 0.4s; }
.disc-card:hover { border-color: var(--red); box-shadow: 0 30px 60px -40px rgba(178, 24, 31, 0.6); }
.disc-card:hover::after { opacity: 1; }
.disc-ico { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; color: var(--red-2); background: var(--bg-2); position: relative; z-index: 1; }
.disc-num { position: absolute; right: 20px; top: 18px; font-family: var(--display); font-weight: 800; font-size: 40px; color: rgba(246, 246, 243, 0.06); }
.disc-card h3 { margin: 8px 0 0; position: relative; z-index: 1; }
.disc-card p { margin: 0; font-size: 14px; position: relative; z-index: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 90px 0; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: url("../img/ornament.svg") repeat center / 48px 48px; opacity: 0.08; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.cta-mono { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 320px; color: var(--red); opacity: 0.35; }
.cta-mono svg { width: 100%; height: auto; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 600px); gap: 8px; align-items: center; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 38px); max-width: 24ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { flex-shrink: 0; }

/* misc */
.section-head .kicker { margin-bottom: 8px; }
.seal { filter: invert(1) hue-rotate(180deg) brightness(0.92); opacity: 0.9; mix-blend-mode: screen; will-change: transform; }
.footer-lockup { display: flex; align-items: center; gap: 16px; }
.footer-lockup .footer-abbr { margin-top: 0; }
.footer-lockup .footer-full { margin: 4px 0 0; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; order: -1; margin-top: 10px; }
  .hero-mono { width: min(45%, 240px); }
  .hero-abbr { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .next-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-mono { width: 200px; opacity: 0.15; }
}
@media (max-width: 720px) {
  .site-header .wrap { padding: 0 16px; }
  .brand-full { display: none; }
  .brand-abbr { font-size: 18px; }
  .header-cta, .burger-label, .lang-switch .ico, .header-tools .icon-btn { display: none; }
  .header-inner { gap: 10px; }
  .burger { padding: 0 11px; }
  .header-tools { gap: 6px; }
  .brand { gap: 10px; }
  .brand-abbr { letter-spacing: 0.16em; }
  .brand-mark svg { width: 38px; }
  .lang-switch { padding: 9px 9px; }
  .icon-btn { width: 38px; height: 38px; }
  .hero-visual { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding: 44px 24px 28px; }
  .hero-title { font-size: 34px; }
  .hero-slogan { flex-wrap: wrap; letter-spacing: 0.22em; font-size: 11px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }
  .hero-stats { margin-bottom: 40px; }
  .hero-stats b { font-size: 28px; }
  .countdown b { font-size: 20px; }
  .marquee-track { font-size: 11px; }
}
.noanim .hero { min-height: 760px; }
.noanim .reveal { opacity: 1; transform: none; }

/* ============================================================
   v3 — photo-first hero (federation tone), values row, quote strip
   ============================================================ */
.hero-v3 { justify-content: flex-start; }
.hero-v3 .hero-shade { background: linear-gradient(90deg, rgba(7, 7, 7, 0.75) 0%, rgba(7, 7, 7, 0.45) 35%, rgba(7, 7, 7, 0) 62%), linear-gradient(180deg, rgba(7, 7, 7, 0.15) 0%, rgba(7, 7, 7, 0) 30%, rgba(7, 7, 7, 0.75) 100%); }
.hero-v3 .hero-bg { inset: 0; height: 100%; object-fit: contain; object-position: right top; background: var(--bg); }
@media (max-width: 720px) { .hero-v3 .hero-bg { object-fit: cover; object-position: 80% top; opacity: 0.55; } }
.hero-ph-mono { position: absolute; right: 8%; top: 50%; width: min(38vw, 520px); transform: translateY(-58%); color: var(--text); opacity: 0.05; }
.hero-ph-mono svg { width: 100%; height: auto; }
.hero-v3 .hero-inner { grid-template-columns: minmax(0, 640px); align-items: center; gap: 28px; padding-top: 72px; padding-bottom: 20px; flex: 1; }
.hero-headline { font-family: var(--display); font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 26px; }
.hero-headline span { display: block; }
.hero-headline .red { color: var(--red-2); }
.hero-v3 .hero-lead { max-width: 48ch; }
.hero-stats-v { display: flex; flex-direction: row; padding: 16px 0 0; border-top: 1px solid var(--line-2); max-width: 640px; }
.hero-stats-v .stat { flex: 1; padding: 10px 20px 10px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.hero-stats-v .stat + .stat { padding-left: 20px; }
.hero-stats-v .stat:last-child { border-right: 0; }
.hero-stats-v b { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--red-2); }
.hero-stats-v b::after { content: "+"; font-size: 24px; vertical-align: top; margin-left: 2px; }
.hero-stats-v span { font-size: 13.5px; color: var(--text); letter-spacing: 0.02em; }
.hero-values { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: auto; padding-top: 34px; padding-bottom: 64px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value .ico { color: var(--muted); flex-shrink: 0; margin-top: 1px; }
.value b { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.value span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 26ch; }
.quote-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.follow { display: flex; align-items: center; gap: 14px; color: var(--muted); font-family: var(--display); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.follow a { color: var(--muted); display: inline-flex; transition: color 0.2s, transform 0.2s; }
.follow a:hover { color: var(--text); transform: translateY(-2px); }
.quote { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); text-align: center; }
.quote .mark { color: var(--red-2); font-size: 34px; line-height: 0.5; font-weight: 900; }
.we-are { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-2); white-space: nowrap; }
.we-are::after { content: ""; width: 120px; height: 14px; background: repeating-linear-gradient(115deg, var(--bg-4) 0 9px, transparent 9px 18px); }
@media (max-width: 1100px) {
  .hero-v3 .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats-v { flex-direction: row; border-left: 0; border-top: 1px solid var(--line-2); padding: 12px 0 0; gap: 0; }
  .hero-stats-v .stat { flex: 1; border-bottom: 0; border-right: 1px solid var(--line); padding: 12px 16px 12px 0; }
  .hero-stats-v .stat:last-child { border-right: 0; }
  .hero-stats-v .stat + .stat { padding-left: 16px; }
  .hero-values { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .quote-inner { flex-wrap: wrap; justify-content: center; }
  .hero-ph-mono { display: none; }
}
@media (max-width: 720px) {
  .hero-headline { font-size: 38px; }
  .hero-stats-v b { font-size: 32px; }
  .we-are::after { display: none; }
  .quote { font-size: 11px; }
}

/* ---------- v3 photos: discipline cards, CTA band, about ---------- */
.disc-card.has-media { padding: 0; }
.disc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-4); }
.disc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.disc-card:hover .disc-media img { transform: scale(1.05); }
.disc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 7, 0) 40%, rgba(21, 21, 23, 0.95) 100%); }
.disc-media .disc-ico { position: absolute; left: 18px; bottom: 14px; z-index: 1; width: 46px; height: 46px; border-radius: 10px; background: rgba(7, 7, 7, 0.7); backdrop-filter: blur(6px); }
.disc-card.has-media .disc-num { top: 14px; right: 16px; color: rgba(246, 246, 243, 0.25); z-index: 1; font-size: 30px; }
.disc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.disc-card.has-media h3 { margin: 0; }
.cta-band.has-photo { padding: 150px 0; }
.cta-photo { position: absolute; inset: 0; z-index: -2; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 45%; }
.cta-band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.75) 40%, rgba(7, 7, 7, 0) 62%); }
.cta-band.has-photo .cta-bg, .cta-band.has-photo .cta-mono { display: none; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 0.8s var(--ease); }
.about-photo:hover img { transform: scale(1.03); }
.about-photo .seal { position: absolute; right: 18px; bottom: 18px; width: 120px; height: 120px; aspect-ratio: 1; object-fit: contain; opacity: 0.95; filter: invert(1) hue-rotate(180deg) brightness(0.95); mix-blend-mode: screen; }
@media (max-width: 720px) { .cta-band.has-photo { padding: 80px 0; } .about-photo .seal { width: 84px; height: 84px; } }
