
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proximanova-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proximanova-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proximanova-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root{
  --blue:#0E7CA2;
  --blue-deep:#0B5F7D;
  --light-blue:#1C9ED6;
  --yellow:#FFCB05;
  --navy:#101B24;
  --navy-soft:#16242F;
  --gray:#253746;
  --green:#4F9B34;
  --green-deep:#2F5C1F;
  --white:#FFFFFF;
  --offwhite:#F5F8F9;
  --line:#E1E8EA;
  --maxw:1180px;

  /* theme-aware page chrome (the fixed dark panels below use raw tokens above on purpose) */
  --page-bg:var(--white);
  --page-bg-alt:var(--offwhite);
  --text:var(--gray);
  --heading:var(--navy);
  --border-line:var(--line);
  --card-bg:var(--offwhite);
  --chip-bg:var(--white);
  --accent-heading:var(--blue-deep);
  --muted:#5b7078;
  --icon-flip:0;
  --header-bg:var(--blue);
  --header-border:rgba(255,255,255,0.18);
}

html[data-theme="dark"]{
  --page-bg:#0B1620;
  --page-bg-alt:#16242F;
  --text:#B8C8CF;
  --heading:#FFFFFF;
  --border-line:#23343F;
  --card-bg:#16242F;
  --chip-bg:#16242F;
  --accent-heading:var(--light-blue);
  --muted:#8BA3AC;
  --icon-flip:1;
  --header-bg:#0B1620;
  --header-border:#23343F;
}

