:root{
  --ink:#22262a;
  --surface:#2c3136;
  --surface-2:#363c42;
  --gi-green:#37493f;
  --gi-green-light:#4d6559;
  --gold:#c89b3c;
  --gold-light:#e0b95c;
  --text:#eeebe3;
  --text-muted:#9b9e96;
  --line:rgba(238,235,227,0.16);
  --belt-white:#f2f0eb;
  --belt-blue:#2f6fbb;
  --belt-purple:#6b4c9a;
  --belt-brown:#6b4226;
  --belt-black:#191919;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--ink);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Oswald', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.02em;
  line-height:1.1;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1120px; margin:0 auto; padding:0 24px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
}

/* ---------- Belt stripe signature ---------- */
.belt-stripe{display:flex; height:6px; width:100%;}
.belt-stripe span{flex:1;}
.belt-stripe .b1{background:var(--belt-white);}
.belt-stripe .b2{background:var(--belt-blue);}
.belt-stripe .b3{background:var(--belt-purple);}
.belt-stripe .b4{background:var(--belt-brown);}
.belt-stripe .b5{background:var(--belt-black);}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(34,38,42,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Oswald', sans-serif;
  font-size:19px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.03em;
}
.brand img{height:30px; width:auto; filter:invert(1); display:block;}
.footer-logo img{height:40px; width:auto; filter:invert(1); display:block; margin-bottom:14px;}
.footer-mark{width:44px; height:44px; filter:invert(1); display:block; margin-bottom:14px;}
.brand-mark{
  width:34px; height:34px; border-radius:4px;
  background:var(--gi-green);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--gold);
  color:var(--gold);
  font-family:'Oswald',sans-serif;
  font-weight:700; font-size:15px;
}
nav.links{display:flex; gap:28px; align-items:center;}
nav.links a{font-size:14px; font-weight:500; color:var(--text-muted); transition:color .15s ease;}
nav.links a:hover, nav.links a.active{color:var(--gold-light);}

/* ---------- Programs dropdown ---------- */
.nav-dropdown{position:relative;}
.nav-dropdown-toggle{
  display:flex; align-items:center; gap:6px;
  background:none; border:none; cursor:pointer;
  font-size:14px; font-weight:500; color:var(--text-muted);
  font-family:'Inter', sans-serif; padding:0; transition:color .15s ease;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active{color:var(--gold-light);}
.nav-dropdown-toggle .caret{font-size:9px; margin-top:1px;}
.nav-dropdown-menu{
  display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  padding-top:14px; margin-top:0;
  z-index:60;
}
.nav-dropdown-menu-inner{
  background:var(--surface); border:1px solid var(--line); border-radius:6px;
  padding:8px; min-width:230px; box-shadow:0 12px 28px rgba(0,0,0,0.35);
}
.nav-dropdown.open .nav-dropdown-menu{display:block;}
.nav-dropdown-menu a{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:9px 10px; border-radius:4px; font-size:13.5px; color:var(--text);
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active{background:var(--surface-2); color:var(--gold-light);}
.nav-dropdown-menu a .menu-tag{font-size:11px; color:var(--text-muted); font-family:'IBM Plex Mono',monospace;}
.nav-dropdown-menu a:first-child{border-bottom:1px solid var(--line); margin-bottom:6px; padding-bottom:11px; font-weight:600;}
@media(hover:hover){
  .nav-dropdown:hover .nav-dropdown-menu{display:block;}
}
@media(max-width:859px){
  .nav-dropdown-menu{position:static; transform:none; padding-top:0;}
  .nav-dropdown-menu-inner{box-shadow:none; border:none; background:none; padding:4px 0 4px 14px; min-width:0;}
  .nav-dropdown.open .nav-dropdown-menu{display:flex; flex-direction:column;}
  .nav-dropdown-toggle{width:100%; justify-content:space-between; padding:2px 0;}
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 26px;
  font-family:'Oswald', sans-serif;
  font-size:14px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.05em;
  border-radius:2px; cursor:pointer; border:1px solid transparent;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-gold{background:var(--gold); color:var(--ink);}
.btn-gold:hover{background:var(--gold-light);}
.btn-outline{border-color:var(--text-muted); color:var(--text);}
.btn-outline:hover{border-color:var(--gold); color:var(--gold-light);}
.nav-cta{display:none;}
@media(min-width:860px){.nav-cta{display:inline-flex;}}
.menu-toggle{display:none; background:none; border:none; color:var(--text); font-size:26px; cursor:pointer;}
@media(max-width:859px){
  nav.links{display:none;}
  nav.links.mobile-open{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background:var(--surface); padding:20px 24px; gap:18px; border-bottom:1px solid var(--line);
  }
  .menu-toggle{display:block;}
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding:64px 0 48px;
  background:
    linear-gradient(180deg, rgba(34,38,42,0.78), rgba(30,34,38,0.85)),
    url('assets/hero-bg.jpg');
  background-size:cover;
  background-position:center 30%;
  background-attachment:fixed;
  border-bottom:1px solid var(--line);
}
.page-hero h1{font-size:clamp(32px,5vw,50px); margin:12px 0 16px;}
.page-hero p{color:var(--text-muted); max-width:60ch; font-size:16px;}
.breadcrumb{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-muted); margin-bottom:14px;}
.breadcrumb a:hover{color:var(--gold-light);}

/* ---------- Hero (home) ---------- */
.hero{
  position:relative; padding:96px 0 80px;
  background:
    linear-gradient(180deg, rgba(34,38,42,0.80), rgba(30,34,38,0.88)),
    url('assets/hero-bg.jpg');
  background-size:cover;
  background-position:center 30%;
  background-attachment:fixed;
  border-bottom:1px solid var(--line);
}
.hero-grid{display:grid; grid-template-columns:1fr; gap:56px; align-items:start;}
@media(min-width:920px){.hero-grid{grid-template-columns:1.15fr 0.85fr;}}
.hero h1{font-size:clamp(38px, 5.4vw, 62px); margin:14px 0 22px;}
.hero h1 em{color:var(--gold); font-style:normal;}
.hero p.lead{font-size:17px; color:var(--text-muted); max-width:52ch; margin-bottom:30px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px;}
.trust-row{display:flex; gap:28px; flex-wrap:wrap; font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--text-muted); letter-spacing:0.03em;}
.trust-row strong{color:var(--gold-light); font-weight:500;}

/* lead form card */
.lead-card{background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:28px;}
.lead-card h3{font-size:18px; margin-bottom:6px;}
.lead-card p{font-size:13px; color:var(--text-muted); margin-bottom:18px;}
.field{margin-bottom:14px;}
.field label{display:block; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); margin-bottom:6px; font-family:'IBM Plex Mono',monospace;}
.field input, .field select, .field textarea{
  width:100%; padding:11px 12px; background:var(--surface-2); border:1px solid var(--line);
  color:var(--text); border-radius:3px; font-size:14px; font-family:'Inter',sans-serif;
}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--gold);}
.lead-card .btn{width:100%; margin-top:6px;}
.fine-print{font-size:11px; color:var(--text-muted); margin-top:12px; line-height:1.5;}
.hp-field{position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden;}

