:root {
  --bg-margin: #210404;
  --bg-canvas: #450a0a;
  --bg-surface: rgba(251, 191, 36, 0.04);
  --bg-surface-hover: rgba(251, 191, 36, 0.08);
  --text-primary: #fbbf24;
  --text-muted: #d97706;
  --accent-primary: #f59e0b;
  --accent-secondary: #b45309;
  --border-subtle: rgba(245, 158, 11, 0.25);
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --glow-accent: 0 0 24px -4px rgba(245, 158, 11, 0.4);
}

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

body {
  background-color: var(--bg-margin);
  margin: 0;
  padding: 3vw;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  margin-top: 0;
  color: var(--accent-primary);
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; }

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

.page-wrapper {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 90vh;
}

/* Header */
.site-header {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brand a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--accent-primary);
}

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

.desktop-nav a {
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}
.btn:hover {
  color: var(--bg-canvas);
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 0;
  font-family: inherit;
  margin-bottom: 1.5rem;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-surface-hover);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-content {
  align-self: center;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 50ch;
}
.hero-visual {
  position: relative;
  min-height: 450px;
}
.hero-visual img {
  position: absolute;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
}
.hero-img-1 { width: 65%; height: 75%; top: 0; left: 0; z-index: 1; }
.hero-img-2 { width: 55%; height: 60%; bottom: 0; right: 0; z-index: 2; margin-bottom: -20px; margin-right: -20px; }
.hero-img-3 { width: 45%; height: 50%; top: 20%; left: 40%; z-index: 3; }

/* Lead Block */
.lead-block {
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
}
.lead-block-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.lead-media {
  position: relative;
}
.lead-media img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
}
.lead-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Grid Sections */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
}
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.5s var(--ease-kinetic), box-shadow 0.5s var(--ease-kinetic);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevation);
  background: var(--bg-surface-hover);
}
.card-media {
  position: relative;
  width: 100%;
  height: 280px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.card-badge {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  border-radius: 0;
}
.card-body {
  padding: 3rem 2rem 2rem;
  flex-grow: 1;
}
.card-body h3 {
  margin-bottom: 1rem;
}

/* Inner Pages Format */
.page-header {
  padding: 5rem 3rem 3rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border: none;
}
.content-section {
  padding: 4rem 3rem;
  max-width: 72ch;
  margin: 0 auto;
}
.content-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.content-section h2 {
  margin-top: 3rem;
}
.content-section ul {
  margin-bottom: 2rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
}
.content-section li {
  margin-bottom: 0.5rem;
}
.full-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
}
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th, td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  color: var(--accent-primary);
  font-weight: 600;
  font-family: Georgia, serif;
}

/* FAQ Layout */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 3rem;
  background: var(--bg-canvas);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.8rem;
}
.footer-brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 1rem;
}
.footer-col p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    gap: 2rem;
    padding: 4rem 2rem;
  }
  .lead-block-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .page-wrapper {
    border: none;
  }
  .site-header {
    padding: 1.5rem;
    position: relative;
  }
  .desktop-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-canvas);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
  }
  .desktop-nav.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
  .hero-visual {
    min-height: 350px;
    margin-top: 2rem;
  }
  .two-col-grid, .lead-block {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-section, .page-header, .faq-grid {
    padding: 2rem 1.5rem;
  }
}

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