/* =====================================================================
   RSH 2027 — 5th Riyadh Structural Heart Conference
   Design system & components. Shared by the static preview and the
   WordPress theme (wp-content/themes/rsh2027/assets/css/main.css).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #02142F;
  --navy-800: #031C3F;
  --navy-700: #063875;
  --blue-500: #1478FF;
  --yellow: #FFE21A;
  --gold: #F6C542;
  --white: #FFFFFF;
  --muted: #A9BAD0;
  --muted-2: #7F93B0;
  --line: rgba(169, 186, 208, 0.16);
  --line-strong: rgba(169, 186, 208, 0.28);
  --gold-line: rgba(246, 197, 66, 0.45);
  --surface: rgba(6, 56, 117, 0.16);
  --surface-2: rgba(6, 56, 117, 0.28);

  --font-head: "Manrope", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--navy-900); padding: 10px 16px; font-weight: 700; border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 900px; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.h-display { font-size: clamp(38px, 5vw, 64px); }
.h-1 { font-size: clamp(34px, 4.2vw, 52px); }
.h-2 { font-size: clamp(28px, 3.2vw, 40px); }
.h-3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); line-height: 1.7; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-yellow { color: var(--yellow); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
.uppercase { text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 4px; border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--navy-900); box-shadow: 0 10px 30px -12px rgba(255, 226, 26, .55); }
.btn--primary:hover { background: #fff0a0; transform: translateY(-2px); }
.btn--outline { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,0.02); }
.btn--outline:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--ghost { border-color: var(--gold-line); color: var(--gold); }
.btn--ghost:hover { background: rgba(246,197,66,.08); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 14px; }
.btn[aria-disabled="true"], .btn--disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn[aria-disabled="true"]:hover, .btn--disabled:hover { transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 20, 47, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(2, 20, 47, 0.92); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }
.header__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.header__navrow { display: none; border-top: 1px solid var(--line); }
.header__navrow .container { display: flex; justify-content: center; }
.brand { display: flex; align-items: center; gap: 18px; flex: none; }
.brand__rsh img { height: 44px; width: auto; }
.brand__sep { width: 1px; height: 40px; background: var(--line-strong); }
.brand__vision img { height: 40px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 13px 13px; white-space: nowrap; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--muted); border-radius: 4px; position: relative; transition: color .25s; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--white); }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__item { position: relative; }
.nav__item--has-sub .nav__link svg { width: 12px; height: 12px; }
.nav__sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px; background: rgba(3, 28, 63, .98); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__sub.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-radius: 4px; }
.nav__sub a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.header__cta { display: none; align-items: center; gap: 10px; }
.header__cta .btn { min-height: 44px; padding: 0 18px; font-size: 12px; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 4px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: rgba(2, 20, 47, .98); padding: calc(var(--header-h) + 16px) var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__list a, .mobile-nav__list button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-family: var(--font-head); font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); text-align: left; }
.mobile-nav__sub { padding: 4px 0 8px 16px; display: none; }
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub a { font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 0; padding: 10px 0; }
.mobile-nav__cta { display: grid; gap: 12px; margin-top: 28px; }
.mobile-nav__cta .btn { width: 100%; }

@media (min-width: 1100px) {
  :root { --header-h: 118px; }
  .header__navrow { display: block; }
  .nav { display: block; }
  .header__cta { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
  .brand__rsh img { height: 48px; }
  .brand__vision img { height: 44px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav__link { padding: 12px 9px; font-size: 12.5px; }
}

/* ---------- Decorative layers ---------- */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(20,120,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,120,255,.06) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.bg-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(169,186,208,.22) 1px, transparent 1.4px); background-size: 22px 22px; opacity: .35; -webkit-mask-image: linear-gradient(90deg, #000, transparent 45%); mask-image: linear-gradient(90deg, #000, transparent 45%); }
.bg-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px); }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent); }
.ecg { display: block; width: 100%; height: 40px; }
.ecg path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ecg--blue path { stroke: var(--blue-500); }
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.section--line-top { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__title { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; } .reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; } .reveal[data-delay="5"] { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 650px at 70% 42%, rgba(6,56,117,.42), transparent 65%), var(--navy-900); }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 40px; padding: clamp(40px, 6vw, 72px) 0 clamp(120px, 14vw, 200px); min-height: calc(100vh - var(--header-h)); align-content: center; }
.hero__text { max-width: 640px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: clamp(16px, 1.6vw, 22px); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.hero__kicker sup { font-size: .6em; vertical-align: super; letter-spacing: 0; margin: 0 .35em 0 -.12em; }
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero__title { font-size: clamp(48px, 5.5vw, 82px); line-height: .92; letter-spacing: -0.02em; color: var(--yellow); text-transform: uppercase; }
.hero__title .script { display: block; font-size: .78em; line-height: 1.1; color: var(--white); text-transform: none; margin-top: .06em; padding-left: .06em; }
.hero__meta { display: grid; gap: 12px; margin: 30px 0 26px; }
.hero__meta li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; color: var(--white); font-size: clamp(15px, 1.15vw, 17px); }
.hero__meta li strong { font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; font-size: 1.1em; text-transform: uppercase; }
.hero__meta svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.hero__tagline { font-family: var(--font-head); font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--white); line-height: 1.6; margin-bottom: 34px; }
.hero__tagline em { font-style: normal; color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero__heart { position: relative; z-index: 2; width: min(100%, 520px); mix-blend-mode: screen; filter: drop-shadow(0 0 40px rgba(20,120,255,.22)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero__heart { animation: none; } }
.hero__halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(20,120,255,.32), rgba(20,120,255,.06) 45%, transparent 70%); filter: blur(30px); }
.hero__ring { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(246,197,66,.18); transform: rotate(-18deg) scaleY(.62); }
.hero__ring--2 { width: 96%; border-color: rgba(20,120,255,.16); transform: rotate(22deg) scaleY(.5); }
.hero__trail { position: absolute; inset: -10% -10% -10% -10%; width: 120%; height: 120%; pointer-events: none; }
.hero__trail { opacity: .75; }
.hero__trail path { fill: none; stroke: url(#goldTrail); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.2s var(--ease) .4s forwards; filter: drop-shadow(0 0 6px rgba(255,226,26,.6)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__trail path { animation: none; stroke-dashoffset: 0; } }
.hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.hero__skyline img { width: 100%; height: clamp(160px, 22vw, 340px); object-fit: cover; object-position: center bottom; opacity: .9; }
.hero__skyline::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-900) 0%, rgba(2,20,47,.25) 45%, rgba(2,20,47,.55) 100%); }
.pillars { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.pillar { display: flex; align-items: center; gap: 14px; }
.pillar__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar__label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.hero__pillars { margin-top: 8px; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: center; gap: 24px; }
  .hero__visual { min-height: 560px; }
}
@media (min-width: 1280px) {
  .hero__inner { grid-template-columns: minmax(0, 42fr) minmax(0, 46fr) 180px; }
  .pillars { grid-template-columns: 1fr; gap: 26px; }
  .pillar { flex-direction: row; }
  .hero__pillars { margin-top: 0; }
  .hero__heart { width: min(100%, 600px); }
}
@media (max-width: 899px) {
  .hero__inner { padding-top: 24px; gap: 28px; }
  .hero__visual { order: -1; min-height: 0; }
  .hero__heart { width: min(62vw, 340px); }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
}
@media (max-width: 480px) { .hero__actions .btn { width: 100%; } .about__facts { grid-template-columns: 1fr; } }

