
/* The Line RP expanded refined red and blue theme with gallery and video modal */
:root{
  --bg:#07101d;
  --bg-2:#0d1a32;
  --panel:#101b2d;
  --text:#f3f7ff;
  --muted:#c3d2f0;
  --cyan:#4da3ff;
  --blue:#ff4040;
  --white:#ffffff;
  --border: rgba(255,255,255,0.08);
  --soft-border: rgba(77,163,255,0.18);
  --shadow: 0 18px 40px rgba(0,0,0,0.34);
  --glass: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.10), transparent 28%),
    var(--bg);
  color:var(--text);
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
body.preload{overflow:hidden}
body.video-open{overflow:hidden}
body.preload #page-shell{
  filter: blur(14px) saturate(.82);
  transform: scale(1.01);
  opacity:.55;
}
body.intro-complete{overflow:auto}
body.intro-complete #page-shell{
  filter: blur(0) saturate(1);
  transform: scale(1);
  opacity:1;
}
#page-shell{transition: filter .8s ease, transform .8s ease, opacity .8s ease}

.container{max-width:1440px; margin:0 auto; padding:0 28px}
a{color:var(--white); text-decoration:none}
a:hover{text-decoration:none}

.intro-curtain{
  position:fixed;
  inset:0;
  z-index:3000;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:rgba(3,8,17,0.16);
  backdrop-filter: blur(6px) saturate(1.05);
  transition: opacity .9s ease, visibility .9s ease;
}
body.intro-complete .intro-curtain{
  opacity:0;
  visibility:hidden;
}
.intro-logo{
  width:min(180px, 38vw);
  height:auto;
  display:block;
  filter:drop-shadow(0 0 24px rgba(77,163,255,0.28));
}
.intro-wordmark{
  font:800 clamp(28px, 5vw, 48px)/1 'Orbitron', sans-serif;
  letter-spacing:2px;
  text-transform:uppercase;
}
.intro-subtitle{
  color:var(--muted);
  font-family:'Rajdhani', sans-serif;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:14px;
}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(12px);
  background: linear-gradient(to bottom, rgba(7,13,24,0.84), rgba(7,13,24,0.54));
  transition: box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.site-header.scrolled{box-shadow:0 8px 28px rgba(0,0,0,0.25); background: rgba(7,13,24,0.9)}

.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:14px}
.brand-name{font:800 18px/1 'Orbitron', sans-serif; letter-spacing:1px}

.nav-toggle{display:none; background:transparent; border:0; padding:6px; cursor:pointer}
.nav-toggle .bar{display:block; width:22px; height:2px; background:var(--white); margin:4px 0}
.nav-menu{display:flex; gap:14px; list-style:none; padding:0; margin:0}
.nav a{display:inline-block; padding:8px 12px; border-radius:999px; font-family:'Rajdhani', sans-serif; font-weight:700; letter-spacing:1.2px; text-transform:uppercase}
.nav a:hover,.nav a.active-nav{background:rgba(255,255,255,0.08)}

.section{padding:36px 0}
.section.tight{padding:24px 0}
.section.compact{padding:28px 0}
.section-alt{overflow:hidden}

h1,h2,h3,h4{font-family:'Orbitron', sans-serif; text-transform:uppercase; letter-spacing:1px; margin:0 0 10px}
h2{margin-bottom:12px; font-size:clamp(24px, 2vw, 34px)}
.headline{font-size:clamp(42px, 5vw, 72px); margin:0 0 10px}
.tagline{font-family:'Rajdhani', sans-serif; font-weight:700; color:var(--cyan); margin:0 0 14px; letter-spacing:3px; font-size:clamp(18px, 2vw, 24px)}
.hero-tagline-white{color:#fff}
.gallery-kicker,.video-modal-kicker{
  font-family:'Rajdhani', sans-serif;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--cyan);
  font-weight:700;
}
.lead{color:var(--muted); font-size:1.03rem}
p, li{font-family:'Inter', sans-serif}
.about-copy p{margin:0 0 16px}
.about-copy p:last-child{margin-bottom:0}

.btn{
  display:inline-block; padding:12px 18px; border-radius:14px; font-weight:800;
  border:1px solid rgba(255,255,255,0.10);
  transition:transform .08s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  letter-spacing:1px; font-family:'Rajdhani', sans-serif; text-transform:uppercase;
}
.btn:active{transform:translateY(1px)}
.btn.primary{
  background:linear-gradient(135deg, rgba(255,255,255,0.96), rgba(227,236,255,0.96));
  color:#081018;
  box-shadow:0 0 24px rgba(77,163,255,0.22);
}
.btn.ghost{border-color:var(--soft-border); color:var(--white); background:rgba(255,255,255,0.03)}
.btn:hover{box-shadow:0 0 26px rgba(77,163,255,0.28)}

.facts{margin:0; padding-left:18px}
.facts li{margin:6px 0}

