/* palette: espresso-gold */
:root {
  --primary-color: #2C1810;
  --secondary-color: #4A2E20;
  --accent-color: #C9A017;
  --background-color: #FBF6F0;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  margin: 0;
}

/* NEO-BRUTAL PRESET INSTRUCTIONS - COPIED LITERALLY */
section{padding:40px 16px;margin:0} @media(min-width:1024px){section{padding:48px 24px}} .card,.btn{border:3px solid var(--primary-color);box-shadow:6px 6px 0 var(--primary-color);border-radius:0} .btn:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--primary-color)} h1,h2,h3{text-transform:uppercase;letter-spacing:0.04em;line-height:1.0} section+section{border-top:4px solid var(--primary-color)}

/* Typography Scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  color: var(--primary-color);
}
h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary-color);
}
h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--secondary-color);
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

/* Header & Navigation */
header {
  background-color: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 110;
}
.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  padding: 20px;
  z-index: 99;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-nav a {
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}
.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Checkbox Logic */
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    padding: 0;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}
.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

/* Hero Section Specifics */
#hero {
  min-height: 78vh;
}
.hero-subtitle {
  max-width: 600px;
}

/* Morphing Blob Animation */
.blob {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  opacity: 0.12;
  animation: blob-morph 8s ease-in-out infinite;
  z-index: 0;
}
@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 70%;
  }
  50% {
    border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%;
  }
  75% {
    border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%;
  }
}

/* Scroll Reveal Animation */
@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%;
}

/* Cascade Animation for Cards */
.card {
  background-color: #ffffff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
}
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
.card:nth-child(4) { animation-delay: .36s; }

/* Stats Counter CSS @property (Chrome 115+) */
@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);
  }
}

/* Footer styling */
footer {
  background-color: var(--primary-color);
  color: #FBF6F0;
  border-top: 4px solid var(--primary-color);
}
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
}
footer a {
  color: #FBF6F0;
  transition: color 0.15s;
}
footer a:hover {
  color: var(--accent-color);
}

/* Accessibility & Layout Adjustments */
img {
  max-width: 100%;
  height: auto;
}
input, textarea {
  border-radius: 0;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}
button, a {
  touch-action: manipulation;
}