html{background:var(--page-bg);}
html{transition:background 0.2s ease;}
body, header, .hero, .navlinks{transition:background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Proxima Nova", Arial, sans-serif;
  color:var(--text);
  background:var(--page-bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
h1,h2,h3,.display{
  font-family:"Gilroy","Arial Black",sans-serif;
  color:var(--heading);
  margin:0;
  line-height:1.05;
  letter-spacing:-0.01em;
}
p{margin:0;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px;}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}



.scanlines{
  position:relative;
}
.scanlines::before{
  content:"";
  position:absolute;inset:0;
  background:repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.035) 0px,
    rgba(255,255,255,0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events:none;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.98rem;
  padding:13px 26px;
  border:2px solid transparent;
  border-radius:8px;
  cursor:pointer;
}
.btn-primary{
  background:var(--yellow);
  color:var(--navy);
}
.btn-primary:hover{background:#ffd633;}
.btn-outline{
  background:transparent;
  border-color:var(--white);
  color:var(--white);
}
.btn-outline:hover{background:rgba(255,255,255,0.12);}
.btn-outline-dark{
  background:transparent;
  border-color:var(--blue);
  color:var(--blue);
}
.btn-outline-dark:hover{background:rgba(14,124,162,0.08);}

/* theme toggle */
.theme-toggle{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;
  border:1px solid var(--header-border);
  border-radius:8px;
  background:transparent;
  cursor:pointer;
  color:var(--white);
  flex-shrink:0;
}
.theme-toggle:hover{border-color:var(--yellow);color:var(--yellow);}
.theme-toggle svg{width:18px;height:18px;}
.theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block;}

/* header */
header{
  position:sticky;top:0;z-index:50;
  background:var(--header-bg);
  border-bottom:1px solid var(--header-border);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 28px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0;}
.brand img{width:42px;height:42px;flex-shrink:0;}
.brand-name{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.18rem;
  color:var(--white);
  white-space:nowrap;
}
.navlinks{display:flex;align-items:center;gap:30px;}
.navlinks a{
  font-weight:600;
  font-size:0.95rem;
  color:rgba(255,255,255,0.82);
}
.navlinks a:hover{color:var(--white);}
.nav-cta{display:flex;align-items:center;gap:18px;}
.nav-cta .btn-outline-dark{
  border-color:rgba(255,255,255,0.55);
  color:var(--white);
}
.nav-cta .btn-outline-dark:hover{background:rgba(255,255,255,0.12);}
.menu-toggle{display:none;}

@media (max-width:860px){
  .navlinks{
    position:absolute;top:100%;left:0;right:0;
    background:var(--header-bg);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    border-bottom:1px solid var(--header-border);
    max-height:0;overflow:hidden;
    transition:max-height 0.25s ease;
  }
  .navlinks a{padding:14px 28px;width:100%;border-top:1px solid var(--header-border);}
  #nav-check:checked ~ .navlinks{max-height:400px;}
  .menu-toggle{
    display:block;
    background:none;border:none;cursor:pointer;
    font-family:"Gilroy",sans-serif;font-weight:700;font-size:1.6rem;
    color:var(--white);
  }
  .nav-cta .btn-outline-dark{display:none;}
}

@media (max-width:480px){
  .nav{padding:12px 16px;gap:8px;}
  .brand img{width:32px;height:32px;}
  .brand-name{font-size:0.95rem;}
  .nav-cta{gap:10px;}
  .theme-toggle{width:32px;height:32px;}
  .theme-toggle svg{width:15px;height:15px;}
  .nav-cta .btn-primary{padding:9px 14px;font-size:0.85rem;}
  .menu-toggle{font-size:1.4rem;}
}

/* hero */
.hero{
  background:var(--page-bg);
  padding:64px 0 0;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.eyebrow-line{
  display:inline-block;
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.85rem;
  color:var(--blue);
  background:rgba(14,124,162,0.08);
  padding:6px 14px;
  border-radius:6px;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(2.3rem,4.3vw,3.5rem);
  font-weight:900;
  margin-bottom:22px;
}
.hero-sub{
  font-size:1.12rem;
  color:var(--text);
  max-width:46ch;
  margin-bottom:32px;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px;}
.hero-microcopy{
  font-size:0.88rem;
  color:var(--muted);
  margin-top:18px;
}

.hero-screen-wrap{
  background:var(--navy);
  padding:26px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.06);
  position:relative;
}
.hero-screen{
  background:linear-gradient(160deg,var(--navy-soft),var(--navy) 70%);
  padding:38px 24px 28px;
  border-radius:10px;
  position:relative;
  text-align:center;
  overflow:hidden;
}
.hero-screen img.mascot{
  width:220px;
  margin:0 auto 8px;
}
.hero-speech{
  position:relative;
  display:inline-block;
  background:var(--white);
  color:var(--navy);
  font-family:"Proxima Nova",Arial,sans-serif;
  font-weight:600;
  font-size:0.92rem;
  padding:11px 20px;
  border-radius:14px;
  margin-bottom:28px;
  box-shadow:0 8px 18px rgba(0,0,0,0.22);
}
.hero-speech::after{
  content:"";
  position:absolute;
  left:50%;bottom:-9px;
  transform:translateX(-50%);
  width:0;height:0;
  border-left:9px solid transparent;
  border-right:9px solid transparent;
  border-top:9px solid var(--white);
}
.hero-screen-caption{
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  color:var(--white);
  font-size:2.1rem;
  letter-spacing:0.02em;
}
.hero-screen-sub{
  font-size:0.85rem;
  color:#9db3bd;
  margin-top:6px;
}
.el-badge{
  position:absolute;
  bottom:0;left:26px;
  transform:translateY(50%);
  display:flex;align-items:center;gap:8px;
  background:var(--yellow);
  padding:9px 16px;
  border-radius:8px;
  box-shadow:0 6px 14px rgba(6,12,17,0.35);
}
.el-badge img{width:28px;height:28px;}
.el-badge span{
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.78rem;
  color:var(--navy);
  letter-spacing:0.02em;
}

/* progress band */
.progress-band{
  background:var(--navy);
  color:var(--white);
  padding:64px 0 58px;
  margin-top:58px;
}
.progress-grid{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:48px;
  align-items:end;
}
.progress-figure .amount{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:clamp(3.2rem,7vw,5.2rem);
  color:var(--yellow);
  white-space:nowrap;
}
.progress-figure .amount-label{
  font-size:0.95rem;
  color:#b8c8cf;
  margin-top:6px;
  white-space:nowrap;
}
.progress-track-row{padding-bottom:8px;}
.progress-goal-row{
  display:flex;justify-content:space-between;
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.92rem;
  color:var(--white);
  margin-bottom:10px;
}
.progress-track{
  height:52px;
  background:#0A141B;
  border:2px solid #23343f;
  border-radius:8px;
  overflow:hidden;
  display:flex;
}
.progress-fill{
  height:100%;
  width:96.4%;
  background:repeating-linear-gradient(
    to right,
    var(--yellow) 0px, var(--yellow) 20px,
    #f0bd00 20px, #f0bd00 22px
  );
}
.progress-note{
  font-size:0.82rem;
  color:#8ba3ac;
  margin-top:14px;
  max-width:60ch;
}

/* story */
.story{padding:80px 0;}
.story-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:56px;
  align-items:start;
}
.section-heading{
  font-size:clamp(1.7rem,3vw,2.2rem);
  margin-bottom:20px;
}
.story-text p{margin-bottom:16px;color:var(--text);}
.story-text p:last-child{margin-bottom:0;}

