:root {
  --base: #2c1715;
  --surface: #402521;
  --text: #e0f2f1;
  --accent: #ff6f59;
  
  --font-main: system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --max-width-reading: 72ch;
  --shadow-color: #1a0d0c;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--surface);
  padding: 1.5rem 2rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand a {
  color: var(--text);
  text-decoration: none;
}

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

.header-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

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

.nav-list a {
  color: var(--text);
  font-weight: 600;
}

.nav-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Layout */
main {
  min-height: 80vh;
}

.reading-column {
  max-width: var(--max-width-reading);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.coral-band {
  background-color: var(--accent);
  color: var(--base);
  padding: 5rem 1.5rem;
  width: 100%;
}

.coral-band .reading-column {
  padding: 0;
}

.coral-band h2, .coral-band h3, .coral-band p {
  color: var(--base);
}

/* Hero Overlay & Images */
.hero-wrapper {
  position: relative;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.breakout-photo {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.hero-wrapper .breakout-photo {
  margin: 0;
}

.hero-panel {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.fact-item strong {
  color: var(--accent);
  min-width: 2ch;
}

/* UI Elements */
.list-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--surface);
  padding: 1.5rem 0;
}

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

.list-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.pull-quote {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 3rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--base);
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--base);
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover, .btn:focus-visible {
  text-decoration: none;
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 0 var(--shadow-color);
  color: var(--base);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface);
  color: var(--text);
  font-family: var(--font-main);
  transition: border-color 0.3s var(--ease);
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.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(--surface);
}

th {
  font-weight: 800;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--surface);
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width-reading);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.footer-nav a {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-legal-text {
  font-size: 0.8rem;
  color: rgba(224, 242, 241, 0.6);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  .coral-band { padding: 4rem 1.5rem; }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .header-nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }
  
  .header-nav.active {
    display: block;
    animation: slideDown 0.3s var(--ease) forwards;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero-panel {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 1rem;
  }
  
  .coral-band { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .btn { width: 100%; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(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}}