/* ---------- Section basics ---------- */
section{padding:88px 0;}
.section-head{max-width:640px; margin-bottom:48px;}
.section-head h2{font-size:clamp(28px,3.6vw,38px); margin-top:10px;}
.section-head p{color:var(--text-muted); margin-top:14px; font-size:16px;}

/* ---------- About / video ---------- */
.about-grid{display:grid; grid-template-columns:1fr; gap:48px; align-items:center;}
@media(min-width:900px){.about-grid{grid-template-columns:1fr 1fr;}}
.about-grid p{color:var(--text-muted); margin-bottom:16px;}
.video-frame{position:relative; border-radius:6px; overflow:hidden; border:1px solid var(--line); aspect-ratio:16/9; background:#000;}
.video-frame iframe{width:100%; height:100%; border:0;}
.program-photo{
  border-radius:6px; overflow:hidden; border:1px solid var(--line);
  max-width:520px; margin:0 auto 48px;
}
.program-photo img{width:100%; height:auto; display:block;}
.program-photo-side{
  border-radius:6px; overflow:hidden; border:1px solid var(--line);
  align-self:start;
}
.program-photo-side img{width:100%; height:100%; object-fit:cover; display:block;}
.sched-pill-row{display:grid; grid-template-columns:1fr; gap:10px;}
@media(min-width:640px){.sched-pill-row{grid-template-columns:1fr 1fr;}}
@media(min-width:1040px){.sched-pill-row{grid-template-columns:repeat(3,1fr);}}

/* ---------- Belt path (signature element) ---------- */
.belt-path{margin:0 0 56px; border:1px solid var(--line); border-radius:6px; background:var(--surface); padding:28px 28px 22px;}
.belt-path-label{font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:18px;}
.belt-track{display:grid; grid-template-columns:repeat(5, 1fr); gap:2px; border-radius:3px; overflow:hidden; margin-bottom:14px; border:1px solid var(--line);}
.belt-seg{height:10px;}
.belt-seg.s1{background:var(--belt-white);}
.belt-seg.s2{background:var(--belt-blue);}
.belt-seg.s3{background:var(--belt-purple);}
.belt-seg.s4{background:var(--belt-brown);}
.belt-seg.s5{background:var(--belt-black);}
.belt-names{display:grid; grid-template-columns:repeat(5,1fr); gap:2px; font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--text-muted);}
.belt-names span{text-align:left;}
@media(max-width:700px){.belt-names{font-size:9.5px;}}

