/* =====================================================
   F4P · FIGHT FOR PURPOSE
   Spartan / Tactical Design System
   ===================================================== */

:root {
  --bg: #14171A;
  --surface: #1C2025;
  --surface-2: #2D3033;
  --olive: #565B3B;
  --olive-bright: #6D7449;
  --blood: #D6411E;
  --blood-dark: #B83617;
  --ivory: #E6DFD0;
  --ivory-dim: rgba(230, 223, 208, 0.6);
  --line: #2D3033;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

.display, h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 6vw; }
a { color: inherit; }
.blood { color: var(--blood); }
.olive { color: var(--olive); }
.dim { color: var(--ivory-dim); }

/* ============= NAV ============= */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20,23,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav.site-nav .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; padding-bottom: 1rem;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ivory);
}
.logo .mark {
  width: 8px; height: 8px; background: var(--blood);
  display: inline-block;
}
nav.site-nav ul { display: flex; gap: 2rem; list-style: none; }
nav.site-nav ul a {
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory); opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
  position: relative;
  padding-bottom: 0.25rem;
}
nav.site-nav ul a:hover,
nav.site-nav ul a.active { opacity: 1; color: var(--blood); }
nav.site-nav ul a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 20px; height: 2px; background: var(--blood);
}
.nav-cta {
  background: var(--blood); color: var(--ivory) !important;
  opacity: 1 !important; padding: 0.6rem 1rem;
  border: 1px solid var(--blood);
}
.nav-cta:hover { background: var(--blood-dark); }
.menu-toggle { display: none; background: none; border: none; color: var(--ivory); cursor: pointer; }
@media (max-width: 880px) {
  nav.site-nav ul { display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 1.5rem 6vw;
    border-bottom: 1px solid var(--line); gap: 1.5rem; }
  nav.site-nav ul.open { display: flex; }
  .menu-toggle { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-block; padding: 1.1rem 2.5rem;
  text-decoration: none; font-weight: 700;
  font-family: 'Geist', sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.78rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-blood { background: var(--blood); color: var(--ivory); }
.btn-blood:hover { background: var(--blood-dark); }
.btn-outline {
  background: transparent; color: var(--ivory);
  border: 1px solid var(--surface-2);
}
.btn-outline:hover { border-color: var(--blood); color: var(--blood); }
.cta-row { display: flex; gap: 0; flex-wrap: wrap; }

/* ============= HERO ============= */
.hero {
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 6rem; padding-bottom: 4rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(10px) brightness(0.25) saturate(0.6) contrast(1.2);
  transform: scale(1.1);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,23,26,0.7) 0%, rgba(20,23,26,0.95) 100%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(86,91,59,0.04) 60px 61px);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero .stamp {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.25em;
  color: var(--blood); text-transform: uppercase;
  border: 1px solid var(--blood);
  padding: 0.4rem 0.9rem;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-size: clamp(3rem, 11vw, 9rem);
  margin-bottom: 2rem; max-width: 16ch;
}
.hero h1 .alert { color: var(--blood); }
.hero h1 .olive { color: var(--olive-bright); }
.hero .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem; line-height: 2;
  color: var(--ivory-dim);
  margin-bottom: 3rem;
}
.hero .meta .slash { color: var(--blood); margin-right: 0.5rem; }

/* Smaller hero variant for sub-pages */
.hero.sub {
  min-height: 60dvh; padding-top: 8rem; padding-bottom: 4rem;
}
.hero.sub h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }

/* ============= SECTION BASE ============= */
.section {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}
.section.alt { background: var(--surface); }
.section .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.25em;
  color: var(--blood); text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--blood);
  padding-left: 1rem;
}
.section h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  margin-bottom: 2rem; max-width: 24ch;
}
.section .lead {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem; color: var(--ivory-dim);
  max-width: 60ch; margin-bottom: 4rem; line-height: 1.8;
}

/* ============= MANIFESTO TWO-COL ============= */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.two-col p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem; color: var(--ivory);
  line-height: 1.8; max-width: 58ch;
}
.two-col p + p { margin-top: 1.5rem; }
.two-col strong { color: var(--blood); }

/* ============= TACTICAL STATS ============= */
.tac-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .tac-grid { grid-template-columns: repeat(2, 1fr); } }
.tac-cell {
  background: var(--bg); padding: 2.5rem 1.75rem;
  position: relative;
}
.section.alt .tac-cell { background: var(--surface); }
.tac-cell::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 30px; height: 2px; background: var(--blood);
}
.tac-cell .key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.25em;
  color: var(--ivory-dim); text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tac-cell .val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--ivory);
  line-height: 1;
}
.tac-cell .val .small { color: var(--blood); }

