/* Adamas Combatives (rebuilt 2026-11-11 to match Adam's original site).
   Original system: full-width dimmed photo bands with centered titles; red section titles; red solid + blue outline buttons;
   blue active nav with a red underline; rounded dark cards; a glowing call-to-action box.
   Brand meaning (Adam): Sacred Snake -> Adamas (uncorruptible). Red and blue, the two forces, meet as purple: the King.
   That meeting shows as a red-to-blue edge on the key boxes. Feel: a quiet monastery for protectors, a Metal Gear-style
   training center: [bracketed] labels, steady glow, no noise. */
:root {
  --bg: #0C0C0C; --bg-2: #191919; --black: #050505; --panel: #111112; --line: #2A2A2C;
  --text: #FAFAFA; --muted: #B7B3AD; --red: #A91E1E; --red-hi: #C42727; --blue: #3867FF; --purple: #6A3BB8;
  --head: "Montserrat", system-ui, sans-serif; --body: "Exo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.04rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .55em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p, li { text-wrap: pretty; }
strong { font-weight: 700; color: #fff; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.title-red { color: var(--red-hi); text-align: center; }

/* Buttons: red solid, blue outline (as on the original site) */
.btn { display: inline-block; background: var(--red); color: #fff; font: 600 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 13px 22px; border-radius: 3px; border: 1px solid var(--red); transition: background .2s, box-shadow .2s; cursor: pointer; }
.btn:hover { background: var(--red-hi); box-shadow: 0 0 18px rgba(169,30,30,.45); }
.btn-blue { background: transparent; border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: rgba(56,103,255,.12); box-shadow: 0 0 18px rgba(56,103,255,.35); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* Header: logo left, links center, red action right; active link blue with a red underline */
.top { position: sticky; top: 0; z-index: 20; background: var(--black); border-bottom: 1px solid #3a3a3d; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { width: 46px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--red); }
.nav .btn { padding: 11px 18px; border-bottom: 1px solid var(--red); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 1.3rem; padding: 6px 12px; border-radius: 3px; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 20px; }
}

/* Photo bands: full-width, dimmed photo, centered text over it (heroes and quote bands) */
.band { position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--black); }
.band::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: var(--pos, center); filter: brightness(.42) saturate(.85); }
.band > * { position: relative; z-index: 1; }
.band-hero { min-height: 420px; padding: 80px 20px; }
.band-hero h1 { margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.band-hero .sub { font-size: 1.18rem; max-width: 640px; margin: 0 auto; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.band-hero h1.brandmark { font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.band-quote { min-height: 380px; padding: 70px 20px; }
.band-quote p { font: italic 600 clamp(1.3rem, 2.8vw, 2rem)/1.3 var(--head); max-width: 880px; margin: 0 auto; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.band-notice { min-height: 340px; padding: 60px 20px; }
.band-notice p { font: 500 clamp(1.05rem, 2.2vw, 1.6rem)/1.35 var(--head); text-transform: uppercase; max-width: 820px; margin: 0 auto; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); }
.prose p { margin: 0 0 1em; }
.lead-strong { font-size: 1.15rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 30px; }
.card { background: var(--panel); border: 1px solid #3a3a3d; border-radius: 14px; padding: 24px 22px; text-align: center; box-shadow: 0 0 14px rgba(255,255,255,.04); }
.card svg { width: 34px; height: 34px; fill: #9a9a9a; margin: 0 auto 10px; display: block; }
.card h3 { color: #d8d4ce; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
/* [3] Training Systems: rounded card with the photo on one side, alternating */
.sys { display: grid; gap: 18px; margin-top: 30px; }
.sys-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border: 1px solid #4a4a4e; border-radius: 12px; overflow: hidden; box-shadow: 0 0 16px rgba(255,255,255,.06); }
.sys-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; filter: saturate(.85); }
.sys-card > div { padding: 26px 28px; display: grid; align-content: center; }
.sys-card:nth-child(even) img { order: 2; }
.sys-card p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .sys-card { grid-template-columns: 1fr; } .sys-card:nth-child(even) img { order: 0; } .sys-card img { min-height: 190px; max-height: 240px; } }
.levels { list-style: none; padding: 0; margin: 10px 0 0; }
.levels li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .97rem; }
.levels li strong { color: var(--text); letter-spacing: .04em; margin-right: 6px; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.class-grid .card { text-align: left; }
.class-grid .card h3 { color: var(--text); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.schedule { margin: 26px auto 0; max-width: 520px; border: 1px solid #3a3a3d; border-radius: 12px; padding: 22px; text-align: center; background: var(--panel); }
.schedule .tbd { font: 700 1.6rem/1 var(--head); color: var(--blue); letter-spacing: .14em; }

/* Call-to-action box: the red and blue meet (purple), steady glow */
.cta { border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(90deg, var(--red), var(--purple), var(--blue)) border-box; box-shadow: 0 0 26px rgba(106,59,184,.28); padding: 70px 20px; text-align: center; }
.cta h2 { color: var(--red-hi); }

/* Form */
.form { display: grid; gap: 16px; background: var(--panel); border: 1px solid #3a3a3d; border-radius: 12px; padding: 28px; text-align: left; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font: 600 .78rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.form input, .form select, .form textarea { width: 100%; background: var(--black); color: var(--text); border: 1px solid #3a3a3d; border-radius: 4px; padding: 12px; font: 400 1rem var(--body); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form fieldset { border: 1px solid #3a3a3d; border-radius: 6px; padding: 14px; margin: 0; }
.form legend { font: 600 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 0 6px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font: 400 .98rem var(--body); }
.checks input { width: auto; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form .row, .checks { grid-template-columns: 1fr; } .form { padding: 20px 16px; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 28px 0; }
.post-card { display: grid; gap: 8px; align-content: start; background: var(--panel); border: 1px solid #3a3a3d; border-radius: 12px; padding: 0 0 20px; text-decoration: none; color: var(--text); overflow: hidden; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card > span, .post-card > strong { padding: 0 20px; }
.post-card-date { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding-top: 14px !important; }
.post-card strong { font: 600 1.12rem/1.3 var(--head); }
.post-card-desc { color: var(--muted); font-size: .95rem; }
.eyebrow { font: 600 .76rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.post { padding: 70px 20px; }
.post h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.post-by { color: var(--muted); }
.post-img { margin: 26px 0; } .post-img img { border-radius: 10px; } .post-img figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.post-body h2 { margin-top: 1.6em; font-size: 1.55rem; color: var(--red-hi); }
.post-stat { display: grid; gap: 4px; background: var(--panel); border-left: 3px solid var(--blue); padding: 16px 20px; margin: 24px 0; border-radius: 4px; }
.post-stat-num { font: 700 2rem/1 var(--head); color: var(--blue); }
.post-sources-title { font-size: 1.1rem !important; color: var(--text) !important; }
.post-sources { font-size: .85rem; color: var(--muted); }
.post-cta { margin-top: 50px; border-radius: 12px; }
.post-cta p { color: var(--muted); }
.page-hero { padding: 80px 0 30px; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Footer (as the original: links centered, small legal line) */
.foot { background: var(--black); border-top: 1px solid #3a3a3d; padding: 44px 0 34px; text-align: center; }
.foot-nav { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.foot-nav a { color: var(--text); text-decoration: none; font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot p { font-size: .82rem; color: var(--muted); margin: 6px 0; }
.foot p a { color: var(--muted); }
.foot p a:hover { color: var(--text); }
.class-grid { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; } @media (max-width: 760px) { .class-grid { grid-template-columns: 1fr; } }

/* Training-center touches (Adam 2026-11-11: quiet, not noisy) */
/* 1. A short red-to-blue line under each section title: the two forces meeting. */
.title-red::after { content: ""; display: block; width: 72px; height: 2px; margin: 14px auto 0; background: linear-gradient(90deg, var(--red), var(--purple), var(--blue)); }
/* 1. A faint scan line over the photo bands, like a monitor feed. */
.band::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
/* 2. Larger, lit pillar icons. */
.card svg { width: 46px; height: 46px; fill: var(--blue); filter: drop-shadow(0 0 8px rgba(56,103,255,.45)); margin-bottom: 14px; }
/* 3. Slow drift on the photo bands as the page scrolls (script sets --drift; off for reduced motion). */
.band::before { transform: translateY(var(--drift, 0px)) scale(1.12); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .band::before { transform: none; } }
/* Fix (Adam 2026-11-11): no zoom on the photos. The photo layer is slightly taller than its band, so the drift slides it
   up and down without scaling it or exposing edges. Width stays exactly the band's width, like the original. */
.band::before { inset: -28px 0; transform: translateY(var(--drift, 0px)); }
/* Fix: the CTA edge reads evenly on both sides: brighter red on the left, blue on the right, each with its own glow. */
.cta { border-width: 2px; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(90deg, #D23131, var(--purple), var(--blue)) border-box; box-shadow: inset 10px 0 24px -14px rgba(210,49,49,.55), inset -10px 0 24px -14px rgba(56,103,255,.55), 0 0 22px rgba(106,59,184,.22); }
/* Band heights matched to the original site (heroes ~520px, quote bands ~460px on laptop). */ .band-hero { min-height: 520px; } .band-quote { min-height: 460px; } @media (max-width: 760px) { .band-hero { min-height: 420px; } .band-quote { min-height: 360px; } }
.band::before { filter: brightness(.34) saturate(.85); }
/* The CTA is a contained box, not edge to edge, so its full glowing edge is visible (Adam 2026-11-11 screenshot). */ .cta { max-width: 1100px; margin: 72px auto; border-radius: 14px; padding: 64px 24px; } @media (max-width: 1180px) { .cta { margin: 56px 20px; } } @media (max-width: 640px) { .cta { margin: 40px 14px; padding: 48px 18px; } }
.section + .cta { margin-top: 0; } .cta { margin-bottom: 72px; }
/* After a shaded band the box needs its own top space, or it touches the band (Adam 2026-11-17). */ .section.alt + .cta { margin-top: 72px; } @media (max-width: 1180px) { .section.alt + .cta { margin-top: 56px; } } @media (max-width: 640px) { .section.alt + .cta { margin-top: 40px; } }