.fact-card{
  background:var(--card-bg);
  border:1px solid var(--border-line);
  border-radius:12px;
  padding:30px 28px;
}
.fact-card h3{
  font-size:1rem;
  font-weight:700;
  color:var(--accent-heading);
  margin-bottom:18px;
}
.fact-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:12px 0;
  border-top:1px solid var(--border-line);
}
.fact-row:first-of-type{border-top:none;}
.fact-row .fact-num{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.3rem;
  color:var(--heading);
}
.fact-row .fact-label{
  font-size:0.88rem;
  color:var(--muted);
  text-align:right;
}

/* team */
.team{
  background:var(--page-bg-alt);
  padding:80px 0;
  border-top:1px solid var(--border-line);
  border-bottom:1px solid var(--border-line);
}
.team-groups{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:36px;
}
.team-group h3{
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:1rem;
  color:var(--accent-heading);
  margin-bottom:16px;
}
.chip-row{display:flex;flex-wrap:wrap;gap:10px;}
.chip{
  background:var(--chip-bg);
  border:2px solid var(--green);
  border-radius:8px;
  padding:9px 18px;
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.95rem;
  color:var(--heading);
}
.team-group.mods .chip{border-color:var(--blue);}
.roster-note{
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--border-line);
  font-size:0.92rem;
  color:var(--muted);
}
.roster-note strong{color:var(--heading);}

/* team page: roster hero + player cards */
.roster-hero{padding:64px 0 20px;background:var(--page-bg);}
.roster-hero h1{font-size:clamp(2.1rem,4vw,3rem);margin-bottom:18px;}
.roster-hero .hero-sub{margin-bottom:0;}
.roster-section{padding:48px 0;}
.roster-section-title{
  font-size:1.05rem;
  font-weight:700;
  font-family:"Gilroy",sans-serif;
  color:var(--accent-heading);
  margin-bottom:28px;
}
.players-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.players-grid.mods-grid{grid-template-columns:repeat(2,1fr);max-width:700px;margin:0 auto;}
.player-card{
  background:var(--card-bg);
  border:1px solid var(--border-line);
  border-radius:14px;
  overflow:hidden;
}
.player-photo{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  background-image:url("../images/team-placeholder.jpg");
  background-size:cover;
  background-position:center 20%;
}
.photo-badge{
  position:absolute;
  bottom:10px;left:10px;
  background:rgba(16,27,36,0.82);
  color:var(--white);
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.03em;
  padding:5px 10px;
  border-radius:6px;
}
.player-body{padding:22px;}
.player-name{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.12rem;
  color:var(--heading);
}
.player-role{
  font-size:0.76rem;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-top:2px;
}
.player-quote{
  font-style:italic;
  color:var(--text);
  font-size:0.92rem;
  margin:16px 0;
  padding-left:12px;
  border-left:3px solid var(--yellow);
}
.player-bio{font-size:0.88rem;color:var(--muted);}

@media (max-width:860px){
  .players-grid, .players-grid.mods-grid{grid-template-columns:1fr;max-width:none;}
}

/* event */
.event{padding:80px 0;}
.event-box{
  background:var(--navy);
  color:var(--white);
  padding:46px 40px;
  border-radius:16px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}
