/* ==========================================================================
   RYSE — Recreation for Youth & Society Empowerment
   Palette taken from the RYSE mark: island green, crimson, warm paper, ink.
   ========================================================================== */

:root {
  --ink: #06192c;
  --ink-2: #172b40;
  --ink-soft: #57616e;
  --paper: #f6f1e7;
  --paper-2: #efe7d8;
  --sand: #e4d8c3;
  --line: rgba(6, 25, 44, 0.14);
  --line-light: rgba(246, 241, 231, 0.16);

  --green: #e2711f;
  --green-deep: #c2462b;
  --green-mint: #fde5c6;
  --red: #d6405f;
  --red-deep: #a32a4a;
  --blush: #f9d8dd;
  --gold: #f6a93b;

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--green); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "wdth" 92;
}
.display { font-size: clamp(3rem, 8.6vw, 8.4rem); letter-spacing: -0.04em; line-height: 0.9; }
.h1 { font-size: clamp(2.7rem, 6.6vw, 6.2rem); line-height: 0.92; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); }
.h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -0.025em; line-height: 1.05; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.t-green { color: var(--green); }
.t-red { color: var(--red); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.muted { color: var(--ink-soft); }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .num { font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--red); }
.eyebrow::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: 0.5; }
.on-dark .eyebrow { color: rgba(246, 241, 231, 0.7); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 100px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { border-color: var(--green); color: #fff; }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--outline-light { --bg: transparent; --fg: var(--paper); border-color: rgba(246,241,231,.5); }
.btn--red::before { background: var(--red); }
.btn--red:hover { border-color: var(--red); }

.link-u {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  padding-bottom: 3px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); }
.link-u svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.link-u:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  transition: transform 0.6s var(--ease), background-color 0.4s ease, height 0.4s var(--ease), box-shadow .4s ease;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: rgba(246, 241, 231, 0.86);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 70px;
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 34px; height: auto; transition: transform 0.8s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.16em; }
.brand-sub { font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; max-width: 170px; line-height: 1.3; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 100px; font-weight: 500; font-size: 0.95rem;
  background: none; border: 0; transition: background-color 0.3s ease;
}
.nav-link:hover, .nav li:focus-within > .nav-link { background: rgba(6, 25, 44,.06); }
.nav-link[aria-current="page"] { position: relative; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--red);
}
.nav-link .chev { width: 10px; height: 10px; transition: transform 0.4s var(--ease); }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 330px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(6, 25, 44,.25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.dropdown a {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px; transition: background-color .25s ease;
}
.dropdown a:hover { background: var(--paper-2); }
.dropdown .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--green-mint); color: var(--green-deep); }
.dropdown a:nth-child(even) .ico { background: var(--blush); color: var(--red-deep); }
.dropdown .ico svg { width: 18px; height: 18px; }
.dropdown strong { display: block; font-size: .95rem; font-weight: 600; }
.dropdown small { display: block; color: var(--ink-soft); font-size: .8rem; line-height: 1.3; }

.header-cta { margin-left: 10px; padding: 12px 20px; font-size: .9rem; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--ink);
  transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .9s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--paper); }
