:root{
  --black:#000;
  --ink:#111;
  --white:#fff;
  --blue:#11457E;      /* Kalah CZ primary */
  --red:#DF001F;       /* Kalah CZ detail accent (drop for Tactical) */
  --paper:#f4f5f7;
  --line:#e3e5e9;
  --font-display:'Oswald','Arial Narrow',sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --wrap:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--ink);background:var(--white);line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

h1,h2,h3{font-family:var(--font-display);font-weight:600;line-height:1.02;letter-spacing:.01em}

/* buttons */
.btn{display:inline-block;font-family:var(--font-display);font-weight:600;font-size:1rem;
  letter-spacing:.06em;text-transform:uppercase;padding:.95rem 2.1rem;border:2px solid transparent;
  cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.btn--primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn--primary:hover{background:#0d3562;border-color:#0d3562}
.btn--ghost{background:transparent;color:#fff;border-color:#fff}
.btn--ghost:hover{background:#fff;color:var(--black)}
.btn--dark{background:var(--black);color:#fff;border-color:var(--black)}
.btn--dark:hover{background:var(--blue);border-color:var(--blue)}

/* header */
.site-head{position:fixed;top:0;left:0;right:0;z-index:50;background:#0a0a0a;box-shadow:0 1px 0 #1c1c1c}
.site-head.solid{background:#fff;box-shadow:0 1px 0 var(--line)}
.head-in{display:flex;align-items:center;justify-content:space-between;height:160px} /*changed height to 160px*/
.brand{display:flex;align-items:center;gap:14px}
.logo{width:100px;height:100px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  /*background:var(--black)*/;color:#fff;font-family:var(--font-display);font-weight:700;font-size:1.15rem;/*border:2px solid var(--blue)*/}
  /* LOGO SIZE*/
.brand-name{font-family:var(--font-display);font-weight:700;font-size:1.35rem;letter-spacing:.04em;color:#fff}
.solid .brand-name{color:var(--black)}
.logo--dark{display:none}
.solid .logo--light{display:none}
.solid .logo--dark{display:block}
.nav{display:flex;align-items:center;gap:30px}
.nav a{font-family:var(--font-display);font-weight:500;font-size:1.2rem;letter-spacing:.05em;
  text-transform:uppercase;color:#fff;padding:6px 0;position:relative}
.solid .nav a{color:var(--ink)}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--red);
  transform:scaleX(0);transform-origin:left;transition:transform .2s}
.nav a:hover::after,.nav a.active::after{transform:scaleX(1)}
.lang{display:flex;gap:8px;font-family:var(--font-display);font-weight:500;font-size:.95rem;letter-spacing:.05em;color:#fff}
.solid .lang{color:var(--ink)}
.lang a{opacity:.55}
.lang a.on{opacity:1;color:var(--red)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.burger span{width:26px;height:2px;background:#fff;transition:.25s}
.solid .burger span{background:var(--ink)}

/* hero */
.hero{position:relative;min-height:calc(100vh - 160px);margin-top:160px;
  display:flex;align-items:center;color:#fff;
  background:
    linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.5)),
    url('/assets/img/cz/hero.jpg');
  background-size:cover;background-position:center}
  
.hero-in{padding:120px 0 90px;max-width:760px}
.hero h1{font-size:clamp(2.9rem,7.5vw,5.6rem);text-transform:uppercase;font-weight:700}
.hero h1 .r{color:var(--red)}
.hero p{margin:1.5rem 0 2.4rem;font-size:clamp(1.05rem,1.7vw,1.3rem);max-width:52ch;color:#e8e8e8}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}

/* section shell */
.section{padding:96px 0}
.section--paper{background:var(--paper)}
.eyebrow{display:inline-block;width:46px;height:3px;background:var(--red);margin-bottom:20px}
.section h2{font-size:clamp(2rem,4vw,3rem);color:var(--black)}
.lead{font-size:1.15rem;max-width:60ch}

/* about */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:start}
.about-copy p{margin-top:1.1rem;color:#2a2a2a}
.about-media{aspect-ratio:4/5;background:url('/assets/img/cz/about.jpg') center/cover no-repeat;;border-bottom:5px solid var(--red)}

/* principles */
.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:44px;border-top:1px solid var(--line)}
.principle{padding:34px 30px;border-right:1px solid var(--line)}
.principle:last-child{border-right:0}
.principle h3{font-size:1.4rem;color:var(--blue);margin-bottom:.5rem}
.principle p{color:#3a3a3a;font-size:1rem}

/* full-bleed photo statement band */
.band{position:relative;padding:100px 0;color:#fff;text-align:center;
  background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
    linear-gradient(120deg,#0a0a0a,#12233c,#0a0a0a);
  background-size:cover;background-position:center;background-attachment:fixed}
.band h2{font-size:clamp(1.8rem,4vw,2.8rem);text-transform:uppercase;max-width:20ch;margin:0 auto;line-height:1.15}

/* newsletter ribbon */
.ribbon-news{background:var(--blue);color:#fff;padding:60px 0}
.news-in{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.news-txt h2{font-size:1.9rem;text-transform:uppercase}
.news-txt p{opacity:.85;margin-top:.3rem}
.news-form{display:flex;gap:0;min-width:min(420px,100%)}
.news-form input{flex:1;border:0;padding:1rem 1.1rem;font-size:1rem;font-family:var(--font-body);color:var(--ink)}
.news-form button{border:0;background:var(--red);color:#fff;font-family:var(--font-display);font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;padding:0 1.8rem;cursor:pointer;transition:background .2s}
.news-form button:hover{background:#b30019}

/* contact ribbon */
.ribbon-contact{background:var(--black);color:#fff;padding:80px 0;text-align:center}
.ribbon-contact h2{font-size:clamp(1.8rem,4vw,2.6rem);text-transform:uppercase}
.ribbon-contact p{opacity:.8;margin:.8rem 0 2rem}

/* footer */
.site-foot{background:#0a0a0a;color:#cfcfcf;padding:60px 0 28px}
.site-foot .brand-name{color:#fff}
.foot-left{display:flex;align-items:center}
.foot-grid{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;align-items:flex-start}
.foot-brand{display:flex;align-items:center;gap:14px}
.foot-brand .logo{width:42px;height:42px}
.foot-contact{margin-left:28px;padding-left:28px;border-left:1px solid #333}
.foot-contact a{display:block;color:#fff;font-size:1.05rem;margin-bottom:.4rem}
.foot-contact a:hover{color:var(--red)}
.socials{display:flex;gap:12px}
.socials a{width:44px;height:44px;border:1px solid #333;display:flex;align-items:center;justify-content:center;transition:.2s}
.socials a:hover{background:var(--blue);border-color:var(--blue)}
.socials svg{width:20px;height:20px;fill:#fff}
.foot-bottom{border-top:1px solid #1c1c1c;margin-top:44px;padding-top:22px;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.9rem;color:#7d7d7d}
.foot-bottom a:hover{color:#fff}


/*COURSES*/

/* section that starts directly under the fixed header (no hero above it) */
.section--flush{padding-top:calc(160px + 96px)}

/* button that needs separation from the paragraph above it */
.btn--spaced{margin-top:1.6rem;}
.btn--left{margin-left:1.1rem;}

/* courses image */
.courses-media{aspect-ratio:4/5;background:url('/assets/img/cz/courses.jpg') center/cover no-repeat}


/* CONTACT */
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start;margin-top:24px}
.contact-info .lead{margin-bottom:1.6rem}
.contact-line{display:block;font-family:var(--font-display);font-weight:600;font-size:1.4rem;color:var(--black);margin-bottom:.6rem}
/*.contact-line:hover{color:var(--red)}*/

.contact-form .field{margin-bottom:1.2rem}
.contact-form label{display:block;font-weight:500;margin-bottom:.4rem}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea{width:100%;border:1px solid var(--line);padding:.85rem 1rem;font-family:var(--font-body);font-size:1rem;color:var(--ink);background:#fff}
.contact-form input:focus,
.contact-form textarea:focus{outline:none;border-color:var(--blue)}
.contact-form textarea{resize:vertical}
.field--check label{font-weight:400;font-size:.95rem;display:flex;gap:.5rem;align-items:flex-start}
.field--check input{margin-top:.2rem}
.field-err{display:block;color:var(--red);font-size:.85rem;margin-top:.35rem}

.form-msg{padding:1rem 1.2rem;margin-bottom:1.4rem;font-weight:500}
.form-msg--ok{background:#e7f3ea;color:#1a6b34;border-left:4px solid #1a6b34;border-radius:0}
.form-msg--err{background:#fbe7e9;color:#a3122a;border-left:4px solid var(--red);border-radius:0}

/* honeypot — pushed off-screen, invisible to humans, still "there" for bots */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}




/* legal / prose pages */
.legal{max-width:760px}
.legal h3{font-size:1.35rem;color:var(--black);line-height:1.2;margin-top:2.4rem;margin-bottom:.6rem}
.legal p{margin-bottom:1rem;color:#2a2a2a}
.legal .lead{margin-bottom:2rem}
.legal-list{margin:0 0 1rem 1.2rem;color:#2a2a2a}
.legal-list li{margin-bottom:.4rem}



.merch-gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:48px;
}
.merch-gallery img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;      /* fills each cell, crops overflow, never distorts */
  display:block;
}

.merch-gallery img{ cursor:zoom-in; }
.merch-intro h2{ margin-bottom:1.2rem; }
.merch-intro .lead{ margin-bottom:1.2rem; }
.merch-intro p{ margin-bottom:1rem; }

.lightbox{
  position:fixed; inset:0; z-index:200;
  display:none;
  align-items:center; justify-content:center;
  background:rgba(0,0,0,.9);
  padding:24px;
  cursor:zoom-out;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width:95%; max-height:95%;
  object-fit:contain;    /* whole photo visible, never cropped */
  box-shadow:0 10px 40px rgba(0,0,0,.5);
}


/* --- Tactical section photos (override the shared CZ backgrounds) --- */
.brand-tac .hero{
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.5)),
    url('/assets/img/tac/hero.jpg');
}
.brand-tac .about-media{
  background-image:url('/assets/img/tac/about.jpg');
}
.brand-tac .courses-media{
  background-image:url('/assets/img/tac/courses.jpg');
}

/*404 php*/
.section--center{ text-align:center; }
.section--center .lead{ margin:1rem auto 2rem; }

/*---------------------------------------------------------------------*/



/* mobile */
@media(max-width:860px){
	
	.contact-grid{grid-template-columns:1fr}
	
  .site-head.solid .logo--light{ display:block; }
  .site-head.solid .logo--dark{ display:none; }
	
	
  .burger{display:flex}

  .nav a{color:#fff;padding:16px 28px;font-size:1.15rem}
  .lang{padding:14px 28px}

  .about-grid{grid-template-columns:1fr;gap:32px}
  .about-media{aspect-ratio:16/10;order:-1}
  .principles{grid-template-columns:1fr}
  .principle{border-right:0;border-bottom:1px solid var(--line)}
  .principle:last-child{border-bottom:0}
  .band{background-attachment:scroll}
  .news-in{flex-direction:column;align-items:stretch;text-align:center}
  .news-form{min-width:100%}

  /* header always solid black on mobile, so the white logo is visible */
  .site-head.solid{background:#0a0a0a}
  .site-head.solid .brand-name{color:#fff}
  .site-head.solid .nav a{color:#fff}
  .site-head.solid .burger span{background:#fff}

  /* floating centered menu */
  .nav{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.9);
    right:auto; bottom:auto;
    width:auto;
    flex-direction:column;
    align-items:center;
    gap:6px;
    background:#0f0f0f;
    border:1px solid #262626;
    border-radius:4px;
    padding:22px 40px;
    box-shadow:0 20px 50px rgba(0,0,0,.5);
    opacity:0;
    pointer-events:none;
    transition:transform .25s, opacity .25s;
    z-index:50;
  }
  .nav.open{
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
    pointer-events:auto;
  }

  /* active-page underline, centered under the link */
  .nav a::after{
    display:block;
    left:0; right:0;
    width:auto;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .2s;
  }
  .nav a.active::after,
  .nav a:hover::after{ transform:scaleX(1); }

  /* language buttons: grey inactive, red active — beats the white .solid rule */
  .site-head.solid .lang a{ color:#8a9094; opacity:1; }
  .site-head.solid .nav .lang a.on{ color:var(--red); }
  /* active page: red text (underline already handled above) */
  .site-head.solid .nav a.active{ color:var(--red); }

  .section{padding:56px 0}
  .section--flush{padding-top:calc(78px + 150px)}

  /* dim backdrop behind the menu */
  .nav-backdrop{
    position:fixed; inset:0;
    background:rgba(0,0,0,.5);
    opacity:0; pointer-events:none;
    transition:opacity .25s;
    z-index:40;
  }
  .nav-backdrop.open{ opacity:1; pointer-events:auto; }
  .merch-gallery{ grid-template-columns:repeat(2, 1fr); }
}

@media(max-width:580px){
  .wrap{ padding:0 18px; }
    .hero h1{ font-size:2.4rem; }         /* was clamped up to ~5.6rem */
  .hero p{ font-size:1rem; }
  .section h2{ font-size:1.7rem; }
  .logo{ width:40px; height:40px; }      /* header logo smaller */
  .brand-name{ font-size:1.1rem; }
  .foot-contact{ display:none; }
  .merch-gallery{ grid-template-columns:1fr; }
}

@media(max-width:320px){
  .head-in{ height:64px; }
  .logo{ width:34px; height:34px; }
  .brand-name{ font-size:1rem; }
  .section{padding:40px 0}
  .section--flush{ padding-top:calc(64px + 15px);}
  .hero { margin-top:64px;}
}