.hero{
  background-image: url('assets/gtabackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(4,9,18,0.20), rgba(4,9,18,0.30));
  pointer-events:none;
}
.parallax{background-attachment:fixed}
.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.35fr .95fr;
  gap:28px;
  align-items:center;
  min-height:60vh
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.hero-left,.hero-right{position:relative}
.quick-info-card{display:flex; flex-direction:column; gap:12px}
.watch-video-btn{width:100%; justify-content:center; text-align:center; margin-top:2px; font-size:1rem}

.glass-card,
.info-card,.join-card,.hero-card,.dept,.rule-card,.founder-block,.mini-card,.gallery-tile,.gallery-hero-card,.video-modal-panel{
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.08), transparent 30%),
    var(--glass);
  border:1px solid var(--soft-border);
  border-radius:18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 12px 34px rgba(0,0,0,0.22),
    0 0 24px rgba(77,163,255,0.08);
  backdrop-filter: blur(16px) saturate(1.15);
}
.info-card,.join-card,.hero-card,.person,.dept,.rule-card,.founder-block,.mini-card,.gallery-hero-card{padding:18px}
.glow{animation:pulse 4s ease-in-out infinite}
@keyframes pulse{
  0%,100%{box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 12px 34px rgba(0,0,0,0.22), 0 0 0 rgba(77,163,255,0)}
  50%{box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 14px 38px rgba(0,0,0,0.24), 0 0 28px rgba(77,163,255,0.12)}
}

.two-col{display:grid; grid-template-columns:1.3fr .95fr; gap:22px; align-items:start}
.dept-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:8px}
.join-grid{display:grid; grid-template-columns:1.25fr .85fr; gap:22px; align-items:center}
.split-cards{display:grid; gap:12px}

.dept{position:relative; display:flex; flex-direction:column; justify-content:flex-start; min-height:100%}
.dept h3{margin:0; font-size:1.05rem}
.dept p{margin:6px 0 0 0; color:var(--muted); font-size:.98rem; line-height:1.5}
.dept:hover,.gallery-tile:hover{transform:translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 36px rgba(0,0,0,0.26), 0 0 28px rgba(77,163,255,0.14)}

.checklist{list-style:none; padding-left:0; margin:0}
.checklist li{padding-left:18px; position:relative; margin:6px 0; color:var(--text)}
.checklist li:before{content:'▸'; position:absolute; left:0; color:var(--cyan)}
.tight-list{margin:0; padding-left:18px}
.tight-list li{margin:6px 0}

.site-footer{padding:20px 0 26px; background:transparent}
.footer-top-actions{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.back-to-top-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  padding:12px 20px;
  border-radius:14px;
  border:1px solid var(--soft-border);
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.14), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.12), transparent 34%),
    rgba(255,255,255,0.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 28px rgba(0,0,0,0.20);
  color:var(--white);
  font-family:'Rajdhani', sans-serif;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  transition:transform .15s ease, box-shadow .25s ease, background .25s ease;
}
.back-to-top-btn:hover{
  transform:translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 32px rgba(0,0,0,0.24),
    0 0 22px rgba(77,163,255,0.12);
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.14), transparent 34%),
    rgba(255,255,255,0.07);
}
.footer-disclaimer{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.footer-disclaimer p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.7;
  text-align:center;
}
.footer-bar{
  display:grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  align-items:start;
  gap:22px;
  width:100%;
}
.footer-brand-block{display:flex; align-items:flex-start; flex-direction:column}
.foot-brand{font-weight:800; font-family:'Orbitron', sans-serif; font-size:1.25rem}
.footer-subbrand{margin:2px 0 0; color:var(--muted)}
.footer-item h4{
  margin-bottom:6px;
  font-family:'Rajdhani', sans-serif;
  font-size:.95rem;
  letter-spacing:1.5px;
}
.footer-item p{margin:0; color:var(--muted)}
.skyline-link{
  color:#fff;
  text-shadow:0 0 10px rgba(77,163,255,.35), 0 0 18px rgba(255,64,64,.22);
}
.skyline-link:hover{
  color:#fff;
  text-shadow:0 0 14px rgba(77,163,255,.5), 0 0 22px rgba(255,64,64,.35);
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:16px;
}
.footer-logo img{display:block; width:120px; opacity:0.9}

.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

.brand-logo{
  width:54px;
  height:54px;
  object-fit:contain;
  display:block;
  border:none;
  background:transparent;
  padding:0;
  border-radius:0;
  box-shadow:none;
}

.rules-picker{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:10px;
}
.rule-card{cursor:pointer; transition: box-shadow .2s ease, transform .08s ease, border-color .2s ease}
.rule-card:hover{box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 36px rgba(0,0,0,0.24), 0 0 24px rgba(77,163,255,0.16)}
.rule-card.active{outline:1px solid rgba(77,163,255,0.22)}
.rule-card .hint{color:var(--muted); margin:0 0 6px; font-family:'Rajdhani', sans-serif; text-transform:uppercase}
.rule-panel{margin-top:8px; padding-top:8px}

.dept-grid > article.dept:nth-child(1){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.5), rgba(8,16,30,0.72)),
    url('assets/sasp.png');
  background-size: cover;
  background-position: center;
}
.dept-grid > article.dept:nth-child(2){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.5), rgba(8,16,30,0.72)),
    url('assets/bbrpsahp.png');
  background-size: cover;
  background-position: center;
}
.dept-grid > article.dept:nth-child(3){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.5), rgba(8,16,30,0.72)),
    url('assets/bbrplspd.webp');
  background-size: cover;
  background-position: center;
}
.dept-grid > article.dept:nth-child(4),
.dept-grid > article.dept:nth-child(5),
.dept-grid > article.dept:nth-child(6){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.58), rgba(8,16,30,0.76)),
    url('assets/civ1.png');
  background-size: cover;
  background-position: center;
}

