:root {
  /* Dynamic Palette (Strictly No Blue) - Espresso Reading Room */
  --bg-canvas: #1e1612;
  --bg-surface: #2a1f19;
  --bg-surface-hover: #352820;
  --text-primary: #f5ecdf;
  --text-muted: #d5ccbf;
  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --border-subtle: rgba(245, 236, 223, 0.15);
  
  /* Advanced UI Micro-Interactions & Depth */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 4px 4px 0px 0px var(--text-primary);
  --glow-accent: 0 0 24px -4px var(--accent-primary);
  --glass-backdrop: blur(16px) saturate(180%);
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.85;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1.125rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

a:hover {
  color: var(--accent-secondary);
}

/* Header & Nav */
.top-bar {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-primary);
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

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

.nav-links a {
  color: var(--text-primary);
  font-size: 1rem;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-surface);
  position: absolute;
  top: 100px;
  right: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

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

/* Layout */
.reading-column {
  max-width: 66ch;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at center, rgba(245,158,11,0.15) 0%, var(--bg-canvas) 70%);
  padding: 8rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 800px;
  margin: 0 auto;
}

/* Typography elements */
.pull-quote {
  font-size: 1.5rem;
  color: var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  line-height: 1.6;
}

p {
  margin-bottom: 1.5rem;
}

/* List Rows */
.list-container {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
}

.list-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.list-row:hover {
  background-color: rgba(245, 236, 223, 0.03);
}

.list-row svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: var(--accent-primary);
  margin-right: 1.5rem;
}

.list-row-content {
  flex-grow: 1;
}

.list-row-title {
  font-weight: 700;
  font-size: 1.125rem;
  display: block;
}

.list-row-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-elevation);
  transition: all 0.2s var(--ease-kinetic);
  text-align: center;
}

.btn:hover, .btn:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px var(--text-primary);
  color: var(--bg-canvas);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Breakout Images */
.breakout-image {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  max-width: none;
  border-radius: 4px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  object-fit: cover;
  filter: sepia(0.3) hue-rotate(-10deg) saturate(1.2);
}

.breakout-svg {
  width: 100%;
  height: auto;
  margin: 3rem 0;
  display: block;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem;
  border-radius: 4px;
  font-family: inherit;
}

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

.preview-block {
  background-color: var(--text-primary);
  color: var(--bg-canvas);
  padding: 1.5rem;
  border-radius: 4px;
  font-style: italic;
  margin: 1.5rem 0;
  white-space: pre-wrap;
  display: none;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background-color: var(--bg-surface);
  color: var(--accent-primary);
}

/* Accordion FAQ */
.accordion {
  margin: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-btn::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.accordion-btn[aria-expanded="true"]::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

/* Animations */
.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 */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1rem;
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(245,158,11,0.05) 0%, var(--bg-canvas) 100%);
}

.footer-col {
  max-width: 66ch;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

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

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

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .breakout-image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .reading-column {
    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}}
