/* AfrAsia Bank Mauritius Open 2026 at Mont Choisy Le Golf.
   Tokens and components lifted from the new Mont Choisy site (orbit-rebuild site.css)
   so the landing reads as the same family: ink #313E49, Miller/Georgia serif, Roboto,
   white editorial layout, dark ink bands, one-line uppercase overlines. */

:root {
  --ink: #313E49;
  --ink-deep: #26313A;
  --text: #6D6F71;
  --mist: #EEEEEE;
  --sand: #F7F5F2;
  --paper: #FFFFFF;
  --hairline: rgba(49, 62, 73, .14);
  --serif: 'Miller', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.18; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.overline { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--text); margin-bottom: 1.1rem; }
.dark .overline, .hero .overline { color: rgba(255,255,255,.75); }
.sr, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--paper); color: var(--ink); padding: .5rem 1rem; z-index: 200; }

/* ---------- header: transparent over the hero, white once scrolled ---------- */
.site-header { position: sticky; top: 0; z-index: 100; margin-bottom: calc(-1 * var(--header-h)); color: var(--paper); background: transparent; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.site-header a, .site-header button { color: inherit; }
body.scrolled .site-header, body.no-hero .site-header, .site-header:hover, .site-header:focus-within, .burger-open .site-header { background: var(--paper); color: var(--ink); box-shadow: inset 0 -1px 0 var(--hairline); }
body.no-hero .site-header { margin-bottom: 0; }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--pad); }
.marks { display: flex; align-items: center; gap: 1.1rem; }
.mark-sep { width: 1px; height: 34px; background: currentColor; opacity: .35; }
.logo img { height: 38px; width: auto; }
.logo-abmo img { height: 50px; }
.logo .logo-dark { display: none; }
body.scrolled .logo-light, body.no-hero .logo-light, .site-header:hover .logo-light, .site-header:focus-within .logo-light, .burger-open .logo-light { display: none; }
body.scrolled .logo-dark, body.no-hero .logo-dark, .site-header:hover .logo-dark, .site-header:focus-within .logo-dark, .burger-open .logo-dark { display: block; }
.cats { display: flex; gap: .2rem; }
.cats a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding: .4rem 1rem; }
.cats a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.right { display: flex; align-items: center; gap: 1.4rem; }
.lang { font-size: .78rem; letter-spacing: .14em; opacity: .8; }
.lang b { font-weight: 400; }
.lang .off { opacity: .45; cursor: help; }
.pill { border: 1px solid currentColor; padding: .6rem 1.4rem; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }
body.scrolled .pill:hover, body.no-hero .pill:hover, .site-header:hover .pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.burger-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .7rem 0 .7rem .4rem; }
.burger-btn span { width: 24px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.burger-open .burger-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger-open .burger-btn span:nth-child(2) { opacity: 0; }
.burger-open .burger-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.burger-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(420px, 100vw); background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 1.5rem) var(--pad) 3rem; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.burger-open .burger-panel { transform: none; }
.burger-panel a { display: block; color: var(--paper); font-family: var(--serif); font-size: 1.5rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 980px) {
  .cats, .lang { display: none; }
  .burger-btn { display: flex; }
  .logo-abmo img { height: 40px; }
}
@media (max-width: 560px) { .right .pill { display: none; } .logo img { height: 32px; } }

/* ---------- kick-off notice band (hideable in the CMS) ---------- */
.notice { background: var(--ink-deep); color: rgba(255,255,255,.85); font-size: .8rem; letter-spacing: .04em; text-align: center; padding: .55rem var(--pad); }
.notice a { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; margin-left: .4rem; }
.notice:has(p:empty) { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(600px, 100vh, 900px); padding-top: var(--header-h); text-align: center; color: var(--paper); overflow: hidden; }
.hero-bg, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video { display: none; }
.hero-video.on { display: block; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(38,49,58,.62) 0%, rgba(38,49,58,.18) 45%, rgba(38,49,58,.6) 100%); }
.hero-inner, .scroll-cue { position: relative; z-index: 2; }
.hero-inner { max-width: 960px; padding: 3rem var(--pad); }
.hero h1 { color: var(--paper); text-shadow: 0 2px 24px rgba(38,49,58,.4); }
.hero .edition { margin-top: 1.2rem; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.92); }
.hero .location { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: rgba(255,255,255,.9); margin-top: .5rem; }
.countdown { display: flex; justify-content: center; gap: clamp(1.4rem, 5vw, 3.6rem); margin-top: 2.4rem; }
.countdown div { display: flex; flex-direction: column; align-items: center; }
.countdown b { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.5vw, 5.2rem); line-height: 1; color: var(--paper); min-width: 2ch; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: .5rem; }
.scroll-cue { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-cue::after { content: ''; display: block; width: 1px; height: 44px; background: rgba(255,255,255,.6); margin: .7rem auto 0; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--pad); }
.section.tint { background: var(--sand); }
.section.dark { background: var(--ink); }
.section.dark h2, .section.dark h3, .section.dark p { color: var(--paper); }
.section.leaf { position: relative; background-color: var(--ink); background-image: url('../img/leaf-dark.webp'); background-size: cover; background-position: center; }
.section.leaf::before { content: ''; position: absolute; inset: 0; background: rgba(38,49,58,.55); }
.section.leaf > * { position: relative; }
.narrow { max-width: 780px; margin: 0 auto; text-align: center; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head p { margin-top: 1rem; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: 1240px; text-align: left; }
.section-head.row .textlink { margin-bottom: .4rem; white-space: nowrap; margin-left: 0; }
@media (max-width: 700px) { .section-head.row { flex-direction: column; align-items: flex-start; } }

.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1240px; margin: 0 auto; }
.feature .media img { width: 100%; height: clamp(360px, 42vw, 620px); object-fit: cover; }
.feature .copy h2 { margin-bottom: .4rem; }
.feature .copy p { margin-bottom: 1rem; }
.feature .copy .kicker { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink); opacity: .75; margin-top: 1.6rem; }
.feature.flip .media { order: 2; }
@media (max-width: 760px) { .feature.flip .media { order: 0; } }