.founder-section{padding-top:22px; padding-bottom:30px}
.founder-block{position:relative; overflow:hidden}
.founder-block:before{
  content:"";
  position:absolute; inset:-1px;
  background: conic-gradient(from 180deg, rgba(77,163,255,0.14), rgba(255,64,64,0.14), rgba(77,163,255,0.14));
  filter: blur(20px);
  opacity:.4;
  z-index:0;
  animation: founderGlow 6s linear infinite;
  pointer-events:none;
}
@keyframes founderGlow{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
.founder-title,.founder-text{position:relative; z-index:1}
.founder-badge{
  position:absolute; top:14px; right:14px; z-index:1;
  font:800 10px/1 'Rajdhani', sans-serif; letter-spacing:1.5px;
  padding:6px 8px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(77,163,255,0.10);
  color:var(--white);
}

.rule-panel{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height .35s ease, opacity .35s ease;
}
.rule-card.active .rule-panel{opacity:1}

.discord-banner{
  position:relative;
  display:block;
  width:100%;
  background: rgba(8,16,30,0.82);
  color:#ffffff;
  overflow:hidden;
  text-decoration:none;
}
.discord-banner-track{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  will-change:transform;
  animation:discordMarquee 16s linear infinite;
  padding:8px 0;
}
.discord-banner-msg{
  flex:0 0 auto;
  font-family:'Rajdhani', sans-serif;
  font-weight:700;
  letter-spacing:1.6px;
  text-transform:uppercase;
  font-size:clamp(13px, 2vw, 16px);
  padding:0 24px;
  color:#ffffff;
}
@keyframes discordMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Video modal */
.video-modal{
  position:fixed;
  inset:0;
  z-index:2500;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}
.video-modal.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.video-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,9,18,.74);
  backdrop-filter:blur(10px);
}
.video-modal-panel{
  position:relative;
  z-index:1;
  width:min(1100px, calc(100vw - 40px));
  padding:16px;
}
.video-modal-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.video-modal-title{
  margin:2px 0 0;
}
.video-modal-actions{
  display:flex;
  gap:8px;
}
.video-control-btn{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:1.2rem;
  cursor:pointer;
}
.video-control-btn:hover{background:rgba(255,255,255,.12)}
.video-frame-wrap{
  width:100%;
  border-radius:16px;
  overflow:hidden;
  background:#000;
}
.video-frame{
  width:100%;
  display:block;
  aspect-ratio:16/9;
  background:#000;
}

/* Gallery */
.gallery-page{min-height:100vh}
.gallery-hero{
  position:relative;
  background:
    linear-gradient(to bottom, rgba(4,9,18,0.36), rgba(4,9,18,0.54)),
    url('assets/gallaryimage.png') center/cover no-repeat;
}
.gallery-hero-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:24px;
  align-items:center;
  min-height:48vh;
}
.gallery-hero-copy{max-width:860px}
.gallery-lead{max-width:900px}
.gallery-hero-card{align-self:center}
.gallery-showcase-section{padding-top:20px}
.gallery-heading-row{display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:16px}
.gallery-masonry{
  column-count:4;
  column-gap:16px;
}
.gallery-tile{
  break-inside:avoid;
  margin:0 0 16px;
  overflow:hidden;
  padding:0;
}
.gallery-tile img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}
.gallery-tile figcaption{
  padding:14px 14px 16px;
}
.gallery-caption-kicker{
  display:block;
  font-family:'Rajdhani', sans-serif;
  text-transform:uppercase;
  color:var(--cyan);
  letter-spacing:1.5px;
  font-size:.85rem;
  margin-bottom:4px;
}
.gallery-tile strong{
  display:block;
  font-family:'Orbitron', sans-serif;
  margin-bottom:4px;
}
.tile-1 img{aspect-ratio:4/5}
.tile-2 img{aspect-ratio:16/10}
.tile-3 img{aspect-ratio:4/6}
.tile-4 img{aspect-ratio:1/1}
.tile-5 img{aspect-ratio:3/4}

