/* =========================================================
   WUKONG CUP INTERNATIONAL — dusk & scarf
   Night-navy sections (the banner's sky) alternate with warm
   paper sections, tied together by the red scarf drawn down
   the page.
   ========================================================= */
:root {
  --night: #071624;
  --night-2: #0c2236;
  --dusk: #15334c;
  --paper: #f4ead8;
  --paper-2: #ecdcc0;
  --red: #e0332b;
  --red-2: #ff5a3c;
  --gold: #e9b65c;
  --gold-2: #ffd38a;
  --radius: 20px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --brand: "Cinzel", serif;
  --num: "Anton", sans-serif;
  /* per-language faces, set below */
  --display: "Cormorant Garamond", "Noto Serif", serif;
  --body: "Noto Sans", system-ui, sans-serif;
  --display-weight: 700;
}
html:lang(zh-Hant) { --display: "Noto Serif TC", serif; --body: "Noto Sans TC", system-ui, sans-serif; --display-weight: 900; }
html:lang(zh-Hans) { --display: "Noto Serif SC", serif; --body: "Noto Sans SC", system-ui, sans-serif; --display-weight: 900; }
html:lang(ja) { --display: "Noto Serif JP", serif; --body: "Noto Sans JP", system-ui, sans-serif; --display-weight: 900; }
html:lang(ko) { --display: "Noto Serif KR", serif; --body: "Noto Sans KR", system-ui, sans-serif; --display-weight: 900; }

