:root {
  --bg-paper: #f7f5f0;
  --bg-paper-alt: #ebe8e1;
  --text-ink: #111111;
  --text-muted: #444444;
  --accent-red: #d62828;
  --accent-red-hover: #b01f1f;
  --accent-red-faint: rgba(214, 40, 40, 0.04);
  --accent-red-glass: rgba(214, 40, 40, 0.08);
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.1);
  --shadow-floating: 0 8px 24px rgba(0, 0, 0, 0.06);
  --glass-backdrop: blur(12px) saturate(140%);
  
  --radius-card: 20px;
  --radius-pill: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-paper);
}
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-ink);
  background-color: var(--bg-paper);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-ink);
  margin-top: 0;
  line-height: 1.2;
}

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

/* Layout constraints */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow-container {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating Encapsulated Header */
.site-header {
  position: relative;
  max-width: 1100px;
  margin: 20px auto;
  padding: 15px 30px;
  background: var(--bg-paper-alt);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-floating);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand span { color: var(--accent-red); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--text-ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--accent-red);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--accent-red);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), background 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.btn:hover {
  background: var(--accent-red-hover);
  transform: translateY(-3px) scale(1.02);
  color: #fff;
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.3);
}

/* Page Layout Bands & Wavy Sections */
.section-band {
  padding: 80px 0;
  width: 100%;
}
.bg-alt {
  background: var(--bg-paper-alt);
}
.wavy-top {
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-top: 100px;
}
.wavy-bottom {
  border-bottom-left-radius: 50% 40px;
  border-bottom-right-radius: 50% 40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 0 100px;
}
.hero-content {
  flex: 1;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  max-width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

/* Translucent Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.card {
  background: var(--accent-red-faint);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid rgba(214, 40, 40, 0.05);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}
.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-elevation);
  background: var(--accent-red-glass);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 10px);
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Split Content */
.split-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.split-content.reverse {
  flex-direction: row-reverse;
}
.split-text {
  flex: 1;
}
.split-image {
  flex: 1;
}
.split-image img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

/* Text Columns */
.text-column {
  column-count: 2;
  column-gap: 40px;
  margin-top: 40px;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: var(--bg-paper);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-red);
}

/* Floating Encapsulated Footer */
.site-footer {
  position: relative;
  max-width: 1100px;
  margin: 60px auto 20px;
  padding: 40px 30px;
  background: var(--bg-paper-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-floating);
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-ink);
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--accent-red);
}
.footer-legal, .footer-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
}
.footer-legal a:hover {
  color: var(--accent-red);
}

/* Table wrapper for responsive */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}
th { font-family: Georgia, serif; }

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

/* Mobile Breakpoints */
@media (max-width: 768px) {
  .site-header { margin: 10px; border-radius: 20px; }
  .mobile-menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-paper-alt);
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-floating);
    gap: 15px;
  }
  .nav-links.open { display: flex; }
  .hero { flex-direction: column; padding: 40px 0 60px; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { margin: 0 auto 32px; }
  .split-content, .split-content.reverse { flex-direction: column; }
  .text-column { column-count: 1; }
  .wavy-top { border-top-left-radius: 50% 20px; border-top-right-radius: 50% 20px; }
  .wavy-bottom { border-bottom-left-radius: 50% 20px; border-bottom-right-radius: 50% 20px; }
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 24px;
  background: var(--bg-paper-alt);
  padding: 24px;
  border-radius: var(--radius-card);
}
.faq-item h3 { margin-bottom: 12px; font-size: 1.25rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

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