/* ==========================================================================
   International Leadership Awards (ILA)
   Couture editorial design system — dark theme
   Type: Bodoni Moda (display) · Jost (sans)
   ========================================================================== */

/* Fonts are loaded via <link> in each page's <head> (starts the download in
   parallel with this stylesheet) — an @import here would delay font fetch
   until this whole file has downloaded and parsed. */

/* ---------- Theme tokens ---------- */
:root,
[data-theme="dark"]{
  --bg:          #101016;
  --bg-2:        #16161D;
  --surface:     #1C1C24;
  --surface-2:   #222229;
  --fg:          #F3F1EC;
  --fg-muted:    #A6A29A;
  --fg-faint:    #6E6A62;
  --line:        rgba(255,255,255,0.10);
  --line-2:      rgba(255,255,255,0.16);
  --gold:        #C8A86A;
  --gold-2:      #E6CF9B;
  --gold-deep:   #9A7E45;
  --metal:       linear-gradient(180deg,#FFFFFF 0%,#E3E1DB 40%,#9C988E 64%,#F1EFEA 100%);
  --on-gold:     #1A1407;
  --invert-bg:   #F4F1EA;   /* contrast block on dark theme */
  --invert-fg:   #14110C;
  --shadow:      0 30px 70px -30px rgba(0,0,0,.85);
  --logo-dark-d: block;
  --logo-light-d:none;
  --hero-veil:   linear-gradient(180deg,rgba(16,16,22,.30),rgba(16,16,22,.66));
  --grid-rgb:    255,255,255;
}

:root{
  --font-display:'Bodoni Moda', Didot, 'Times New Roman', serif;
  --font-logo:'Cinzel', 'Trajan Pro', 'Bodoni Moda', serif;
  --font-sans:'Jost', system-ui, -apple-system, sans-serif;
  --container:clamp(1080px, 84vw, 1560px);
  --radius:2px;
  --radius-lg:14px;
  --danger:#E5484D;
  --ease:cubic-bezier(0.19,1,0.22,1);
  --header-h:92px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
/* Fluid root: every rem scales with viewport width.
   ~13px @ 360w, ~14.5px @ 768w, ~16.6px @ 1280w, ~18px @ 1920w */
html{
  scroll-behavior:smooth;-webkit-text-size-adjust:100%;
  /* Fluid root: ~11.5px @320, ~13px @414, ~15.4px @768, ~17px @1024, ~19px @1440, 22px @1920+ */
  font-size:clamp(11.5px, 0.5vw + 9.8px, 22px);
}
body{
  background:var(--bg);color:var(--fg);
  font-family:var(--font-sans);font-size:1rem;line-height:1.7;font-weight:400;
  letter-spacing:.02em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
  transition:background .5s var(--ease),color .5s var(--ease);
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input,textarea,select{font-family:inherit}
:focus-visible{outline:1px solid var(--gold);outline-offset:4px}

/* Skip-to-content: hidden until a keyboard user tabs to it (first focusable
   element on every page), then it drops into view above everything. */
.skip-link{
  position:fixed;top:12px;left:12px;z-index:100000;
  background:var(--gold);color:var(--on-gold);
  padding:.7rem 1.1rem;border-radius:3px;
  font-family:var(--font-sans);font-size:.8rem;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;
  transform:translateY(-180%);transition:transform .22s var(--ease);
}
.skip-link:focus{transform:translateY(0);outline:2px solid var(--fg);outline-offset:2px}
#main:focus{outline:none}
#main:focus-visible{outline:none}
::selection{background:var(--gold);color:var(--on-gold)}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--font-display);font-weight:500;line-height:1.06;letter-spacing:-.01em}
h1{font-size:clamp(2.9rem,7.5vw,6.4rem);font-weight:500}
h2{font-size:clamp(2.1rem,4.8vw,4rem)}
h3{font-size:clamp(1.4rem,2.4vw,2.05rem)}
h4{font-size:1.2rem;font-weight:600}
p{color:var(--fg-muted)}
.serif-italic{font-family:var(--font-display);font-style:italic;font-weight:400}

.eyebrow{
  font-family:var(--font-sans);font-size:max(.7rem, 10px);font-weight:500;
  letter-spacing:.42em;text-transform:uppercase;color:var(--gold);
  display:inline-flex;align-items:center;gap:1rem;
}
/* (the little flanking dash lines were removed — label text only) */

.metal-text{
  background:var(--metal);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.gold-text{color:var(--gold)}
.italic-accent{font-style:italic;color:var(--gold);font-weight:400}

/* ---------- Layout ---------- */
.container{width:min(var(--container),100% - clamp(1.2rem, 3vw, 3rem));margin-inline:auto}
.section{padding:clamp(5rem,12vw,11rem) 0}
.section-tight{padding:clamp(3.5rem,7vw,6rem) 0}
.section-head{max-width:720px}
.section-head.center{margin-inline:auto;text-align:center}
.section-head h2{margin:1.6rem 0 1.2rem}
.section-head p{font-size:1.08rem}
.rule{height:1px;background:var(--line);border:0}
.rule-gold{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);border:0;opacity:.5}
.lead{font-size:1.2rem;line-height:1.85;color:var(--fg-muted);font-weight:300}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.7rem;
  padding:1.05rem 2.4rem;min-height:50px;
  font-family:var(--font-sans);font-size:.72rem;font-weight:500;
  letter-spacing:.26em;text-transform:uppercase;
  border-radius:var(--radius);position:relative;overflow:hidden;
  transition:color .4s var(--ease),background .4s var(--ease),border-color .4s var(--ease),transform .4s var(--ease);
}
.btn-primary{background:var(--gold);color:var(--on-gold)}
.btn-primary:hover{background:var(--gold-2);transform:translateY(-2px)}
.btn-outline{border:1px solid var(--line-2);color:var(--fg)}
.btn-outline:hover{border-color:var(--gold);color:var(--gold)}
.btn-solid{background:var(--fg);color:var(--bg)}
.btn-solid:hover{transform:translateY(-2px);opacity:.9}
.btn-lg{padding:1.2rem 2.9rem}

.link-arrow{
  display:inline-flex;align-items:center;gap:.7rem;
  font-family:var(--font-sans);font-size:.72rem;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--fg);
  padding-bottom:.4rem;border-bottom:1px solid var(--line-2);
  transition:gap .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease);
}
.link-arrow svg{transition:transform .4s var(--ease)}
.link-arrow:hover{color:var(--gold);border-color:var(--gold);gap:1.1rem}
.link-arrow:hover svg{transform:translateX(5px)}

/* ---------- Header ---------- */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:100;height:var(--header-h);
  display:flex;align-items:center;
  /* Header has its own gentle scale so wide screens don't blow up nav size */
  font-size:clamp(13px, 0.18vw + 12.3px, 16px);
  transition:background .5s var(--ease),height .5s var(--ease),border-color .5s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  height:72px;background:color-mix(in srgb,var(--bg) 82%,transparent);
  backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;width:100%;gap:2rem}

.brand{display:flex;align-items:center;gap:.8rem;flex-shrink:0}
.brand .brand-logo{height:46px;width:auto;transition:height .4s var(--ease)}
.site-header.scrolled .brand .brand-logo{height:38px}
.brand .logo-dark{display:var(--logo-dark-d)}
.brand .logo-light{display:var(--logo-light-d)}
.brand .brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand .brand-text strong{font-family:var(--font-display);font-weight:500;font-size:1.05em;letter-spacing:.22em;color:var(--fg)}
.brand .brand-text small{font-size:.56em;letter-spacing:.36em;text-transform:uppercase;color:var(--fg-faint);margin-top:3px}
/* Brand = the ILA emblem + wordmark beside it (used in both header and footer) */
.brand-mark{height:clamp(46px,4.4vw,60px);width:auto;display:block;flex-shrink:0}
.brand-name{
  font-family:var(--font-logo);font-weight:500;
  font-size:clamp(.7rem,.92vw,.92rem);
  letter-spacing:.14em;text-transform:uppercase;line-height:1.32;
  color:var(--fg);white-space:nowrap;
}