.event-box h2{color:var(--white);font-size:clamp(1.5rem,3vw,2rem);margin-bottom:10px;}
.event-box p{color:#b8c8cf;max-width:52ch;}
.event-status{
  display:flex;gap:28px;
}
.status-item{text-align:left;}
.status-item .k{
  font-family:"Gilroy",sans-serif;
  font-weight:700;
  font-size:0.78rem;
  color:#8ba3ac;
  text-transform:uppercase;
  letter-spacing:0.06em;
}
.status-item .v{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.2rem;
  color:var(--yellow);
  margin-top:4px;
}
.status-item .vsub{
  font-size:0.78rem;
  color:#8ba3ac;
  margin-top:3px;
}

/* final CTA */
.cta-band{
  background:var(--blue);
  color:var(--white);
  padding:64px 0;
  text-align:left;
}
.cta-grid{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:24px;
}
.cta-band h2{color:var(--white);font-size:clamp(1.6rem,3vw,2.1rem);max-width:20ch;}
.cta-actions{display:flex;gap:16px;flex-wrap:wrap;}
.cta-band .btn-outline{border-color:rgba(255,255,255,0.6);}

/* footer */
footer{
  background:var(--navy);
  color:#9db3bd;
  padding:52px 0 28px;
}
.footer-top{
  padding-bottom:28px;
  border-bottom:1px solid #23343f;
}
.footer-org-row{
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
}
.footer-org{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:0 32px;
}
.footer-org:first-child{padding-left:0;}
.footer-org-divider{
  width:1px;
  align-self:stretch;
  background:#33454f;
}
@media (max-width:760px){
  .footer-org-row{flex-direction:column;gap:24px;}
  .footer-org{padding:0;}
  .footer-org-divider{display:none;}
}
.footer-brand{display:flex;align-items:center;gap:12px;}
.footer-brand img{width:36px;height:36px;}
.footer-brand span{
  font-family:"Gilroy",sans-serif;font-weight:900;color:var(--white);font-size:1.05rem;
}
.footer-org-logo{display:flex;align-items:center;opacity:0.9;height:36px;}
.footer-org-logo:hover{opacity:1;}
.footer-org-logo img{height:100%;width:auto;display:block;}
.partner-badge{
  display:inline-flex;
  background:#fff;
  border-radius:7px;
  padding:3px;
  line-height:0;
  height:36px;
  box-sizing:border-box;
}
.partner-badge img{height:100%;width:auto;display:block;border-radius:4px;}

.footer-social{display:flex;align-items:center;gap:10px;}
.footer-social a{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;
  border:1px solid #23343f;
  border-radius:8px;
  color:#9db3bd;
}
.footer-social a:hover{color:var(--white);border-color:#3a4f5a;}
.footer-social svg{width:17px;height:17px;}

.footer-affiliation{
  font-size:0.85rem;
  color:#8ba3ac;
  padding-top:24px;
  max-width:70ch;
}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  margin-top:28px;
  font-size:0.82rem;
  color:#6d848c;
}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-screen-wrap{order:-1;max-width:420px;margin:0 auto;}
  .progress-grid{grid-template-columns:1fr;gap:24px;}
  .story-grid{grid-template-columns:1fr;}
  .team-groups{grid-template-columns:1fr;}
  .event-box{grid-template-columns:1fr;text-align:left;}
  .event-status{flex-wrap:wrap;}
}
/* gallery page */
.gallery-hero{padding:64px 0 20px;background:var(--page-bg);}
.gallery-hero-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.gallery-hero-logo{
  width:420px;
  flex-shrink:0;
}
@media (max-width:760px){
  .gallery-hero-grid{flex-direction:column;align-items:flex-start;}
  .gallery-hero-logo{width:300px;order:-1;}
}
.gallery-hero h1{font-size:clamp(2.1rem,4vw,3rem);margin-bottom:18px;}
.gallery-hero .hero-sub{margin-bottom:0;}

.gallery-year-section{padding:44px 0;border-top:1px solid var(--border-line);}
.gallery-year-section:first-of-type{border-top:none;}
.gallery-year-title{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.7rem;
  color:var(--heading);
  margin-bottom:4px;
}
.gallery-year-sub{color:var(--muted);font-size:0.9rem;margin-bottom:26px;}