.menu-open .site-header .brand-sub { color: rgba(246,241,231,.6); }
.menu-open .menu-toggle span { background: var(--paper); }
.menu-open .menu-toggle { border-color: var(--line-light); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -.03em;
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.mobile-menu li a small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1rem; color: rgba(246,241,231,.5); }
.menu-open .mobile-menu li a { transform: translateY(0); }
.mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.mobile-menu li:nth-child(3) a { transition-delay: .35s; }
.mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.mobile-menu li:nth-child(5) a { transition-delay: .45s; }
.mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu li:nth-child(7) a { transition-delay: .55s; }
.mobile-menu li:nth-child(8) a { transition-delay: .6s; }
.mobile-menu .mm-foot { margin-top: 30px; font-size: .9rem; color: rgba(246,241,231,.6); opacity: 0; transition: opacity .6s .6s; }
.menu-open .mobile-menu .mm-foot { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ---------- Page transition / loader ---------- */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 1500; background: var(--ink);
  display: grid; place-items: center; pointer-events: none;
  transform-origin: top;
}
.curtain img { width: 64px; opacity: 0; transform: translateY(14px) scale(.9); }
.is-loading .curtain img { animation: markIn .7s var(--ease) .1s forwards; }
.is-loaded .curtain { animation: curtainUp 1s var(--ease-in-out) forwards; }
.is-loaded .curtain img { opacity: 1; transform: none; animation: markOut .5s var(--ease) forwards; }
.is-leaving .curtain { animation: curtainDown .6s var(--ease-in-out) forwards; }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes markOut { to { opacity: 0; transform: translateY(-20px); } }
@keyframes curtainUp { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes curtainDown { 0% { clip-path: inset(100% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(.94); }

.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].in img { transform: scale(1); }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }

[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms) !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.on-dark { background: var(--ink); color: var(--paper); }
.on-dark .lead { color: rgba(246,241,231,.82); }
.on-dark .muted { color: rgba(246,241,231,.6); }
.on-green { background: var(--green-deep); color: var(--paper); }
.on-sand { background: var(--paper-2); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.section-head .eyebrow { margin-bottom: 26px; }
.section-head p { max-width: 46ch; margin: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(30px, 6vw, 70px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 26px 0 32px; }
.hero h1 .serif { font-size: 1.04em; letter-spacing: -.03em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta { display: flex; gap: 34px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
.hero-meta strong { display: block; font-family: var(--f-display); font-size: 1.7rem; color: var(--ink); letter-spacing: -.03em; font-weight: 700; }

.hero-collage { position: relative; height: clamp(460px, 52vw, 680px); }
.hero-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(6, 25, 44,.45); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hc-1 { width: 58%; height: 76%; right: 0; top: 0; }
.hc-2 { width: 46%; height: 46%; left: 0; top: 14%; z-index: 2; }
.hc-3 { width: 40%; height: 38%; left: 18%; bottom: 0; z-index: 3; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- RYSE hero badge (new) ---------- */
.hc-badge {
  --size: 176px;
  position: absolute; right: 4%; bottom: 0; z-index: 4;
  width: var(--size); height: var(--size); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #17304d 0%, #06192c 62%);
  box-shadow: 0 24px 50px -18px rgba(6,25,44,.65), inset 0 0 0 1px rgba(246,169,59,.22);
  animation: hbIn 1.4s cubic-bezier(.22,1,.36,1) .5s both;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.hc-badge:hover { transform: scale(1.06) rotate(-4deg); }
.hc-badge .hb-glow {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,169,59,.55), rgba(214,64,95,.25) 55%, transparent 72%);
  filter: blur(10px); animation: hbPulse 3.6s ease-in-out infinite;
}
.hc-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hc-badge .hb-text { animation: hbSpin 26s linear infinite; }
.hc-badge .hb-text text { font: 600 12.4px "Hanken Grotesk", sans-serif; letter-spacing: 0; fill: #f6f1e7; text-transform: uppercase; }
.hc-badge .hb-text .star { fill: #f6a93b; }
.hc-badge .hb-arc { animation: hbSpin 7s linear infinite reverse; }
.hc-badge .hb-core {
  position: absolute; inset: 24%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 30%, #1c3755, #0a2038 70%);
  box-shadow: inset 0 0 0 1px rgba(246,241,231,.08);
}
.hc-badge .hb-core img {
  display: block; width: auto; height: 64%; max-width: none; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(226,113,31,.35));
  animation: hbFloat 4s ease-in-out infinite; transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.hc-badge:hover .hb-core img { transform: scale(1.08) rotate(4deg); }
@keyframes hbIn { from { opacity: 0; transform: scale(.55) rotate(-60deg); } to { opacity: 1; transform: none; } }
@keyframes hbSpin { to { transform: rotate(360deg); } }
@keyframes hbFloat { 0%, 100% { translate: 0 2px; } 50% { translate: 0 -3px; } }
@keyframes hbPulse { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 640px) { .hc-badge { --size: 124px; } }
@media (prefers-reduced-motion: reduce) { .hc-badge, .hc-badge * { animation: none !important; } }


.hero-scroll { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 26px; }
.hero-scroll i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 22px 0; user-select: none; }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.marquee-item .serif { font-weight: 400; }
.marquee-item .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.marquee-item:nth-child(even) .dot { background: var(--red); }
.marquee--big .marquee-item { font-size: clamp(3rem, 8vw, 7.5rem); gap: 48px; padding-right: 48px; }
.marquee--big .marquee-item .dot { width: 28px; height: 28px; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / about split ---------- */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro-statement { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; margin: 0 0 40px; }
.intro-statement .serif { color: var(--green); }
.intro-statement .hl { color: var(--red); }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: var(--ink-2); }
.intro-aside { position: sticky; top: 110px; }
.intro-aside figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.intro-aside figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-aside figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; display: flex; justify-content: space-between; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 6px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 26px; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6vw, 5.6rem); letter-spacing: -.05em; line-height: .9; display: flex; align-items: flex-start; }
.stat-num sup { font-size: .4em; margin-top: .2em; color: var(--red); }
.stat p { margin: 14px 0 0; color: var(--ink-soft); font-size: .95rem; max-width: 24ch; }
.on-dark .stats, .on-dark .stat { border-color: var(--line-light); }
.on-dark .stat p { color: rgba(246,241,231,.62); }

/* ---------- Programme stack (home) ---------- */
.prog-list { border-top: 1px solid var(--line); }
.prog-row {
  position: relative; display: grid; grid-template-columns: 90px 1.2fr 1fr 60px; gap: 30px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.prog-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.prog-row:hover::before { transform: scaleY(1); transform-origin: top; }
.prog-row:hover { color: var(--paper); }
.prog-row .idx { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--red); }
.prog-row h3 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); transition: transform .6s var(--ease); }
.prog-row:hover h3 { transform: translateX(14px); }
.prog-row p { margin: 0; color: var(--ink-soft); font-size: .98rem; transition: color .4s; }
.prog-row:hover p { color: rgba(246,241,231,.7); }
.prog-row .go { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.prog-row:hover .go { background: var(--green); border-color: var(--green); transform: rotate(-45deg); }
.prog-row .go svg { width: 20px; height: 20px; }
.prog-thumb {
  position: fixed; left: 0; top: 0; width: 300px; height: 210px; z-index: 50; pointer-events: none; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s ease, transform .5s var(--ease);
}
.prog-thumb.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.prog-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature (futsal) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.feature-media { position: relative; }
.feature-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/14; max-height: 720px; }
.feature-media .main img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .float {
  position: absolute; width: 56%; right: -8%; bottom: 8%; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--ink);
}
.feature-media .float img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature h2 { margin: 26px 0 30px; }
.score-strip { display: flex; gap: 0; margin: 40px 0; border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; }
.score-strip > div { flex: 1; padding: 20px 22px; border-right: 1px solid var(--line-light); }
.score-strip > div:last-child { border-right: 0; }
.score-strip small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,231,.55); }
.score-strip strong { display: block; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.02em; margin-top: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.tl-year { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 50px 0; border-top: 1px solid var(--line); }
.tl-year h3 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.06em; position: sticky; top: 110px; align-self: start; }
.tl-year h3 small { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: var(--ink-soft); margin-top: 10px; }
.tl-items { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-item time { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.tl-item h4 { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; font-weight: 600; }
.tl-item p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; background: var(--green-mint); color: var(--green-deep); margin-left: 8px; vertical-align: middle; }
.tag--red { background: var(--blush); color: var(--red-deep); }
.tag--ink { background: var(--ink); color: var(--paper); }
.tag--sand { background: var(--sand); color: var(--ink); }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(50px, 9vw, 120px)); padding-bottom: clamp(50px, 7vw, 100px); position: relative; overflow: hidden; }
.page-hero .crumbs { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 10px; margin-bottom: 28px; }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero h1 { max-width: 14ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end; }
.page-hero-grid .lead { margin: 0 0 8px; }
.page-hero.on-dark .crumbs { color: rgba(246,241,231,.55); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 115%; object-fit: cover; opacity: .32; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 25, 44,.6) 0%, rgba(6, 25, 44,.3) 40%, var(--ink) 100%); }
.page-hero > .wrap { position: relative; z-index: 1; }