/* ---------- Kids belt lineage strip ---------- */
.kids-belt-track{
  display:grid; grid-template-columns:repeat(11, 1fr); gap:2px;
  border-radius:3px; overflow:hidden; margin-bottom:16px; border:1px solid var(--line);
}
.kbelt{height:14px;}
.kbelt.white{background:var(--belt-white);}
.kbelt.grey{background:#8a8d90;}
.kbelt.yellow{background:#e8c93f;}
.kbelt.orange{background:#e0793c;}
.kbelt.green{background:#4a9b5e;}
.kbelt.white-yellow{background:linear-gradient(90deg, var(--belt-white) 50%, #e8c93f 50%);}
.kbelt.white-orange{background:linear-gradient(90deg, var(--belt-white) 50%, #e0793c 50%);}
.kbelt.yellow-orange{background:linear-gradient(90deg, #e8c93f 50%, #e0793c 50%);}
.kbelt.white-green{background:linear-gradient(90deg, var(--belt-white) 50%, #4a9b5e 50%);}
.kbelt.yellow-green{background:linear-gradient(90deg, #e8c93f 50%, #4a9b5e 50%);}
.kbelt.orange-green{background:linear-gradient(90deg, #e0793c 50%, #4a9b5e 50%);}
.kids-belt-list{display:flex; flex-wrap:wrap; gap:8px 18px; margin:0; padding:0;}
.kids-belt-list li{
  display:flex; align-items:center; gap:7px; list-style:none;
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-muted);
}
.kids-belt-list .swatch{
  width:11px; height:11px; border-radius:2px; flex-shrink:0;
  border:1px solid rgba(238,235,227,0.18);
}

/* ---------- Program cards ---------- */
.programs-grid{display:grid; grid-template-columns:1fr; gap:20px;}
@media(min-width:700px){.programs-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:1040px){.programs-grid{grid-template-columns:repeat(3,1fr);}}
.card{
  display:block; background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:26px; transition:border-color .15s ease, transform .15s ease;
}
.card:hover{border-color:rgba(200,155,60,0.4); transform:translateY(-2px);}
.card.card-photo{
  position:relative; min-height:280px; display:flex; flex-direction:column; justify-content:flex-end;
  background-size:cover; background-position:center;
}
.card.card-photo::before{
  content:""; position:absolute; inset:0; border-radius:6px;
  background:linear-gradient(180deg, rgba(20,23,26,0.15) 0%, rgba(20,23,26,0.55) 55%, rgba(20,23,26,0.92) 100%);
}
.card.card-photo > *{position:relative; z-index:1;}
.card.card-photo h3{color:#fff;}
.card.card-photo p{color:rgba(255,255,255,0.82);}
.card.card-photo .tag{
  align-self:flex-start;
  background:rgba(20,23,26,0.75);
  color:#fff;
  border:1px solid rgba(255,255,255,0.35);
  backdrop-filter:blur(2px);
}
.card .tag{display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; padding:4px 9px; border-radius:2px; margin-bottom:14px;}
.tag-kids{background:rgba(47,111,187,0.16); color:#8fb8e8;}
.tag-adult{background:rgba(200,155,60,0.16); color:var(--gold-light);}
.tag-women{background:rgba(214,114,28,0.18); color:#e08a3f;}
.tag-master{background:rgba(180,90,40,0.18); color:#e0955f;}
.tag-private{background:rgba(90,160,150,0.18); color:#7ecdc0;}
.card h3{font-size:19px; margin-bottom:10px;}
.card p{color:var(--text-muted); font-size:14.5px; margin-bottom:16px;}
.card a.learn{font-size:13px; font-weight:600; color:var(--gold-light); display:inline-flex; align-items:center; gap:6px;}
.card a.learn:hover{color:var(--gold);}

/* ---------- Why choose us ---------- */
.why-wrap{display:grid; grid-template-columns:1fr; gap:48px;}
@media(min-width:900px){.why-wrap{grid-template-columns:0.9fr 1.1fr;}}
.why-wrap p{color:var(--text-muted); margin-bottom:16px;}
.why-points{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.why-point{border:1px solid var(--line); border-radius:6px; padding:18px; background:var(--surface);}
.why-point .num{font-family:'IBM Plex Mono',monospace; color:var(--gold); font-size:12px; margin-bottom:8px;}
.why-point h4{font-size:14.5px; text-transform:none; letter-spacing:0; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:6px;}
.why-point p{font-size:13px; margin:0;}

/* ---------- Quick action tiles ---------- */
.qa-grid{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:640px){.qa-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:1040px){.qa-grid{grid-template-columns:repeat(4,1fr);}}
.qa-card{
  display:block; background:var(--surface); border:1px solid var(--line); border-radius:6px;
  padding:24px 22px; transition:transform .15s ease, border-color .15s ease;
}
.qa-card:hover{transform:translateY(-2px); border-color:rgba(200,155,60,0.4);}
button.qa-card{
  width:100%; background:var(--surface); color:var(--text);
  font-family:'Inter', sans-serif; text-align:left; cursor:pointer;
  appearance:none; -webkit-appearance:none;
}
.qa-num{font-family:'IBM Plex Mono',monospace; color:var(--gold); font-size:12px; margin-bottom:12px;}
.qa-card h4{font-size:16px; margin-bottom:8px; font-family:'Inter',sans-serif; font-weight:600; text-transform:none; letter-spacing:0; color:var(--text);}
.qa-card p{font-size:13px; color:var(--text-muted); margin-bottom:14px; line-height:1.6;}
.qa-card .qa-link{font-size:12.5px; font-weight:600; color:var(--gold-light); display:inline-flex; align-items:center; gap:4px;}
.qa-card:hover .qa-link{color:var(--gold);}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:1fr; gap:18px;}
@media(min-width:760px){.testi-grid{grid-template-columns:1fr 1fr;}}
.testi{background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:24px;}
.stars{color:var(--gold); font-size:13px; margin-bottom:12px; letter-spacing:2px;}
.testi p.quote{color:var(--text); font-size:14.5px; margin-bottom:16px;}
.testi .who{display:flex; align-items:center; gap:10px;}
.avatar{width:32px; height:32px; border-radius:50%; background:var(--gi-green); display:flex; align-items:center; justify-content:center; font-family:'Oswald',sans-serif; font-size:13px; color:var(--gold-light);}
.who .name{font-size:13px; font-weight:600;}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  width:100%; text-align:left; background:none; border:none; color:var(--text);
  padding:20px 0; font-family:'Oswald',sans-serif; font-size:16px; text-transform:none;
  letter-spacing:0; cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  gap:20px; font-weight:500;
}
.faq-q .plus{color:var(--gold); font-size:20px; font-family:'Inter',sans-serif; transition:transform .2s ease; flex-shrink:0;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease; color:var(--text-muted); font-size:14.5px;}
.faq-a-inner{padding-bottom:20px;}

/* ---------- Class pill w/ booking ---------- */
.class-pill{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:8px; padding:8px 10px; border-radius:4px;
  background:var(--surface-2); border-left:2px solid var(--gold);
}
.class-pill:last-child{margin-bottom:0;}
.class-pill .pill-info{display:flex; flex-direction:column; min-width:0;}
.class-pill .cname{font-weight:600; font-size:13px;}
.class-pill .ctime{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-muted);}
.class-pill.kids{border-left-color:#8fb8e8;}
.class-pill.adult{border-left-color:var(--gold);}
.class-pill.women{border-left-color:#D6721C;}
.class-pill.master{border-left-color:#e0955f;}
.class-pill.mat-munchkins{border-left-color:#27F2F5;}
.class-pill.little-champs{border-left-color:#C8D93F;}
.class-pill.jr-grapplers{border-left-color:#B627E6;}
.class-pill.combatives{border-left-color:#0015FF;}
.class-pill.master-cycle{border-left-color:#FF0022;}
.class-pill.reflex-dev{border-left-color:#0015FF;}
.class-pill.black-belt-club{border-left-color:#000000;}
.class-pill.private{border-left-color:#7ecdc0;}
.btn-book{
  flex-shrink:0; font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase;
  letter-spacing:0.05em; padding:7px 11px; border-radius:3px; border:1px solid var(--gold);
  color:var(--gold-light); background:none; cursor:pointer; transition:background .15s ease, color .15s ease;
}
.btn-book:hover{background:var(--gold); color:var(--ink);}
.btn-book-disabled{
  flex-shrink:0; font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase;
  letter-spacing:0.05em; padding:7px 11px; color:var(--text-muted);
}
.class-pill-wide{
  grid-column:1 / -1;
  padding:22px 24px;
}
.class-pill-wide .cname{font-size:16px;}
.class-pill-wide .ctime{font-size:13.5px; margin-top:3px;}
.class-pill-wide .btn-book{font-size:12px; padding:10px 18px;}

/* ---------- Trial info modal ---------- */
.trial-modal-overlay{
  display:none; position:fixed; inset:0; background:rgba(10,12,13,0.72);
  z-index:200; align-items:center; justify-content:center; padding:20px;
  overflow-y:auto;
}
.trial-modal-overlay.open{display:flex;}
.trial-modal{
  background:var(--surface); border:1px solid var(--line); border-radius:8px;
  padding:32px; max-width:520px; width:100%; position:relative;
  max-height:90vh; overflow-y:auto;
}
.trial-modal-close{
  position:absolute; top:14px; right:14px; background:none; border:none;
  color:var(--text-muted); font-size:24px; line-height:1; cursor:pointer;
}
.trial-modal-close:hover{color:var(--gold);}
.trial-modal h3{font-size:24px; margin:10px 0 16px;}
.trial-modal p{color:var(--text-muted); font-size:14.5px; line-height:1.7; margin-bottom:14px;}
.trial-modal ul{color:var(--text-muted); font-size:14.5px; line-height:1.8; padding-left:20px; margin-bottom:16px;}
.trial-modal ul li{margin-bottom:4px;}
.trial-modal .btn{width:100%; margin-top:8px;}

.contact-grid{display:grid; grid-template-columns:1fr; gap:32px;}
@media(min-width:900px){.contact-grid{grid-template-columns:1fr 1fr;}}
.map-frame{border:1px solid var(--line); border-radius:6px; overflow:hidden; height:320px;}
.map-frame iframe{width:100%; height:100%; border:0; filter:grayscale(0.3) contrast(1.05); display:block;}
.contact-info .row{display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid var(--line);}
.contact-info .row:last-child{border:none;}
.contact-info .row .ic{width:36px; height:36px; border-radius:50%; background:var(--surface-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--gold); font-size:15px; border:1px solid var(--line);}
.contact-info .label{font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-muted); font-family:'IBM Plex Mono',monospace; margin-bottom:4px;}
.contact-info .value{font-size:15px; font-weight:500;}

/* ---------- Final CTA ---------- */
.final-cta{text-align:center; background:linear-gradient(180deg, var(--surface), var(--ink)); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.final-cta h2{font-size:clamp(28px,4vw,42px); margin-bottom:16px;}
.final-cta p{color:var(--text-muted); max-width:52ch; margin:0 auto 30px;}

/* ---------- Footer ---------- */
footer{padding:56px 0 32px; font-size:13px; color:var(--text-muted);}
.footer-grid{display:grid; grid-template-columns:1fr; gap:32px; margin-bottom:36px;}
.footer-links-group{display:grid; grid-template-columns:1fr; gap:32px;}
@media(min-width:480px){
  .footer-links-group{grid-template-columns:1fr 1fr; gap:18px;}
}
@media(min-width:760px){
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;}
  .footer-links-group{display:contents;}
}
.footer-grid h5{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--text); margin-bottom:14px;}
.footer-grid ul{list-style:none;}
.footer-grid li{margin-bottom:9px;}
.footer-grid a:hover{color:var(--gold-light);}

/* ---------- Blog ---------- */
.blog-list{display:flex; flex-direction:column; gap:16px;}
.blog-card{
  display:block; background:var(--surface); border:1px solid var(--line); border-radius:6px;
  padding:24px 26px; transition:border-color .15s ease, transform .15s ease;
}
.blog-card:hover{border-color:rgba(200,155,60,0.4); transform:translateY(-2px);}
.blog-card h3{font-size:19px; margin:8px 0 10px;}
.blog-card p{color:var(--text-muted); font-size:14.5px; margin-bottom:14px;}
.article-body{max-width:68ch;}
.article-body p{color:var(--text-muted); font-size:15.5px; line-height:1.8; margin-bottom:18px;}
.article-body h2{font-size:21px; margin:32px 0 14px;}
.article-body ul{color:var(--text-muted); font-size:15.5px; line-height:1.8; padding-left:22px; margin-bottom:18px;}
.article-body ul li{margin-bottom:6px;}
.article-meta{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px;}
.social-row{display:flex; gap:12px; margin-top:16px;}
.social-row a{width:32px; height:32px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px;}
.social-row a:hover{border-color:var(--gold);}
.legal{border-top:1px solid var(--line); padding-top:24px; font-size:12px; line-height:1.7;}
.legal .links{margin-top:10px; display:flex; gap:18px;}

::selection{background:var(--gold); color:var(--ink);}