.nav-menu{display:flex;align-items:center;gap:.2rem}
.nav-item{position:relative}
.nav-link{
  display:flex;align-items:center;gap:.3em;padding:.6em .7em;
  font-family:var(--font-sans);font-size:.78em;font-weight:400;
  letter-spacing:.1em;text-transform:uppercase;color:var(--fg-muted);
  white-space:nowrap;
  transition:color .3s var(--ease);
}
.nav-link:hover,.nav-item:hover .nav-link,.nav-link.active{color:var(--fg)}
.nav-link .caret{width:9px;height:9px;transition:transform .35s var(--ease);opacity:.6}
.nav-item:hover .nav-link .caret,
.nav-item:focus-within .nav-link .caret{transform:rotate(180deg)}
.nav-link.active{position:relative}
.nav-link.active::after{content:"";position:absolute;left:.75em;right:.75em;bottom:.4em;height:1px;background:var(--gold)}

.dropdown{
  position:absolute;top:calc(100% + 16px);left:50%;
  transform:translateX(-50%) translateY(10px);min-width:256px;
  background:color-mix(in srgb,var(--bg) 96%,transparent);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid var(--line);padding:.7rem;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .35s var(--ease),transform .35s var(--ease),visibility .35s;
  box-shadow:var(--shadow);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
/* Escape collapses the menu even while the trigger keeps focus (keyboard convention) */
.nav-item.dd-closed .dropdown{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(10px)}
.dropdown::before{content:"";position:absolute;top:-16px;left:0;right:0;height:16px}
.dropdown a{display:flex;flex-direction:column;padding:.8rem 1rem;transition:background .25s var(--ease),padding-left .3s var(--ease)}
.dropdown a:hover{background:color-mix(in srgb,var(--gold) 9%,transparent);padding-left:1.4rem}
.dropdown a strong{font-family:var(--font-display);font-size:1rem;font-weight:500;color:var(--fg)}
.dropdown a span{font-size:.72rem;letter-spacing:.04em;color:var(--fg-faint);margin-top:3px;text-transform:none}

.nav-cta{display:flex;align-items:center;gap:.55em;flex-shrink:0}

/* Nominate button: locked compact size — same width regardless of language */
.btn-nominate{
  font-size:.7em;padding:.85em 1.5em;letter-spacing:.18em;
  white-space:nowrap;flex-shrink:0;
  min-width:11em;text-align:center;justify-content:center;
}
.lang-wrap{flex-shrink:0}

/* utility chips: language */
.chip{
  display:inline-flex;align-items:center;justify-content:center;gap:.4em;
  height:2.4em;min-width:2.4em;padding:0 .85em;
  border:1px solid var(--line-2);border-radius:999px;
  font-family:var(--font-sans);font-size:.7em;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--fg-muted);
  transition:color .3s var(--ease),border-color .3s var(--ease),background .3s var(--ease);
}
.chip:hover{color:var(--fg);border-color:var(--gold)}
.chip svg{width:1.1em;height:1.1em}
.chip [data-lang-code]{color:var(--gold);font-size:.92em}

/* Language dropdown */
.lang-wrap{position:relative}
.lang-wrap [data-lang-trigger]{padding:0 .85rem 0 1rem}
.lang-wrap .caret-sm{width:11px;height:11px;margin-left:.05rem;opacity:.75;transition:transform .3s var(--ease)}
.lang-wrap.open .caret-sm{transform:rotate(180deg)}
.lang-menu{
  position:absolute;top:calc(100% + .55rem);right:0;
  min-width:180px;
  background:var(--bg);
  border:1px solid var(--line-2);border-radius:var(--radius-lg);
  padding:.4rem;display:flex;flex-direction:column;gap:2px;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .25s var(--ease),transform .25s var(--ease),visibility .25s linear .25s;
  box-shadow:0 24px 56px -22px rgba(0,0,0,.6);
  z-index:130;
}
.lang-wrap.open .lang-menu{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}
.lang-menu button{
  display:flex;align-items:center;gap:.85rem;
  padding:.7rem .9rem;border-radius:6px;
  font-family:var(--font-sans);font-size:.92rem;
  color:var(--fg-muted);background:transparent;border:0;
  text-align:left;cursor:pointer;width:100%;
  transition:background .2s var(--ease),color .2s var(--ease);
}
.lang-menu button:hover{background:color-mix(in srgb,var(--fg) 7%,transparent);color:var(--fg)}
.lang-menu button.active{color:var(--gold)}
.lang-menu .lf{
  font-size:.7rem;font-weight:600;letter-spacing:.18em;
  color:var(--gold);min-width:24px;
}
.lang-menu .ll{flex:1;font-size:.92rem;letter-spacing:.01em;text-transform:none}

/* Mobile drawer utility row */
.m-utils{display:flex;align-items:center;gap:.7rem;margin-top:1.4rem;font-size:1rem}
.m-utils .chip{font-size:.78rem;height:46px;min-width:46px;padding:0 1rem}
.m-utils .lang-wrap{flex:1;position:relative}
.m-utils .lang-wrap [data-lang-trigger]{width:100%;justify-content:space-between;padding:0 1.1rem}
.m-utils .lang-menu{left:0;right:0;width:100%}

.nav-toggle{display:none;width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;align-items:flex-end}
.nav-toggle span{display:block;height:1.5px;background:var(--fg);transition:all .35s var(--ease)}
.nav-toggle span:nth-child(1){width:26px}
.nav-toggle span:nth-child(2){width:18px}
.nav-toggle span:nth-child(3){width:26px}
.nav-toggle.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);width:26px}

/* ---------- Mobile nav ---------- */
.mobile-nav{
  position:fixed;inset:0;z-index:99;background:var(--bg);
  padding:calc(var(--header-h) + 1rem) 2rem 2.5rem;
  transform:translateX(100%);transition:transform .55s var(--ease);
  overflow-y:auto;display:none;
}
@media (max-width:1200px){.mobile-nav{display:block}}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav .m-group{border-bottom:1px solid var(--line)}
.mobile-nav .m-link{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.25rem .2rem;font-family:var(--font-display);font-size:1.6rem;color:var(--fg)
}
.mobile-nav .m-link.active{color:var(--gold)}
.mobile-nav .m-sub{padding:0 0 1rem .3rem;display:flex;flex-direction:column;gap:.7rem}
.mobile-nav .m-sub a{font-size:.95rem;color:var(--fg-muted);padding:.6rem 0;min-height:44px;display:flex;align-items:center;letter-spacing:.04em}
.mobile-nav .m-cta{margin-top:2.2rem;display:flex;flex-direction:column;gap:1rem}
.mobile-nav .m-cta .btn{width:100%}
.mobile-nav .m-utils{display:flex;gap:1rem;margin-top:1.6rem}
.mobile-nav .m-utils .chip{flex:1;height:50px}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100vh;min-height:100dvh;
  display:flex;align-items:center;padding-top:var(--header-h);overflow:hidden;
}
.hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden;background:var(--bg);will-change:opacity}
.hero-bg .grid-lines{display:none}
/* background video — darkened so it sits behind the content, never competes with it */
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
  filter:brightness(.66) saturate(.95) contrast(1.02);
  pointer-events:none;
}
.hero-bg::after{content:"";position:absolute;inset:0;background:var(--hero-veil)}
.hero-glow{
  position:absolute;width:760px;height:760px;left:50%;top:34%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,color-mix(in srgb,var(--gold) 16%,transparent),transparent 62%);
  filter:blur(18px);z-index:0;
}
.hero-inner{position:relative;z-index:2;text-align:center;width:100%}
.hero-logo{
  width:clamp(124px,15vw,210px);height:auto;display:block;
  margin:0 auto 1.6rem;
}
.hero h1{
  margin:1.4rem 0 1.6rem;
  font-family:var(--font-logo);font-weight:600;
  text-transform:uppercase;letter-spacing:.02em;line-height:1.2;
  font-size:clamp(22px,4.6vw,62px);
}
.hero h1 .ln{display:block}
.hero h1 .ln.alt{font-weight:500;color:var(--gold)}
.hero-sub{font-size:1.15rem;max-width:600px;margin:0 auto;color:var(--fg-muted);font-weight:300}
.hero-meta{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.5rem;
  margin:2.4rem 0 3rem;font-size:.74rem;letter-spacing:.26em;text-transform:uppercase;color:var(--fg-muted)
}
.hero-meta .dot{width:1px;height:14px;background:var(--gold);opacity:.55;border-radius:0;align-self:center}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* ---------- Countdown ---------- */
.countdown{display:flex;gap:0;justify-content:center;flex-wrap:wrap}
.cd-cell{min-width:128px;padding:1.6rem 1.4rem;text-align:center;border-left:1px solid var(--line)}
.cd-cell:first-child{border-left:0}
.cd-cell .num{font-family:var(--font-display);font-size:clamp(2.6rem,5vw,3.6rem);font-weight:500;line-height:1;font-variant-numeric:tabular-nums;color:var(--fg)}
.cd-cell .lbl{display:block;margin-top:.8rem;font-size:max(.62rem, 9px);letter-spacing:.3em;text-transform:uppercase;color:var(--fg-faint)}

