:root {
  --bg: #f3e9d8;
  --accent: #c2410c;
  --text: #262626;
  --text-muted: #525252;
  --font-serif: Charter, Cambria, Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a:hover {
  color: var(--text);
}

.small-caps {
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  font-weight: bold;
}

h1, h2, h3, h4 {
  font-weight: normal;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--accent); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-narrow {
  max-width: 72ch;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--text);
  background-color: var(--bg);
  position: relative;
  z-index: 100;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand {
  font-size: 1.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  width: 100%;
  flex-wrap: wrap;
}

.nav-links a {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: bold;
}

.nav-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
    gap: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--text);
  background-color: var(--text);
}

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

.hero-content {
  position: relative;
  z-index: 10;
  background: var(--bg);
  padding: 3rem;
  max-width: 600px;
  border: 1px solid var(--accent);
}

.hero-content h1 {
  margin-bottom: 2rem;
}

.hero-facts {
  list-style: none;
  border-top: 1px solid var(--text);
}

.hero-facts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--text);
  font-variant: small-caps;
  text-transform: lowercase;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Split Sections Layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--text);
  align-items: center;
}

@media (min-width: 769px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .split-section.reverse .content {
    grid-column: 2;
    grid-row: 1;
  }
  .split-section.reverse .media {
    grid-column: 1;
    grid-row: 1;
  }
}

.split-section .media img {
  width: 100%;
  aspect-ratio: 4/5;
  border: 1px solid var(--accent);
}

/* List Rows (Replaces Cards) */
.list-container {
  margin: 2rem 0;
}

.list-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--text);
}

.list-row:first-child {
  border-top: 1px solid var(--text);
}

.list-row .icon {
  color: var(--accent);
  font-size: 1.5rem;
  margin-right: 1.5rem;
  min-width: 2rem;
  text-align: center;
}

.list-row .list-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.list-row .list-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s var(--ease);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9rem;
}

.btn:hover, .btn:focus {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

/* Page Standard Content */
.page-header {
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--text);
}

.page-content {
  padding: 4rem 2rem;
}

.article-body {
  font-size: 1.1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  margin-top: 3rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* Tools & Forms */
.tool-box {
  background: transparent;
  border: 1px solid var(--accent);
  padding: 2rem;
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  font-variant: small-caps;
  text-transform: lowercase;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--text);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  border-radius: 0;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* Footer */
footer {
  border-top: 1px solid var(--text);
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--bg);
}

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

.footer-nav a {
  font-variant: small-caps;
  text-transform: lowercase;
  color: var(--text);
  font-weight: bold;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

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