:root {
  --bg-color: #f7f5f0;
  --text-color: #111111;
  --accent-red: #d62828;
  --radius: 20px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(17, 17, 17, 0.15);
}

html {
  background-color: var(--bg-color);
  padding: 3vw;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  border: 1px solid var(--accent-red);
  min-height: calc(100vh - 6vw);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6, .brand-logo, .nav-link, .btn {
  font-family: 'Arial Narrow', 'Helvetica Neue', Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 1.5rem;
}

/* HEADER & NAVIGATION */
header {
  position: static;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(214, 40, 40, 0.1);
}

.brand-logo {
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 0;
  display: flex;
  align-items: center;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-red);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-color);
  border-bottom: 1px solid var(--accent-red);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .nav-link {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  font-size: 1.2rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  margin: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--text-color);
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--bg-color);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg-color);
}

.btn {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--bg-color);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(214, 40, 40, 0.4);
  color: var(--bg-color);
}

/* EDITORIAL LAYOUT & TYPOGRAPHY */
main {
  flex: 1;
}

.reading-column {
  max-width: 65ch;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.reading-column h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.reading-column h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-red);
}

.pull-quote {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--accent-red);
  text-transform: uppercase;
  margin: 3rem -2rem;
  padding-left: 2rem;
  border-left: 4px solid var(--accent-red);
  font-weight: 700;
}

.breakout-image-container {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.breakout-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.editorial-meta {
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* CARDS & GRIDS */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: var(--bg-color);
  border-radius: var(--radius);
  border: 1px solid rgba(17,17,17,0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevation);
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent-red);
  color: var(--bg-color);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 1px;
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-kinetic);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: #444;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* TOOL / FORM UI */
.tool-container {
  background: #fff;
  border: 1px solid rgba(17,17,17,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-color);
  color: var(--text-color);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.tool-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--accent-red);
  margin-top: auto;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.85rem;
  color: #555;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .pull-quote {
    margin: 2rem 0;
    padding-left: 1rem;
    font-size: 1.5rem;
  }
  .breakout-image-container {
    width: 100%;
    margin-left: 0;
  }
  .hero {
    margin: 0;
    border-radius: 0;
  }
  html {
    padding: 0;
  }
  body {
    border: none;
    border-top: 4px solid var(--accent-red);
    min-height: 100vh;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