:root{
  --bbot-accent: var(--cyan, #4da3ff);
  --bbot-bg: var(--panel, #101b2d);
  --bbot-text: var(--text, #f3f7ff);
  --bbot-border: var(--soft-border, rgba(77,163,255,.18));
}

@media (max-width: 1200px){
  .footer-bar{grid-template-columns:1fr 1fr 1fr}
  .gallery-masonry{column-count:3}
}
@media (max-width: 980px){
  .hero-grid,.two-col,.join-grid,.gallery-hero-grid{grid-template-columns:1fr}
  .dept-grid{grid-template-columns:repeat(2,1fr)}
  .rules-picker{grid-template-columns:repeat(2,1fr)}
  .footer-bar{grid-template-columns:1fr 1fr}
  .gallery-masonry{column-count:2}
}
@media (max-width: 560px){
  .container{padding:0 18px}
  .nav-toggle{display:inline-block}
  .nav-menu{display:none; position:absolute; right:16px; top:56px; background:rgba(14,22,32,0.95); padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,0.08)}
  .nav-menu.open{display:block}
  .dept-grid,.rules-picker,.footer-bar,.gallery-masonry{grid-template-columns:1fr; column-count:1}
  .section{padding:28px 0}
  .section.tight,.section.compact{padding:22px 0}
  .discord-banner-track{animation-duration:20s}
  .video-modal-panel{width:min(100vw - 20px, 1100px); padding:10px}
  .footer-bottom{flex-direction:column; align-items:flex-start}
}


/* Gallery hero refinements */
.gallery-hero{
  background:
    linear-gradient(to bottom, rgba(4,9,18,0.34), rgba(4,9,18,0.58)),
    url('assets/gallaryimage.png') center/cover no-repeat !important;
}
.gallery-hero-grid-single{
  grid-template-columns: 1fr !important;
  justify-items: center;
}
.gallery-hero-copy-centered{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.gallery-hero-copy-centered .headline{
  margin-bottom: 14px;
}
.gallery-hero-copy-centered .gallery-lead{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-hero-actions{
  justify-content: center;
}
@media (max-width: 980px){
  .gallery-hero-copy-centered{
    max-width: 100%;
  }
}


/* Gallery hero readability */
.gallery-hero{
  position: relative;
}
.gallery-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(7,16,29,0.56), rgba(7,16,29,0.56));
  backdrop-filter: blur(3px);
  pointer-events:none;
}
.gallery-hero > .container{
  position:relative;
  z-index:1;
}

/* Uniform gallery grid */
.gallery-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
.gallery-card{
  overflow:hidden;
  padding:0 !important;
  display:flex;
  flex-direction:column;
}
.gallery-image-button{
  display:block;
  width:100%;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:pointer;
}
.gallery-image{
  width:100%;
  aspect-ratio: 16 / 10;
  object-fit:cover;
  display:block;
}
.gallery-card-copy{
  padding:14px 14px 16px;
  min-height:72px;
}
.gallery-card-copy p{
  margin:0;
  color:var(--muted);
  font-size:.96rem;
}

/* Lightbox */
.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:5000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}
.gallery-lightbox.open{
  opacity:1;
  visibility:visible;
}
.gallery-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,0.82);
  backdrop-filter: blur(8px);
}
.gallery-lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(94vw, 1280px);
  max-height:90vh;
  padding:18px;
  border-radius:22px;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.08), transparent 30%),
    var(--glass);
  border:1px solid var(--soft-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 12px 34px rgba(0,0,0,0.22),
    0 0 24px rgba(77,163,255,0.08);
  backdrop-filter: blur(16px) saturate(1.15);
}
.gallery-lightbox-dialog img{
  width:100%;
  max-height:calc(90vh - 36px);
  object-fit:contain;
  display:block;
  border-radius:14px;
}
.gallery-lightbox-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(10,12,20,0.88);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

/* Department image swaps */
.dept-grid > article.dept:nth-child(5){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.58), rgba(8,16,30,0.76)),
    url('assets/leicard.png') !important;
  background-size: cover;
  background-position: center;
}
.dept-grid > article.dept:nth-child(6){
  background-image:
    linear-gradient(180deg, rgba(8,16,30,0.58), rgba(8,16,30,0.76)),
    url('assets/somuchmore.png') !important;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1200px){
  .gallery-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width: 800px){
  .gallery-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width: 560px){
  .gallery-grid{grid-template-columns:1fr;}
}


/* Final enforced uniform gallery */
.gallery-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:16px !important;
}
.gallery-card{
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  padding:0 !important;
}
.gallery-image-button{
  display:block !important;
  width:100% !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer !important;
}
.gallery-image{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16 / 10 !important;
  object-fit:cover !important;
}
.gallery-card-copy{
  padding:14px 14px 16px !important;
  min-height:74px !important;
}
.gallery-card-copy p{
  margin:0 !important;
}

.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:5000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}
.gallery-lightbox.open{
  opacity:1;
  visibility:visible;
}
.gallery-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,10,18,0.82);
  backdrop-filter:blur(8px);
}
.gallery-lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(94vw,1280px);
  max-height:90vh;
  padding:18px;
  border-radius:22px;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.08), transparent 30%),
    var(--glass);
  border:1px solid var(--soft-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 12px 34px rgba(0,0,0,0.22), 0 0 24px rgba(77,163,255,0.08);
  backdrop-filter:blur(16px) saturate(1.15);
}
.gallery-lightbox-dialog img{
  width:100%;
  max-height:calc(90vh - 36px);
  object-fit:contain;
  display:block;
  border-radius:14px;
}
.gallery-lightbox-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(10,12,20,0.88);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

@media (max-width:1200px){
  .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:800px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:560px){
  .gallery-grid{grid-template-columns:1fr !important;}
}


