:root {
  --bg-canvas: #171615;
  --bg-surface: #24211d;
  --bg-surface-alt: #1e1b18;
  --bg-surface-hover: #2d2924;
  --text-primary: #f4f1ea;
  --text-muted: #b8b1a4;
  --text-faint: #7f786d;
  --accent-gold: #d4a84b;
  --accent-gold-hover: #e5be69;
  --border-subtle: #34302a;
  --border-strong: #4a443b;
  --radius-panel: 20px;
  --radius-pill: 9999px;
  --max-width: 1140px;
  --reading-width: 68ch;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Tagline Bar */
.tagline-bar {
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header & Navigation */
.site-header {
  position: relative;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 1.5rem;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-symbol {
  width: 14px;
  height: 14px;
  background-color: var(--accent-gold);
  border-radius: 3px;
  display: inline-block;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

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

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

.menu-trigger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-panel {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  display: block;
  padding: 0.3rem 0;
}

/* Page Layout */
.site-main {
  flex: 1 0 auto;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.editorial-layout {
  max-width: var(--reading-width);
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: normal;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.35rem;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.lead-p {
  font-size: 1.22rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Hero Section (Home) */
.hero-journal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-visual-cluster {
  position: relative;
  min-height: 380px;
}

.hero-crop {
  position: absolute;
  border-radius: var(--radius-panel);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.hero-crop-1 {
  width: 78%;
  height: 250px;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-crop-2 {
  width: 65%;
  height: 220px;
  right: 0;
  top: 70px;
  z-index: 2;
  border: 4px solid var(--bg-canvas);
}

.hero-crop-3 {
  width: 70%;
  height: 180px;
  bottom: -20px;
  left: 15%;
  z-index: 3;
  border: 4px solid var(--bg-canvas);
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-gold);
  color: #171615;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-kinetic), background-color 0.2s;
  width: fit-content;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--accent-gold);
}

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

/* Icon-led List Rows (Replacing traditional cards) */
.margin-list {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
}

.margin-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

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

.row-glyph {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 1rem;
}

.row-body {
  flex: 1;
}

.row-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.row-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.row-meta {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Pull Quotes */
.pull-quote {
  margin: 2.75rem 0;
  padding: 1.75rem 2.25rem;
  border-left: 3px solid var(--accent-gold);
  background-color: var(--bg-surface);
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.pull-quote cite {
  font-size: 0.9rem;
  color: var(--text-faint);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Breakout Photographs */
.breakout-media {
  margin: 3rem -2rem;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.breakout-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.caption {
  font-size: 0.85rem;
  color: var(--text-faint);
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface-alt);
}

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

.journal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-surface);
  font-size: 0.95rem;
}

.journal-table th, .journal-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.journal-table th {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-weight: 600;
  background-color: var(--bg-surface-alt);
}

.journal-table tr:last-child td {
  border-bottom: none;
}

/* Walkthrough List */
.walkthrough-steps {
  margin: 2rem 0;
  list-style: none;
}

.step-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--bg-surface-hover);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

/* Writing Sheet Contact Tool */
.writing-sheet {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: 2.5rem;
  margin: 2.5rem 0;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 75, 0.05);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

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

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

.sheet-status {
  font-size: 0.9rem;
  color: var(--accent-gold);
  min-height: 1.2em;
}

/* FAQ Accordion / Blocks */
.faq-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-block:first-of-type {
  border-top: 1px solid var(--border-subtle);
}

.faq-q {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.faq-a {
  color: var(--text-muted);
  line-height: 1.65;
}

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

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

/* Site Footer */
.site-footer {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand a {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col h5 {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-journal {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-cluster {
    min-height: 280px;
    margin-top: 1rem;
  }
  .hero-crop-1 {
    width: 80%;
    height: 200px;
  }
  .hero-crop-2 {
    width: 70%;
    height: 180px;
    top: 50px;
  }
  .hero-crop-3 {
    width: 75%;
    height: 160px;
    bottom: -10px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .breakout-media {
    margin: 2rem 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .menu-trigger {
    display: block;
  }
  .site-main {
    padding: 2rem 1.15rem 3.5rem;
  }
  .writing-sheet {
    padding: 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}}