/* Countdown cells slide in from the left, staggered, as the user scrolls to them */
.countdown.reveal{opacity:1;transform:none;transition:none}
.countdown .cd-cell{
  opacity:0;
  transform:translateX(-64px);
  transition:opacity .8s var(--ease),transform .9s cubic-bezier(.2,.65,.2,1),border-color .4s var(--ease);
}
.countdown.in .cd-cell{opacity:1;transform:translateX(0)}
.countdown.in .cd-cell:nth-child(1){transition-delay:0s}
.countdown.in .cd-cell:nth-child(2){transition-delay:.14s}
.countdown.in .cd-cell:nth-child(3){transition-delay:.28s}
.countdown.in .cd-cell:nth-child(4){transition-delay:.42s}
@media (prefers-reduced-motion:reduce){
  .countdown .cd-cell{opacity:1;transform:none;transition:none}
}

/* ---------- Page banner ---------- */
.page-banner{position:relative;padding:calc(var(--header-h) + 5.5rem) 0 5rem;text-align:center;overflow:hidden;border-bottom:1px solid var(--line)}
.page-banner::after{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(70% 120% at 50% 0%,color-mix(in srgb,var(--gold) 12%,transparent),transparent 62%)}
.page-banner .container{position:relative;z-index:1}
.page-banner h1{margin:1.5rem 0 1.1rem;font-size:clamp(2.6rem,6vw,5rem)}
.page-banner p{max-width:580px;margin:0 auto;font-size:1.08rem;font-weight:300}
.breadcrumb{display:flex;gap:.7rem;justify-content:center;align-items:center;margin-top:1.8rem;
  font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:var(--fg-faint)}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb .sep{color:var(--gold)}

/* ---------- Legal / policy documents ---------- */
.legal-doc{max-width:760px;margin:0 auto}
.legal-doc .legal-updated{color:var(--fg-faint);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:2.6rem}
.legal-doc h2{font-family:var(--font-display);font-weight:500;font-size:clamp(1.3rem,2.4vw,1.75rem);color:var(--fg);margin:2.8rem 0 .85rem;line-height:1.25}
.legal-doc h2:first-of-type{margin-top:0}
.legal-doc p{color:var(--fg-muted);font-weight:300;line-height:1.85;margin-bottom:1.1rem}
.legal-doc a{color:var(--gold);border-bottom:1px solid color-mix(in srgb,var(--gold) 40%,transparent);transition:border-color .3s var(--ease)}
.legal-doc a:hover{border-bottom-color:var(--gold)}

/* ---------- Grids ---------- */
.grid{display:grid;gap:0}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

/* Editorial cell (replaces boxy cards) */
.cell{
  position:relative;padding:3rem 2.6rem;
  border-top:1px solid var(--line);border-left:1px solid var(--line);
  transition:background .5s var(--ease);
}
.cell::after{content:"";position:absolute;left:0;top:-1px;width:0;height:1px;background:var(--gold);transition:width .6s var(--ease)}
.cell:hover{background:color-mix(in srgb,var(--gold) 5%,transparent)}
.cell:hover::after{width:100%}
.grid-3 .cell:nth-child(3n+1),.grid-2 .cell:nth-child(2n+1),.grid-4 .cell:nth-child(4n+1){border-left:0}
.cell .idx{font-family:var(--font-display);font-size:.95rem;letter-spacing:.24em;color:var(--gold);display:block;margin-bottom:1.6rem}
.cell .ico{width:30px;height:30px;color:var(--gold);margin-bottom:1.6rem}
.cell h3{margin-bottom:.9rem;color:var(--fg)}
.cell p{font-size:.98rem}
.cell ul{margin-top:1.6rem;border-top:1px solid var(--line);padding-top:1.5rem}
.cell ul li{display:flex;align-items:center;gap:.8rem;padding:.5rem 0;font-size:.92rem;color:var(--fg-muted)}
.cell ul li::before{content:"";width:4px;height:4px;background:var(--gold);transform:rotate(45deg);flex-shrink:0}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}
.stat{padding:3.4rem 1.5rem;text-align:center;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat .v{font-family:var(--font-display);font-size:clamp(2.6rem,5vw,4rem);line-height:1;color:var(--fg)}
.stat .v .sym{color:var(--gold)}
.stat .k{margin-top:1rem;font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;color:var(--fg-faint)}

/* Split feature */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,7vw,6rem);align-items:center}
.split.rev .split-media{order:2}
.split-media{position:relative;overflow:hidden}
.split-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.split-media .frame{display:none}
.split-media.crest{aspect-ratio:4/5;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line)}
.split-media.crest img{width:54%;height:auto;aspect-ratio:auto;object-fit:contain}
.split-body h2{margin:1.5rem 0}
.split-body .lead{margin-bottom:2rem}
.feat-list{margin:2rem 0 2.4rem;border-top:1px solid var(--line)}
.feat-list li{display:flex;gap:1.4rem;padding:1.4rem 0;border-bottom:1px solid var(--line)}
.feat-list .fi-ico{color:var(--gold);flex-shrink:0;margin-top:3px}
.feat-list strong{display:block;font-family:var(--font-display);font-size:1.15rem;font-weight:500;color:var(--fg);margin-bottom:.3rem}
.feat-list span{font-size:.94rem;color:var(--fg-muted)}

/* Person / honoree */
.person{position:relative}
.person .portrait{
  position:relative;aspect-ratio:4/5;overflow:hidden;   /* match the 4:5 portraits so nothing is cropped */
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line);margin-bottom:1.4rem;
}
.person .portrait .mono{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--font-display);font-size:3.4rem;color:var(--fg-faint)}
.person .portrait img{
  position:relative;z-index:1;
  width:100%;height:100%;object-fit:cover;object-position:center top;
  transition:filter .7s var(--ease),transform .9s var(--ease);
}
/* Subtle bottom vignette for legibility of name label below */
.person .portrait::after{
  content:"";position:absolute;inset:auto 0 0 0;height:38%;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--bg) 55%,transparent));
}
.person:hover .portrait img{transform:scale(1.03)}

/* "To Be Announced" placeholder honoree cards */
.person.placeholder{opacity:.6}
.person.placeholder .portrait{
  background:repeating-linear-gradient(135deg,var(--surface) 0 14px,var(--bg-2) 14px 28px);
  border-style:dashed;
}
.person.placeholder .portrait .mono{
  font-size:2.6rem;color:color-mix(in srgb,var(--gold) 60%,transparent);
  letter-spacing:.4em
}
.person.placeholder h4{color:var(--fg-faint);font-style:italic}
.person.placeholder .role{color:color-mix(in srgb,var(--gold) 70%,transparent)}