/* hard gallery fix */
.gallery-masonry{column-count:initial !important; display:none !important;}
.gallery-grid{display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:16px !important;}
.gallery-card{display:flex !important; flex-direction:column !important; overflow:hidden !important; padding:0 !important;}
.gallery-image-button{display:block !important; width:100% !important; border:0 !important; background:transparent !important; padding:0 !important; margin:0 !important; cursor:pointer !important;}
.gallery-image{display:block !important; width:100% !important; aspect-ratio:16/10 !important; object-fit:cover !important;}
.gallery-card-copy{padding:14px 14px 16px !important; min-height:74px !important;}
.gallery-card-copy p{margin:0 !important;}
.gallery-lightbox{position:fixed; inset:0; z-index:5000; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .22s ease, visibility .22s ease;}
.gallery-lightbox.open{opacity:1; visibility:visible;}
.gallery-lightbox-backdrop{position:absolute; inset:0; background:rgba(5,10,18,.82); backdrop-filter:blur(8px);}
.gallery-lightbox-dialog{position:relative; z-index:1; width:min(94vw,1280px); max-height:90vh; padding:18px; border-radius:22px; background:radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 38%), radial-gradient(circle at bottom right, rgba(255,64,64,0.08), transparent 30%), var(--glass); border:1px solid var(--soft-border); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 12px 34px rgba(0,0,0,0.22), 0 0 24px rgba(77,163,255,0.08); backdrop-filter:blur(16px) saturate(1.15);}
.gallery-lightbox-dialog img{width:100%; max-height:calc(90vh - 36px); object-fit:contain; display:block; border-radius:14px;}
.gallery-lightbox-close{position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background:rgba(10,12,20,.88); color:#fff; font-size:28px; line-height:1; cursor:pointer; z-index:2;}
@media (max-width:1200px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}}
@media (max-width:800px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media (max-width:560px){.gallery-grid{grid-template-columns:1fr !important;}}


/* Final hero height adjustment */
.hero-grid{
  min-height: 72vh !important;
}
@media (max-width: 980px){
  .hero-grid{
    min-height: 66vh !important;
  }
}


/* Final gallery hero readability and intro */
.gallery-intro-curtain{
  background: rgba(3,8,17,0.20) !important;
  backdrop-filter: blur(8px) saturate(1.05) !important;
}
.gallery-hero{
  position: relative;
}
.gallery-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(7,16,29,0.48), rgba(7,16,29,0.58)) !important;
  backdrop-filter: blur(4px);
  pointer-events:none;
}
.gallery-hero > .container{
  position:relative;
  z-index:1;
}

/* Final uniform gallery cards */
.gallery-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:16px !important;
}
.gallery-card{
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  padding:0 !important;
  min-height:100% !important;
}
.gallery-image-button{
  display:block !important;
  width:100% !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer !important;
}
.gallery-image{
  display:block !important;
  width:100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  height: auto !important;
}
.gallery-card-copy{
  padding:14px 14px 16px !important;
  min-height:84px !important;
  display:flex;
  align-items:flex-start;
}
.gallery-card-copy p{
  margin:0 !important;
  color:var(--muted) !important;
  font-size:.97rem !important;
  line-height:1.45 !important;
}

/* Gallery lightbox final */
.gallery-lightbox{
  position:fixed !important;
  inset:0 !important;
  z-index:5000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  opacity:0 !important;
  visibility:hidden !important;
  transition:opacity .22s ease, visibility .22s ease !important;
}
.gallery-lightbox.open{
  opacity:1 !important;
  visibility:visible !important;
}
.gallery-lightbox-backdrop{
  position:absolute !important;
  inset:0 !important;
  background:rgba(5,10,18,0.82) !important;
  backdrop-filter: blur(8px) !important;
}
.gallery-lightbox-dialog{
  position:relative !important;
  z-index:1 !important;
  width:min(94vw, 1280px) !important;
  max-height:90vh !important;
  padding:18px !important;
  border-radius:22px !important;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.08), transparent 30%),
    var(--glass) !important;
  border:1px solid var(--soft-border) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 12px 34px rgba(0,0,0,0.22),
    0 0 24px rgba(77,163,255,0.08) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
}
.gallery-lightbox-dialog img{
  width:100% !important;
  max-height:calc(90vh - 36px) !important;
  object-fit:contain !important;
  display:block !important;
  border-radius:14px !important;
}
.gallery-lightbox-close{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  width:40px !important;
  height:40px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,0.12) !important;
  background:rgba(10,12,20,0.88) !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:1 !important;
  cursor:pointer !important;
  z-index:2 !important;
}

@media (max-width: 1200px){
  .gallery-grid{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
}
@media (max-width: 800px){
  .gallery-grid{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
}
@media (max-width: 560px){
  .gallery-grid{grid-template-columns:1fr !important;}
}


/* Fleet showcase */
.fleet-section{
  padding-top: 10px;
}
.fleet-heading{
  margin-bottom: 16px;
}
.fleet-groups{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.fleet-group{
  padding:18px;
  overflow:hidden;
}
.fleet-group-top{
  margin-bottom:14px;
}
.fleet-group-top h3{
  margin-bottom:6px;
  font-size:clamp(18px,1.7vw,24px);
}
.fleet-group-top p{
  margin:0;
  color:var(--muted);
  max-width:920px;
}
.fleet-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  color:#fff;
  font:700 12px/1 'Rajdhani', sans-serif;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.fleet-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.fleet-card{
  position:relative;
  min-height:164px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(77,163,255,0.09), rgba(255,64,64,0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 26px rgba(0,0,0,0.18);
}
.fleet-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, rgba(77,163,255,0.9), rgba(255,64,64,0.85));
  opacity:.95;
}
.fleet-role{
  display:inline-block;
  margin-bottom:10px;
  color:var(--cyan);
  font:700 12px/1 'Rajdhani', sans-serif;
  letter-spacing:1.7px;
  text-transform:uppercase;
}
.fleet-card h4{
  margin:0 0 8px;
  font-size:1rem;
  line-height:1.2;
}
.fleet-card p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.45;
}
.fleet-sasp{
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.07), transparent 30%),
    var(--glass);
}
.fleet-lspd{
  background:
    radial-gradient(circle at top left, rgba(255,64,64,0.11), transparent 34%),
    radial-gradient(circle at bottom right, rgba(77,163,255,0.09), transparent 30%),
    var(--glass);
}
.fleet-bcso{
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.11), transparent 30%),
    var(--glass);
}
@media (max-width: 1100px){
  .fleet-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  .fleet-card-grid{grid-template-columns:1fr;}
}


