:root {
  /* Dynamic Palette: Emerald Pull Quote (STRICTLY NO BLUE) */
  --bg-canvas: #ffffff;
  --bg-surface: #f1f5f9; /* Pale Grey */
  --bg-surface-hover: #e2e8f0;
  --text-primary: #1e293b; /* Slate Dark */
  --text-muted: #475569;
  --accent-primary: #059669; /* Emerald */
  --accent-secondary: #047857; /* Deep Emerald */
  --border-subtle: #cbd5e1;
  --bg-emerald-block: #059669;
  --text-on-emerald: #ffffff;

  /* Typography */
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  /* Layout & Micro-interactions */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.15);
  --glass-backdrop: blur(16px) saturate(180%);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* Strict 0px radius */
}

/* Header & Navigation */
.site-header {
  position: relative; /* Scrolls away, never fixed/sticky */
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
  margin-right: auto; /* Strictly far-left */
}

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

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

/* Underline grows on hover */
.desktop-nav a::after, .text-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.3s var(--ease-kinetic);
}

.desktop-nav a:hover::after, .text-link:hover::after {
  width: 100%;
}

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

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 5%;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.4), rgba(30, 41, 59, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
  font-family: var(--font-serif);
}

/* Buttons */
.btn-main {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 0; /* Strict 0px */
  cursor: pointer;
  transition: background-color 0.3s var(--ease-kinetic), transform 0.3s var(--ease-kinetic);
}

.btn-main:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

/* Editorial Reading Layout */
.editorial-section {
  padding: 6rem 5%;
  background-color: var(--bg-canvas);
}

.editorial-section.alt-bg {
  background-color: var(--bg-surface);
}

.reading-column {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.reading-column p {
  margin-bottom: 1.5rem;
}

/* Editorial Pull Quotes */
.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--accent-primary);
  margin: 3rem -10%;
  padding: 2rem 0;
  border-top: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  text-align: center;
  font-style: italic;
}

/* Breakout Images */
.breakout-img-wrapper {
  margin: 4rem calc(-50vw + 50%);
  width: 100vw;
  max-width: 1200px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.breakout-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 0;
}

.img-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: right;
  padding-top: 0.5rem;
  font-style: italic;
}

/* Bold Emerald Blocks */
.emerald-block {
  background-color: var(--bg-emerald-block);
  color: var(--text-on-emerald);
  padding: 5rem 5%;
  text-align: center;
}

.emerald-block h2 {
  color: var(--text-on-emerald);
}

/* Glassmorphic Cards (0px radius) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 2rem;
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}

.glass-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-elevation);
}

.glass-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* Interactive Forms / Contact Tool */
.contact-tool {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  border-radius: 0;
  max-width: 800px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0; /* Strict 0px */
  font-family: var(--font-sans);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.tool-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Tables */
.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(--border-subtle);
}

th {
  background-color: var(--bg-surface);
  font-family: var(--font-serif);
  font-weight: normal;
}

/* Footer */
.site-footer {
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: left;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

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

/* FAQ Styles */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.faq-question {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .pull-quote {
    margin: 2rem 0;
    font-size: 1.5rem;
  }
  .breakout-img-wrapper {
    margin: 2rem -5%;
    width: 110%;
    left: auto;
    transform: none;
  }
  .editorial-section {
    padding: 4rem 5%;
  }
}

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