/* (Removed an unused legacy ".tier" card system that was leaking a full
   border + gradient background onto the partners-page .tier blocks. The
   active pricing system lives further down, scoped to ".tiers .tier".) */

/* ====== Horizontal pin / scroll-jack section ====== */
.hscroll{
  position:relative;
  /* total height = pinned viewport height + horizontal travel.
     Bigger value = longer horizontal slide per scroll. */
  height:calc(var(--vh,1vh) * 380);
  background:var(--bg-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.hs-pin{
  position:sticky;top:0;
  height:100vh;height:100dvh;
  overflow:hidden;
  display:flex;flex-direction:column;
}
.hs-head{
  padding:clamp(2rem,4vw,4rem) clamp(1.4rem,3vw,3rem) 1.2rem;
  flex-shrink:0;
}
.hs-head .eyebrow{margin-bottom:1rem}
.hs-head h2{margin-bottom:.4rem;font-size:clamp(2rem,4vw,3.4rem)}
.hs-head p{max-width:560px;font-size:1rem;color:var(--fg-muted);font-weight:300}
.hs-stage{
  flex:1;position:relative;overflow:hidden;
  padding:0 clamp(1.4rem,3vw,3rem) clamp(2rem,4vw,4rem);
}
.hs-track{
  display:flex;align-items:stretch;gap:clamp(1.2rem,2.5vw,2.4rem);
  height:100%;width:max-content;
  will-change:transform;
}
.hs-panel{
  flex-shrink:0;
  width:clamp(280px, 32vw, 560px);
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:2.4rem 2rem;
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line);
  position:relative;overflow:hidden;
}
.hs-panel::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  opacity:.5;
}
.hs-panel .hs-num{
  position:absolute;top:1.6rem;right:1.8rem;
  font-family:var(--font-display);font-size:1rem;letter-spacing:.22em;
  color:var(--gold);
}
.hs-panel .hs-mark{
  position:absolute;left:1.8rem;top:1.6rem;
  font-family:var(--font-display);font-size:clamp(3.6rem,6vw,5.4rem);
  color:color-mix(in srgb,var(--gold) 16%,transparent);
  line-height:1;pointer-events:none;
}
.hs-panel h3{
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(1.6rem,2.4vw,2.2rem);
  color:var(--fg);line-height:1.15;margin-top:auto;margin-bottom:.9rem;
}
.hs-panel p{font-size:.95rem;line-height:1.7;color:var(--fg-muted);font-weight:300}
.hs-progress{
  position:absolute;left:clamp(1.4rem,3vw,3rem);right:clamp(1.4rem,3vw,3rem);
  bottom:1.2rem;height:1px;background:var(--line);overflow:hidden;
}
.hs-progress::after{
  content:"";position:absolute;left:0;top:0;bottom:0;
  width:calc(var(--hs-progress,0) * 100%);background:var(--gold);
  transition:width .12s linear;
}

/* Fall back to a normal horizontal-swipe strip ONLY on touch devices (no precise
   pointer) or when motion is reduced — a mouse/trackpad always gets the pinned
   scroll-jack (scroll down → cards slide sideways), regardless of window width. */
@media (pointer:coarse), (prefers-reduced-motion:reduce){
  .hscroll{height:auto;background:var(--bg-2)}
  .hs-pin{position:relative;height:auto;overflow:visible}
  .hs-stage{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:2.4rem}
  .hs-track{transform:none!important;width:auto}
  .hs-panel{scroll-snap-align:start;width:min(80vw,360px)}
  .hs-progress{display:none}
}

/* ====== One-by-one reveal inside a horizontal scroller (data-hreveal) ====== */
/* Cards start hidden and pop in as the slide passes them (driven by main.js). */
[data-hreveal] .hs-track > *{
  opacity:0;transform:translateY(34px) scale(.99);visibility:hidden;
  transition:opacity .7s var(--ease),transform .85s var(--ease),visibility .85s var(--ease);
}
[data-hreveal] .hs-track > .is-in{opacity:1;transform:none;visibility:visible}
@media (pointer:coarse){
  /* touch swipe strip — every card visible & reachable (no scroll-driven reveal) */
  [data-hreveal] .hs-track > *{opacity:1;transform:none;visibility:visible}
}
@media (prefers-reduced-motion:reduce){
  [data-hreveal] .hs-track > *{opacity:1;transform:none;transition:none;visibility:visible}
}

/* ====== Team — staged reveal (homepage "Our Team") ======
   One card centred first, then groups slide in from the right as you scroll down
   (and back out, left→right and faster, on scroll up). Pinned + scroll-driven by
   main.js [data-team-stage]; native swipe strip on touch / reduced-motion. */
.team-stage{position:relative}

/* ---- DEFAULT = a static horizontal-swipe strip. This is the safe, always-visible
   baseline: no-JS, touch, and reduced-motion users all get a scrollable row with
   every card visible — so the section can NEVER render blank if the staging JS
   doesn't run (the html.js + pointer/motion gate below adds the pinned version). */