/* gallery grid of carousel cards */
.gallery-grid-section{padding:16px 0 64px;}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:36px 28px;
}
@media (max-width:980px){
  .gallery-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width:640px){
  .gallery-grid{grid-template-columns:1fr;}
}
.gallery-card{
  display:flex;
  flex-direction:column;
}
.gallery-card-title{
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:1.25rem;
  color:var(--heading);
  margin-bottom:6px;
}
.gallery-card-sub{
  color:var(--muted);
  font-size:0.85rem;
  margin-bottom:14px;
}
.card-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:16px;
}
.card-stat{
  background:var(--card-bg);
  border:1px solid var(--border-line);
  border-radius:8px;
  padding:10px 8px;
  font-size:0.72rem;
  color:var(--muted);
  text-align:center;
}
.card-stat span{
  display:block;
  font-family:"Gilroy",sans-serif;
  font-weight:900;
  font-size:0.98rem;
  color:var(--heading);
  margin-bottom:2px;
}

/* featured event section (Tabletop Turn-Up) */
.gallery-feature-section{
  padding:56px 0 64px;
  border-top:1px solid var(--border-line);
}
.gallery-feature-header{
  max-width:640px;
  margin-bottom:28px;
}
.gallery-feature-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:44px;
  align-items:stretch;
}
@media (max-width:860px){
  .gallery-feature-grid{grid-template-columns:1fr;}
}
.gallery-feature-media{
  display:flex;
  flex-direction:column;
}
.gallery-feature-stats{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.gallery-feature-stats h3{
  font-size:2rem;
  font-weight:700;
  color:var(--accent-heading);
  margin-bottom:18px;
}
.gallery-feature-stats .fact-num{
  font-size:1.4625rem;
}
.gallery-feature-stats .fact-label{
  font-size:1.056rem;
}
.gallery-feature-stats .fact-label-wrap{
  font-size:1.056rem;
  line-height:1.15;
  max-width:230px;
}

/* carousel */
.carousel{
  position:relative;
  width:100%;
}
.carousel-viewport{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  background:var(--page-bg-alt);
  border:1px solid var(--border-line);
  border-radius:14px;
  overflow:hidden;
}
.carousel-slide{
  position:absolute;inset:0;
  display:none;
  align-items:center;justify-content:center;
}
.carousel-slide.active{display:flex;}
.carousel-slide img{
  max-width:100%;max-height:100%;
  width:auto;height:auto;
  object-fit:contain;
  cursor:zoom-in;
}
.carousel-caption-bar{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(to top, rgba(6,12,17,0.72), transparent);
  color:#fff;
  padding:26px 14px 10px;
  font-size:0.8rem;
  font-weight:600;
  pointer-events:none;
}
.carousel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(6,12,17,0.55);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  width:36px;height:36px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  font-size:1.05rem;
  line-height:1;
  z-index:2;
}
.carousel-btn:hover{border-color:var(--yellow);color:var(--yellow);}
.carousel-btn.prev{left:10px;}
.carousel-btn.next{right:10px;}
.carousel-meta{
  display:flex;justify-content:center;align-items:center;
  gap:8px;
  margin-top:12px;
  font-size:0.8rem;
  color:var(--muted);
  font-weight:600;
}

.lightbox-overlay{
  position:fixed;inset:0;
  background:rgba(6,12,17,0.94);
  display:none;
  align-items:center;justify-content:center;
  z-index:200;
  padding:60px 20px;
}
.lightbox-overlay.open{display:flex;}
.lightbox-overlay img{max-width:100%;max-height:80vh;border-radius:8px;display:block;margin:0 auto;}
.lightbox-caption{color:#fff;text-align:center;margin-top:16px;font-size:0.92rem;}
.lightbox-close,.lightbox-prev,.lightbox-next{
  position:absolute;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.28);
  color:#fff;
  width:44px;height:44px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  font-size:1.2rem;
  line-height:1;
}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{border-color:var(--yellow);color:var(--yellow);}
.lightbox-close{top:20px;right:20px;}
.lightbox-prev{left:20px;top:50%;transform:translateY(-50%);}
.lightbox-next{right:20px;top:50%;transform:translateY(-50%);}
@media (max-width:640px){
  .lightbox-prev,.lightbox-next{width:38px;height:38px;font-size:1rem;}
  .lightbox-close{width:38px;height:38px;}
}

/* keep anchor/in-page links from landing under the sticky header */
[id]{scroll-margin-top:96px;}