/* ============= DAY TABLE ============= */
.day-table {
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
}
.day-row {
  display: grid; grid-template-columns: 80px 1fr 2fr;
  gap: 1rem; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.day-row:last-child { border-bottom: none; }
.day-row:hover { background: var(--surface); }
.day-row .num {
  color: var(--blood); font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.day-row .theme {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: 0.05em;
  color: var(--ivory);
}
.day-row .what {
  color: var(--ivory-dim); font-size: 0.85rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .day-row { grid-template-columns: 60px 1fr; gap: 0.75rem; }
  .day-row .what { grid-column: 1 / -1; padding-left: calc(60px + 0.75rem); margin-top: 0.5rem; }
}

/* ============= MOMENTS / 3 BLOCKS ============= */
.three-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 800px) { .three-grid { grid-template-columns: 1fr; } }
.block {
  background: var(--bg); padding: 2.5rem 2rem;
  position: relative;
}
.section.alt .block { background: var(--surface); }
.block::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 30px; height: 2px; background: var(--blood);
}
.block .step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--blood); text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.block .ttl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.05em;
  color: var(--ivory); margin-bottom: 0.75rem;
}
.block .when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; color: var(--olive-bright);
  margin-bottom: 1.25rem;
}
.block .txt {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ivory-dim); font-size: 0.85rem;
  line-height: 1.7;
}
.block .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.25em;
  color: var(--blood); text-transform: uppercase;
  margin-bottom: 1rem;
}
.block .name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 0.05em;
  color: var(--ivory); margin-bottom: 1.5rem;
  line-height: 1;
}
.block .bio {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ivory-dim); font-size: 0.85rem;
  line-height: 1.7;
}

/* ============= GALERIJ ============= */
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 800px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
.gal-img {
  aspect-ratio: 3/4; overflow: hidden;
  position: relative; background: var(--bg);
  border: 1px solid var(--line);
}
.gal-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(7px) brightness(0.4) saturate(0.4) contrast(1.3);
  transform: scale(1.15);
}
.gal-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(214,65,30,0.2) 100%),
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(20,23,26,0.15) 2px 3px);
}
.gal-cap {
  margin-top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--ivory-dim); text-transform: uppercase;
}

/* ============= FORM ============= */
.form-wrap { max-width: 760px; }
.invest-note {
  background: var(--bg); border-left: 3px solid var(--blood);
  padding: 1.25rem 1.5rem; font-size: 0.88rem;
  color: var(--ivory); margin-bottom: 2.5rem;
  font-family: 'JetBrains Mono', monospace; line-height: 1.7;
}
.section.alt .invest-note { background: var(--surface); }
.invest-note strong { color: var(--blood); }
form.f4p-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--blood); text-transform: uppercase;
}
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ivory); padding: 1rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.92rem;
  transition: border 0.2s;
}
.section.alt .field input,
.section.alt .field textarea,
.section.alt .field select { background: var(--surface); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blood);
}
.field textarea { min-height: 120px; resize: vertical; }
form.f4p-form button { justify-self: start; margin-top: 1rem; padding: 1.2rem 3rem; }

/* ============= CTA BANNER ============= */
.cta-banner {
  padding: 6rem 0; background: var(--blood);
  border-top: 1px solid var(--line);
}
.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--bg); margin-bottom: 1.5rem; max-width: 24ch;
}
.cta-banner p {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(20,23,26,0.8);
  max-width: 56ch; margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.cta-banner .btn {
  background: var(--bg); color: var(--ivory);
  border: none;
}
.cta-banner .btn:hover { background: #000; }

/* ============= FOOTER ============= */
footer.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.foot-grid h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.25em;
  color: var(--blood); text-transform: uppercase;
  margin-bottom: 1rem;
}
.foot-grid p, .foot-grid a {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ivory-dim); font-size: 0.85rem;
  text-decoration: none; line-height: 2;
  display: block;
}
.foot-grid a:hover { color: var(--blood); }
.foot-grid ul { list-style: none; }
.copy {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--ivory-dim); text-transform: uppercase;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

/* ============= SHOP PLACEHOLDER ============= */
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.shop-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2rem; position: relative;
}
.shop-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 30px; height: 2px; background: var(--blood);
}
.shop-card .img-box {
  aspect-ratio: 1; background: var(--bg);
  margin: -0.5rem -0.5rem 1.5rem -0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ivory-dim); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.shop-card .pname {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: 0.05em;
  color: var(--ivory); margin-bottom: 0.5rem;
}
.shop-card .pprice {
  font-family: 'JetBrains Mono', monospace;
  color: var(--blood); font-size: 0.9rem;
  margin-bottom: 1rem;
}
.shop-card .pdesc {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ivory-dim); font-size: 0.8rem;
  line-height: 1.6;
}

/* ============= CONTACT ============= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info {
  font-family: 'JetBrains Mono', monospace;
  line-height: 2;
}
.contact-info .label-sm {
  font-size: 0.72rem; letter-spacing: 0.25em;
  color: var(--blood); text-transform: uppercase;
  margin-top: 2rem; margin-bottom: 0.5rem;
}
.contact-info .label-sm:first-child { margin-top: 0; }
.contact-info a { color: var(--ivory); text-decoration: none; }
.contact-info a:hover { color: var(--blood); }