.ts-pin{
  position:relative;display:flex;flex-direction:column;
  background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.ts-head{padding:clamp(1.3rem,2.8vw,2.6rem) clamp(1.4rem,3vw,3rem) .5rem;flex-shrink:0}
.ts-head .eyebrow{margin-bottom:.6rem}
.ts-head h2{margin-bottom:.3rem;font-size:clamp(2rem,4vw,3.4rem)}
.ts-head p{max-width:560px;font-size:.92rem;line-height:1.45;color:var(--fg-muted);font-weight:300}
.ts-viewport{
  overflow-x:auto;overflow-y:hidden;display:flex;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
  padding:0 clamp(1rem,4vw,1.4rem) 1.6rem;gap:clamp(1rem,3vw,1.4rem);
}
.ts-page{display:flex;flex:0 0 auto}
/* the row equalises card heights: cards stretch to the tallest, photo stays fixed */
.ts-row{display:flex;align-items:stretch;gap:clamp(1rem,3vw,1.4rem)}
.ts-page .team-card{flex:0 0 auto;width:min(66vw,260px);scroll-snap-align:start}
.ts-rail{display:none}

/* ---- STAGED = pinned, scroll-driven pages. Only when JS is present (html.js) AND
   a precise pointer with motion allowed — exactly mirroring main.js nativeMode(),
   so touch / reduced-motion / no-JS all fall through to the strip above. ---- */
@media (pointer:fine) and (prefers-reduced-motion:no-preference){
  html.js .ts-pin{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden}
  html.js .ts-viewport{flex:1;position:relative;overflow:hidden;scroll-snap-type:none;padding:0;gap:0}
  html.js .ts-page{
    position:absolute;inset:0;justify-content:center;align-items:center;
    padding:0 clamp(.8rem,2.5vw,4rem) clamp(2rem,4vw,3.4rem);
  }
  html.js .ts-row{gap:clamp(.6rem,1.8vw,2.2rem)}
  /* Cards scale right down so a full group of 3 still fits a narrow window —
     keeps the sideways scroll-jack working instead of falling back to a strip. */
  html.js .ts-page .team-card{
    /* cap by viewport HEIGHT too (min) so the photo + name always fit the pinned
       area and never get clipped — keeps the 4:5 ratio, only the size adapts */
    width:min(clamp(110px,22vw,300px), 31vh);scroll-snap-align:none;
    transform:translateX(120%);opacity:0;visibility:hidden;
    transition:transform .9s var(--ease),opacity .7s var(--ease),visibility 0s linear .9s,
               border-color .4s var(--ease),box-shadow .5s var(--ease);
  }
  html.js .ts-page .team-card--feature{width:min(clamp(168px,30vw,356px), 33vh)} /* lone founder, a touch larger; also height-capped */
  html.js .ts-page.is-past .team-card{transform:translateX(-120%);opacity:0;visibility:hidden}
  html.js .ts-page.is-current .team-card{
    transform:translateX(0);opacity:1;visibility:visible;
    transition:transform .9s var(--ease),opacity .7s var(--ease),visibility 0s,
               border-color .4s var(--ease),box-shadow .5s var(--ease);
  }
  html.js .ts-page.is-current .team-card:nth-child(1){transition-delay:.04s}
  html.js .ts-page.is-current .team-card:nth-child(2){transition-delay:.15s}
  html.js .ts-page.is-current .team-card:nth-child(3){transition-delay:.26s}
  html.js .ts-viewport.reverse .ts-page .team-card{transition-duration:.55s,.42s}
  html.js .ts-viewport.reverse .ts-page.is-current .team-card{transition-delay:0s}
  html.js .ts-rail{
    display:block;position:absolute;left:clamp(1.4rem,3vw,3rem);right:clamp(1.4rem,3vw,3rem);
    bottom:1.2rem;height:1px;background:var(--line);overflow:hidden;
  }
  html.js .ts-rail-fill{position:absolute;left:0;top:0;bottom:0;width:calc(var(--ts-progress,0)*100%);background:var(--gold);transition:width .25s var(--ease)}
}

/* Very short viewports (e.g. a small laptop at 125% browser zoom, or long
   Russian roles): the rem-based name/role block can't shrink with the photo,
   so compress the heading + meta and lower the photo cap a touch — keeps the
   whole card (uncropped 4:5 photo + name) inside the pinned area. */
@media (pointer:fine) and (prefers-reduced-motion:no-preference) and (max-height:700px){
  .ts-head{padding:clamp(.7rem,1.8vw,1.3rem) clamp(1.4rem,3vw,3rem) .35rem}
  .ts-head .eyebrow{margin-bottom:.3rem}
  .ts-head h2{font-size:clamp(1.5rem,3.2vw,2.3rem);margin-bottom:.15rem}
  .ts-head p{font-size:.8rem;line-height:1.38;max-width:480px}
  html.js .ts-page .team-card{width:min(clamp(104px,21vw,290px), 38vh)}
  html.js .ts-page .team-card--feature{width:min(clamp(150px,28vw,330px), 40vh)}
  html.js .tc-meta{padding:.65rem .9rem .8rem}
  html.js .tc-meta h3{font-size:1.05rem;margin-bottom:.25rem;line-height:1.14}
  html.js .tc-role{font-size:.56rem;letter-spacing:.16em}
}

/* ---- card visuals (shared) ---- */
.team-card{
  flex-shrink:0;width:clamp(228px,25vw,316px);
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line);overflow:hidden;
}
.team-card--feature{width:clamp(264px,30vw,372px)} /* lone founder card on page 0 */
.team-card:hover{border-color:color-mix(in srgb,var(--gold) 55%,var(--line));box-shadow:var(--shadow)}
.tc-photo{
  position:relative;aspect-ratio:4/5;overflow:hidden;flex:none;   /* match the 1122×1402 (4:5) portraits so nothing is cropped; fixed height while the card stretches */
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
}
.tc-mono{
  position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--font-display);font-size:3rem;color:var(--fg-faint);
}
.tc-photo img{
  position:relative;z-index:1;width:100%;height:100%;
  object-fit:cover;object-position:center top;filter:saturate(.94);
  transition:transform .9s var(--ease),filter .7s var(--ease);
}
.tc-photo::after{
  content:"";position:absolute;inset:auto 0 0 0;height:52%;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--bg) 80%,transparent));
}
.team-card:hover .tc-photo img{transform:scale(1.05);filter:saturate(1)}
.tc-meta{flex:1;display:flex;flex-direction:column;justify-content:center;padding:1.25rem 1.4rem 1.5rem}
.tc-meta h3{
  font-family:var(--font-display);font-weight:500;font-size:1.32rem;
  color:var(--fg);line-height:1.18;margin-bottom:.45rem;
}
.tc-role{font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
/* Reveal hook also applies to team cards (they live in a [data-hreveal] track) */
/* "Meet the full team" closing card */
.team-card--all{
  justify-content:center;align-items:center;text-align:center;
  background:linear-gradient(180deg,var(--surface),var(--bg));
}
.tc-all{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2.2rem}
.tc-all-ic{
  width:62px;height:62px;border-radius:50%;border:1px solid var(--gold);
  color:var(--gold);display:grid;place-items:center;
  font-family:var(--font-display);font-size:1.7rem;line-height:1;
  transition:background .4s var(--ease),color .4s var(--ease);
}
.team-card--all:hover .tc-all-ic{background:var(--gold);color:var(--on-gold)}
.tc-all h3{font-family:var(--font-display);font-weight:500;font-size:1.32rem;color:var(--fg)}

/* Phones: the whole team block scales DOWN, not just reflows — smaller cards,
   photos, names, roles and heading so it reads phone-native, not a shrunk desktop. */
@media (max-width:560px){
  .ts-head{padding:clamp(1.3rem,6vw,2rem) 1.1rem .5rem}
  .ts-head h2{font-size:clamp(1.5rem,8vw,2rem)}
  .ts-head p{font-size:.9rem}
  .ts-page{gap:.8rem}
  .ts-page .team-card{width:min(58vw,194px)}
  .tc-meta{padding:.8rem .95rem 1rem}
  .tc-meta h3{font-size:1.02rem;line-height:1.16;margin-bottom:.3rem}
  .tc-role{font-size:.55rem;letter-spacing:.14em}
  .tc-mono{font-size:2.2rem}
  .tc-all{gap:.7rem;padding:1.4rem}
  .tc-all-ic{width:48px;height:48px;font-size:1.3rem}
  /* partners logo wall — chips shrink too (capped px otherwise stays desktop-sized) */
  .pmarquee .pmq-item{width:clamp(112px,38vw,146px);height:clamp(62px,20vw,78px);padding:.8rem 1.05rem}
}

/* ====== Partners marquee (homepage Our Partners) ====== */
.pmarquee{
  position:relative;overflow:hidden;margin-top:clamp(2.2rem,4vw,3.4rem);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 11%,#000 89%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 11%,#000 89%,transparent);
}
.pmq-track{
  display:flex;width:max-content;gap:clamp(1.2rem,3vw,2.4rem);
  animation:pmq-scroll 34s linear infinite;will-change:transform;
}
.pmarquee:hover .pmq-track{animation-play-state:paused}
@keyframes pmq-scroll{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
.pmq-item{
  flex:0 0 auto;display:grid;place-items:center;
  width:clamp(168px,21vw,212px);height:clamp(92px,12vw,116px);
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:1.2rem 1.7rem;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.pmq-item img{
  max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
  opacity:.9;transition:opacity .4s var(--ease);
}
.pmq-item:hover{transform:translateY(-4px);box-shadow:0 22px 40px -22px rgba(0,0,0,.6)}
.pmq-item:hover img{opacity:1}
@media (prefers-reduced-motion:reduce){
  .pmq-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;gap:1.4rem}
  .pmarquee{-webkit-mask-image:none;mask-image:none}
  .pmq-track [aria-hidden="true"]{display:none}
}

/* ====== Pricing tier cards ====== */
/* NOTE: scoped to `.tiers .tier` so these box styles never leak onto the
   partners-page `.tier` blocks (which are NOT inside a `.tiers` container). */
.tiers{display:grid;grid-template-columns:repeat(5,1fr);gap:0;align-items:stretch}
.tiers .tier{
  position:relative;display:flex;flex-direction:column;
  padding:2.2rem 1.6rem 2rem;
  border:1px solid var(--line);border-left:0;
  background:var(--bg);
  transition:background .4s var(--ease),transform .4s var(--ease),box-shadow .4s var(--ease);
}
.tiers .tier:first-child{border-left:1px solid var(--line)}
.tiers .tier:hover{background:color-mix(in srgb,var(--gold) 4%,var(--bg))}
.tier.featured{
  background:linear-gradient(180deg,color-mix(in srgb,var(--gold) 8%,var(--bg)),var(--bg) 60%);
  border-color:color-mix(in srgb,var(--gold) 45%,var(--line));
  border-top:2px solid var(--gold);
  transform:translateY(-12px);
  box-shadow:0 30px 60px -28px rgba(0,0,0,.5);
  z-index:2;
}
.tier .badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  font-size:max(.62rem, 9px);font-weight:600;letter-spacing:.24em;text-transform:uppercase;
  background:var(--gold);color:var(--on-gold);
  padding:.35rem .9rem;border-radius:999px;white-space:nowrap;
}
.tier .t-name{
  font-family:var(--font-display);font-size:1.35rem;font-weight:500;
  color:var(--fg);margin:0 0 .35rem;letter-spacing:.02em;
}
.tier .t-tag{
  font-size:.78rem;line-height:1.5;color:var(--fg-muted);
  margin-bottom:1.4rem;min-height:2.4em;font-weight:300;
}
.tier .t-price{
  font-family:var(--font-display);font-size:2.1rem;font-weight:500;
  color:var(--fg);line-height:1;margin-bottom:.35rem;
  font-variant-numeric:tabular-nums;
}
.tier.featured .t-price{color:var(--gold)}
.tier .t-price .cur{font-size:.6em;color:var(--fg-muted);margin-right:.15em;vertical-align:.45em;font-weight:400}
.tier .t-unit{
  font-size:max(.62rem, 9px);letter-spacing:.22em;text-transform:uppercase;
  color:var(--fg-faint);margin-bottom:1.8rem;display:block;
}
.tier ul{list-style:none;padding:0;margin:0 0 2rem;flex:1}
.tier ul li{
  position:relative;padding:.55rem 0 .55rem 1.2rem;
  font-size:.86rem;line-height:1.55;color:var(--fg-muted);font-weight:300;
  border-top:1px solid var(--line);
}
.tier ul li:first-child{border-top:0;padding-top:0}
.tier ul li::before{
  content:"";position:absolute;left:0;top:.95rem;
  width:5px;height:5px;background:var(--gold);transform:rotate(45deg);
}
.tier ul li:first-child::before{top:.4rem}
.tier .t-cta{margin-top:auto}
.tier .t-cta .btn{width:100%;font-size:.7rem}

/* Responsive collapse: tablet → 3 wide top tiers, then 2 below; phone → stacked */
@media (max-width:1280px){
  .tiers{grid-template-columns:repeat(3,1fr)}
  .tiers .tier{border-left:1px solid var(--line)}
  .tiers .tier.featured{transform:translateY(-8px)}
}
@media (max-width:860px){
  .tiers{grid-template-columns:repeat(2,1fr)}
  .tiers .tier.featured{transform:none;border-top:1px solid color-mix(in srgb,var(--gold) 45%,var(--line))}
}
/* Single column earlier (≤760px) so the 2-up grid never gets cramped on large phones */
@media (max-width:760px){
  .tiers{grid-template-columns:1fr}
}

/* ====== Request type selector (unified form) ====== */
.request-types{
  display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem;
  margin-top:.5rem;
}
.rt-chip{
  position:relative;display:flex;align-items:center;gap:.95rem;
  padding:1.05rem 1.1rem;
  border:1px solid var(--line-2);border-radius:6px;
  background:var(--bg);cursor:pointer;
  transition:border-color .3s var(--ease),background .3s var(--ease),transform .3s var(--ease);
}
.rt-chip:hover{border-color:var(--gold);transform:translateY(-1px)}
.rt-chip input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rt-chip:has(input:checked){
  border-color:var(--gold);
  background:color-mix(in srgb,var(--gold) 10%,transparent);
}
.rt-icon{
  width:34px;height:34px;flex-shrink:0;
  border:1px solid var(--line-2);border-radius:50%;
  display:grid;place-items:center;color:var(--gold);
  transition:border-color .3s var(--ease),background .3s var(--ease);
}
.rt-chip:has(input:checked) .rt-icon{
  border-color:var(--gold);
  background:color-mix(in srgb,var(--gold) 14%,transparent);
}
.rt-icon svg{width:16px;height:16px}
.rt-text{display:flex;flex-direction:column;gap:2px;line-height:1.25;min-width:0}
.rt-text strong{
  font-size:.92rem;font-weight:500;letter-spacing:.04em;
  color:var(--fg);text-transform:none;
}
.rt-text em{
  font-style:normal;font-size:.72rem;
  color:var(--fg-faint);letter-spacing:.01em;
}
.field.invalid .rt-chip{border-color:var(--danger)}
@media (max-width:760px){
  .request-types{grid-template-columns:1fr}
}

/* Clickable person card (has data-profile).
   Reads as a LINK, not a control: on hover the name takes the accent colour and
   the portrait frame warms — the same language as .team-card elsewhere on the
   site. Deliberately no overlay badge and no dimming: users expect hover to
   highlight a photo, not darken it, and a floating "+" reads as "add", not
   "read more". The name changing colour is the affordance people already know. */
button.person{
  background:transparent;border:0;padding:0;text-align:center;
  font:inherit;color:inherit;display:block;width:100%;cursor:pointer;
}
button.person .portrait{position:relative;transition:border-color .35s var(--ease)}
button.person:hover .portrait,
button.person:focus-visible .portrait{border-color:color-mix(in srgb,var(--gold) 55%,var(--line))}
button.person:hover h4,
button.person:focus-visible h4{color:var(--gold)}
button.person:hover .portrait img{transform:scale(1.04)}

/* Editorial staggered layout — only on #team grid.
   Offsets repeat every 3 cards (matches grid-3) so the rhythm is consistent across rows. */
#team .grid > .person{transform:translateY(var(--off,0));transition:transform .35s var(--ease)}
#team .grid > .person:nth-child(odd){--off:0}
#team .grid > .person:nth-child(even){--off:48px}
#team .grid{padding-bottom:56px}
@media (max-width:860px){
  #team .grid > .person{--off:0!important;transform:none}
  #team .grid{padding-bottom:0}
}

/* (The hover "+" badge was removed — a plus conventionally means "add", which
   misread on a portrait. Clickable cards now keep the same bottom vignette as
   static ones, from `.person .portrait::after`.) */

/* ====== Profile modal ====== */
.profile-modal{
  position:fixed;inset:0;z-index:200;
  display:flex;align-items:center;justify-content:center;
  padding:clamp(1rem,3vw,2.4rem);
  opacity:0;visibility:hidden;
  transition:opacity .35s var(--ease),visibility .35s linear .35s;
}
.profile-modal.open{opacity:1;visibility:visible;transition:opacity .35s var(--ease),visibility 0s}
.profile-modal[hidden]{display:none}
.pm-backdrop{
  position:absolute;inset:0;cursor:pointer;
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.pm-card{
  position:relative;z-index:1;
  width:min(960px,100%);
  max-height:calc(100dvh - 4rem);
  background:var(--bg-2);
  border:1px solid var(--line);
  border-radius:6px;overflow:hidden;
  transform:translateY(20px) scale(.97);opacity:.6;
  transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .35s var(--ease);
  box-shadow:0 40px 80px -20px rgba(0,0,0,.6);
}
.profile-modal.open .pm-card{transform:translateY(0) scale(1);opacity:1}
.pm-close{
  position:absolute;top:.95rem;right:.95rem;z-index:5;
  width:42px;height:42px;border:1px solid var(--line-2);
  border-radius:50%;background:color-mix(in srgb,var(--bg) 70%,transparent);
  color:var(--fg);display:grid;place-items:center;cursor:pointer;
  transition:color .25s var(--ease),border-color .25s var(--ease),background .25s var(--ease);
}
.pm-close:hover{color:var(--gold);border-color:var(--gold)}
.pm-grid{
  display:grid;grid-template-columns:minmax(280px,40%) 1fr;gap:0;
  max-height:calc(100dvh - 4rem);
  /* minmax(0,1fr) lets the row shrink below its content height — without it the
     row grows to fit a long bio, .pm-text never scrolls, and .pm-card's
     overflow:hidden silently clips the last paragraphs. */
  grid-template-rows:minmax(0,1fr);
}
.pm-photo{
  position:relative;
  background:linear-gradient(180deg,var(--surface),var(--bg));
  overflow:hidden;
}
.pm-photo img{width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center top;display:block}
.pm-text{
  padding:clamp(2rem,3vw,3rem);
  overflow-y:auto;
  min-height:0;              /* required for a grid item to scroll rather than stretch */
  scrollbar-width:thin;
}
.pm-role{
  display:inline-block;font-size:.72rem;letter-spacing:.2em;
  text-transform:uppercase;color:var(--gold);margin-bottom:1rem;
}
.pm-name{
  font-family:var(--font-display);font-weight:500;
  font-size:clamp(1.6rem,2.5vw,2.2rem);
  margin-bottom:1.6rem;color:var(--fg);line-height:1.18;
}
.pm-text p{
  margin-bottom:1.1rem;font-size:1rem;line-height:1.85;
  color:var(--fg-muted);font-weight:300;
}
.pm-text p:last-child{margin-bottom:0}
.pm-bio h4{
  font-family:var(--font-sans);font-size:.72rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:var(--gold);
  margin:1.8rem 0 .9rem;
}
.pm-bio h4:first-child{margin-top:.5rem}
.pm-bio ul{list-style:none;margin:0;padding:0}
.pm-bio ul li{
  position:relative;padding-left:1.2rem;margin-bottom:.55rem;
  font-size:.95rem;line-height:1.6;color:var(--fg-muted);font-weight:300;
}
.pm-bio ul li::before{
  content:"";position:absolute;left:0;top:.6em;
  width:5px;height:5px;background:var(--gold);transform:rotate(45deg);
}
@media (max-width:760px){
  /* stacked: photo keeps its ratio, the text pane takes the rest and scrolls */
  .pm-grid{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);max-height:calc(100dvh - 2rem)}
  .pm-photo{aspect-ratio:4/3;max-height:38vh}
}
.person h4{font-family:var(--font-display);font-size:1.3rem;font-weight:500;color:var(--fg);margin-bottom:.35rem;transition:color .3s var(--ease)}
.person .role{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.person .yr{font-size:.78rem;color:var(--fg-faint);margin-top:.5rem}

/* Agenda */
.agenda{max-width:820px;margin-inline:auto;border-top:1px solid var(--line)}
.agenda-row{display:grid;grid-template-columns:150px 1fr;gap:2.4rem;padding:2.2rem 0;border-bottom:1px solid var(--line)}
.agenda-time{font-family:var(--font-display);font-size:1.3rem;color:var(--gold);font-variant-numeric:tabular-nums}
.agenda-body h4{font-family:var(--font-display);font-size:1.3rem;font-weight:500;color:var(--fg);margin-bottom:.4rem}
.agenda-body p{font-size:.96rem}

/* Small atmosphere strip (gala programme) — intentionally modest: images are
   shown small with a dark veil so lower-resolution photos read as texture */
.moments{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  margin-top:3.4rem;border:1px solid var(--line);
}
.moments figure{margin:0;position:relative;overflow:hidden;aspect-ratio:4/3;background:var(--bg)}
.moments img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(.82) brightness(.86);
  transition:filter .6s var(--ease),transform .9s var(--ease);
}
.moments figure::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,color-mix(in srgb,var(--bg) 45%,transparent));
}
.moments figure:hover img{filter:saturate(1) brightness(.96);transform:scale(1.03)}
@media (max-width:620px){.moments{grid-template-columns:repeat(3,1fr)}.moments figure{aspect-ratio:1/1}}