/* ---------- Countdown ---------- */
.countdown { position: relative; z-index: 4; margin-top: calc(-1 * clamp(48px, 6vw, 80px)); }
.countdown__panel { display: grid; gap: 20px; padding: 28px clamp(20px, 3vw, 40px); background: rgba(3, 28, 63, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.countdown__label { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.countdown__label small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.countdown__units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.unit { text-align: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(2,20,47,.5); }
.unit__num { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.unit__lbl { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .countdown__panel { grid-template-columns: 1fr auto; align-items: center; } .countdown__units { gap: 16px; } .unit { min-width: 120px; } }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__title { font-size: clamp(30px, 3.6vw, 46px); text-transform: uppercase; letter-spacing: -.01em; }
.about__title span { color: var(--gold); }
.about__body { margin-top: 24px; }
.about__body p { font-size: clamp(16px, 1.15vw, 18px); color: var(--muted); }
.about__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.fact { padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--radius); }
.fact__k { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fact__v { margin-top: 4px; font-weight: 600; color: var(--white); font-size: 15px; }
.about__visual { position: relative; display: grid; place-items: center; }
.about__visual img { width: min(100%, 480px); mix-blend-mode: screen; filter: drop-shadow(0 0 40px rgba(20,120,255,.22)); }
.about__visual .bg-grid { -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%); }
.about__caption { position: absolute; right: 0; bottom: 8%; display: grid; gap: 6px; text-align: right; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.about__caption span:first-child { color: var(--gold); }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

/* ---------- Welcome ---------- */
.welcome__grid { display: grid; gap: 40px; align-items: start; }
.welcome__figure { position: relative; margin: 0; max-width: 420px; }
.welcome__figure::before { content: ""; position: absolute; inset: 12% -6% -2% 8%; border-radius: 220px 220px 8px 8px; background: linear-gradient(180deg, rgba(6,56,117,.55), rgba(2,20,47,0)); border: 1px solid var(--line); }
.welcome__figure::after { content: ""; position: absolute; left: -4%; right: 4%; bottom: -8px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.welcome__figure img { position: relative; z-index: 1; width: 100%; }
.welcome__name { margin-top: 24px; }
.welcome__name strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.welcome__name span { color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.welcome__body p { color: var(--muted); font-size: clamp(16px, 1.1vw, 17.5px); }
.welcome__body p:first-of-type { color: var(--white); font-size: clamp(18px, 1.35vw, 21px); font-weight: 500; }
.welcome__sign { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .welcome__grid { grid-template-columns: 380px 1fr; gap: 72px; } }

/* ---------- Call for Abstracts band ---------- */
.cfa { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--navy-800) 0%, var(--navy-900) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cfa::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 15% 50%, rgba(20,120,255,.22), transparent 70%); }
.cfa__grid { position: relative; display: grid; gap: 36px; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.cfa__heart { display: none; }
.cfa__title { font-size: clamp(44px, 6.4vw, 92px); line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.cfa__title span { display: block; color: var(--yellow); }
.cfa__deadline { display: inline-grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; margin-top: 30px; padding: 16px 22px; background: var(--yellow); color: var(--navy-900); border-radius: 8px; }
.cfa__deadline svg { grid-row: span 2; width: 34px; height: 34px; }
.cfa__deadline small { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.cfa__deadline strong { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.cfa__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.cfa__qr { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; max-width: 320px; }
.cfa__qr img { width: 92px; height: 92px; border-radius: 6px; }
.cfa__points { display: grid; gap: 14px; }
.cfa__points li { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.cfa__points svg { width: 38px; height: 38px; flex: none; padding: 9px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold); }
@media (min-width: 960px) {
  .cfa__grid { grid-template-columns: 300px 1fr 260px; gap: 48px; }
  .cfa__heart { display: block; width: 300px; mix-blend-mode: screen; filter: drop-shadow(0 0 40px rgba(20,120,255,.25)); }
}
@media (min-width: 1200px) { .cfa__grid { grid-template-columns: 360px 1fr 300px; } .cfa__heart { width: 360px; } }

/* ---------- Ambassadors ---------- */
.ambassadors__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
.amb { text-align: center; }
.amb__portrait { position: relative; width: 100%; max-width: 210px; margin: 0 auto 14px; aspect-ratio: 210 / 165; }
.amb__portrait img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.amb:hover .amb__portrait img { transform: translateY(-4px); }
.amb__name { font-family: var(--font-head); font-size: 15.5px; font-weight: 800; }
.amb__region { display: block; margin-top: 3px; font-size: 13px; font-style: italic; color: var(--gold); letter-spacing: .02em; }
@media (min-width: 640px) { .ambassadors__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .ambassadors__grid { grid-template-columns: repeat(4, 1fr); gap: 44px 24px; } }
@media (min-width: 1200px) { .ambassadors__grid { grid-template-columns: repeat(6, 1fr); gap: 48px 20px; } }
.amb--lg .amb__portrait { max-width: 260px; }

/* ---------- Board ---------- */
.board__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.member { text-align: center; }
.member__photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--navy-800); }
.member__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 60px -40px rgba(2,20,47,.55); pointer-events: none; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__name { margin-top: 12px; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; }
.member__role { display: block; margin-top: 2px; font-size: 12.5px; color: var(--gold); letter-spacing: .06em; }
@media (min-width: 640px) { .board__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .board__grid { grid-template-columns: repeat(4, 1fr); gap: 32px 20px; } }
@media (min-width: 1200px) { .board__grid { grid-template-columns: repeat(6, 1fr); } .board__grid--full { grid-template-columns: repeat(4, 1fr); } }
.board__chair { grid-column: 1 / -1; display: grid; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--surface); }
.board__chair .member__photo { width: 160px; border-radius: 50%; }
@media (min-width: 640px) { .board__chair { grid-template-columns: 160px 1fr; } }

/* ---------- Venue ---------- */
.venue { position: relative; overflow: hidden; }
.venue__grid { display: grid; gap: 40px; align-items: center; }
.venue__title { font-size: clamp(28px, 3.4vw, 42px); }
.venue__meta { display: grid; gap: 12px; margin: 26px 0 30px; }
.venue__meta li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.venue__meta svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.venue__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.venue__media img { width: 100%; height: 100%; object-fit: cover; }
.venue__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2,20,47,.55), rgba(2,20,47,0) 45%), linear-gradient(0deg, rgba(2,20,47,.5), transparent 40%); }
.venue__media::after { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; background: var(--gold); z-index: 2; }
.venue__badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 12px 16px; background: rgba(2,20,47,.75); border: 1px solid var(--line-strong); border-radius: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.venue__badge span { color: var(--gold); }
@media (min-width: 960px) { .venue__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
@media (max-width: 599px) { .venue__media { aspect-ratio: 4 / 5; } }

/* ---------- News ---------- */
.news__grid { display: grid; gap: 24px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: transform .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.card__date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card__title { font-family: var(--font-head); font-size: 19px; font-weight: 800; line-height: 1.25; }
.card__text { color: var(--muted); font-size: 14.5px; }
.card__body .link-arrow { margin-top: 6px; }
@media (min-width: 760px) { .news__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Archive teaser ---------- */
.editions { display: grid; gap: 16px; }
.edition { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(3,28,63,.3); transition: border-color .3s, background .3s; }
.edition:hover { border-color: var(--gold-line); background: rgba(3,28,63,.55); }
.edition__year { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.edition__year small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.edition__meta { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .editions { grid-template-columns: repeat(3, 1fr); } .edition { grid-template-columns: 1fr; gap: 10px; padding: 28px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-900), #010d20); }
.footer__top { display: grid; gap: 40px; padding: clamp(56px, 6vw, 80px) 0 48px; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 360px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__col h4 { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .25s; }
.footer__col a:hover { color: var(--white); }
.footer__cta { display: grid; gap: 12px; align-content: start; }
.footer__partners { padding: 36px 0; border-top: 1px solid var(--line); display: grid; gap: 28px; align-items: center; }
.footer__strip { display: block; }
.footer__strip img { width: 100%; max-width: 980px; border-radius: 8px; }
.footer__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; padding: 18px 28px; background: #fff; border-radius: 8px; max-width: 980px; }
.footer__logos li { display: flex; align-items: center; }
.footer__logos img { height: 56px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 599px) { .footer__logos { gap: 14px 22px; } .footer__logos img { height: 42px; } }
.footer__marks { display: flex; align-items: center; gap: 28px; justify-content: flex-start; }
.footer__marks img { height: 64px; width: auto; }
.footer__marks .brand__sep { height: 56px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.footer__bottom .ecg { width: 140px; height: 24px; }
@media (min-width: 960px) {
  .footer__top { grid-template-columns: 1.2fr 1.4fr .8fr; gap: 56px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__partners { grid-template-columns: 1fr auto; }
  .footer__marks { justify-content: flex-end; }
}

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(900px 400px at 85% 0%, rgba(6,56,117,.5), transparent 70%), var(--navy-900); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; letter-spacing: -.02em; max-width: 900px; }
.page-hero__title span { color: var(--yellow); }
.page-hero .lead { margin-top: 18px; max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.prose { max-width: 820px; }
.prose p, .prose li { color: var(--muted); font-size: clamp(16px, 1.1vw, 17.5px); }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 2em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Coming soon */
.coming { position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: clamp(36px, 5vw, 64px); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(6,56,117,.35), rgba(2,20,47,.2)); }
.coming::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(169,186,208,.2) 1px, transparent 1.4px); background-size: 20px 20px; opacity: .3; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.coming > * { position: relative; }
.coming__title { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }
.coming__title span { color: var(--yellow); }
.coming__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--gold-line); border-radius: 999px; font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.coming__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(246,197,66,.2); }
.coming__aside { display: grid; gap: 14px; }
@media (min-width: 900px) { .coming { grid-template-columns: 1.3fr .7fr; } }

/* Program tracks */
.tracks { display: grid; gap: 20px; }
.track { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.track__num { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--gold); }
.track__title { font-size: 22px; }
.track__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.track__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.track__status--live { color: var(--gold); } .track__status--live::before { background: var(--gold); }
.track .btn { justify-self: start; }
@media (min-width: 900px) { .tracks { grid-template-columns: repeat(3, 1fr); } }

/* Download list */
.downloads { display: grid; gap: 12px; }
.dl { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(3,28,63,.3); transition: border-color .3s; }
.dl:hover { border-color: var(--gold-line); }
.dl__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 8px; color: var(--gold); }
.dl__icon svg { width: 20px; height: 20px; }
.dl__title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.dl__meta { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.dl__act { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
@media (max-width: 480px) { .dl { grid-template-columns: 44px 1fr; } .dl__act { grid-column: 2; } }

/* Archive edition page */
.archive-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.archive-banner img { width: 100%; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); border-radius: var(--radius); background: rgba(3,28,63,.35); color: var(--muted); font-size: 14px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.notice strong { color: var(--white); }
.grid-2 { display: grid; gap: 32px; } @media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 24px; } @media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.flyer-card { display: grid; gap: 14px; }
.flyer-card img { border-radius: 10px; border: 1px solid var(--line); }
.flyer-card figcaption { font-size: 13px; color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .people-grid { grid-template-columns: repeat(4, 1fr); } }
.name-list { display: grid; gap: 8px; }
.name-list li { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.spacer { height: clamp(32px, 4vw, 56px); }

/* Committees */
.committee { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.committee h3 { font-size: 20px; }

/* Utilities */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stack { display: grid; gap: 24px; }
@media print { .site-header, .mobile-nav, .hero__skyline, .footer__cta { display: none !important; } body { background: #fff; color: #000; } }