/* Fleet page */
.fleet-hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(7,16,29,0.40), rgba(7,16,29,0.60)),
    radial-gradient(circle at top left, rgba(77,163,255,0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,64,64,0.14), transparent 32%),
    var(--bg-2);
  overflow:hidden;
}
.fleet-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0.16), transparent 48%, rgba(0,0,0,0.14));
  pointer-events:none;
}
.fleet-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:22px;
  align-items:center;
  min-height:42vh;
}
.fleet-hero-kicker{
  display:inline-block;
  margin-bottom:8px;
  color:var(--cyan);
  font:700 13px/1 'Rajdhani', sans-serif;
  letter-spacing:2px;
  text-transform:uppercase;
}
.fleet-headline{margin-bottom:10px}
.fleet-hero-lead{max-width:900px}
.fleet-hero-panel{padding:18px}
.fleet-page-section{padding-top:18px}
.fleet-groups-page{gap:14px}
.fleet-card-grid-page{grid-template-columns:repeat(3,minmax(0,1fr))}
.fleet-group{padding:16px}
.fleet-card{min-height:148px}
.fleet-card h4{font-size:1.02rem; min-height:44px}

.fleet-sasp{
  background:
    radial-gradient(circle at top left, rgba(86,60,30,0.28), transparent 38%),
    radial-gradient(circle at bottom right, rgba(18,14,12,0.32), transparent 34%),
    linear-gradient(180deg, rgba(41,28,18,0.34), rgba(20,16,14,0.34)),
    var(--glass);
  border-color: rgba(150,111,51,0.26);
}
.fleet-sasp .fleet-label,
.fleet-sasp .fleet-card{
  border-color: rgba(150,111,51,0.28);
}
.fleet-sasp .fleet-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(115,84,48,0.22), rgba(18,18,18,0.28));
}
.fleet-sasp .fleet-card:before{background:linear-gradient(90deg, rgba(168,124,59,0.95), rgba(42,31,23,0.95));}
.fleet-sasp .fleet-role{color:#d8b27a}

.fleet-lspd{
  background:
    radial-gradient(circle at top left, rgba(255,64,64,0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(77,163,255,0.16), transparent 34%),
    linear-gradient(180deg, rgba(18,22,40,0.24), rgba(25,18,24,0.26)),
    var(--glass);
  border-color: rgba(118,162,255,0.22);
}
.fleet-lspd .fleet-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(255,70,70,0.18), rgba(77,163,255,0.16));
}
.fleet-lspd .fleet-card:before{background:linear-gradient(90deg, rgba(255,72,72,0.95), rgba(77,163,255,0.95));}
.fleet-lspd .fleet-role{color:#98c4ff}

.fleet-bcso{
  background:
    radial-gradient(circle at top left, rgba(194,158,102,0.22), transparent 36%),
    radial-gradient(circle at bottom right, rgba(110,76,46,0.24), transparent 34%),
    linear-gradient(180deg, rgba(51,37,24,0.18), rgba(32,24,18,0.24)),
    var(--glass);
  border-color: rgba(182,146,95,0.26);
}
.fleet-bcso .fleet-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(198,167,116,0.18), rgba(96,67,42,0.22));
}
.fleet-bcso .fleet-card:before{background:linear-gradient(90deg, rgba(212,181,123,0.95), rgba(117,80,48,0.95));}
.fleet-bcso .fleet-role{color:#f0d6ad}

@media (max-width: 980px){
  .fleet-hero-grid{grid-template-columns:1fr; min-height:auto;}
}
@media (max-width: 1100px){
  .fleet-card-grid-page{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  .fleet-card-grid-page{grid-template-columns:1fr;}
  .fleet-card h4{min-height:0}
}


/* Fleet page hero revisions */
.intro-section-label{
  font:800 clamp(18px, 3vw, 30px)/1 'Orbitron', sans-serif;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-top:4px;
}
.fleet-hero{
  background:
    linear-gradient(180deg, rgba(7,16,29,0.42), rgba(7,16,29,0.68)),
    linear-gradient(90deg, rgba(6,12,20,0.34), rgba(6,12,20,0.14)),
    url('assets/fleetbg.png') center/cover no-repeat;
}
.fleet-hero::before{
  background:linear-gradient(90deg, rgba(0,0,0,0.24), rgba(0,0,0,0.08), rgba(0,0,0,0.20));
}
.fleet-hero-grid-centered{
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
  min-height:40vh;
}
.fleet-hero-copy-centered{
  max-width:940px;
  margin:0 auto;
}
.fleet-hero-copy-centered .fleet-hero-lead{
  margin-left:auto;
  margin-right:auto;
}


/* Police light glow for home watch video button */
.watch-video-btn{
  position:relative;
  overflow:visible;
  isolation:isolate;
}
.watch-video-btn::before{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:18px;
  background:conic-gradient(from 0deg, rgba(255,64,64,0.0) 0deg, rgba(255,64,64,0.95) 42deg, rgba(255,64,64,0.0) 84deg, rgba(77,163,255,0.0) 180deg, rgba(77,163,255,0.95) 222deg, rgba(77,163,255,0.0) 264deg, rgba(255,64,64,0.0) 360deg);
  filter:blur(10px);
  opacity:.95;
  z-index:-1;
  animation:policeGlowSpin 2.4s linear infinite;
  pointer-events:none;
}
.watch-video-btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:16px;
  background:conic-gradient(from 180deg, rgba(255,78,78,.95), rgba(255,78,78,0) 22%, rgba(77,163,255,0) 50%, rgba(77,163,255,.95) 72%, rgba(77,163,255,0) 100%);
  opacity:.9;
  z-index:-1;
  animation:policeGlowSpinReverse 3s linear infinite;
  pointer-events:none;
}
@keyframes policeGlowSpin{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}
@keyframes policeGlowSpinReverse{
  0%{transform:rotate(360deg)}
  100%{transform:rotate(0deg)}
}

/* Fleet intro customization */
.fleet-intro-wordmark{
  font-size:clamp(34px, 6vw, 62px);
  letter-spacing:3px;
}
.fleet-page .intro-section-label{
  display:none;
}


/* Fleet hero extended lower to show more background */
.fleet-hero-grid-centered{
  min-height:52vh;
  padding-top:18px;
  padding-bottom:18px;
}
.fleet-hero{
  background-position:center 38%;
}
@media (max-width: 980px){
  .fleet-hero-grid-centered{min-height:50vh;}
  .fleet-hero{background-position:center 42%;}
}

/* Tight police-light edge glow for watch video button */
.watch-video-btn{
  position:relative;
  isolation:isolate;
  border-radius:14px;
}
.watch-video-btn::before,
.watch-video-btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
}
.watch-video-btn::before{
  padding:2px;
  background:conic-gradient(from 0deg, rgba(255,70,70,0) 0deg, rgba(255,70,70,.98) 52deg, rgba(255,70,70,0) 104deg, rgba(77,163,255,0) 180deg, rgba(77,163,255,.98) 232deg, rgba(77,163,255,0) 284deg, rgba(255,70,70,0) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:policeEdgeSpin 2.2s linear infinite;
  z-index:-1;
}
.watch-video-btn::after{
  inset:-1px;
  padding:2px;
  background:conic-gradient(from 180deg, rgba(77,163,255,0) 0deg, rgba(77,163,255,.7) 58deg, rgba(77,163,255,0) 110deg, rgba(255,70,70,0) 180deg, rgba(255,70,70,.7) 238deg, rgba(255,70,70,0) 290deg, rgba(77,163,255,0) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  filter:blur(4px);
  opacity:.95;
  animation:policeEdgeSpinReverse 3s linear infinite;
  z-index:-2;
}
@keyframes policeEdgeSpin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@keyframes policeEdgeSpinReverse{
  from{transform:rotate(360deg)}
  to{transform:rotate(0deg)}
}


/* Remove watch video glow entirely */
.watch-video-btn{
  isolation:auto !important;
  overflow:hidden !important;
}
.watch-video-btn::before,
.watch-video-btn::after{
  content:none !important;
  display:none !important;
}

/* Right-side red subpage navigation */
.nav-subpage-start{margin-left:auto;}
.nav-subpage-link{
  color:#ff5a5a !important;
  text-shadow:0 0 14px rgba(255,90,90,0.18);
}
.nav-subpage-link:hover,
.nav-subpage-link.active-nav{
  color:#ff7b7b !important;
  background:rgba(255,90,90,0.12) !important;
}

/* Assets page */
.assets-intro-wordmark{
  font-size:clamp(34px, 6vw, 60px);
  letter-spacing:3px;
}
.assets-hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(7,16,29,0.44), rgba(7,16,29,0.70)),
    linear-gradient(90deg, rgba(6,12,20,0.34), rgba(6,12,20,0.16)),
    url('assets/tlrpassets.png') center/cover no-repeat;
  overflow:hidden;
}
.assets-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0.24), rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  pointer-events:none;
}
.assets-hero-grid{
  position:relative;
  z-index:1;
  min-height:54vh;
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  align-items:center;
  text-align:center;
}
.assets-hero-copy{max-width:980px;}
.assets-kicker{
  display:inline-block;
  margin-bottom:8px;
  color:var(--cyan);
  font:700 13px/1 'Rajdhani', sans-serif;
  letter-spacing:2px;
  text-transform:uppercase;
}
.assets-headline{margin-bottom:10px;}
.assets-hero-lead{max-width:930px; margin:0 auto;}
.assets-overview-section{padding-top:16px;}
.assets-overview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.assets-overview-card,.assets-category,.assets-feature-card{
  opacity:1;
  transform:none;
}
.assets-overview-card{padding:18px;}
.assets-pill,.assets-label{
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  color:#fff;
  font:700 12px/1 'Rajdhani', sans-serif;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.assets-category-grid{display:grid; gap:16px;}
.assets-category{padding:18px;}
.assets-category-top{margin-bottom:14px;}
.assets-category-top p{margin:0; color:var(--muted); max-width:900px;}
.assets-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.assets-feature-card{
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(77,163,255,0.10), rgba(255,64,64,0.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 26px rgba(0,0,0,0.18);
}
.assets-feature-card h4{margin:0 0 8px; font-size:1rem; line-height:1.2;}
.assets-feature-card p{margin:0; color:var(--muted); font-size:.95rem; line-height:1.5;}

@media (max-width:980px){
  .assets-overview-grid{grid-template-columns:1fr;}
  .assets-feature-grid{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .nav-subpage-start{margin-left:0;}
  .assets-hero-grid{min-height:48vh;}
}


/* Site music player */
.site-audio-player{
  position:fixed;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  z-index:1400;
}
.site-audio-card{
  width:88px;
  min-height:360px;
  padding:18px 12px;
  border-radius:999px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:
    radial-gradient(circle at top, rgba(77,163,255,0.18), transparent 34%),
    radial-gradient(circle at bottom, rgba(255,64,64,0.14), transparent 30%),
    rgba(10,18,32,0.78);
  backdrop-filter: blur(16px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 32px rgba(0,0,0,0.26),
    0 0 24px rgba(77,163,255,0.10);
}
.site-audio-text{
  text-align:center;
  font-family:'Rajdhani', sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.1px;
  font-size:.82rem;
  line-height:1.25;
  color:var(--text);
}
.site-audio-controls{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  align-items:center;
}
.site-audio-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  color:#fff;
  font-size:1rem;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.site-audio-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.12);
  box-shadow:0 0 16px rgba(77,163,255,0.14);
}
.site-audio-volume-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.site-audio-volume-icon{
  font-size:.95rem;
}
.site-audio-volume{
  -webkit-appearance: slider-vertical;
  writing-mode: bt-lr;
  width:30px;
  height:112px;
  cursor:pointer;
  background:transparent;
}
.site-audio-element{display:none}
body.has-site-audio .site-header{
  padding-left:10px;
}
@media (max-width: 980px){
  .site-audio-player{
    left:12px;
    top:auto;
    bottom:18px;
    transform:none;
  }
  .site-audio-card{
    width:78px;
    min-height:320px;
    padding:16px 10px;
  }
  .site-audio-text{font-size:.76rem}
}
@media (max-width: 640px){
  .site-audio-player{
    left:50%;
    right:auto;
    bottom:14px;
    transform:translateX(-50%);
  }
  .site-audio-card{
    width:min(94vw, 360px);
    min-height:auto;
    border-radius:28px;
    padding:14px 16px;
    flex-direction:row;
    justify-content:space-between;
    gap:12px;
  }
  .site-audio-text{
    flex:1;
    text-align:left;
    font-size:.78rem;
  }
  .site-audio-controls{
    flex-direction:row;
    width:auto;
  }
  .site-audio-volume-wrap{
    flex-direction:row;
  }
  .site-audio-volume{
    -webkit-appearance:auto;
    writing-mode:horizontal-tb;
    width:96px;
    height:auto;
  }
}


/* site audio player refresh */
.site-audio-player{
  position:fixed;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:1400;
}
.site-audio-card{
  width:96px;
  min-height:380px;
  padding:18px 12px;
  border-radius:999px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:
    radial-gradient(circle at top, rgba(77,163,255,0.18), transparent 34%),
    radial-gradient(circle at bottom, rgba(255,64,64,0.14), transparent 30%),
    rgba(10,18,32,0.82);
}
.site-audio-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  width:100%;
}
.site-audio-eyebrow{
  margin:0;
  font-family:'Rajdhani', sans-serif;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--cyan);
  writing-mode:vertical-rl;
  transform:rotate(180deg);
}
.site-audio-text{
  margin:0;
  text-align:center;
  font-family:'Rajdhani', sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.8rem;
  line-height:1.18;
  color:var(--text);
  max-width:66px;
}
.site-audio-track{
  margin:0;
  text-align:center;
  font-family:'Inter', sans-serif;
  font-size:.68rem;
  line-height:1.25;
  color:var(--muted);
  max-width:66px;
  word-break:break-word;
}
.site-audio-controls{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  align-items:center;
}
.site-audio-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  color:#fff;
  font-size:1rem;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.site-audio-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,0.12);box-shadow:0 0 16px rgba(77,163,255,0.14);}