/* Quote */
.quote-block{max-width:900px;margin-inline:auto;text-align:center}
.quote-block .mark{font-family:var(--font-display);font-size:6rem;line-height:0;color:var(--gold);opacity:.35;display:block;height:2.4rem}
.quote-block blockquote{font-family:var(--font-display);font-size:clamp(1.7rem,4vw,2.8rem);line-height:1.34;color:var(--fg);font-style:italic;font-weight:400;margin:2rem 0 2.4rem}
.quote-block cite{font-style:normal;font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;color:var(--fg-muted)}

/* Logos */
.logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(2.2rem,6vw,5rem)}
.logos span{font-family:var(--font-display);font-size:1.4rem;letter-spacing:.14em;color:var(--fg-faint);transition:color .35s var(--ease)}
.logos span:hover{color:var(--fg)}

/* Featured partner (e.g. World Print) — logo sits on a light chip so a dark
   transparent logo stays legible on the dark theme */
.partner-feature{
  display:grid;grid-template-columns:minmax(0,.85fr) 1.15fr;
  gap:clamp(1.6rem,4vw,3.4rem);align-items:center;
  margin:2.6rem 0 1rem;padding:clamp(1.6rem,3vw,2.4rem);
  border:1px solid var(--line);background:var(--surface);
  scroll-margin-top:calc(var(--header-h) + 24px);
}
.pf-logo{
  background:#fff;border:1px solid var(--line);
  border-radius:10px;padding:clamp(1.4rem,3vw,2.4rem);
  display:grid;place-items:center;aspect-ratio:16/10;
}
.pf-logo img{width:100%;max-width:320px;height:auto;object-fit:contain}
/* Dual-logo variant — two marks sharing one chip (e.g. a company and its
   academy/sub-brand), divided by a hairline rather than shown as two partners.
   Stacked, not side-by-side: a wide flat wordmark next to a tall badge mark
   would force one or the other to render illegibly small at a shared height. */
