/* palette: scarlet-navy */
:root {
  --primary-color: #A50022;
  --secondary-color: #C82B2B;
  --accent-color: #1A3A6B;
  --background-color: #FFF0F2;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: #000000;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius-sm: 0px; 
  --radius-md: 0px; 
  --radius-lg: 0px; 
  --radius-xl: 0px;
  --main-font: 'DM Serif Display', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* BRUTALIST-MONO Presets applied to palette */
section {
  padding: 48px 16px;
  margin: 0;
  border-bottom: 3px solid #000;
}
@media(min-width:1024px) {
  section {
    padding: 56px 24px;
  }
}
body {
  background: #fff;
  color: #000;
  font-family: var(--alt-font);
  overflow-x: hidden;
}
.card {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
h1, h2 {
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 6vw, 4rem);
  color: #000;
}
.btn {
  background: #000;
  color: #fff;
  border-radius: 0;
  border: 2px solid #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  display: inline-block;
  min-height: 44px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: #fff;
}
.section-num, .step-num {
  font-size: 5rem;
  font-weight: 900;
  color: #F0F0F0;
  line-height: 1;
  display: block;
  font-family: var(--main-font);
}

/* Header & CSS-only burger */
header {
  background: #fff;
  border-bottom: 3px solid #000;
  position: relative;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 3px solid #000;
  z-index: 999;
  padding: 16px;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}
.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Hero Bento Grid */
.hero-bento {
  min-height: 87vh;
  display: flex;
  align-items: center;
  background: var(--background-color);
}
.bento-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.bento-cell {
  border: 2px solid #000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.bento-large {
  background: var(--primary-color);
  color: #fff;
}
.bento-large h1 {
  color: #fff;
  margin-bottom: 16px;
}
.bento-large p {
  margin-bottom: 24px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}
.bento-image {
  background-size: cover;
  background-position: center;
  min-height: 250px;
}
.bento-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}
@media (min-width: 768px) {
  .bento-container {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-large {
    grid-column: span 4;
  }
  .bento-image {
    grid-column: span 2;
    min-height: auto;
  }
  .bento-small {
    grid-column: span 2;
  }
}

/* Animations (@property Support) */
@property --count { 
  syntax: '<integer>'; 
  initial-value: 0; 
  inherits: false; 
}
.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after { 
  content: counter(n); 
}
@keyframes count-up { 
  from { --count: 0 } 
  to { --count: var(--target) } 
}

/* Scroll Reveal */
@keyframes reveal-up { 
  from { opacity: 0; transform: translateY(32px) } 
  to { opacity: 1; transform: translateY(0) } 
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view(); 
  animation-range: entry 0% entry 30%;
}

/* Footer layout */
footer {
  background: #000;
  color: #fff;
  border-top: 3px solid #000;
}
footer img[alt="logo"] { 
  filter: brightness(0) invert(1); 
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: var(--secondary-color);
}