.big-mark { position: absolute; right: -4vw; top: 50%; width: clamp(240px, 36vw, 520px); opacity: .09; transform: translateY(-50%) rotate(-8deg); pointer-events: none; }

/* ---------- Programmes page ---------- */
.subnav { position: sticky; top: 70px; z-index: 40; background: rgba(246,241,231,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: 9px 16px; border-radius: 100px; font-size: .9rem; font-weight: 500; border: 1px solid transparent; transition: all .3s ease; }
.subnav a:hover { border-color: var(--line); }
.subnav a.active { background: var(--ink); color: var(--paper); }

.program { padding: clamp(70px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.program-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; margin-bottom: 60px; align-items: end; }
.program-head .big-idx { display: block; font-family: var(--f-serif); font-style: italic; font-size: clamp(5rem, 12vw, 11rem); line-height: .8; color: var(--sand); }
.program-head h2 { margin-top: 18px; }
.program-head p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 28px 32px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 280px; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(6, 25, 44,.35); }
.card .when { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.card h3 { font-size: 1.55rem; margin: 18px 0 14px; letter-spacing: -.025em; line-height: 1.08; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.card .foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.card--green { background: var(--green-deep); color: var(--paper); border-color: transparent; }
.card--green p, .card--red p { color: rgba(246,241,231,.82); }
.card--green .when, .card--red .when { color: rgba(246,241,231,.6); }
.card--red { background: var(--red); color: var(--paper); border-color: transparent; }
.card--ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.card--ink p { color: rgba(246,241,231,.78); }
.card--ink .when { color: rgba(246,241,231,.6); }
.card--photo { padding: 0; min-height: 360px; color: var(--paper); justify-content: flex-end; }
.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(6, 25, 44,.88)); }
.card--photo:hover img { transform: scale(1.06); }
.card--photo .inner { padding: 28px; }
.card--photo p { color: rgba(246,241,231,.85); }
.card--span2 { grid-column: span 2; }
.card .quote-mark { font-family: var(--f-serif); font-size: 6rem; line-height: .6; position: absolute; right: 20px; top: 30px; opacity: .15; }

/* ---------- Futsal page ---------- */
.edition-switch { display: inline-flex; padding: 5px; border-radius: 100px; background: rgba(246,241,231,.08); border: 1px solid var(--line-light); }
.edition-switch button { border: 0; background: transparent; color: rgba(246,241,231,.7); padding: 10px 22px; border-radius: 100px; font-weight: 600; transition: all .4s var(--ease); }
.edition-switch button.active { background: var(--paper); color: var(--ink); }
.edition { display: none; }
.edition.active { display: block; animation: edIn .8s var(--ease); }
@keyframes edIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.result { display: grid; grid-template-columns: 70px 1fr auto 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: .98rem; }
.result .m { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,231,.5); }
.result .t1 { text-align: right; }
.result .sc { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; padding: 4px 12px; border-radius: 6px; background: rgba(246,241,231,.08); min-width: 74px; text-align: center; letter-spacing: .02em; }
.result .w { font-weight: 700; }
.result.final .sc { background: var(--gold); color: var(--ink); }
.result.semi .sc { background: rgba(214, 64, 95,.85); }