.btn { display: inline-block; margin-top: .6rem; font-family: var(--sans); font-size: .74rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); background: transparent; appearance: none; cursor: pointer; padding: .95rem 2.1rem; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--ink-deep); }
.btn.ghost-light { color: var(--paper); border-color: rgba(255,255,255,.7); }
.btn.ghost-light:hover { background: var(--paper); color: var(--ink); }
.textlink { display: inline-block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: .15rem; margin: .6rem 0 0 1.4rem; }
.textlink:hover { opacity: .7; }
.feature .copy .btn + .textlink { vertical-align: middle; }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.stats div { display: flex; flex-direction: column; }
.stats .num { font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 4.8rem); color: var(--paper); line-height: 1.05; }
.stats .lbl { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: .4rem; }
.stats-band { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.stats-note { text-align: center; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4) !important; margin-top: 2rem; }
.stats-note:empty { display: none; }

/* course specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem 2rem; max-width: 1240px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--hairline); }
.specs dt { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.specs dd { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-top: .2rem; }

/* tickets */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; max-width: 1100px; margin: 3rem auto 0; }
.tier { position: relative; background: var(--paper); border: 1px solid var(--hairline); padding: 2.2rem 1.8rem 1.8rem; display: flex; flex-direction: column; }
.tier-badge { position: absolute; top: -.7rem; left: 1.8rem; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: .25rem .7rem; }
.tier-badge:empty { display: none; }
.tier .price { font-family: var(--serif); font-size: 2rem; color: var(--ink); margin: .5rem 0 1rem; }
.tier ul { flex: 1; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.tier li { font-size: .92rem; padding: .3rem 0 .3rem 1.1rem; position: relative; }
.tier li::before { content: ''; position: absolute; left: 0; top: .95rem; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .5; }
.tier .status { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin: 1.2rem 0 .2rem; }
.tier .btn { align-self: flex-start; }

/* schedule */
.sched { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2rem, 5vw, 5rem); max-width: 1240px; margin: 0 auto; align-items: start; }
.sched .quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); margin: .6rem 0 2rem; }
.facts div { padding: .9rem 0; border-top: 1px solid var(--hairline); }
.facts dt { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.facts dd { color: var(--ink); margin-top: .1rem; }
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
.tabs button { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); padding: .8rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.day { display: none; padding-top: 1.6rem; }
.day.on { display: block; }
.day-date { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: .8rem; }
.timeline li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--hairline); }
.timeline time { font-family: var(--serif); color: var(--ink); font-size: 1.2rem; }

/* stories */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1240px; margin: 3rem auto 0; }
.article img { width: 100%; height: 240px; object-fit: cover; margin-bottom: 1.2rem; transition: opacity .3s; }
.article a:hover img { opacity: .85; }
.article .overline { margin-bottom: .4rem; }
.article h3 { margin-bottom: .5rem; }
.article .textlink { margin-left: 0; }
.podcast { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; max-width: 1240px; margin: 3.5rem auto 0; padding: 1.6rem 2rem; border: 1px solid var(--hairline); }
.podcast .overline { margin: 0; color: var(--ink); }
.podcast p { flex: 1; min-width: 240px; }
.podcast .btn { margin: 0; }

/* partners */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); max-width: 1240px; margin: 3rem auto 0; }
.logos li { display: flex; flex-direction: column; align-items: center; gap: .9rem; width: 190px; }
.logos li a { display: flex; align-items: center; justify-content: center; height: 78px; width: 100%; }
.logos img { max-height: 70px; max-width: 170px; width: auto; height: auto; }
.logos span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }

/* newsletter */
#newsletter h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.nl { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.nl input { flex: 1 1 280px; max-width: 420px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); color: var(--paper); font-family: var(--sans); font-weight: 300; font-size: .98rem; padding: .8rem 0; outline: none; }
.nl input::placeholder { color: rgba(255,255,255,.55); }
.nl input:focus { border-bottom-color: var(--paper); }
.nl .btn { margin: 0; }
.nl .done { color: var(--paper); font-family: var(--serif); font-size: 1.2rem; }
.cf-turnstile { flex-basis: 100%; display: flex; justify-content: center; }
.cf-turnstile:empty { display: none; }
.social { display: flex; justify-content: center; gap: 2rem; margin-top: 2.4rem; }
.social a { color: rgba(255,255,255,.75); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.social a:hover { color: var(--paper); }

/* footer */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.6); padding: 2rem var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: .74rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.foot-links a { color: rgba(255,255,255,.75); letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; }
.foot-links a:hover { color: var(--paper); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad); }
.legal .updated { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin: 1rem 0 1.5rem; }
.legal-block { margin-top: 2.4rem; }
.legal-block h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.legal-block p { margin-bottom: .9rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .burger-panel, .site-header { transition: none; } }
