:root {
  --base: #1c1512;
  --surface: #2a1f1b;
  --text: #f4f1ea;
  --accent: #d4a84b;
  --border: rgba(212, 168, 75, 0.3);
  --shadow-color: rgba(244, 241, 234, 0.15);
  
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
  --font-mono: ui-monospace, Consolas, "SF Mono", Menlo, monospace;
  
  --radius-20: 20px;
  --content-max-width: 1200px;
  --lead-max-width: 800px;
  --transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  background-color: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

a:hover {
  opacity: 0.8;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Typography */
h1, h2 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

h3, h4, .label, .nav-link, .meta {
  font-family: var(--font-mono);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.5rem;
  color: rgba(244, 241, 234, 0.85);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
.site-header {
  padding: 2rem 0;
  text-align: center;
  position: static;
  background-color: var(--base);
  border-bottom: 1px solid var(--border);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  fill: var(--accent);
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.1em;
}

.main-nav {
  display: flex;
  justify-content: center;
}

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

.nav-link {
  color: var(--text);
  font-size: 0.85rem;
  position: relative;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 2rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,21,18,0.4) 0%, rgba(28,21,18,0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-sub {
  padding: 6rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--base);
  padding: 0.875rem 2rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-20);
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  transition: var(--transition);
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.btn:hover, .btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 0 var(--shadow-color);
  color: var(--base);
  opacity: 1;
}

/* Background Gradients */
.bg-gold-radial {
  position: relative;
}

.bg-gold-radial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 30%, rgba(212,168,75,0.06) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Core Layouts */
.section-pad {
  padding: 6rem 0;
}

.lead-block {
  max-width: var(--lead-max-width);
  margin: 0 auto 4rem auto;
  text-align: center;
  font-size: 1.15rem;
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

/* Content specific components */
.radius-20 {
  border-radius: var(--radius-20);
  overflow: hidden;
}

.panel {
  background-color: var(--surface);
  padding: 2.5rem;
}

.image-panel {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-20);
}

/* List Rows */
.list-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.list-row:last-child {
  border-bottom: none;
}

.list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  margin-top: 0.25rem;
}

.list-content h4 {
  margin-bottom: 0.25rem;
}

.list-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--base);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem;
  border-radius: var(--radius-20);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background-color: var(--surface);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--content-max-width);
  margin: 0 auto 3rem;
  text-align: left;
}

.footer-col h4 {
  color: var(--text);
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(244, 241, 234, 0.7);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(244, 241, 234, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 2rem;
}

/* Document specific blocks */
.doc-content h2 {
  margin-top: 3rem;
}
.doc-content ul {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
  color: rgba(244, 241, 234, 0.85);
}
.doc-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--surface);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 2rem;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .site-header {
    position: relative;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .brand-mark {
    flex-direction: row;
    margin-bottom: 0;
  }
  
  .hero-full {
    min-height: 500px;
    margin: 0;
    border-radius: 0;
  }
  
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

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