.site-audio-toggle{font-size:1.08rem;}
.site-audio-volume-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;}
.site-audio-volume-icon{font-size:.95rem;}
.site-audio-volume{-webkit-appearance: slider-vertical;writing-mode: bt-lr;width:30px;height:112px;cursor:pointer;background:transparent;}
.site-audio-element{display:none}
body.has-site-audio .site-header{padding-left:10px;}
@media (max-width: 980px){
  .site-audio-player{left:12px;top:auto;bottom:18px;transform:none;}
  .site-audio-card{width:82px;min-height:340px;padding:16px 10px;}
  .site-audio-text,.site-audio-track{max-width:58px;}
}
@media (max-width: 640px){
  .site-audio-player{left:50%;right:auto;bottom:14px;transform:translateX(-50%);top:auto;}
  .site-audio-card{width:min(94vw, 390px);min-height:auto;border-radius:28px;padding:14px 16px;flex-direction:row;justify-content:space-between;gap:14px;}
  .site-audio-copy{align-items:flex-start;flex:1;}
  .site-audio-eyebrow{writing-mode:horizontal-tb;transform:none;font-size:.68rem;}
  .site-audio-text,.site-audio-track{max-width:none;text-align:left;}
  .site-audio-controls{flex-direction:row;width:auto;}
  .site-audio-volume-wrap{flex-direction:row;}
  .site-audio-volume{-webkit-appearance:auto;writing-mode:horizontal-tb;width:96px;height:auto;}
}


/* Civilian life section */
.civlife-grid{
  grid-template-columns:.95fr 1.3fr;
  align-items:center;
}
.civlife-image-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100%;
}
.civlife-image{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:16px;
  opacity:.98;
}
.civlife-copy .checklist{
  margin-top:14px;
}
@media (max-width: 980px){
  .civlife-grid{
    grid-template-columns:1fr;
  }
}