/* Section themes */
.night { --bg: var(--night); --fg: #f4ead8; --muted: #9fb0bf; --card: #0e263b; --line: rgba(244, 234, 216, 0.12); --accent: var(--gold-2); background: var(--bg); color: var(--fg); }
.night--2 { --bg: var(--night-2); --card: #12304a; }
.paper { --bg: var(--paper); --fg: #13202b; --muted: #5b6670; --card: #fbf5ea; --line: rgba(19, 32, 43, 0.13); --accent: var(--red); background: var(--bg); color: var(--fg); }
.paper--2 { --bg: var(--paper-2); --card: #f6ecd9; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--body); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--red); color: #fff; border-radius: 10px; transition: top 0.2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; position: relative; z-index: 2; }
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }

/* Type */
.eyebrow { margin: 0 0 18px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
h2, .h2 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h2 em, .h2 em { font-style: italic; color: var(--accent); position: relative; white-space: nowrap; }
h2 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; background: var(--red); border-radius: 99px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s 0.5s var(--ease); }
.in h2 em::after, h2.in em::after { transform: scaleX(1); }
html:lang(zh-Hant) h2, html:lang(zh-Hans) h2, html:lang(ja) h2, html:lang(ko) h2 { line-height: 1.3; letter-spacing: 0.02em; }
html:lang(zh-Hant) h2 em, html:lang(zh-Hans) h2 em, html:lang(ja) h2 em, html:lang(ko) h2 em { font-style: normal; }
h3 { font-family: var(--display); font-weight: var(--display-weight); }
.lead { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.5; margin: 0 0 1.2em; text-wrap: balance; }
.fine { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }
.section-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.section-top h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.section-top > p { margin: 0; color: var(--muted); border-left: 3px solid var(--red); padding-left: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border: 0; border-radius: 999px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; cursor: pointer; transition: transform 0.25s ease-out, background 0.3s, box-shadow 0.3s; }
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -10px rgba(224, 51, 43, 0.7); }
.btn--red:hover { background: var(--red-2); }
.btn--sm { padding: 10px 20px; font-size: 0.86rem; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 6px; background: var(--night); transition: clip-path 1s var(--ease); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__scarf { width: min(560px, 80vw); height: auto; overflow: visible; }
.loader__scarf path { fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 1.4s 0.1s var(--ease) forwards; filter: drop-shadow(0 0 14px rgba(224, 51, 43, 0.6)); }
.loader__word { font-family: var(--brand); font-weight: 700; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: 0.08em; color: var(--paper); text-align: center; line-height: 1.1; opacity: 0; animation: rise 0.9s 0.35s var(--ease) forwards; }
.loader__word small { display: block; font-size: 0.32em; letter-spacing: 0.6em; color: var(--gold-2); margin-top: 8px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); pointer-events: none; opacity: 0; mix-blend-mode: normal; transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s, background 0.25s; }
.cursor.on { opacity: 0.9; }
.cursor.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(224, 51, 43, 0.25); border: 1px solid var(--red); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 22px; padding: 16px clamp(16px, 4vw, 48px); color: var(--paper); transition: background 0.4s, padding 0.4s, box-shadow 0.4s; }
.nav.scrolled { background: rgba(7, 22, 36, 0.86); backdrop-filter: blur(14px); padding-block: 10px; box-shadow: 0 1px 0 rgba(244, 234, 216, 0.08); }
.brand { position: relative; z-index: 2; display: flex; flex-direction: column; line-height: 1; font-family: var(--brand); flex-shrink: 0; }
.brand b { font-size: 1.3rem; letter-spacing: 0.06em; }
.brand small { font-size: 0.56rem; letter-spacing: 0.52em; color: var(--gold-2); margin-top: 4px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links > a { position: relative; padding: 8px 12px; font-size: 0.88rem; font-weight: 500; opacity: 0.85; transition: opacity 0.2s; white-space: nowrap; }
.nav__links > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav__links > a:hover, .nav__links > a.active { opacity: 1; }
.nav__links > a:hover::after, .nav__links > a.active::after { transform: scaleX(1); }
.nav__langs { display: none; }
.lang { position: relative; }
.lang select { appearance: none; padding: 8px 34px 8px 14px; background: rgba(244, 234, 216, 0.08); border: 1px solid rgba(244, 234, 216, 0.22); border-radius: 999px; font-size: 0.84rem; cursor: pointer; }
.lang select option { color: #13202b; }
.lang::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: 4px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.nav__burger i:first-of-type { top: 17px; }
.nav__burger i:last-of-type { top: 25px; }
.nav.open .nav__burger i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav.open .nav__burger i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); }
.hero__media { position: relative; aspect-ratio: 2 / 1; max-height: 100vh; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transform-origin: 70% 40%; animation: kenburns 24s ease-in-out infinite alternate; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, var(--night)); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 130px; z-index: 1; background: linear-gradient(rgba(7, 22, 36, 0.75), transparent); pointer-events: none; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__media { opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 2s var(--ease); }
.ready .hero__media { opacity: 1; transform: none; }
.sparks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sparks i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px 2px rgba(255, 211, 138, 0.8); opacity: 0; animation: spark 5s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); } 40% { opacity: 0.9; } 70% { opacity: 0; transform: translateY(-40px) scale(1); } }
.hero__mobile { display: none; }
.herobar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(var(--wrap), calc(100% - 48px)); margin: -40px auto 0; padding: 18px 18px 18px 28px; background: rgba(12, 34, 54, 0.78); backdrop-filter: blur(16px); border: 1px solid rgba(244, 234, 216, 0.14); border-radius: 999px; }
.herobar p { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.live-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 90, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); } }
.hero-wrap { background: var(--night); padding-bottom: 70px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); position: relative; z-index: 4; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 50s linear infinite; font-family: var(--display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; align-items: center; }
.marquee__track i { font-style: normal; color: var(--gold-2); font-size: 1rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 01 Mission ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.mission h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.mission-copy p { margin: 0 0 1.1em; }
.mission-copy p:not(.lead) { color: var(--muted); }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.principles span { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 500; font-size: 0.9rem; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.principles span:hover { background: var(--red); border-color: var(--red); color: #fff; }
.ghost { position: absolute; right: -2vw; top: 40px; font-family: var(--brand); font-weight: 700; font-size: clamp(6rem, 18vw, 16rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(19, 32, 43, 0.08); pointer-events: none; white-space: nowrap; z-index: 0; }

/* ---------- 02 Movement ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.program { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease-out, border-color 0.3s; }
.program::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 211, 138, 0.16), transparent 55%); opacity: 0; transition: opacity 0.4s; }
.program:hover { border-color: rgba(255, 211, 138, 0.45); }
.program:hover::before { opacity: 1; }
.program .num { font-family: var(--num); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-2); }
.program .num::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 16px; background: var(--red); border-radius: 3px; transition: width 0.5s var(--ease); }
.program:hover .num::after { width: 100%; }
.program h3 { margin: 18px 0 10px; font-size: 1.3rem; line-height: 1.35; }
.program p { margin: 0 0 22px; color: var(--muted); font-size: 0.93rem; flex: 1; }
.tag { align-self: flex-start; padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--gold-2); border: 1px solid rgba(255, 211, 138, 0.4); }

/* ---------- 03 Commitment ---------- */
.pledges { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pledge { position: relative; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); overflow: hidden; }
.pledge--local { background: var(--night); color: var(--paper); --muted: #a9b8c5; --accent: var(--gold-2); }
.pledge--give { background: var(--red); color: #fff; --muted: #ffe0d6; --accent: #fff3e2; }
.pledge .eyebrow { margin-bottom: 6px; }
.pledge__top { display: flex; align-items: center; gap: 24px; }
.ring { flex-shrink: 0; width: clamp(130px, 14vw, 170px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(255, 255, 255, 0.14); }
.ring .bar { stroke: var(--gold-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s 0.2s var(--ease); }
.pledge--give .ring .bar { stroke: #fff3e2; }
.in .ring .bar { stroke-dashoffset: 75; }
.big { font-family: var(--num); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; }
.big span { font-size: 0.5em; margin-left: 2px; }
.pledge h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; }
.pledge > p { margin: 22px 0 0; }
.pledge .fine { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: var(--muted); }
.calculator { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.calculator summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.2rem; }
.calculator summary::-webkit-details-marker { display: none; }
.calculator summary b { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--body); transition: transform 0.4s var(--ease); }
.calculator[open] summary b { transform: rotate(45deg); }
.calc-body { padding: 0 28px 28px; }
.calc-body > p { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; align-items: stretch; }
.calc-grid label { display: grid; gap: 8px; font-weight: 700; font-size: 0.86rem; }
.calc-grid input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #13202b; font-family: var(--num); font-size: 1.3rem; letter-spacing: 0.03em; }
.calc-result { display: grid; align-content: center; padding: 16px 22px; border-radius: 14px; background: var(--night); color: var(--paper); }
.calc-result span { font-size: 0.8rem; color: #a9b8c5; }
.calc-result strong { font-family: var(--num); font-weight: 400; font-size: 2.2rem; line-height: 1.2; color: var(--gold-2); }
.calc-result small { color: #a9b8c5; font-size: 0.8rem; }
.goals { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: center; margin-top: 22px; padding: 30px 34px; border: 1px dashed var(--line); border-radius: var(--radius); }
.goals h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; }
.goals p { margin: 0; color: var(--muted); }

/* ---------- 04 Cities ---------- */
.city-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.city-tabs button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 500; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.city-tabs button:hover { border-color: rgba(255, 211, 138, 0.5); }
.city-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.cities-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
.city-panel { display: grid; grid-template-rows: 1fr auto; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.city-panel > div { padding: 32px; }
.city-main { transition: opacity 0.35s, transform 0.35s var(--ease); }
.city-main.swap { opacity: 0; transform: translateY(12px); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 12px; background: rgba(255, 211, 138, 0.12); color: var(--gold-2); font-size: 0.78rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.city-main h3 { margin: 16px 0 10px; font-family: var(--brand); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: 0.04em; }
html:lang(zh-Hant) .city-main h3, html:lang(zh-Hans) .city-main h3, html:lang(ja) .city-main h3, html:lang(ko) .city-main h3, html:lang(vi) .city-main h3 { font-family: var(--display); }
.city-main p { margin: 0 0 20px; color: var(--muted); }
.text-link { font-weight: 700; color: var(--gold-2); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.city-aside { background: rgba(0, 0, 0, 0.18); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; }
.city-aside span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); }
.city-aside p { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.15rem; line-height: 1.7; }
.city-aside small { grid-column: 1 / -1; display: block; margin-top: 10px; font-size: 0.76rem; color: var(--muted); }
.map { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse at 70% 40%, #173a57 0%, var(--night) 70%); overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.map .grid { stroke: rgba(244, 234, 216, 0.07); stroke-width: 1; fill: none; }
.map .dots circle { fill: rgba(244, 234, 216, 0.16); }
.map .arc { fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: 0.35; transition: opacity 0.4s, stroke 0.4s; }
.map .arc.on { stroke: var(--red-2); opacity: 1; stroke-width: 2.2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.2s var(--ease) forwards; }
.map .pin { cursor: pointer; }
.map .pin circle.core { fill: var(--gold-2); transition: fill 0.3s, r 0.3s; }
.map .pin circle.halo { fill: none; stroke: var(--gold-2); opacity: 0; }
.map .pin.on circle.core { fill: var(--red-2); }
.map .pin.on circle.halo { stroke: var(--red-2); animation: halo 1.8s ease-out infinite; }
.map .pin text { fill: var(--paper); font-family: var(--body); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--night); stroke-width: 4px; }
.map .pin.on text { fill: #fff; }
.map .region { fill: rgba(255, 211, 138, 0.05); stroke: var(--gold-2); stroke-dasharray: 3 5; opacity: 0.6; }
.map .home circle.core { fill: var(--red); }
@keyframes halo { from { r: 6; opacity: 0.9; } to { r: 26; opacity: 0; } }

/* ---------- 05 Partners ---------- */
.partner-list { border-top: 1px solid var(--line); }
.partner-list > div { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px; align-items: baseline; padding: 30px 6px; border-bottom: 1px solid var(--line); position: relative; transition: padding 0.4s var(--ease); }
.partner-list > div::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.partner-list > div:hover { padding-left: 20px; }
.partner-list > div:hover::before { transform: scaleX(1); }
.partner-list span { font-family: var(--num); font-size: 2rem; color: var(--red); line-height: 1; }
.partner-list h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; }
.partner-list p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: center; }
.about__img { position: absolute; inset: -12% 0 -12% 34%; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 90% 70%; }
.about::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 0%, var(--night) 34%, rgba(7, 22, 36, 0.7) 52%, rgba(7, 22, 36, 0.15) 100%); }
.about .wrap { max-width: var(--wrap); }
.about__copy { max-width: 600px; }
.about__copy p:not(.eyebrow) { font-size: 1.08rem; color: #d6dee5; }
.about h2 { margin-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); margin: 22px 0 28px; }
.contact-links { display: grid; gap: 4px; }
.contact-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--num); font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: 0.03em; transition: color 0.3s, padding 0.4s var(--ease); }
.contact-links a:hover { color: var(--gold-2); padding-left: 14px; }
.contact-links a::after { content: "↗"; font-family: var(--body); color: var(--red-2); }
form.inquiry { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); background: var(--paper); color: #13202b; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); --muted: #5b6670; }
form.inquiry label { display: grid; gap: 6px; font-weight: 700; font-size: 0.86rem; }
form.inquiry input, form.inquiry select, form.inquiry textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(19, 32, 43, 0.18); border-radius: 12px; background: #fff; font-weight: 400; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s; }
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 51, 43, 0.15); }
form.inquiry textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.inquiry .btn { justify-self: start; }
form.inquiry .fine { margin: 0; }
#form-status { margin: 0; font-size: 0.9rem; color: #1b6b3a; }
#form-status:empty { display: none; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid rgba(244, 234, 216, 0.1); }
.footer__inner { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.footer .brand b { font-size: clamp(2rem, 5vw, 3.4rem); }
.footer .brand small { font-size: 0.7rem; }
.footer__tag { margin: 14px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.3rem; color: var(--gold-2); }
.footer__line { margin: 0; text-align: right; color: var(--muted); font-size: 0.86rem; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 30px; font-size: 0.84rem; color: var(--muted); }
.footer__langs a:hover, .footer__langs a[aria-current] { color: var(--paper); }

/* ---------- Scarf ribbon ---------- */
main { position: relative; overflow-x: clip; }
.ribbon { position: absolute; left: 0; top: 0; width: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.ribbon path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ribbon__shadow { stroke: rgba(0, 0, 0, 0.22); stroke-width: 11; transform: translate(4px, 6px); }
.ribbon__red { stroke: var(--red); stroke-width: 9; }
.ribbon__gold { stroke: var(--gold-2); stroke-width: 1.4; transform: translate(-3px, -3px); opacity: 0.8; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 80px 24px 40px; background: var(--night); clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path 0.7s var(--ease); overflow-y: auto; }
  .nav__links > a { font-size: 1.3rem; }
  .nav.open .nav__links { clip-path: circle(150% at calc(100% - 44px) 40px); }
  .nav__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(244, 234, 216, 0.14); font-size: 0.95rem; }
  .nav__langs a { opacity: 0.7; }
  .nav__langs a[aria-current] { opacity: 1; color: var(--gold-2); }
  .nav__burger { display: block; }
  .nav .lang { margin-left: auto; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .section-top, .mission, .pledges, .goals, .contact-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-result { grid-column: span 2; }
  .city-aside { grid-template-columns: 1fr; }
  .about__img { inset: -12% 0; }
  .about::before { background: linear-gradient(180deg, rgba(7, 22, 36, 0.55), rgba(7, 22, 36, 0.92) 60%); }
  .partner-list > div { grid-template-columns: 60px 1fr; }
  .partner-list p { grid-column: 2; }
  .ribbon__red { stroke-width: 6; }
  .ribbon__shadow { stroke-width: 7; }
  .ribbon__gold { display: none; }
}
@media (max-width: 720px) {
  .hero__media { aspect-ratio: auto; height: min(78vh, 640px); }
  .hero__media img { object-position: 64% center; }
  .hero__media::after { height: 70%; background: linear-gradient(transparent, rgba(7, 22, 36, 0.7) 50%, var(--night)); }
  .hero__mobile { display: block; position: absolute; left: 20px; right: 20px; bottom: 60px; z-index: 2; }
  .hero__mobile .eyebrow { color: var(--gold-2); margin-bottom: 8px; }
  .hero__title { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 1.08; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
  .hero__sub { margin: 10px 0 0; font-weight: 500; color: #e5ddd0; }
  .herobar { flex-direction: column; align-items: stretch; border-radius: var(--radius); margin-top: -30px; padding: 20px; width: calc(100% - 32px); }
  .herobar .btn { justify-content: center; }
  .nav .btn--sm { display: none; }
  .wrap { width: calc(100% - 32px); }
}
@media (max-width: 560px) {
  .programs { grid-template-columns: 1fr; }
  .calc-grid, .form-row { grid-template-columns: 1fr; }
  .calc-result { grid-column: auto; }
  .pledge__top { flex-direction: column; align-items: flex-start; }
  .lang select { padding: 7px 30px 7px 12px; font-size: 0.8rem; max-width: 120px; }
  .footer__line { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .loader__scarf path { stroke-dashoffset: 0; }
  .loader__word { opacity: 1; }
}
