:root {
  /* Color Palette - Strict No Blue */
  --espresso: #1e1612; /* Base Background */
  --ochre: #d97706; /* Accent / Warm Ochre */
  --cream: #f5ecdf; /* Text / Warm Cream */
  --border-color: rgba(245, 236, 223, 0.2);
  
  /* Typography */
  --font-serif: Charter, Cambria, Georgia, serif;
  
  /* UI Micro-Interactions */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-none: none; /* Shadow strictly prohibited */
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  lang: en;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--espresso);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }

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

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

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

/* Typography Classes */
.small-caps {
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.text-center { text-align: center; }
.text-ochre { color: var(--ochre); }
.text-muted { opacity: 0.8; }

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

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

.section {
  padding: 5rem 0;
  position: relative;
}

/* Backgrounds */
.bg-ochre {
  background-color: var(--ochre);
  color: var(--espresso);
}

.bg-ochre a { color: var(--espresso); text-decoration: underline; }
.bg-ochre a:hover { color: var(--cream); }

/* Header & Navigation (Far-left logo strictly enforced, not sticky) */
header {
  position: relative;
  background-color: var(--espresso);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

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

.desktop-nav a {
  color: var(--cream);
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.desktop-nav a:hover {
  color: var(--ochre);
}

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

.mobile-menu {
  display: none;
  background-color: var(--espresso);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--cream);
  text-transform: lowercase;
  font-variant: small-caps;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  border: 1px solid var(--ochre);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-kinetic);
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--ochre);
  color: var(--espresso);
}

.btn-solid {
  background-color: var(--ochre);
  color: var(--espresso);
}

.btn-solid:hover {
  background-color: transparent;
  color: var(--ochre);
}

.bg-ochre .btn {
  border-color: var(--espresso);
  color: var(--espresso);
}

.bg-ochre .btn:hover {
  background-color: var(--espresso);
  color: var(--ochre);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.hero-img {
  position: absolute;
  border: 1px solid var(--ochre);
}

.hero-img-1 {
  top: 0;
  right: 0;
  width: 70%;
  height: 70%;
  z-index: 1;
}

.hero-img-2 {
  bottom: 0;
  left: 0;
  width: 60%;
  height: 60%;
  z-index: 2;
}

.hero-img-3 {
  top: 20%;
  left: 20%;
  width: 50%;
  height: 50%;
  z-index: 3;
}

/* Compact Panels & Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  background: transparent;
  border-radius: 0; /* Square corners */
  transition: transform 0.4s var(--ease-kinetic), border-color 0.4s var(--ease-kinetic);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--ochre);
}

.card-img-wrapper {
  margin: -2rem -2rem 1.5rem -2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.stat-strip {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 1.5rem;
  color: var(--ochre);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: lowercase;
  font-variant: small-caps;
}

/* Tabs */
.tabs-container {
  border: 1px solid var(--border-color);
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  color: var(--cream);
  padding: 1rem;
  cursor: pointer;
  text-transform: lowercase;
  font-variant: small-caps;
  transition: background 0.3s;
}

.tab-btn:last-child { border-right: none; }

.tab-btn.active, .tab-btn:hover {
  background: var(--ochre);
  color: var(--espresso);
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s var(--ease-kinetic);
}

/* Accordion */
.accordion {
  border: 1px solid var(--border-color);
  margin-bottom: -1px;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--cream);
  padding: 1.5rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  color: var(--ochre);
}

.accordion-icon {
  color: var(--ochre);
  font-size: 1.5rem;
  line-height: 1;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic);
  padding: 0 1.5rem;
}

.accordion-content {
  padding-bottom: 1.5rem;
}

/* Badges / Avatars (Round) */
.badge-round {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--ochre);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

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

.form-control {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--cream);
  padding: 0.75rem;
  font-family: var(--font-serif);
  border-radius: 0;
}

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

select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23d97706" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

select.form-control option {
  background: var(--espresso);
  color: var(--cream);
}

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

/* Footer */
footer {
  background-color: #160e0a; /* Darker espresso */
  border-top: 1px solid var(--ochre);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-title {
  color: var(--ochre);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  text-transform: lowercase;
  font-variant: small-caps;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-kinetic);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero { gap: 2rem; }
}

@media (max-width: 768px) {
  .header-inner { justify-content: space-between; gap: 0; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  
  .hero { grid-template-columns: 1fr; text-align: center; padding: 4rem 0; }
  .hero-images { max-width: 400px; margin: 0 auto 3rem; }
  
  .card-grid { grid-template-columns: 1fr; }
  
  .stat-strip { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 1rem 0; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .section { padding: 3rem 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}}