.pf-logo.pf-logo-dual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(.9rem,2.4vw,1.5rem);aspect-ratio:auto}
.pf-logo-dual .pf-logo-slot{flex:0 0 auto;width:100%;display:grid;place-items:center}
.pf-logo-dual .pf-logo-slot img{height:auto;object-fit:contain}
.pf-logo-dual .pf-logo-slot:first-child img{width:100%;max-width:280px}
.pf-logo-dual .pf-logo-slot:last-child img{width:100%;max-width:120px}
.pf-logo-dual .pf-logo-div{width:56%;height:1px;background:var(--line-2);flex:0 0 auto}
.pf-tag{
  display:inline-block;font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--gold);margin-bottom:.9rem;
}
.pf-name{font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2.3rem);font-weight:500;color:var(--fg);margin-bottom:1rem}
.pf-body p{color:var(--fg-muted);font-weight:300;margin-bottom:1rem;line-height:1.7}
.pf-body p:last-child{margin-bottom:0}
@media (max-width:760px){
  .partner-feature{grid-template-columns:1fr;gap:1.6rem}
  .pf-logo{aspect-ratio:16/7;max-width:420px;margin-inline:auto;width:100%}
}

/* Tier block (partners) */
.tier{border-top:1px solid var(--line);padding-top:2.4rem;margin-top:3.4rem}
.tier:first-child{margin-top:0}
.tier .tier-label{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);margin-bottom:2rem}
.tier .tier-row{display:flex;flex-wrap:wrap;gap:clamp(2rem,5vw,4rem);align-items:center}
.tier .tier-row span{font-family:var(--font-display);font-size:clamp(1.4rem,2.6vw,2.1rem);color:var(--fg);opacity:.78;transition:opacity .35s var(--ease)}
.tier .tier-row span:hover{opacity:1}

/* Invert / contrast band */
.invert{background:var(--invert-bg);color:var(--invert-fg)}
.invert h2,.invert h3,.invert h4{color:var(--invert-fg)}
.invert p{color:color-mix(in srgb,var(--invert-fg) 68%,transparent)}
.invert .eyebrow{color:var(--gold)}
.invert .btn-outline{color:var(--invert-fg);border-color:color-mix(in srgb,var(--invert-fg) 30%,transparent)}
.invert .btn-outline:hover{color:var(--gold);border-color:var(--gold);background:color-mix(in srgb,var(--gold) 8%,transparent)}
.invert .btn-solid{background:var(--invert-fg);color:var(--invert-bg)}
.invert .link-arrow{color:var(--invert-fg)}
.invert .link-arrow:hover{color:var(--gold)}
.cta-band{position:relative;text-align:center;overflow:hidden}
.cta-band h2{margin:1.6rem auto 1.4rem;max-width:14ch}
.cta-band p{max-width:540px;margin:0 auto 2.6rem;font-size:1.1rem;font-weight:300}

