:root {
  --bg-canvas: #3b0d1a;
  --bg-surface: #501d2a;
  --bg-surface-hover: #5d2332;
  --text-primary: #fff4df;
  --text-muted: #d9c7aa;
  --accent-primary: #e8d5a8;
  --accent-secondary: #c9a96e;
  --border-subtle: rgba(232, 213, 168, 0.28);
  --border-strong: rgba(232, 213, 168, 0.55);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 16px 36px -6px rgba(18, 2, 7, 0.55);
  --glow-accent: 0 0 24px -6px rgba(232, 213, 168, 0.45);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

body {
  font-family: Charter, Cambria, Georgia, 'Times New Roman', serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.68;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-kinetic);
}

a:hover, a:focus-visible {
  color: #fff4df;
}

/* Site Header (Far Left Brand, strictly scrolls away, static flow) */
.site-header {
  position: static;
  width: 100%;
  padding: 1.6rem 2rem 1rem 2rem;
  background: #340a16;
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-name {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-feature-settings: "smcp" 1;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-style: italic;
  letter-spacing: 0.02em;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.site-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.25s var(--ease-kinetic);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

/* Hero Section */
.hero-viewport {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at 50% 25%, #6a2436 0%, #3b0d1a 75%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-art-underlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-art-underlay svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-primary);
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(80, 29, 42, 0.6);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 70ch;
  margin: 0 auto 2.2rem auto;
}

/* Page Headers (Subpages) */
.page-lead-block {
  background: linear-gradient(180deg, #340a16 0%, #501d2a 100%);
  padding: 4rem 1.5rem 3.5rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-lead-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.8rem;
}

.page-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  max-width: 24ch;
}

.page-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 72ch;
}

/* Main Layout Structure */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-block {
  margin-bottom: 4.5rem;
  position: relative;
}

.section-head {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
}

.section-index {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Editorial Two-Column Grid */
.editorial-lead-block {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
}

.editorial-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.8rem;
}

.editorial-col {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.editorial-col p + p {
  margin-top: 1.2rem;
}

/* Icon-Led List Rows (Brief rule: NO boxed card collections) */
.list-rows-group {
  display: flex;
  flex-direction: column;
}

.icon-list-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s var(--ease-kinetic);
}

.icon-list-row:first-child {
  border-top: 1px solid var(--border-subtle);
}

.icon-list-row:hover {
  background-color: rgba(232, 213, 168, 0.04);
}

.row-glyph {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.row-body h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.row-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 68ch;
}

.row-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  white-space: nowrap;
  padding-top: 0.3rem;
}

/* Illustration & Art Panels */
.art-panel {
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-elevation);
}

.art-panel-media {
  border-radius: 14px;
  overflow: hidden;
  background: #2b0812;
  margin-bottom: 1.2rem;
}

.art-panel-media svg {
  width: 100%;
  height: auto;
  display: block;
}

.art-caption {
  font-size: 0.95rem;
  color: var(--accent-primary);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

/* Solid Champagne Pill Buttons (Brief strict requirement) */
.btn-champagne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--accent-primary);
  color: #3b0d1a !important;
  text-decoration: none !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.25s var(--ease-kinetic), background-color 0.25s var(--ease-kinetic);
}

.btn-champagne:hover,
.btn-champagne:focus-visible {
  background-color: #fff4df;
  transform: translateY(-2px);
  color: #3b0d1a;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

/* Comparison Do / Don't Grid */
.field-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.ethics-panel {
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
}

.ethics-panel.do {
  background: rgba(80, 29, 42, 0.7);
  border-color: rgba(232, 213, 168, 0.4);
}

.ethics-panel.dont {
  background: rgba(59, 13, 26, 0.7);
  border-color: rgba(200, 80, 80, 0.4);
}

.ethics-panel h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.ethics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ethics-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.98rem;
  color: var(--text-muted);
}

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

/* Interactive Accordion / FAQ */
.faq-accordion {
  border-top: 1px solid var(--border-subtle);
}

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

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

.faq-trigger:hover,
.faq-trigger:focus-visible {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-primary);
  transition: transform 0.3s var(--ease-kinetic);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-kinetic), padding 0.35s var(--ease-kinetic);
  padding: 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-content.open {
  padding-bottom: 1.5rem;
}

/* Field Composer (Contact Form with Copy & Download Tool) */
.composer-box {
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevation);
  margin-top: 2rem;
}

.composer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  font-weight: 600;
}

.form-control {
  background: rgba(30, 6, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s var(--ease-kinetic);
}

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

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

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease-kinetic);
}

.btn-secondary-pill:hover,
.btn-secondary-pill:focus-visible {
  border-color: var(--accent-primary);
  background: rgba(232, 213, 168, 0.1);
  color: #fff4df;
}

.composer-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--accent-primary);
  min-height: 1.4rem;
}

/* Legal & Long-form reading containers */
.editorial-prose {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.editorial-prose h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 2.8rem 0 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.editorial-prose h3 {
  font-size: 1.35rem;
  color: var(--accent-primary);
  margin: 2rem 0 0.8rem 0;
}

.editorial-prose p + p {
  margin-top: 1.25rem;
}

.editorial-prose ul {
  margin: 1.2rem 0 1.5rem 1.8rem;
}

.editorial-prose li {
  margin-bottom: 0.5rem;
}

/* Site Footer (identical on every page) */
.site-footer {
  background: #24060e;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 3rem 1.5rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 1.2rem;
}

.footer-col p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-kinetic);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--accent-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 213, 168, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

/* Responsive Media Queries */
@media (max-width: 860px) {
  .editorial-two-col {
    grid-template-columns: 1fr;
  }
  .field-comparison-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
  .site-nav {
    display: none;
    width: 100%;
    margin-top: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }
  .site-nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .icon-list-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .row-glyph {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  .composer-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll reveal helper */
.reveal-entry {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-kinetic), transform 0.6s var(--ease-kinetic);
}

.reveal-visible {
  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}}
