:root {
  --blue: #102747;
  --blue-deep: #0c1f38;
  --saffron: #f0bc62;
  --green: #4c7cb3;
  --mist: #f3f0e8;
  --white: #ffffff;
  --ink: #0c1f38;
  --muted: #4b5563;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 58ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0; line-height: 0.9; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h3 { font-size: 2rem; line-height: 1; }

/* motion helpers: only hidden when the motion script has started */
html.has-motion [data-split] { visibility: hidden; }
html.has-motion [data-fade] { opacity: 0; }
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.w { display: inline-block; will-change: transform; }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--saffron);
  color: var(--ink);
  border: 3px solid var(--saffron);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn.line { background: transparent; color: var(--white); border-color: var(--white); }
.btn.line:hover { background: var(--white); color: var(--blue); }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.ink:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background 0.3s; }
.site-header.solid { background: var(--blue-deep); }
.site-header.solid .nav .btn { background: var(--saffron); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--saffron); }
.nav .btn { padding: 10px 20px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.menu-btn { display: none; background: var(--white); color: var(--blue); border: 0; border-radius: 999px; font-weight: 800; padding: 10px 18px; cursor: pointer; font-family: var(--body); font-size: 1rem; }

/* hero */
.hero { position: relative; min-height: min(100svh, 920px); background: var(--blue); color: var(--white); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.trails path { fill: none; stroke-width: 14; stroke-linecap: butt; stroke-linejoin: round; }
.hero .wrap { width: 100%; padding-top: 104px; padding-bottom: 48px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 4.7vw, 4.9rem); }
.who { margin: 0 0 22px; font-size: 1.15rem; font-weight: 600; color: #d6e2f1; max-width: none; }
.who strong { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--white); letter-spacing: 0.01em; margin-bottom: 4px; }
.nameplate { margin: 30px 0 0; max-width: none; color: #d6e2f1; font-weight: 600; }
.nameplate strong { display: block; color: var(--white); font-weight: 800; font-size: 1.15rem; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; will-change: transform; }
.hero h1 .hl { color: var(--saffron); }
.hero .lede { font-size: 1.25rem; max-width: 40ch; margin: 22px 0 26px; color: #d6e2f1; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo .frame { position: relative; transform: rotate(3deg); }
.hero-photo .frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--saffron); z-index: -1; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 30%; background: var(--blue-deep); }
.badge { position: absolute; left: -64px; bottom: -34px; width: 148px; height: 148px; z-index: 3; }
.badge .spin { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge .core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 3.4rem; color: var(--ink); line-height: 1; }
.badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--white); }
.badge text { font-family: var(--body); font-weight: 800; font-size: 11.5px; letter-spacing: 0.1em; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* credentials row, top of hero */
.creds { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; font-weight: 600; font-size: 0.95rem; line-height: 1.1; color: #fff; }
.creds strong { font-weight: 900; }
.creds img, .creds .roundel { width: 40px; height: 40px; flex: none; display: block; }
.creds img { height: auto; }
.tedx { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; white-space: nowrap; line-height: 1; background: #fff; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: -0.06em; color: #111; }
.tedx i { font-style: normal; color: #d9261a; }

/* proof strip */
.proof-strip { background: var(--blue-deep); color: var(--white); }
.proof-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-strip li { padding: 28px 28px 28px 0; }
.proof-strip li + li { padding-left: 28px; border-left: 3px solid var(--saffron); }
.proof-strip strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; }
.proof-strip span { display: block; margin-top: 6px; color: #b8cde6; font-weight: 600; max-width: 28ch; }
.section-head { margin-bottom: 44px; }
.section-head p { font-size: 1.3rem; margin: 18px 0 0; color: var(--muted); font-weight: 600; }
.offers { background: var(--white); }

/* ticker */
.ticker { background: var(--saffron); color: var(--ink); overflow: hidden; border-block: 4px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.1rem; line-height: 1; padding: 16px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.ticker span::after { content: ""; width: 14px; height: 14px; background: var(--ink); margin: 0 30px; transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

section { position: relative; }
section[id] { scroll-margin-top: 72px; }
.pad { padding: clamp(72px, 10vw, 140px) 0; }

/* records */
.records { background: var(--saffron); color: var(--ink); }
.rec-pin { height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; overflow: hidden; }
.rec-head { width: 100%; margin-bottom: clamp(18px, 4vh, 40px); }
.rec-head h2 { max-width: 28ch; font-size: clamp(2rem, min(4vw, 7vh), 3.6rem); }
.rec-head p { font-weight: 600; font-size: 1.1rem; margin-top: 10px; }
.rec-view { width: 100%; }
.rec-track { display: flex; gap: 0; width: max-content; padding: 0 28px 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.rec { flex: 0 0 min(64vw, 700px); padding: 0 48px 0 28px; border-left: 4px solid var(--ink); }
.rec .num { font-family: var(--display); font-weight: 900; font-size: clamp(4.5rem, min(12vw, 24vh), 11rem); line-height: 0.82; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rec .what { font-weight: 800; font-size: clamp(1.15rem, 2.6vh, 1.6rem); line-height: 1.2; margin-top: 14px; max-width: 18ch; }
.rec .when { font-weight: 600; margin-top: 10px; }

.all { background: var(--white); }
.all h2 { max-width: 14ch; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 44px; }
.ledger td { padding: 16px 16px 16px 0; border-bottom: 2px solid var(--ink); vertical-align: top; }
.ledger tr:first-child td { border-top: 2px solid var(--ink); }
.ledger .no { width: 64px; font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1.1; }
.ledger .date { width: 150px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger .kind { width: 150px; font-weight: 700; color: var(--muted); }
.ledger tr.memory .no { color: #8a5a10; }
.ledger tr.memory .what { font-weight: 800; }
.ledger tr.memory .kind { color: var(--blue); }
.note { color: var(--muted); font-size: 0.98rem; margin-top: 20px; }

/* game */
.game { background: var(--blue-deep); color: var(--white); }
.game .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.game p { color: #b8cde6; }
.arena { background: var(--blue); min-height: 340px; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.arena .digits { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 5.2vw, 4.6rem); letter-spacing: 0.04em; line-height: 1; min-height: 1em; white-space: nowrap; }
.arena .bar { height: 8px; background: rgba(255, 255, 255, 0.25); }
.arena .bar i { display: block; height: 100%; width: 100%; background: var(--saffron); transform-origin: left; }
.arena input { font-family: var(--display); font-weight: 900; font-size: 3rem; letter-spacing: 0.18em; background: transparent; border: 0; border-bottom: 4px solid var(--white); color: var(--white); width: 100%; padding: 4px 0; text-transform: none; }
.arena input:focus { outline: none; border-color: var(--saffron); }
.arena .msg { font-weight: 700; font-size: 1.2rem; min-height: 1.6em; margin: 0; }
.arena .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* press */
.press .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.press .photo { position: relative; }
.press .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; transform: rotate(-2deg); }
.press .photo::after { content: ""; position: absolute; inset: 18px 18px -18px -18px; border: 4px solid var(--blue); z-index: -1; transform: rotate(-2deg); }
.press .logos { margin-top: 32px; background: var(--white); border: 3px solid var(--ink); padding: 12px 18px; }
.press h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }

/* about */
.about { background: var(--mist); }
.about .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.about .rows { border-top: 3px solid var(--ink); }
.about .teach { margin-top: 32px; }
.about .teach img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 40%; }
.about .teach figcaption { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 1rem; }
.about .row { padding: 22px 0; border-bottom: 3px solid var(--ink); display: grid; grid-template-columns: 1fr; transition: padding-left 0.3s; }
.about .row:hover { padding-left: 14px; }
.about .row b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.about .row span { color: var(--muted); margin-top: 6px; }

/* championship */
.champ { background: var(--blue); color: var(--white); }
.champ .top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.champ p { color: #d6e2f1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 4px solid var(--saffron); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 4px solid var(--saffron); }
.stat .big { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 10vw, 9rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat .big small { font-size: 0.4em; margin-right: 4px; }
.stat .cap { font-weight: 700; font-size: 1.15rem; margin-top: 10px; max-width: 22ch; color: #d6e2f1; }

/* programs */
.programs .band { height: clamp(260px, 42vw, 520px); overflow: hidden; margin-bottom: 56px; }
.programs .band img { width: 100%; height: 125%; object-fit: cover; object-position: 60% 35%; }
.programs h2 { margin-bottom: 40px; max-width: 12ch; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { padding: 34px 32px 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.35s ease; text-decoration: none; }
.tile:hover { transform: translateY(-8px) rotate(-0.6deg); }
.tile h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.tile p { margin: 14px 0 0; font-weight: 500; font-size: 1.12rem; }
.tile .go { font-weight: 800; margin-top: 24px; }
.tile.t1 { background: var(--saffron); }
.tile.t2 { background: var(--ink); color: var(--white); }
.tile.t3 { background: var(--mist); }
.tile.t4 { background: var(--blue); color: var(--white); }

/* courses */
.courses { background: var(--white); }
.courses h2 { max-width: 12ch; }
.courses .lead { color: var(--muted); margin-top: 18px; }
.course-rows { margin-top: 48px; border-top: 3px solid var(--ink); }
.course-row { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 26px 8px; border-bottom: 3px solid var(--ink); text-decoration: none; transition: background 0.25s, padding 0.25s; }
.course-row:hover { background: var(--saffron); padding-left: 24px; padding-right: 24px; }
.course-row h3 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.course-row .price { font-weight: 800; }
.course-row .arrow { font-weight: 800; font-size: 1.4rem; }
.course-row small { display: block; font-family: var(--body); text-transform: none; font-weight: 500; font-size: 1rem; color: var(--muted); margin-top: 6px; }
.course-row:hover small { color: var(--ink); }

/* contact */
.contact { background: var(--ink); color: var(--white); overflow: hidden; }
.contact h2 { font-size: clamp(3rem, 8vw, 7.5rem); max-width: 14ch; }
.contact .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 48px; align-items: start; }
.contact p { color: #b8cde6; }
.contact address { font-style: normal; border-top: 3px solid var(--saffron); }
.contact address div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.contact address b { display: block; color: var(--saffron); font-size: 0.95rem; }
.contact address a { font-size: 1.3rem; font-weight: 700; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; display: none; --s: 1; }
.cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 2px #fff; transform: scale(var(--s)); }
.cursor span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 0; font-weight: 800; color: var(--ink); white-space: nowrap; line-height: 1; }
html.has-cursor .cursor { display: block; }
html.has-cursor.cursor-on .cursor span { font-size: 0.85rem; }


/* shared bits */
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn.line-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line-ink:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--saffron); }
.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.lead { color: var(--muted); font-size: 1.25rem; margin-top: 18px; font-weight: 500; }
.textlink { font-weight: 800; margin-left: auto; text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--saffron); }

/* marquee (logo walls) */
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: marq 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: flex; align-items: center; padding: 0 clamp(22px, 3vw, 44px); }
.marquee-track img { width: auto; max-width: 190px; object-fit: contain; opacity: 0.92; }
@keyframes marq { to { transform: translateX(-50%); } }
.seen { background: var(--ink); color: #fff; }
.seen-wrap { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.seen-wrap > p { margin: 0; flex: none; font-weight: 800; color: #b8cde6; max-width: none; }
.seen .marquee-track img { height: 34px; }
.seen.big .seen-wrap { padding-top: 40px; padding-bottom: 40px; }
.seen.big .marquee-track img { height: 46px; }
.clients { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.clients-wrap { display: flex; align-items: center; gap: 44px; padding-top: 54px; padding-bottom: 54px; }
.clients h2 { flex: none; font-size: clamp(1.9rem, 3vw, 2.8rem); max-width: 9ch; }

/* news rail and grid */
.press { background: var(--white); }
.rail-wrap { margin-top: 8px; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 26px; scrollbar-width: none; scroll-padding-left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.rail::-webkit-scrollbar { display: none; }
.news-card { flex: 0 0 min(80vw, 390px); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 3px solid var(--ink); transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--saffron); }
.news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); border-bottom: 3px solid var(--ink); }
.news-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.news-src { font-weight: 800; font-size: 0.92rem; padding: 14px 16px 0; color: var(--blue); }
.news-head { font-family: var(--display); text-transform: uppercase; font-weight: 900; font-size: 1.55rem; line-height: 1.05; padding: 6px 16px 20px; }
.rail-ctl { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--white); font-size: 1.4rem; font-weight: 800; cursor: pointer; color: var(--ink); transition: background 0.2s; }
.rail-btn:hover { background: var(--saffron); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-top: 36px; }
.news-grid .news-card { flex: none; }

/* photo mosaic */
.stage-gallery { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.stage-gallery h2 { max-width: 16ch; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.stage-gallery.light { background: var(--white); color: var(--ink); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 270px); gap: 14px; margin-top: 40px; }
.ph { margin: 0; overflow: hidden; background: var(--blue-deep); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.ph:hover img { transform: scale(1.05); }
.mosaic .m1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic .m2 { grid-column: 3; grid-row: 1; }
.mosaic .m3 { grid-column: 4; grid-row: 1; }
.mosaic .m4 { grid-column: 3; grid-row: 2; }
.mosaic .m5 { grid-column: 4; grid-row: 2; }
.m1 img { object-position: 50% 85%; }
.m3 img, .m5 img { object-position: 50% 30%; }

/* inner page hero */
.page-hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; isolation: isolate; padding: 148px 0 clamp(56px, 7vw, 92px); }
.page-hero .trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); max-width: 15ch; }
.page-hero .lede { font-size: 1.3rem; max-width: 46ch; margin: 24px 0 28px; color: #d6e2f1; }

/* records page */
.mem { background: var(--saffron); }
.mem h2 { margin-bottom: 44px; }
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.mem-card { border-left: 4px solid var(--ink); padding-left: 24px; }
.mem-card .num { font-family: var(--display); font-weight: 900; font-size: clamp(4.5rem, 9vw, 8rem); line-height: 0.85; }
.mem-card .what { font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin-top: 12px; max-width: 20ch; }
.mem-card .when { font-weight: 600; margin-top: 8px; }
.certs { background: var(--mist); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; align-items: start; }
.cert-grid figure { margin: 0; }
.cert-grid img { width: 100%; height: auto; border: 3px solid var(--ink); background: #fff; }
.cert-grid figcaption { margin-top: 10px; font-weight: 700; font-size: 1rem; color: var(--muted); }

/* cta band */
.cta-band { background: var(--blue); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 13ch; }
.cta-band p { color: #d6e2f1; font-size: 1.2rem; }

/* championship page */
.disc { background: var(--mist); }
.disc-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.disc-list li { border-top: 3px solid var(--ink); padding: 18px 0 22px; font-weight: 800; font-size: 1.3rem; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.cat { padding: 30px 26px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.cat b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.6rem; line-height: 1; }
.cat span { font-weight: 700; font-size: 1.15rem; margin-top: 18px; }
.cat:nth-child(1) { background: var(--saffron); }
.cat:nth-child(2) { background: var(--ink); color: #fff; }
.cat:nth-child(3) { background: var(--mist); }
.cat:nth-child(4) { background: var(--blue); color: #fff; }
.prizes { background: var(--ink); color: #fff; }
.prizes .lead { color: #b8cde6; }
.prize-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; }
.prize-cols h3 { margin-bottom: 14px; color: var(--saffron); }
table.plain { width: 100%; border-collapse: collapse; }
table.plain td { padding: 16px 0; border-bottom: 2px solid rgba(255, 255, 255, 0.28); font-weight: 600; font-size: 1.15rem; }
table.plain td:last-child { text-align: right; font-family: var(--display); font-weight: 900; font-size: 2rem; white-space: nowrap; }
.prizes .note { color: #b8cde6; }
.join { background: var(--white); }

/* programs page */
.jump { background: var(--blue-deep); }
.jump .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; padding-bottom: 18px; }
.jump a { color: #fff; font-weight: 700; text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; }
.jump a:hover { border-color: var(--saffron); }
.prog { padding: clamp(64px, 9vw, 120px) 0; }
.prog.p-a { background: var(--white); }
.prog.p-b { background: var(--mist); }
.prog-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.prog-grid.flip .prog-photo { order: -1; }
.prog-text h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.prog-photo { aspect-ratio: 4 / 5; }
.chips { list-style: none; margin: 18px 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; background: var(--white); }
.prog.short .prog-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.prog.short .chips { margin-bottom: 0; }

/* about page */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
.story-photos { display: grid; gap: 22px; position: sticky; top: 100px; }
.story-photos figure { margin: 0; overflow: hidden; }
.story-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.tl-row { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 26px 0; border-top: 3px solid var(--ink); }
.tl-row:last-child { border-bottom: 3px solid var(--ink); }
.tl-row b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.1rem; line-height: 1; }
.tl-row p { margin: 0; }
.cred { background: var(--mist); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.cred h3 { margin-bottom: 14px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 11px 0; border-top: 1px solid rgba(12, 31, 56, 0.25); font-weight: 600; }
.tv { background: var(--white); }

/* contact page */
.contact-page { background: var(--white); }
.cp-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 800; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.1rem; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(240, 188, 98, 0.28); }
.field.bad input { border-color: #c0261b; }
.form-msg { font-weight: 700; color: #c0261b; min-height: 1.6em; margin: 0 0 10px; }
.reach { border-top: 4px solid var(--saffron); }
.reach div { padding: 18px 0; border-bottom: 2px solid var(--ink); }
.reach b { display: block; color: var(--blue); font-size: 0.95rem; }
.reach a { font-size: 1.3rem; font-weight: 700; }

/* footer */
footer { background: var(--ink); color: #a9bbd3; font-size: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
footer .foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
footer .foot > div, footer .foot > nav { display: flex; flex-direction: column; gap: 8px; }
footer b { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; color: var(--saffron); letter-spacing: 0.02em; margin-bottom: 4px; }
footer a { color: #d6e2f1; text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-brand img { height: 50px; width: auto; max-width: none; align-self: flex-start; margin-bottom: 14px; }
.foot-brand p { max-width: 32ch; }
footer .legal { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.92rem; }























































/* ---- round 2: records, story, blog, books, gallery, legal, lightbox ---- */
.nav { gap: 24px; }
.nav a { font-size: 0.97rem; }
footer .foot { grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1fr; gap: 32px; }

/* records page */
.rec-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.rec-card { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px; border: 3px solid var(--ink); background: var(--white); align-items: start; transition: box-shadow 0.3s, transform 0.3s; }
.rec-card:hover { box-shadow: 8px 8px 0 var(--saffron); transform: translateY(-4px); }
.rec-card.mem { border-color: var(--saffron); }
.rec-card.mem:hover { box-shadow: 8px 8px 0 var(--ink); }
.cert { display: block; background: var(--mist); }
.cert img { width: 100%; height: auto; display: block; border: 1px solid rgba(12, 31, 56, 0.3); }
.cert.small { padding: 18px 28px; }
.rtext { display: flex; flex-direction: column; gap: 4px; }
.rno { font-weight: 800; color: var(--blue); font-size: 0.92rem; }
.rtext h3 { font-size: 1.7rem; margin: 2px 0 6px; }
.rtext p { margin: 0 0 8px; font-size: 1rem; }
.rdate { font-weight: 800; }
.rplace { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.rkind { align-self: flex-start; margin-top: 10px; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 0.85rem; }
.rec-card.mem .rkind { background: var(--saffron); border-color: var(--saffron); }
.first-rec { background: var(--mist); }
.wide { margin: 24px 0 0; }
.wide img { width: 100%; height: auto; }

/* story */
.story h2 { margin-bottom: 40px; }
.st-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; padding: 44px 0; border-top: 3px solid var(--ink); align-items: start; }
.st-row:last-child { border-bottom: 3px solid var(--ink); }
.st-text h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 14px; }
.st-text p { margin: 0; }
.st-pics { display: grid; gap: 14px; }
.st-pics.n1 { grid-template-columns: 1fr; }
.st-pics.n2 { grid-template-columns: 1fr 1fr; }
.st-pics.n3 { grid-template-columns: 1fr 1fr; }
.st-pics.n3 figure:first-child { grid-column: 1 / 3; }
.st-pics.n4 { grid-template-columns: 1fr 1fr; }
.st-pics figure { margin: 0; overflow: hidden; background: var(--mist); }
.st-pics img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s; }
.st-pics figure:hover img { transform: scale(1.04); }

/* blog */
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { font: inherit; font-weight: 800; font-size: 1rem; padding: 10px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; transition: background 0.2s; }
.chip small { font-weight: 700; opacity: 0.6; }
.chip:hover { background: var(--mist); }
.chip.on { background: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid.three { margin-top: 32px; }
.post { display: flex; flex-direction: column; text-decoration: none; border: 3px solid var(--ink); background: var(--white); transition: transform 0.3s, box-shadow 0.3s; min-height: 100%; }
.post:hover { transform: translateY(-5px); box-shadow: 7px 7px 0 var(--saffron); }
.post[hidden] { display: none; }
.pimg { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-deep); border-bottom: 3px solid var(--ink); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg.aud { display: grid; place-items: center; background: var(--blue); }
.wave { width: 70%; height: 36px; background: repeating-linear-gradient(90deg, var(--saffron) 0 6px, transparent 6px 12px); -webkit-mask: linear-gradient(90deg, #000, #000); clip-path: polygon(0 50%, 5% 20%, 10% 70%, 15% 10%, 20% 80%, 25% 30%, 30% 90%, 35% 20%, 40% 60%, 45% 0, 50% 100%, 55% 25%, 60% 85%, 65% 15%, 70% 65%, 75% 30%, 80% 90%, 85% 20%, 90% 70%, 95% 40%, 100% 50%, 100% 50%, 95% 60%, 90% 30%, 85% 80%, 80% 10%, 75% 70%, 70% 35%, 65% 85%, 60% 15%, 55% 75%, 50% 0, 45% 100%, 40% 40%, 35% 80%, 30% 10%, 25% 70%, 20% 20%, 15% 90%, 10% 30%, 5% 80%); }
.play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--saffron); }
.play::after { content: ""; position: absolute; left: 24px; top: 18px; border-left: 20px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.ptitle { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; padding: 16px 18px 0; }
.pex { padding: 10px 18px 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.pmeta { margin-top: auto; padding: 14px 18px 16px; font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.post.quote { background: var(--saffron); }
.post.quote:nth-child(4n+2) { background: var(--blue); color: #fff; }
.post.quote:nth-child(4n+3) { background: var(--mist); }
.post.quote:nth-child(4n) { background: var(--ink); color: #fff; }
.post.quote .pmeta { color: inherit; opacity: 0.75; }
.pq { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.12; padding: 22px 20px 6px; }
.more-wrap { text-align: center; margin-top: 40px; }
.post-hero { padding-bottom: 56px; }
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 24ch; }
.post-hero h1.long { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 30ch; line-height: 0.95; }
.crumb { margin: 0 0 18px; color: #d6e2f1; font-weight: 700; max-width: none; }
.crumb a { color: #fff; }
.narrow { max-width: 820px; }
.prose { font-size: 1.15rem; }
.prose p, .prose li { max-width: 68ch; }
.prose img { max-width: 100%; height: auto; margin: 22px 0; border: 3px solid var(--ink); }
.prose h2, .prose h3 { margin: 32px 0 14px; }
.prose a { color: var(--blue); font-weight: 700; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--saffron); font-size: 1.3rem; font-weight: 600; }
.prose audio { width: 100%; margin: 14px 0 22px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 22px 0; background: var(--blue-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.big-quote { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; padding: 12px 0 12px 28px; border-left: 8px solid var(--saffron); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.pn { display: block; padding: 18px 20px; border: 3px solid var(--ink); text-decoration: none; transition: background 0.2s; }
.pn:hover { background: var(--saffron); }
.pn small { display: block; font-weight: 800; color: var(--blue); }
.pn:hover small { color: var(--ink); }
.pn.r { text-align: right; }
.pn span { font-weight: 700; }
.more-posts { background: var(--mist); }

/* books */
.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.book { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; padding-bottom: 36px; border-bottom: 3px solid var(--ink); }
.book figure { margin: 0; box-shadow: 10px 10px 0 var(--saffron); }
.book img { width: 100%; height: auto; border: 3px solid var(--ink); }
.book h3 { font-size: 2rem; margin: 6px 0 12px; }
.book p { margin: 0; font-size: 1.02rem; }
.blang { font-weight: 800; color: var(--blue); font-size: 0.9rem; }

/* gallery */
.gal.alt { background: var(--mist); }
.gal h2 { margin-bottom: 30px; }
.gal .lead { margin: -14px 0 30px; }
.gal-grid { columns: 4 240px; column-gap: 14px; }
.gal-grid .g { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; background: var(--blue-deep); }
.gal-grid img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.gal-grid .g:hover img { transform: scale(1.05); }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vid-grid .video { margin: 0; }

/* legal */
.legal-sec { margin-bottom: 56px; }
.legal-sec h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3rem); }
.legal-page .prose { font-size: 1.05rem; }

/* programs more */
.more-ways { background: var(--mist); }
.mw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 36px; }
.mw-grid h3 { margin-bottom: 12px; }
.mw-grid p { margin: 0; font-size: 1.05rem; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 36, 0.94); display: none; align-items: center; justify-content: center; padding: 28px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); background: #fff; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #d6e2f1; font-weight: 700; padding: 0 70px; }
.lb button { position: absolute; border: 0; background: var(--saffron); color: var(--ink); font-weight: 900; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb .x { top: 18px; right: 18px; }
.lb .prev { left: 18px; top: 50%; margin-top: -26px; }
.lb .next { right: 18px; top: 50%; margin-top: -26px; }
body.lb-on { overflow: hidden; }


/* stories */
.sfig { margin: 0 0 28px; }
.sfig img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--mist); border: 3px solid var(--ink); margin: 0; }
.sfig figcaption { margin-top: 8px; color: var(--muted); font-weight: 600; font-size: 0.98rem; }
.src { margin-top: 36px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 0.98rem; color: var(--muted); }
.rec-list { padding-left: 1.2em; }
.rec-list li { margin-bottom: 12px; }
.story-strip { background: var(--mist); }

/* championship page */
.page-hero.has-side { padding-bottom: clamp(56px, 7vw, 100px); }
.ph-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.ph-side { position: relative; padding: 0 0 70px; }
.ph-side figure { margin: 0; }
.ph-side img { width: 100%; height: auto; display: block; border: 4px solid #fff; box-shadow: 14px 14px 0 var(--saffron); }
.frame-a { transform: rotate(2.5deg); }
.frame-b { position: absolute; width: 52%; left: -8%; bottom: 0; transform: rotate(-4deg); }
.frame-b img { box-shadow: 8px 8px 0 var(--ink); }
.next { background: var(--ink); color: #fff; }
.next p { color: #b8cde6; }
.next .btn.line-ink { color: #fff; border-color: #fff; }
.next .btn.line-ink:hover { background: #fff; color: var(--ink); }
.next-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.next-date { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; color: var(--saffron) !important; margin: 22px 0 18px; }
.facts { margin: 0; border-top: 4px solid var(--saffron); }
.facts div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.facts dt { color: var(--saffron); font-weight: 800; font-size: 0.95rem; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.15rem; }
.light-lead { color: #b8cde6; margin: 16px 0 30px; }
.stage-gallery .lead { margin: 16px 0 30px; }
.stage-gallery .gal-grid { columns: 4 240px; }
.vcap { margin: 8px 0 0; font-weight: 700; font-size: 0.98rem; }
.vcard { display: block; }
.past-ed { background: var(--mist); }

/* social icons in the footer */
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.2s, transform 0.2s; }
.social a:hover { background: var(--saffron); transform: translateY(-3px); text-decoration: none; }
.social img { width: 22px; height: 22px; margin: 0; }
footer .foot-brand .social img { height: 22px; margin: 0; }

/* videos page */
.feat { background: var(--mist); }
.feat-player .video { margin: 0; }
.vids { background: var(--white); }
.vid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.vid[hidden] { display: none; }
.vid h3 { font-size: 1.35rem; line-height: 1.08; margin: 12px 0 6px; }
.vmeta { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.vmeta a { color: var(--blue); font-weight: 700; }
.vthumb { position: relative; display: block; width: 100%; padding: 0; border: 3px solid var(--ink); background: var(--blue-deep); cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.vthumb:hover img { transform: scale(1.05); }
.vthumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(8, 18, 36, 0.85); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 2px 8px; border-radius: 4px; }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; border: 3px solid var(--ink); display: block; background: #000; }

p[data-gone] { margin: 20px 0; padding: 16px 18px; background: var(--mist); border-left: 5px solid var(--saffron); font-weight: 600; }
p[data-gone] a { color: var(--blue); }

footer .social a img { width: 19px !important; height: 19px !important; margin: 0 !important; align-self: center; display: block; }
footer .social a { line-height: 0; padding: 0; }

/* records on the home page: certificate beside each number */
.rec { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 380px) auto; justify-content: start; column-gap: 40px; align-items: center; padding-right: 110px; }
.rec .num, .rec .what, .rec .when { grid-column: 1; }
.rec .what { max-width: 16ch; }
.rec-cert { grid-column: 2; grid-row: 1 / span 3; margin: 0; transform: rotate(3deg); transition: transform 0.4s; }
.rec:nth-child(even) .rec-cert { transform: rotate(-3deg); }
.rec:hover .rec-cert { transform: rotate(0) scale(1.04); }
.rec-cert img { height: clamp(170px, 34vh, 330px); width: auto; max-width: 100%; border: 4px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink); }

/* logo strip and numbers strip: clear space between them */
.seen { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.seen-wrap { padding-top: 34px; padding-bottom: 34px; gap: 40px; }
.proof-strip { background: #15355f; }
.proof-strip li { padding: 52px 36px 52px 0; }
.proof-strip li + li { padding-left: 40px; }
.proof-strip strong { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.proof-strip span { margin-top: 12px; max-width: 26ch; font-size: 1.05rem; line-height: 1.45; }

/* records page: the whole card opens the certificate */
.rec-card { cursor: zoom-in; }
.rec-card:focus-visible { outline: 3px solid var(--saffron); outline-offset: 4px; }
.zoom-hint { margin-top: 12px; font-weight: 800; color: var(--blue); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--saffron); }
.lb img { cursor: zoom-in; }
.lb.zoom { display: block; overflow: auto; padding: 70px 20px 90px; }
.lb.zoom img { max-width: none; max-height: none; width: min(1100px, 170vw); height: auto; margin: 0 auto; display: block; cursor: zoom-out; }
.lb.zoom .lb-cap, .lb.zoom button { position: fixed; }

/* home: just a button under the records */
.records-more { background: var(--saffron); padding: 0 0 clamp(48px, 6vw, 80px); }
.records-more .wrap { display: flex; justify-content: center; }
.records-more .btn { font-size: 1.15rem; padding: 18px 36px; }

/* home: visual about section */
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; }
.ap { margin: 0; position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 1 / 1; }
.ap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.7s; }
.ap:hover img { transform: scale(1.05); }
.ap figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 12px 10px; color: #fff; font-size: 0.85rem; line-height: 1.3; background: linear-gradient(0deg, rgba(8, 18, 36, 0.9), rgba(8, 18, 36, 0)); }
.ap figcaption b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1; margin-bottom: 3px; color: var(--saffron); }
.about-slider { margin-top: clamp(48px, 7vw, 90px); }
.sl-title { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 24px; }
.sl-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-slide { flex: 0 0 min(86%, 760px); scroll-snap-align: start; margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.sl-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sl-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 16px; color: #fff; font-weight: 700; background: linear-gradient(0deg, rgba(8, 18, 36, 0.88), rgba(8, 18, 36, 0)); }
.sl-ctl { display: flex; gap: 12px; margin-top: 18px; }

/* home polish */
.ap figcaption { padding: 46px 12px 10px; background: linear-gradient(0deg, rgba(8, 18, 36, 0.96) 0%, rgba(8, 18, 36, 0.7) 55%, rgba(8, 18, 36, 0) 100%); }
.ap figcaption b { color: #fff; }
.records-more { padding-bottom: clamp(40px, 5vw, 64px); margin-top: -28px; }
.game { background: var(--mist); color: var(--ink); }
.game p { color: var(--muted); }
.game .arena { color: #fff; }
.game .arena .msg { color: #fff; }

/* round 4: faces stay in frame */
.ap img[src*="manekshaw"] { object-position: 50% 0%; }
.ap img[src*="stage-7-cutout"] { object-position: 50% 0%; }
.ap img[src*="iaf-officer"] { object-position: 50% 12%; }
.ap img[src*="bhutan-1"] { object-position: 66% 40%; }
.sl-slide img { object-position: 50% 35%; }
.sl-slide img[src*="stage-1."] { object-position: 50% 45%; }
.sl-slide img[src*="stage-6"] { object-position: 50% 35%; }
.sl-slide img[src*="stage-7."] { object-position: 62% 30%; }
.st-pics { align-items: start; }
.st-pics img { height: auto; max-height: none; object-fit: contain; }
.st-pics.n1 figure { max-width: 640px; }

/* round 4: cursor label is dark with a white ring so it reads on blue, white and orange */
.cursor::before { background: var(--ink); box-shadow: 0 0 0 1.5px #fff; }
html.has-cursor.cursor-on .cursor span { color: #fff; }

/* round 4: hero with one credential card under the photo */
.hero .wrap { padding-top: 110px; padding-bottom: 70px; }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); }
.hero .lede { max-width: 34ch; font-size: 1.3rem; margin: 22px 0 28px; }
.hero .who { margin-bottom: 18px; }
.hero-photo { padding-bottom: 80px; }
.hero-photo .cards { position: absolute; left: -9%; right: -3%; bottom: 0; z-index: 6; margin: 0; padding: 0; list-style: none; background: #fff; color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--saffron); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-photo .cards li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; text-align: center; font-weight: 800; font-size: 12.5px; line-height: 1.15; border-left: 2px solid #e2ddd0; }
.hero-photo .cards li:first-child { border-left: 0; }
.hero-photo .cards img { height: 52px; width: auto; max-width: 80%; aspect-ratio: auto; object-fit: contain; background: transparent; margin: 0; }
@media (max-width: 920px) { .hero-photo { padding-bottom: 150px; } .hero-photo .cards { left: 0; right: 0; grid-template-columns: repeat(2, 1fr); } .hero-photo .cards li:nth-child(3) { border-left: 0; } .hero-photo .cards li:nth-child(n+3) { border-top: 2px solid #e2ddd0; } }

/* championship photo slider on home */
.champ-slider { margin: 0 0 clamp(40px, 5vw, 64px); }
.champ-slider .sl-slide { flex-basis: min(86%, 600px); aspect-ratio: 3 / 2; }
.champ-slider .sl-slide img { object-position: 50% 40%; }
.champ-slider .sl-ctl { align-items: center; }
.champ-slider .sl-ctl .btn { margin-left: 8px; }

/* round 6: the whole hero fits in the first screen on laptops and big monitors */
@media (min-width: 921px) {
  .hero { min-height: 100svh; }
  .hero .wrap { padding-top: 96px; padding-bottom: 36px; }
  .hero-grid { grid-template-columns: 1.25fr 0.85fr; gap: 40px; }
  .hero h1 { font-size: clamp(2.4rem, min(4.2vw, 8.6vh), 4.8rem); }
  .hero .who { margin-bottom: 14px; }
  .hero .who strong { font-size: clamp(1.3rem, 3.2vh, 1.7rem); }
  .hero .lede { font-size: clamp(1.05rem, 2.6vh, 1.3rem); margin: 16px 0 22px; }
  .hero-photo { padding-bottom: 76px; width: min(100%, 440px, calc((100svh - 330px) * 0.8)); }
}

/* ---- books: index, detail page and the page-turn preview ---- */
.btn.sm { padding: 10px 18px; font-size: 0.95rem; }
.books-feature { background: var(--mist); }
.bk { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; border-bottom: 2px solid #e2ddd0; }
.bk:last-child { border-bottom: 0; }
.bk.rev { grid-template-columns: 1.2fr minmax(220px, 0.8fr); }
.bk.rev .bk-cover { order: 2; }
.bk-cover { display: block; justify-self: center; max-width: 340px; width: 100%; transform: rotate(-1.5deg); transition: transform 0.4s; }
.bk.rev .bk-cover { transform: rotate(1.5deg); }
.bk-cover:hover { transform: rotate(0) translateY(-6px); }
.bk-cover img { width: 100%; height: auto; display: block; box-shadow: 14px 16px 0 var(--saffron), 0 24px 40px rgba(12, 31, 56, 0.25); border: 3px solid var(--ink); background: #fff; }
.bk-text h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 0 0 6px; color: var(--ink); }
.bk-sub { font-weight: 800; color: #8a5a10; margin: 0 0 14px; font-size: 1.05rem; }
.bk-text p { max-width: 56ch; }
.books-more { background: var(--white); }
.bk-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 28px; }
.bk-mini { display: flex; gap: 16px; align-items: center; border: 3px solid var(--ink); padding: 14px; background: var(--mist); }
.bk-mini img { width: 84px; height: 118px; object-fit: contain; background: #fff; border: 2px solid var(--ink); flex: none; }
.bk-mini h3 { font-size: 1.25rem; margin: 0 0 4px; color: var(--ink); }
.bk-mini p { margin: 0 0 10px; font-size: 0.95rem; }

.bk-hero-cover { width: min(100%, 260px); height: auto; justify-self: end; border: 3px solid #fff; box-shadow: 10px 12px 0 var(--saffron); transform: rotate(2deg); background: #fff; }
.bk-detail { background: var(--mist); }
.bk-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bk-note { margin: 6px 0 18px; color: var(--muted); }
.bk-blurb { font-size: 1.2rem; line-height: 1.55; color: var(--ink); margin-top: 0; }
.bk-side h3 { font-size: 1.4rem; margin: 26px 0 10px; color: var(--ink); }
.tick { list-style: none; margin: 0; padding: 0; }
.tick li { position: relative; padding: 7px 0 7px 30px; line-height: 1.45; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 4px solid var(--saffron); border-bottom: 4px solid var(--saffron); transform: rotate(-45deg); }

.flip { outline-offset: 6px; }
.flip-stage { background: var(--ink); padding: clamp(14px, 3vw, 30px); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--saffron); }
.flip-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1.42; background: #fbf9f3; perspective: 2200px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); }
.flip-book::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; transform: translateX(-50%); pointer-events: none; z-index: 3; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0)); }
.flip-pg { margin: 0; background: #fbf9f3; overflow: hidden; }
.flip-pg img, .flip-leaf img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.flip-leaf { display: none; position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; z-index: 4; }
.flip-leaf .face { position: absolute; inset: 0; background: #fbf9f3; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip-leaf .b { transform: rotateY(180deg); }
.flip-leaf.go-next { display: block; right: 0; left: auto; transform-origin: left center; animation: flipNext 0.8s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.flip-leaf.go-prev { display: block; left: 0; right: auto; transform-origin: right center; animation: flipPrev 0.8s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
@keyframes flipNext { from { transform: rotateY(0); } to { transform: rotateY(-180deg); } }
@keyframes flipPrev { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
.flip.single .flip-book { grid-template-columns: 1fr; aspect-ratio: 1 / 1.42; }
.flip.single .flip-pg.l, .flip.single .flip-book::after { display: none; }
.flip-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.flip-count { font-weight: 800; min-width: 12ch; text-align: center; color: var(--ink); }
.flip-ctl .rail-btn[disabled] { opacity: 0.35; cursor: default; }
.flip-ctl .rail-btn[disabled]:hover { background: var(--white); }

.bk-quotes { background: var(--ink); color: #fff; }
.bk-quotes .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.bk-quote { margin: 0; padding: 0 0 0 22px; border-left: 6px solid var(--saffron); }
.bk-quote p { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.12; margin: 0; color: #fff; }
.bk-toc { background: var(--white); }
.toc { columns: 2; column-gap: 40px; margin: 24px 0 0; padding-left: 1.4em; line-height: 1.5; }
.toc li { break-inside: avoid; padding: 3px 0; }
.bk-others { background: var(--mist); }
.bk-others-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.bk-other { display: flex; flex-direction: column; gap: 10px; width: 150px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.2; }
.bk-other img { width: 150px; height: 210px; object-fit: contain; background: #fff; border: 3px solid var(--ink); }
.bk-other:hover img { box-shadow: 6px 6px 0 var(--saffron); }

.book-note { display: flex; gap: 18px; align-items: center; margin: 40px 0 8px; padding: 18px; border: 3px solid var(--ink); background: var(--mist); }
.book-note img { width: 88px; height: auto; border: 2px solid var(--ink); flex: none; background: #fff; }
.book-note p { margin: 4px 0 10px; }

@media (max-width: 920px) {
  .bk, .bk.rev { grid-template-columns: 1fr; }
  .bk.rev .bk-cover { order: 0; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-quotes .wrap { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .bk-hero-cover { justify-self: start; width: 160px; }
}
.st-pics.n5, .st-pics.n6 { grid-template-columns: 1fr 1fr; }

/* gallery moments and newspaper clippings */
.moments .gal-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.moments .g { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--ink); }
.moments .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.moments .g:hover img { transform: scale(1.05); }
.press-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.press-grid .g { display: block; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--saffron); }
.press-grid .g img { width: 100%; height: auto; display: block; }
.prose .sfig img { width: 100%; max-height: 560px; object-fit: cover; }
.bk-hero-photo { width: min(100%, 420px); aspect-ratio: 4 / 3; object-fit: cover; justify-self: end; border: 3px solid #fff; box-shadow: 10px 12px 0 var(--saffron); }

/* round 7: a roomier hero, bigger photo, bigger credential card, more air between the two halves */
@media (min-width: 921px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 5vw, 96px); }
  .hero-photo { justify-self: center; padding-bottom: 104px; width: min(100%, 660px, calc((100svh - 270px) * 1.25)); }
  .hero-photo .frame { transform: rotate(2deg); }
  .hero-photo .frame img { aspect-ratio: 5 / 4; object-position: 76% 30%; }
  .hero-photo .frame::before { inset: 18px -18px -18px 18px; }
  .hero-photo .cards { left: -7%; right: -7%; border-width: 4px; box-shadow: 10px 10px 0 var(--saffron); }
  .hero-photo .cards li { padding: 20px 10px 18px; gap: 10px; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.2; }
  .hero-photo .cards img { height: clamp(52px, 4.4vw, 70px); }
}
@media (min-width: 921px) {
  .hero .wrap { max-width: min(1560px, 92vw); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero h1 { font-size: clamp(2.4rem, min(3.9vw, 8.6vh), 4.6rem); }
  .hero-photo { width: min(100%, 700px, calc((100svh - 270px) * 1.25)); }
}

/* round 8: faster logo walls, a clearer label, and the media page */
.marquee-track { animation-duration: 24s; }
.seen-wrap > p.seen-lab { line-height: 1.2; font-size: 1.2rem; color: #fff; min-width: 9.5em; }
.seen-lab span { display: block; font-weight: 600; font-size: 0.95rem; color: var(--saffron); margin-bottom: 2px; }

.media-hero { position: relative; min-height: min(86svh, 780px); display: flex; align-items: center; background: var(--blue-deep); color: #fff; overflow: hidden; isolation: isolate; }
.mh-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mh-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 40, 0.97) 0%, rgba(12, 31, 56, 0.93) 34%, rgba(16, 39, 71, 0.62) 58%, rgba(16, 39, 71, 0.12) 82%, rgba(16, 39, 71, 0) 100%), linear-gradient(0deg, rgba(8, 20, 40, 0.55), rgba(8, 20, 40, 0) 28%); }
.mh-wrap { width: 100%; padding-top: 120px; padding-bottom: 64px; }
.mh-copy { max-width: 640px; }
.mh-copy h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.mh-copy .lede { font-size: 1.2rem; max-width: 40ch; margin: 18px 0 26px; color: #d6e2f1; }
.mh-where h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; margin: 0 0 12px; color: var(--saffron); }
.mh-lab { margin: 12px 0 6px; font-weight: 700; color: #b8cde6; font-size: 0.95rem; }
.mh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-chips li { border: 1.5px solid rgba(255, 255, 255, 0.5); padding: 6px 12px; font-weight: 700; font-size: 0.95rem; background: rgba(8, 20, 40, 0.45); }
@media (max-width: 920px) {
  .media-hero { min-height: 0; }
  .mh-shade { background: linear-gradient(180deg, rgba(8, 20, 40, 0.9), rgba(12, 31, 56, 0.88)); }
  .mh-wrap { padding-top: 110px; }
}

.mp-print { background: var(--mist); }
.mp-print .lead, .mp-tv-sec .lead { max-width: 62ch; }
.mp-big-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.mp-big, .mp-tv { position: relative; display: block; overflow: hidden; background: var(--ink); }
.mp-big { aspect-ratio: 16 / 9; border: 3px solid var(--ink); }
.mp-big img, .mp-tv img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.mp-big:hover img, .mp-tv:hover img { transform: scale(1.04); }
.mp-big span, .mp-tv span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px; color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.3; background: linear-gradient(0deg, rgba(8, 18, 36, 0.92), rgba(8, 18, 36, 0)); }
.mp-tv span b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; color: var(--saffron); }
.mp-sub { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: clamp(36px, 5vw, 60px) 0 6px; color: var(--ink); }
.mp-clips { margin-top: 20px; }
.mp-clips .g span { display: block; padding: 10px 12px 12px; font-weight: 700; font-size: 0.88rem; line-height: 1.3; color: var(--ink); background: #fff; border-top: 2px solid var(--ink); }
.mp-tv-sec { background: var(--ink); color: #fff; }
.mp-tv-sec h2 { color: #fff; }
.mp-tv-sec .lead { color: #d6e2f1; }
.mp-tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.mp-tv { aspect-ratio: 16 / 10; border: 3px solid rgba(255, 255, 255, 0.85); }
.mp-press { background: var(--mist); }
.mp-press-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.mp-press-photo { display: block; overflow: hidden; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--saffron); aspect-ratio: 4 / 3; }
.mp-press-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mp-big-grid, .mp-press-grid { grid-template-columns: 1fr; } }

/* media gallery: one neat masonry, same gaps everywhere */
.mp-gallery { background: var(--ink); color: #fff; }
.mp-gallery h2 { color: #fff; }
.mp-gallery .lead { color: #d6e2f1; max-width: 56ch; }
.mp-gallery .chips-row { margin: 26px 0 28px; }
.mp-gallery .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.mp-gallery .chip small { opacity: 0.7; }
.mp-gallery .chip.on, .mp-gallery .chip:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.masonry { column-count: 4; column-gap: 16px; }
.mt { display: block; break-inside: avoid; margin: 0 0 16px; background: #0c1f38; border: 1px solid rgba(255, 255, 255, 0.18); overflow: hidden; text-decoration: none; color: #fff; }
.mt[hidden] { display: none; }
.mt img { width: 100%; height: auto; display: block; transition: transform 0.5s; background: #fff; }
.mt:hover img { transform: scale(1.03); }
.mt-cap { display: block; padding: 10px 12px 12px; font-size: 0.85rem; line-height: 1.3; color: #d6e2f1; border-top: 2px solid var(--saffron); position: relative; background: #0c1f38; }
.mt-cap b { display: block; color: #fff; font-size: 0.98rem; }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px) { .masonry { column-count: 2; column-gap: 12px; } .mt { margin-bottom: 12px; } }

/* about: his story as a timeline */
.tl { position: relative; max-width: 1100px; margin: 0 auto; padding: 10px 0 20px; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: linear-gradient(180deg, var(--saffron), #4c7cb3); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(26px, 4vw, 52px) 0; }
.tl-dot { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--saffron); border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--ink); z-index: 2; }
.tl-item.r .tl-text { order: 2; }
.tl-item.r .tl-pics { order: 1; }
.tl-text { max-width: 44ch; }
.tl-item.l .tl-text { justify-self: end; text-align: right; }
.tl-item.r .tl-text { justify-self: start; }
.tl-chip { display: inline-block; background: var(--ink); color: var(--saffron); font-weight: 800; font-size: 0.95rem; padding: 5px 12px; margin-bottom: 10px; }
.tl-text h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 0 0 10px; color: var(--ink); }
.tl-text p { margin: 0; line-height: 1.6; color: var(--muted); }
.tl-pics { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.tl-ph { margin: 0; width: min(46%, 210px); background: #fff; padding: 7px 7px 7px; box-shadow: 0 8px 22px rgba(12, 31, 56, 0.22); border: 1px solid #e2ddd0; transform: rotate(var(--rot, 0deg)); transition: transform 0.3s; }
.tl-ph:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.tl-ph img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; background: #f3f0e8; }
.tl-pics.n1 .tl-ph { width: min(78%, 300px); }
.tl-pics.n1 .tl-ph img { max-height: 300px; }
.tl-featured { background: var(--mist); }
.tl-clips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.tl-clips a { display: block; width: min(30%, 190px); background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(12, 31, 56, 0.2); border: 1px solid #e2ddd0; }
.tl-clips a:nth-child(odd) { transform: rotate(-2deg); }
.tl-clips a:nth-child(even) { transform: rotate(2deg); }
.tl-clips img { width: 100%; height: 190px; object-fit: cover; object-position: 50% 0; display: block; }
@media (max-width: 820px) {
  .tl::before { left: 18px; }
  .tl-dot { left: 18px; top: 38px; }
  .tl-item { grid-template-columns: 1fr; gap: 18px; padding-left: 52px; }
  .tl-item.l .tl-text, .tl-item.r .tl-text { text-align: left; justify-self: start; order: 1; }
  .tl-item.r .tl-pics { order: 2; }
  .tl-ph { width: min(46%, 170px); }
  .tl-clips a { width: min(46%, 170px); }
}

/* header: ten links need more room, so the menu collapses earlier and the button never wraps */
.nav .btn { white-space: nowrap; }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .site-header { background: var(--blue); }
  .site-header .wrap { height: 72px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--blue); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 28px 28px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 1.2rem; }
  .nav .btn { width: auto; margin-top: 8px; padding: 12px 22px; }
}

/* blog cards: faces sit in the upper part of the frame unless a post sets its own position */
.pimg img { object-position: 50% 22%; }

/* header: more air between links on laptops and big screens */
@media (min-width: 1251px) {
  .nav { gap: clamp(30px, 2.7vw, 44px); }
  .nav a { font-size: 1rem; }
  .nav .btn { margin-left: 10px; }
  .site-header .wrap { max-width: min(1500px, 94vw); }
}

/* header: links spread across the full bar between the logo and the button */
@media (min-width: 1181px) {
  .site-header .wrap { max-width: min(1600px, 96vw); }
  .nav { flex: 1; justify-content: space-between; gap: 0; margin-left: clamp(36px, 4.5vw, 90px); }
  .nav .btn { margin-left: 0; }
}


/* programs: topic chips open a short description */
.chips .chip-btn { font: inherit; font-weight: 700; font-size: 0.98rem; color: var(--ink); background: var(--white); border: 2px solid var(--ink); padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; text-align: left; }
.chips .chip-btn:hover { background: #fff3d6; }
.chips .chip-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
.chips .chip-btn:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.tp-box { margin: -8px 0 30px; }
.prog.short .tp-box { margin-bottom: 0; }
.tp { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 20px 24px; box-shadow: 6px 6px 0 var(--saffron); animation: tpin .25s ease; }
.tp[hidden] { display: none; }
.tp h3 { margin: 0 0 8px; font-size: 1.25rem; }
.tp p { margin: 0 0 10px; }
.tp .tp-h { font-weight: 700; margin: 14px 0 6px; }
.tp ul { margin: 0 0 4px; padding-left: 20px; }
.tp li { margin: 3px 0; }
@keyframes tpin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tp { animation: none; } }

.chips li:has(.chip-btn) { border: 0; padding: 0; background: none; border-radius: 0; }

/* phone and tablet hero: gold-toned photo, name and title fixed at the bottom of the photo on a gradient, credentials grid below */
.who-m { display: none; }
@media (max-width: 920px) {
  .hero .wrap { padding-top: 88px; padding-bottom: 44px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0 !important; row-gap: 0 !important; max-width: 640px; margin: 0 auto; }
  .hero-photo { order: -1; position: relative; padding-bottom: 0; margin: 0 0 44px !important; width: 100% !important; max-width: none !important; }
  .hero-photo .frame { position: relative; isolation: isolate; overflow: hidden; transform: none; margin: 0; padding: 0; width: 100%; border-radius: 4px; background: linear-gradient(165deg, #fbdc9a 0%, #f0bc62 45%, #d98f2b 100%); }
  .hero-photo .frame::before { display: none; }
  .hero-photo .frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 74% 25%; mix-blend-mode: multiply; filter: brightness(1.45) contrast(1.05); }
  .hero .who:not(.who-m) { display: none; }
  .who-m { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 120px 20px 44px; background: linear-gradient(to top, rgba(14,31,58,.97) 0%, rgba(14,31,58,.88) 42%, rgba(14,31,58,0) 100%); }
  .who-m strong { display: block; font-size: clamp(2rem, 9.2vw, 2.9rem); line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
  .who-m span { display: block; margin-top: 8px; font-size: clamp(1rem, 3.8vw, 1.2rem); text-shadow: 0 2px 10px rgba(0,0,0,.45); }
  .hero-photo .cards { position: relative; left: auto; right: auto; bottom: auto; margin: -26px 14px 0; z-index: 7; grid-template-columns: repeat(2, 1fr); border-width: 3px; box-shadow: 6px 6px 0 var(--saffron); }
  .hero-photo .cards li { padding: 16px 8px 14px; gap: 8px; font-size: 13px; line-height: 1.2; border-left: 2px solid #e2ddd0; }
  .hero-photo .cards li:nth-child(odd) { border-left: 0; }
  .hero-photo .cards li:nth-child(n+3) { border-top: 2px solid #e2ddd0; }
  .hero-photo .cards img { height: 44px; }
  .hero-copy { margin: 0 !important; padding: 0 !important; }
  .hero h1 { margin: 0 !important; padding: 0 !important; }
  .hero .lede { margin: 14px 0 18px; }
  .hero .actions { margin: 0; }
}
@media (min-width: 600px) and (max-width: 920px) {
  .hero .wrap { padding-top: 104px; padding-bottom: 60px; }
  .hero-photo .frame img { aspect-ratio: 1 / 1; object-position: 72% 20%; }
  .who-m { padding: 140px 28px 34px; }
  .hero-photo .cards { grid-template-columns: repeat(4, 1fr); margin: -30px 24px 0; }
  .hero-photo .cards li { padding: 18px 6px 16px; border-left: 2px solid #e2ddd0; }
  .hero-photo .cards li:first-child { border-left: 0; }
  .hero-photo .cards li:nth-child(n+3) { border-top: 0; }
  .hero h1 { font-size: clamp(3rem, 8vw, 4.2rem); }
}

/* mobile and tablet menu: full screen, big links with hairlines, boxed close button */
@media (max-width: 1180px) {
  .site-header { z-index: 60; }
  .site-header .brand, .site-header .menu-btn { position: relative; z-index: 3; }
  .nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100dvh; background: var(--blue); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 96px 28px 36px; overflow-y: auto; z-index: 2; }
  .nav a { display: block; width: 100%; padding: 15px 0; font-size: clamp(1.35rem, 5.6vw, 1.85rem); font-weight: 600; line-height: 1.2; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--saffron); text-decoration: none; }
  .nav a.btn { display: block; width: 100% !important; box-sizing: border-box; margin: 26px 0 0 !important; padding: 16px 22px; text-align: center; font-size: 1.1rem; border-bottom: 0; }
  .nav.open a { animation: navin .38s ease both; }
  .nav.open a:nth-child(2) { animation-delay: .03s; } .nav.open a:nth-child(3) { animation-delay: .06s; } .nav.open a:nth-child(4) { animation-delay: .09s; }
  .nav.open a:nth-child(5) { animation-delay: .12s; } .nav.open a:nth-child(6) { animation-delay: .15s; } .nav.open a:nth-child(7) { animation-delay: .18s; }
  .nav.open a:nth-child(8) { animation-delay: .21s; } .nav.open a:nth-child(9) { animation-delay: .24s; } .nav.open a:nth-child(10) { animation-delay: .27s; } .nav.open a:nth-child(11) { animation-delay: .3s; }
  .menu-btn[aria-expanded="true"] { width: 46px; height: 46px; padding: 0; border-radius: 4px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); font-size: 0; display: flex; align-items: center; justify-content: center; }
  .menu-btn[aria-expanded="true"]::before { content: "\2715"; font-size: 20px; line-height: 1; }
  html.menu-open { overflow: hidden; }
  html.menu-open .site-header { background: var(--blue); }
}
@keyframes navin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav.open a { animation: none; } }

/* contact page: one-tap WhatsApp, call and email */
.quick-contact { padding: 56px 0 8px; }
.quick-contact .lead { margin: 6px 0 26px; }
.qc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qc { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 24px 24px 22px; background: var(--white); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--saffron); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.qc:hover, .qc:focus-visible { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--saffron); }
.qc:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.qc b { font-size: 1.2rem; margin-top: 8px; }
.qc span { font-size: 1.02rem; overflow-wrap: anywhere; }
.qc-wa { background: #25d366; }
.qc-wa img { filter: brightness(0) invert(0); }
@media (max-width: 760px) { .qc-grid { grid-template-columns: 1fr; gap: 16px; } .qc { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; } .qc b { margin: 0; } .qc span { flex-basis: 100%; padding-left: 48px; } }

/* credential logos: one visual size. square marks share a box, the wide TEDx wordmark gets a shorter height so it does not dominate */
.hero-photo .cards li img { width: auto; height: var(--cl, 60px); max-width: none; object-fit: contain; }
.hero-photo .cards li:nth-child(3) img { height: calc(var(--cl, 60px) * .52); }
@media (min-width: 1181px) { .hero-photo .cards { --cl: clamp(56px, 4.4vw, 68px); } }
@media (max-width: 920px) { .hero-photo .cards { --cl: 52px; } }
@media (max-width: 920px) { .hero-photo .cards li { justify-content: flex-end; } .hero-photo .cards li img { margin-top: auto; } }

/* every logo sits in the same 1-logo-high slot so the labels line up */
.hero-photo .cards li { justify-content: flex-start !important; }
.hero-photo .cards li img { margin: 0 !important; }
.hero-photo .cards li:nth-child(3) img { margin: calc(var(--cl, 60px) * .24) 0 !important; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .site-header { background: var(--blue); }
  .site-header .wrap { height: 72px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--blue); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 28px 28px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 1.2rem; }
  .nav .btn { width: auto; margin-top: 8px; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 104px; padding-bottom: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-photo { justify-self: start; width: min(86%, 380px); margin-left: 24px; }
  .proof-strip ul { grid-template-columns: 1fr; }
  .proof-strip li, .proof-strip li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .badge { left: -24px; bottom: -30px; width: 120px; height: 120px; }
  .badge .core { font-size: 2.8rem; }
  .rec-pin { height: auto; min-height: 0; padding: 80px 0; }
  .rec-head h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .rec .num { font-size: clamp(5rem, 22vw, 8rem); }
  .rec-track { flex-direction: column; width: auto; gap: 44px; padding: 0 28px; }
  .rec { flex: none; padding: 0 0 0 20px; }
  .game .grid, .press .grid, .about .grid, .champ .top, .contact .grid, .two, .cta-band .wrap, .prog-grid, .prog.short .prog-grid, .story-grid, .cp-grid, .prize-cols { grid-template-columns: 1fr; gap: 40px; }
  .prog-grid.flip .prog-photo { order: 0; }
  .prog-photo { max-width: 460px; width: 100%; }
  .story-photos { position: static; grid-template-columns: 1fr 1fr; }
  .mem-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .disc-list { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: 1fr; gap: 32px; }
  .clients-wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .clients h2 { max-width: none; }
  .clients-wrap .marquee { width: 100%; flex: none; }
  .seen-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .seen-wrap .marquee { width: 100%; flex: none; }
  .page-hero { padding-top: 112px; }
  .page-hero .trails { opacity: 0.45; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 36vw, 240px); }
  .mosaic .m1 { grid-column: 1 / 3; grid-row: auto; }
  .mosaic .m2, .mosaic .m3, .mosaic .m4, .mosaic .m5 { grid-column: auto; grid-row: auto; }
  footer .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 4px solid var(--saffron); }
  .ledger .kind { display: none; }
  .ledger .date { width: 108px; }
  .ledger .no { width: 44px; }
  .course-row { grid-template-columns: 1fr auto; }
  .course-row .price { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 1.05rem; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; }
  .ledger tr { padding: 14px 0; border-bottom: 2px solid var(--ink); }
  .ledger tr:first-child { border-top: 2px solid var(--ink); }
  .ledger td, .ledger tr:first-child td { border: 0; padding: 0; width: auto !important; }
  .ledger .no, .ledger .date { display: inline-block; margin-right: 12px; }
  .ledger .what { margin-top: 4px; }
  .arena { padding: 24px; }
  .creds { gap: 8px; margin-bottom: 22px; }
  .creds li { font-size: 0.78rem; padding: 4px 10px 4px 4px; gap: 7px; }
  .creds img, .creds .roundel, .tedx { width: 28px; height: 28px; }
  .tedx { font-size: 0.56rem; border-radius: 50%; }
  .creds img { height: auto; }
  .seen .marquee-track img { height: 28px; }
  .mem-grid, .disc-list, .cat-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
  .story-photos { grid-template-columns: 1fr; }
  footer .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .badge .spin, .ticker-track, .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .ticker { overflow-x: auto; }
}





























































/* round2 responsive */
@media (max-width: 1250px) {
  .nav { gap: 15px; }
  .nav a { font-size: 0.9rem; }
  .nav .btn { padding: 9px 16px; }
}
@media (max-width: 1100px) {
  .vid-list { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
  .nav a { font-size: 0.92rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .rec { flex: none; grid-template-columns: 1fr 120px; justify-content: stretch; column-gap: 18px; padding: 0 0 0 20px; }
  .rec-cert img { height: auto; width: 100%; box-shadow: 6px 6px 0 var(--ink); }
  .proof-strip li, .proof-strip li + li { padding: 26px 0; }
  .seen-wrap { padding-top: 26px; padding-bottom: 26px; gap: 14px; }
  .ph-grid, .next-grid { grid-template-columns: 1fr; gap: 36px; }
  .ph-side { max-width: 520px; padding-bottom: 56px; }
  .frame-b { left: 4px; }
  .rec-card-grid, .book-grid, .mw-grid { grid-template-columns: 1fr; }
  .st-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  footer .foot { grid-template-columns: 1fr 1fr; }
  .post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .vid-list { grid-template-columns: 1fr; }
  .rec-card { grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; }
  .rtext h3 { font-size: 1.35rem; }
  .post-grid, .vid-grid { grid-template-columns: 1fr; }
  .book { grid-template-columns: 110px 1fr; gap: 16px; }
  .book h3 { font-size: 1.5rem; }
  .st-pics.n2, .st-pics.n3, .st-pics.n4 { grid-template-columns: 1fr 1fr; }
  .gal-grid { columns: 2 140px; }
  .lb { padding: 12px; }
  .lb .prev { left: 6px; } .lb .next { right: 6px; }
}
@media (max-width: 520px) { footer .foot { grid-template-columns: 1fr; } }