/* ---------- Forms ---------- */
.form-wrap{border:1px solid var(--line);background:var(--surface);padding:clamp(2rem,4.5vw,3.6rem)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.field{display:flex;flex-direction:column;gap:.6rem}
.field.full{grid-column:1/-1}
.field label{font-size:.68rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--fg-muted)}
.field label .req{color:var(--gold)}
.field input,.field select,.field textarea{
  background:transparent;border:0;border-bottom:1px solid var(--line-2);
  padding:.85rem .2rem;color:var(--fg);font-size:1rem;min-height:48px;
  transition:border-color .35s var(--ease);
}
.field textarea{min-height:130px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--fg-faint)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);background-position:calc(100% - 14px) 22px,calc(100% - 8px) 22px;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.field select option{background:var(--bg);color:var(--fg)}
.field .err{font-size:.76rem;color:#E5484D;display:none}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:#E5484D}
.field.invalid .err{display:block}
.form-note{font-size:.82rem;color:var(--fg-faint);margin-top:1.6rem}
.form-success{display:none;text-align:center;padding:3rem 1rem}
.form-success.show{display:block}
.form-success .check{width:66px;height:66px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;margin:0 auto 1.8rem;color:var(--gold)}
.form-success h3{color:var(--fg);margin-bottom:.9rem}

/* Contact info */
.info-list{display:flex;flex-direction:column}
.info-item{display:flex;gap:1.4rem;padding:1.8rem 0;border-bottom:1px solid var(--line)}
.info-item:first-child{padding-top:0}
.info-item .ii-ico{width:24px;height:24px;color:var(--gold);flex-shrink:0;margin-top:3px}
.info-item h4{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--fg-muted);margin-bottom:.5rem}
.info-item p{color:var(--fg);font-size:1.05rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--bg-2);border-top:1px solid var(--line);padding-top:6rem}
.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:3rem;padding-bottom:4.5rem}
.footer-brand .brand{margin-bottom:1.8rem}
.footer-brand p{font-size:.95rem;max-width:330px;margin-bottom:2rem;font-weight:300}
/* Social icons: bare glyphs, the way footers conventionally show them. The ring
   that used to sit around the mark read as an empty button and never looked
   optically centred. The 44px tap target is kept — it's just invisible now. */
/* pulled left by the tap-box inset ((44-24)/2) so the glyph's edge lines up with
   the tagline above it rather than sitting mysteriously indented */
.footer-social{display:flex;gap:.5rem;margin-left:-10px}
.footer-social a{
  display:grid;place-items:center;
  min-width:44px;min-height:44px;
  color:var(--fg-muted);transition:color .3s var(--ease);
}
.footer-social a svg{width:24px;height:24px;display:block}
.footer-social a:hover{color:var(--gold)}
.footer-col h5{font-size:.68rem;letter-spacing:.26em;text-transform:uppercase;color:var(--fg);margin-bottom:1.6rem}
.footer-col ul li{margin-bottom:.95rem}
.footer-col ul li a{font-size:.93rem;color:var(--fg-muted);transition:color .25s var(--ease)}
.footer-col ul li a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding:2.2rem 0;border-top:1px solid var(--line);font-size:.8rem;color:var(--fg-faint)}
.footer-bottom a:hover{color:var(--gold)}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(30px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.09s}
.reveal[data-d="2"]{transition-delay:.18s}
.reveal[data-d="3"]{transition-delay:.27s}
.reveal[data-d="4"]{transition-delay:.36s}

/* ====== Luxury scroll enhancements ====== */
/* T2 — cinematic clip-path image unveil, scoped to the ONE gala venue image
   (.split-media.unveil). Rides the existing .reveal IntersectionObserver: the
   .in class is toggled by main.js on entry. The collapsed start state is gated on
   BOTH prefers-reduced-motion:no-preference AND html.js (the marker the pre-paint
   bootstrap adds) — so reduced-motion AND no-JS users always get the natural,
   fully-visible image instead of a permanently-hidden one behind an empty frame. */
@media (prefers-reduced-motion: no-preference){
  /* the image performs the entrance — neutralise the container's translate fade */
  .split-media.unveil.reveal{opacity:1;transform:none;transition:none}
  html.js .split-media.unveil img{
    clip-path:inset(0 46% 0 46%);
    transform:scale(1.06);
    opacity:0;
    transition:
      clip-path 1.2s cubic-bezier(.16,1,.3,1),
      transform 1.2s cubic-bezier(.16,1,.3,1),
      opacity .9s ease;
  }
  .split-media.unveil.reveal.in img{
    clip-path:inset(0 0 0 0);
    transform:scale(1);
    opacity:1;
  }
  html.js .split-media.unveil .frame{opacity:0;transition:opacity .9s ease .25s}
  .split-media.unveil.reveal.in .frame{opacity:1}
}
@media (prefers-reduced-motion: no-preference) and (max-width:860px){
  html.js .split-media.unveil img{transition-duration:.8s,.8s,.7s} /* gentler on phones */
}

/* T1 — word-by-word scroll reveal (homepage founding quote). main.js splits the
   blockquote into .qw>.qw-i word spans (desktop, motion-OK only) and sets --p
   (0->1) per word from scroll progress. Default DOM is the plain visible quote;
   words only exist when the effect is active, so no-JS / reduced-motion / mobile
   keep the normal .reveal fade. */
@property --p{syntax:'<number>';inherits:false;initial-value:0}
[data-word-reveal] .qw{display:inline-flex;overflow:hidden;vertical-align:top}
[data-word-reveal] .qw-i{display:inline-block;transform:translateY(calc((1 - var(--p,0)) * 108%))}

/* ---------- Responsive ---------- */
@media (max-width:1200px){
  .nav-menu{display:none}
  .nav-cta .btn-nominate{display:none}
  .nav-cta .chip{display:none}
  .nav-cta .lang-wrap{display:none}
  .nav-toggle{display:flex}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .split,.split.rev{grid-template-columns:1fr}
  .split.rev .split-media{order:0}
  .grid-3,.grid-4{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .stat:nth-child(3){border-left:0}
}
@media (max-width:620px){
  .container{width:min(var(--container),100% - 2.6rem)}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .cell{border-left:0!important}
  .form-grid{grid-template-columns:1fr}
  .agenda-row{grid-template-columns:1fr;gap:.6rem}
  .stats{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1fr;gap:2.5rem}
  .footer-bottom{justify-content:center;text-align:center}
  .cd-cell{min-width:50%;border-left:0}
  .hero-meta{gap:.9rem;font-size:.66rem}
}
@media (max-width:480px){
  /* Tighten the header on phones; brand collapses to just monogram */
  :root{--header-h:64px}
  .brand .brand-text small{display:none}
  .brand .brand-text strong{font-size:1rem;letter-spacing:.18em}
  .request-types{grid-template-columns:1fr}
  .m-utils{flex-wrap:wrap}
  .m-utils .lang-wrap{min-width:160px}
  .hero{padding-top:calc(var(--header-h) + 1rem)}
  .hero-meta{flex-direction:column;font-size:.62rem;line-height:1.6}
  .hero-meta .dot{display:none}
  /* Profile modal: keep photo small, text scrollable */
  .pm-card{max-height:calc(100dvh - 1.5rem)}
  .pm-text{padding:1.4rem 1.2rem}
  .pm-name{font-size:1.4rem;margin-bottom:1rem}
  .pm-text p,.pm-bio ul li{font-size:.88rem;line-height:1.6}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}
