:root {
  /* Dynamic Palette: Strictly No Blue. Warm Ochre, Sand, Surface. */
  --base: #f3e9d8;
  --surface: #fcfbf8;
  --text: #262626;
  --accent: #d97706;
  --text-muted: #595959;
  --border-subtle: rgba(217, 119, 6, 0.2);

  /* Typography */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(38, 38, 38, 0.1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--base);
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.25rem; max-width: 72ch; }

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

/* Header & Brand */
.site-header {
  position: relative;
  padding: 1.5rem;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--surface);
  border-radius: 99px;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-elevation);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  margin-right: auto;
  letter-spacing: -0.02em;
}

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

.desktop-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--accent);
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay a {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
  min-height: 25vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Background Patterns */
.pattern-bg {
  background-image: radial-gradient(rgba(217, 119, 6, 0.25) 2px, transparent 2px);
  background-size: 24px 24px;
}

/* Layout Framework: Full-width bands */
.section-band {
  padding: 5rem 1.5rem;
  border-radius: 0;
}
.section-band.surface {
  background-color: var(--surface);
}
.section-band.base {
  background-color: var(--base);
}

.content-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Grid & Media */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

/* List Rows & Cards */
.list-row {
  display: flex;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--accent);
  gap: 1.5rem;
  transition: transform 0.4s var(--ease-kinetic);
}
.list-row:last-child {
  border-bottom: none;
}
.list-row:hover {
  transform: translateX(8px);
}

.list-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.5rem;
}

.list-content h3 {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  border: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn:hover {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 0 16px -4px var(--accent);
}
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--base);
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 1rem;
  border-radius: 0;
}
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}
textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

/* Accordion */
.accordion {
  border-bottom: 1px solid var(--accent);
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic);
}
.accordion-content p {
  padding-bottom: 1.5rem;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--base);
  border-top: 1px solid var(--accent);
  padding: 4rem 1.5rem;
  margin-top: auto;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}
.footer-col h4 {
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Breakpoints */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .list-row {
    flex-direction: column;
    gap: 1rem;
  }
}

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