.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.award { padding: 26px 22px; border-radius: 12px; border: 1px solid var(--line-light); background: rgba(246,241,231,.03); transition: background .4s, transform .5s var(--ease); }
.award:hover { background: rgba(246,241,231,.07); transform: translateY(-4px); }
.award svg { width: 30px; height: 30px; color: var(--gold); }
.award small { display: block; margin-top: 30px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,231,.55); }
.award strong { display: block; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }
.award span { display: block; font-size: .88rem; color: rgba(246,241,231,.6); margin-top: 4px; }

.teams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.team { padding: 22px 18px; border-radius: 12px; background: rgba(246,241,231,.05); border: 1px solid var(--line-light); }
.team b { display: block; font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; }
.team span { font-size: .82rem; color: rgba(246,241,231,.6); }
.team.champ { background: var(--gold); color: var(--ink); border-color: transparent; }
.team.champ span { color: rgba(6, 25, 44,.7); }

.table-wrap { overflow-x: auto; }
.points { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.points th, .points td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line-light); }
.points th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,231,.5); font-weight: 600; }
.points td:nth-child(2), .points th:nth-child(2) { text-align: left; }
.points tr:first-child td { color: var(--gold); font-weight: 700; }
.points .pts { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }

.scorers { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.scorers li { counter-increment: s; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.scorers li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-serif); font-style: italic; color: rgba(246,241,231,.5); font-size: 1.1rem; }
.scorers b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.01em; }
.scorers span { color: rgba(246,241,231,.55); font-size: .88rem; margin-left: 8px; }
.scorers em { font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; }
.bar { height: 3px; background: rgba(246,241,231,.08); border-radius: 3px; margin-top: 8px; overflow: hidden; grid-column: 2 / 3; }
.bar i { display: block; height: 100%; background: var(--green); width: 0; transition: width 1.6s var(--ease); }
.in .bar i { width: var(--w); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }

/* sponsors */
.sponsor-tiers { display: grid; gap: 40px; }
.tier { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.tier h4 { font-family: var(--f-display); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tier h4 small { display: block; font-family: var(--f-body); color: var(--ink-soft); font-weight: 400; font-size: .82rem; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; background: var(--paper); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.on-dark .tier { border-color: var(--line-light); }
.on-dark .tier h4 small { color: rgba(246,241,231,.55); }
.on-dark .chip { background: transparent; border-color: var(--line-light); }
.on-dark .chip:hover { background: var(--paper); color: var(--ink); }

/* poster rail */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: rgba(246,241,231,.3) transparent; cursor: grab; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail figure { flex: 0 0 auto; width: clamp(220px, 24vw, 300px); margin: 0; scroll-snap-align: start; }
.rail img { width: 100%; border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.rail figure:hover img { transform: translateY(-6px); }
.rail figcaption { font-size: .82rem; margin-top: 10px; color: rgba(246,241,231,.6); }

/* ---------- News ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.filter { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: transparent; font-weight: 500; font-size: .92rem; transition: all .35s var(--ease); }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter sup { font-size: .7em; margin-left: 3px; opacity: .6; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 28px; }
.post { display: flex; flex-direction: column; transition: opacity .4s ease, transform .5s var(--ease); }
.post.hide { display: none; }
.post .ph { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; margin-bottom: 20px; background: var(--paper-2); }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .ph img { transform: scale(1.05); }
.post .ph--type { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.post .ph--type .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; letter-spacing: -.04em; }
.post .ph--type .big .serif { font-weight: 400; }
.post .ph--type .pmark { width: 30px; height: auto; flex: none; align-self: flex-start; opacity: .95; }
.ph--green { background: var(--green-deep) !important; color: var(--paper); }
.ph--red { background: var(--red) !important; color: var(--paper); }
.ph--ink { background: var(--ink) !important; color: var(--paper); }
.ph--mint { background: var(--green-mint) !important; color: var(--green-deep); }
.ph--blush { background: var(--blush) !important; color: var(--red-deep); }
.ph--sand { background: var(--sand) !important; }
.post .meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--ink-soft); margin-bottom: 10px; }
.post .meta .tag { margin: 0; }
.post h3 { font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 10px; }
.post p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.post--feature { grid-column: span 2; }
.post--feature .ph { aspect-ratio: 16/9; }
.post--feature h3 { font-size: 2rem; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--paper); font-size: .85rem;
  background: linear-gradient(180deg, transparent, rgba(6, 25, 44,.8));
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.masonry figure:hover figcaption { transform: none; }
.masonry figure.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200; background: rgba(3, 16, 30,.96); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s;
}
.lightbox.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; border-radius: 6px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox .lb-cap { color: rgba(246,241,231,.75); text-align: center; margin-top: 16px; font-size: .9rem; }
.lightbox .lb-count { position: absolute; top: 26px; left: 30px; color: rgba(246,241,231,.6); font-size: .85rem; letter-spacing: .1em; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(246,241,231,.25); background: transparent; color: var(--paper); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb-btn:hover { background: var(--paper); color: var(--ink); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Get involved ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { position: relative; padding: 36px 32px; border-radius: 16px; min-height: 460px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.way .n { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; opacity: .7; }
.way h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin: 80px 0 20px; }
.way p { opacity: .85; }
.way ul { list-style: none; padding: 0; margin: 10px 0 30px; font-size: .95rem; }
.way li { padding: 9px 0; border-top: 1px solid currentColor; border-color: rgba(128,128,128,.25); display: flex; gap: 10px; }
.way li::before { content: "→"; opacity: .6; }
.way .btn { margin-top: auto; align-self: flex-start; }
.way--1 { background: var(--green-deep); color: var(--paper); }
.way--2 { background: var(--red); color: var(--paper); }
.way--3 { background: var(--ink); color: var(--paper); }
.way::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -80px; background: rgba(255,255,255,.06); z-index: -1; transition: transform 1s var(--ease); }
.way:hover::after { transform: scale(1.6); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex-shrink: 0; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--ink); }
.faq details[open] summary i::before { background: var(--paper); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); background: var(--paper); }
.faq .ans { padding: 0 60px 26px 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 120px); }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 20px; }
.contact-list small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.contact-list a { font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0 14px;
  font: inherit; font-size: 1.15rem; color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2306192c' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field textarea { resize: vertical; min-height: 130px; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills label { margin: 0; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; color: var(--ink); padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; cursor: pointer; transition: all .3s; }
.radio-pills input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-pills input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.radio-field::after { display: none; }
.form-note { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 18px 20px; border-radius: 10px; background: var(--green-mint); color: var(--green-deep); display: none; }
.form-status.show { display: block; animation: edIn .6s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; background: linear-gradient(120deg, #d9582a 0%, #c63b4b 55%, #a92e57 100%); color: var(--paper); }
.cta-band h2 { font-size: clamp(2.8rem, 8vw, 7.4rem); letter-spacing: -.05em; line-height: .9; max-width: 12ch; }
.cta-band .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .big-mark { opacity: .14; filter: brightness(0) invert(1); }

/* ---------- Partners strip ---------- */
.partners-marquee .marquee-item { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; color: var(--ink-2); gap: 40px; padding-right: 40px; }
.partners-marquee .marquee-item .dot { width: 6px; height: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; }
.footer-top h4 { font-family: var(--f-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,231,.5); font-weight: 600; margin-bottom: 20px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { color: rgba(246,241,231,.85); transition: color .3s; }
.footer-top a:hover { color: var(--paper); }
.footer-about p { color: rgba(246,241,231,.7); max-width: 34ch; margin-top: 20px; }
.footer-about .brand-sub { color: rgba(246,241,231,.55); }
.footer-word { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 24vw, 22rem); line-height: .78; letter-spacing: -.02em; text-align: center; color: rgba(246,241,231,.07); margin: 0 0 30px; user-select: none; white-space: nowrap; }
.footer-word span { display: inline-block; transition: color .6s var(--ease), transform .6s var(--ease); }
.footer-word span:hover { color: var(--green); transform: translateY(-4%); }
.footer-word span:nth-child(2):hover, .footer-word span:nth-child(4):hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: .85rem; color: rgba(246,241,231,.5); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.socials a:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(246,241,231,.7); }
.to-top:hover { color: var(--paper); }

/* ---------- Misc ---------- */
.img-frame { border-radius: var(--radius); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.parallax-img { will-change: transform; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 36px 30px 40px 0; border-right: 1px solid var(--line); }
.value + .value { padding-left: 30px; }
.value:last-child { border-right: 0; }
.value .letter { font-family: var(--f-display); font-weight: 800; font-size: 4.4rem; line-height: 1; letter-spacing: -.04em; }
.value:nth-child(odd) .letter { color: var(--green); }
.value:nth-child(even) .letter { color: var(--red); }
.value h3 { font-size: 1.35rem; margin: 18px 0 10px; letter-spacing: -.02em; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mission-card { padding: clamp(30px, 4vw, 56px); border-radius: 16px; }
.mission-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 60px 0 18px; }
.mission-card p { font-size: 1.1rem; margin: 0; }

.photo-band { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; height: clamp(300px, 40vw, 520px); }
.photo-band .img-frame { height: 100%; }

.note-box { padding: 22px 24px; border-left: 3px solid var(--green); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--ink-2); }

.quote-block { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; max-width: 22ch; }
.quote-block .serif { color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .teams { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero-grid, .intro, .feature, .page-hero-grid, .section-head, .program-head, .two-col, .contact-grid, .mission-grid { grid-template-columns: 1fr; }
  .hero-collage { height: 480px; }
  .intro-aside { position: static; }
  .intro-cols { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .on-dark .stat:nth-child(n+3) { border-color: var(--line-light); }
  .prog-row { grid-template-columns: 50px 1fr 50px; }
  .prog-row p { grid-column: 2 / 3; }
  .prog-row .go { grid-row: 1; grid-column: 3; width: 46px; height: 46px; }
  .prog-thumb { display: none; }
  .cards, .ways { grid-template-columns: 1fr; }
  .card--span2 { grid-column: auto; }
  .tl-year { grid-template-columns: 1fr; gap: 10px; }
  .tl-year h3 { position: static; }
  .results { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(3) { padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tier { grid-template-columns: 1fr; gap: 14px; }
  .feature-media .float { right: 0; }
  .photo-band { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-band .img-frame { aspect-ratio: 1; }
  .photo-band .img-frame:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .way { min-height: 0; }
  .way h3 { margin-top: 40px; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .post--feature { grid-column: auto; }
  .teams { grid-template-columns: 1fr 1fr; }
  .awards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr auto 1fr; }
  .result .m { grid-column: 1 / -1; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-meta { gap: 22px; }
  .brand-sub { display: none; }
  .score-strip { flex-wrap: wrap; }
  .score-strip > div { flex: 1 1 50%; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"], .split-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* parallax images are oversized so movement never exposes an edge */
.img-frame, .intro-aside figure, .feature-media .main { position: relative; }
.parallax-img { position: absolute; left: 0; top: -8%; width: 100%; height: 116% !important; object-fit: cover; }

/* light header over dark page heroes (futsal) */
.dark-top .site-header:not(.is-scrolled) { color: var(--paper); }
.dark-top .site-header:not(.is-scrolled) .brand-sub { color: rgba(246,241,231,.6); }
.dark-top .site-header:not(.is-scrolled) .nav-link:hover,
.dark-top .site-header:not(.is-scrolled) .nav li:focus-within > .nav-link { background: rgba(246,241,231,.1); }
.dark-top .site-header:not(.is-scrolled) .dropdown { color: var(--ink); }
.dark-top .site-header:not(.is-scrolled) .header-cta { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.dark-top .site-header:not(.is-scrolled) .menu-toggle span { background: var(--paper); }
.dark-top .site-header:not(.is-scrolled) .menu-toggle { border-color: var(--line-light); }

/* let grid columns shrink below their content's min-width (wide tables, rails) */
.two-col > *, .hero-grid > *, .intro > *, .feature > *, .section-head > *, .program-head > *, .contact-grid > *, .page-hero-grid > * { min-width: 0; }

/* ---------- Live content (dashboard + Facebook sync) ---------- */
.is-dup { display: none !important; }
.post--live { cursor: pointer; }
.post--live:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 10px; }
.post--live h3 { transition: color .3s; }
.post--live:hover h3 { color: var(--green); }
.post .ph-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 100px; background: rgba(6, 25, 44,.75); color: var(--paper); font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); }
.post .meta .src { font-size: .75rem; color: var(--ink-soft); }
.thaana { font-family: "Noto Sans Thaana", var(--f-body); letter-spacing: 0; line-height: 1.7; text-align: right; }
h3.thaana, h2.thaana { font-weight: 600; line-height: 1.45; }

.post-modal { position: fixed; inset: 0; z-index: 1200; background: rgba(3, 16, 30,.7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.post-modal.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.pm-inner { position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto; background: var(--paper); border-radius: 18px; padding: clamp(26px, 5vw, 54px); transform: translateY(30px) scale(.98); transition: transform .6s var(--ease); }
.post-modal.open .pm-inner { transform: none; }
.pm-close { position: sticky; top: 0; float: right; margin: -10px -10px 0 0; color: var(--ink); border-color: var(--line); background: var(--paper); z-index: 2; }
.pm-close:hover { background: var(--ink); color: var(--paper); }
.pm-body .meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--ink-soft); margin-bottom: 16px; }
.pm-body .meta .tag { margin: 0; }
.pm-body h2 { margin-bottom: 24px; padding-right: 50px; }
.pm-img { margin: 0 0 14px; border-radius: 10px; overflow: hidden; }
.pm-img img { width: 100%; height: auto; }
.pm-text { white-space: pre-line; color: var(--ink-2); margin: 22px 0 26px; }

.announce { position: fixed; left: 20px; bottom: 20px; z-index: 880; max-width: min(460px, calc(100vw - 40px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 100px; background: var(--ink); color: var(--paper); box-shadow: 0 20px 40px -18px rgba(6, 25, 44,.6); font-size: .92rem; font-weight: 500; transform: translateY(140%); opacity: 0; transition: transform .8s var(--ease), opacity .5s ease; }
.announce.show { transform: none; opacity: 1; }
.announce .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 0 rgba(226, 113, 31,.7); animation: pulse 2s infinite; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce-x { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--paper); font-size: 1.1rem; line-height: 1; }
.announce-x:hover { background: var(--paper); color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(226, 113, 31,0); } 100% { box-shadow: 0 0 0 0 rgba(226, 113, 31,0); } }

.donate-details { white-space: pre-line; margin: 0 0 26px; padding: 16px 18px; border-radius: 10px; background: rgba(246,241,231,.08); border: 1px solid var(--line-light); font-size: .92rem; }
.copy-num { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 2px; white-space: normal; }
.copy-num-value { font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all; color: var(--paper, #f6f1e7); }
.copy-num-btn { font: inherit; font-size: .8rem; font-weight: 600; line-height: 1; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(246,241,231,.35); background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.copy-num-btn:hover, .copy-num-btn:focus-visible { background: #f6f1e7; color: #06192c; border-color: #f6f1e7; outline: none; }
.copy-num.is-copied .copy-num-btn { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Page editor (dashboard iframe) ---------- */
.edit-mode .curtain { display: none !important; }
.edit-mode [data-reveal], .edit-mode [data-reveal="clip"], .edit-mode [data-reveal] img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.edit-mode .split-line > span { transform: none !important; }
.edit-mode .edition { display: block !important; }
.edit-mode .bar i { width: var(--w) !important; }
.edit-mode .marquee-track { animation: none !important; }
.edit-mode .site-header { position: absolute; }
.edit-mode .announce { display: none !important; }
.edit-mode .hc-badge, .edit-mode .hc-badge * { animation: none !important; }

/* ---------- Real forms (managed in the dashboard) ---------- */
.rform { position: relative; }
.rform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rform .flabel { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; padding: 0; }
.rform .req { color: var(--red); }
.rform .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.rform .field-help { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .85rem; }
.rform .field-error { display: block; min-height: 0; margin-top: 6px; color: var(--red); font-size: .85rem; font-weight: 600; }
.rform .field.invalid input, .rform .field.invalid textarea, .rform .field.invalid select { border-bottom-color: var(--red); }
.rform .field.invalid::after { background: var(--red); transform: scaleX(1); }
.rform .radio-field.invalid .radio-pills label { border-color: rgba(214,64,95,.5); }
.rform .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rform-head h2 { margin-bottom: 8px; }
.rform-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.rform-alt { color: var(--ink-soft); font-size: .92rem; }
.rform .btn[disabled] { opacity: .6; pointer-events: none; }
.form-status.err { background: var(--blush); color: var(--red-deep); }
.form-done { padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); animation: edIn .8s var(--ease); }
.form-done-mark { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--gold), var(--green) 55%, var(--red)); margin-bottom: 18px; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { margin: 0; color: var(--ink-2); }
.form-placeholder { padding: 26px; border: 2px dashed var(--line); border-radius: 14px; color: var(--ink-soft); text-align: center; }

.tabs { display: inline-flex; padding: 5px; border-radius: 100px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 34px; }
.tab { border: 0; background: transparent; padding: 10px 22px; border-radius: 100px; font-weight: 600; color: var(--ink-soft); transition: all .4s var(--ease); }
.tab.active { background: var(--ink); color: var(--paper); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: edIn .6s var(--ease); }
.edit-mode .tab-panel { display: block; }
.join, #join-forms { scroll-margin-top: 90px; }

/* ---------- Contact page: ways to reach us + form card ---------- */
.contact-sec .contact-grid { grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.reach .lead { margin-bottom: 28px; }
.reach-messenger {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #e2711f 0%, #d9573a 45%, #c63b55 100%);
  box-shadow: 0 22px 40px -22px rgba(198,59,85,.7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reach-messenger:hover { transform: translateY(-3px); box-shadow: 0 28px 46px -22px rgba(198,59,85,.8); }
.rm-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.rm-icon svg { width: 26px; height: 26px; }
.rm-text { display: flex; flex-direction: column; line-height: 1.2; }
.rm-text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.rm-text strong { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.02em; margin: 4px 0 2px; }
.rm-text span { font-size: .88rem; opacity: .85; }
.rm-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); transition: transform .5s var(--ease); }
.rm-arrow svg { width: 18px; height: 18px; }
.reach-messenger:hover .rm-arrow { transform: rotate(-45deg); }
.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.reach-tile { display: block; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.45); transition: border-color .3s, transform .5s var(--ease), background .3s; }
a.reach-tile:hover { border-color: var(--green); transform: translateY(-2px); background: #fff; }
.reach-tile--wide { grid-column: 1 / -1; }
.rt-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-mint); color: var(--green-deep); margin-bottom: 14px; }
.rt-icon svg { width: 20px; height: 20px; }
.reach-tile small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.reach-tile strong { display: block; font-family: var(--f-display); font-size: 1.12rem; letter-spacing: -.01em; margin-top: 4px; font-weight: 600; word-break: break-word; }
.reach-tile span:not(.rt-icon) { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 2px; }

.contact-card { background: #fffdf8; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(6,25,44,.35); scroll-margin-top: 90px; }
.cc-head { margin-bottom: 26px; }
.cc-head .h3 { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* boxed fields for all dashboard forms */
.rform.form { gap: 20px 16px; }
.rform .field::after { display: none; }
.rform .field label, .rform .flabel { font-size: .74rem; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.rform .field input, .rform .field textarea, .rform .field select {
  background: #fff; border: 1px solid rgba(6,25,44,.16); border-radius: 12px; padding: 13px 15px; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.rform .field select { padding-right: 36px; background-position: right 14px center; }
.rform .field input:focus, .rform .field textarea:focus, .rform .field select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(226,113,31,.15); }
.rform .field.invalid input, .rform .field.invalid textarea, .rform .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214,64,95,.12); }
.rform .field textarea { min-height: 140px; }
.rform .field input::placeholder, .rform .field textarea::placeholder { color: #9aa1aa; }
.rform .radio-pills { gap: 8px; }
.rform .radio-pills label { padding: 9px 15px; font-size: .9rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); margin: 0; background: #fff; border-color: rgba(6,25,44,.14); }
.rform .radio-pills label:hover { border-color: var(--ink); }
.rform .radio-pills input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rform-actions { margin-top: 4px; }
.contact-card .form-done, .tab-panel .form-done { background: transparent; border: 0; padding: 10px 0; }

@media (max-width: 900px) {
  .contact-sec .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rform-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .rform-actions .btn { justify-content: center; }
  .reach-tile { padding: 15px; }
  .rm-text strong { font-size: 1.2rem; }
  .contact-card { border-radius: 22px; margin: 0 -6px; }
}

.join-card .tabs { margin-bottom: 28px; }
@media (max-width: 640px) { .join-card .tabs { display: flex; } .join-card .tab { flex: 1; padding: 10px 12px; } }

/* ---------- YouTube channel (Futsal page, contact tile, home link) ---------- */
.yt { background: radial-gradient(120% 80% at 100% 0%, #13294a 0%, var(--ink) 60%); }
.yt-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px 70px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.yt-channel { display: flex; gap: 26px; align-items: center; }
.yt-avatar { flex-shrink: 0; width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(246,169,59,.25), 0 20px 40px -18px rgba(0,0,0,.6); }
.yt-avatar img { width: 54%; height: auto; }
.yt-cta .lead { margin: 0 0 24px; }
.yt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.btn-yt { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 100px; background: #ff0033; color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 16px 30px -14px rgba(255,0,51,.7); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.btn-yt svg { width: 22px; height: 22px; }
.btn-yt:hover { transform: translateY(-2px); background: #e6002e; box-shadow: 0 20px 34px -14px rgba(255,0,51,.8); }
.yt-handle { display: flex; flex-direction: column; line-height: 1.25; }
.yt-handle strong { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.01em; }
.yt-handle span { font-size: .84rem; color: rgba(246,241,231,.6); }
.yt-handle:hover strong { color: var(--gold); }
.yt-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.yt-video { display: flex; flex-direction: column; gap: 12px; color: var(--paper); }
.yt-video--main { grid-row: span 2; }
.yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b2238; }
.yt-video--main .yt-thumb { aspect-ratio: auto; flex: 1; min-height: 300px; }
.yt-thumb img, .yt-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform 1s var(--ease), filter .5s; }
.yt-video:hover .yt-thumb img { transform: scale(1.05); filter: brightness(.85); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; transform: translate(-50%, -50%); transition: transform .4s var(--ease); filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.yt-video--main .yt-play { width: 84px; }
.yt-play svg { display: block; width: 100%; height: auto; }
.yt-video:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.yt-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.78); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.yt-info small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.yt-info strong { display: block; font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.2; margin: 4px 0 2px; }
.yt-video--main .yt-info strong { font-size: 1.6rem; }
.yt-info span { font-size: .85rem; color: rgba(246,241,231,.6); }
.yt-video.playing .yt-play, .yt-video.playing .yt-dur { display: none; }
.reach-tile--yt .rt-icon { background: #ffe1e6; color: #ff0033; }
.reach-tile--yt .rt-sub { color: #e6002e !important; font-weight: 600; }
.yt-inline { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; font-weight: 600; color: rgba(246,241,231,.85); border-bottom: 1px solid rgba(246,241,231,.3); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.yt-inline svg { width: 20px; height: 20px; color: #ff0033; }
.yt-inline:hover { color: #fff; border-color: #fff; }
@media (max-width: 900px) {
  .yt-head { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
  .yt-video--main { grid-column: 1 / -1; grid-row: auto; }
  .yt-video--main .yt-thumb { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 640px) {
  .yt-channel { gap: 18px; }
  .yt-avatar { width: 76px; height: 76px; }
  .yt-grid { grid-template-columns: 1fr; }
  .yt-actions { flex-direction: column; align-items: flex-start; }
  .btn-yt { width: 100%; justify-content: center; }
  .yt-inline { margin: 18px 0 0; }
}
.yt-more { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 26px; border-radius: 14px; border: 1px solid rgba(246,241,231,.14); background: linear-gradient(140deg, rgba(255,0,51,.16), rgba(246,169,59,.08)); color: var(--paper); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.yt-more:hover { transform: translateY(-4px); border-color: rgba(255,0,51,.6); }
.yt-more-avatar { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.yt-more-avatar img { width: 56%; }
.yt-more strong { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; }
.yt-more span { color: rgba(246,241,231,.7); font-size: .92rem; }
.yt-more b { color: var(--paper); }
.yt-more-go { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 12px; color: #ff4d6a !important; font-weight: 700; }
.yt-more-go svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.yt-more:hover .yt-more-go svg { transform: translateX(4px); }
@media (max-width: 900px) { .yt-more { grid-column: 1 / -1; } }
.yt-ext { font-style: normal; color: #ff4d6a; font-weight: 600; white-space: nowrap; }

/* ---------- Layout controls from the page editor's Design panel ---------- */
.ryse-cols { display: grid !important; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) !important; }
.ryse-span { grid-column: span var(--span, 1); }
@media (max-width: 900px) {
  .ryse-cols { grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)) !important; }
  .ryse-span { grid-column: 1 / -1; } /* wide cards take the full row on tablets */
}
@media (max-width: 640px) {
  .ryse-cols { grid-template-columns: 1fr !important; }
  .ryse-span { grid-column: auto; }
  [data-region] [style*="width:"][style*="%"]:not(img) { width: auto !important; } /* editor widths: full width on phones */
}
