/* ==========================================================================
   Mind Your Beardness — Award-Winning Editorial & Parallax Stylesheet
   Brand Palette (WCAG 2.2 AA/AAA Verified):
   - Main Background:   #111214 (Obsidian Charcoal)
   - Secondary Surface: #1D2023 (Warm Slate Surface)
   - Main Text:         #F5F1E8 (Warm Alabaster — 16.6:1 on #111214)
   - Accent Gold:       #C9AD7D (Champagne Brass — 8.8:1 on #111214)
   - Secondary Text:    #B8B2A8 (Warm Stone — 9.04:1 on #111214)
   - Subtle Border:     #35383B (Architectural Hairline)
   ========================================================================== */

:root {
  /* Core Brand Tokens */
  --bg-main: #111214;
  --bg-surface: #1D2023;
  --bg-surface-elevated: #24282C;
  --bg-glass: rgba(29, 32, 35, 0.84);
  --text-main: #F5F1E8;
  --text-secondary: #B8B2A8;
  --accent-gold: #C9AD7D;
  --accent-gold-hover: #DFC699;
  --accent-gold-subtle: rgba(201, 173, 125, 0.14);
  --accent-gold-border: rgba(201, 173, 125, 0.42);
  --border-subtle: #35383B;
  --status-error-text: #F7B4A8;
  --status-error-border: #E07A68;
  --status-error-bg: rgba(224, 122, 104, 0.12);
  --status-valid-border: #7FB685;

  /* Licensed Font Families (Max 2 families per brief) */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Systematic Spacing Scale (8px base + editorial rhythm) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4.5rem;   /* 72px */
  --space-9: 6.5rem;   /* 104px */

  /* Layout & Touch Target Constraints */
  --container-max: 1240px;
  --gutter-mobile: 1.375rem; /* 22px (within 20-24px brief target) */
  --gutter-desktop: 2.5rem;  /* 40px */
  --touch-target-min: 48px;  /* 44-48px project design target */
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ==========================================================================
   1. Reset, Accessibility & Typography Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 100%; /* Respects OS/browser text scale preference (16px base) */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.09375rem; /* 17.5px (within 17-18px brief target) */
  line-height: 1.68;
  font-weight: 400;
  overflow-x: clip;
  position: relative;
  /* Prevent scroll anchoring oscillation on direct parent of sticky header (modern-web-guidance: state-aware-sticky-headers) */
  overflow-anchor: none;
}

/* Modern Web Guidance: improve-text-layout-and-legibility */
h1,
h2,
h3,
h4,
h5,
h6,
.balanced-heading {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p,
blockquote,
li,
.pretty-text {
  text-wrap: pretty;
}

a {
  color: var(--text-main);
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 0.25em;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--accent-gold);
}

/* High-visibility keyboard focus indicator (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to main content link */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-4);
  z-index: 9999;
  background: var(--accent-gold);
  color: var(--bg-main);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
}

.skip-link:focus {
  top: var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--gutter-desktop);
  }
}

/* ==========================================================================
   2. Ambient Depth Canvas & Architectural Lines
   ========================================================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 173, 125, 0.075) 0%, transparent 48%),
    radial-gradient(circle at 14% 68%, rgba(201, 173, 125, 0.045) 0%, transparent 52%);
}

.ambient-grid-lines {
  position: absolute;
  inset: 0;
  max-width: var(--container-max);
  margin-inline: auto;
  border-inline: 1px solid rgba(53, 56, 59, 0.28);
}

.ambient-grid-lines::before,
.ambient-grid-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(53, 56, 59, 0.16);
}

.ambient-grid-lines::before {
  left: 33.333%;
}

.ambient-grid-lines::after {
  left: 66.666%;
}

@media (max-width: 767px) {
  .ambient-grid-lines::before,
  .ambient-grid-lines::after {
    display: none;
  }
}

/* ==========================================================================
   3. Sticky Header with Scroll-State Container Queries
      (Modern Web Guidance: state-aware-sticky-headers)
   ========================================================================== */
.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  /* MANDATORY: Always specify a container name to avoid collisions if CQs are nested */
  container-type: scroll-state;
  container-name: site-header;
}

.site-header-bar {
  position: relative;
  height: var(--header-height);
  background: rgba(17, 18, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(53, 56, 59, 0.55);
  transition: background-color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Target stuck state via native CSS @container scroll-state(stuck: top) */
@container site-header scroll-state(stuck: top) {
  .site-header-bar {
    background: rgba(17, 18, 20, 0.96);
    border-bottom-color: rgba(201, 173, 125, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  }
}

/* IntersectionObserver fallback class for browsers without scroll-state queries */
.header-sticky-wrapper.is-stuck .site-header-bar {
  background: rgba(17, 18, 20, 0.96);
  border-bottom-color: rgba(201, 173, 125, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

/* Top Scroll Progress Indicator Bar */
.scroll-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(53, 56, 59, 0.35);
  overflow: hidden;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #E8D2A6);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes progress-grow {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    .scroll-progress-bar {
      animation: progress-grow linear both;
      animation-timeline: scroll(root block);
    }
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Compact Brand Wordmark (No brush script in navigation per brief) */
.brand-wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: var(--touch-target-min);
  padding-block: 0.25rem;
}

.brand-monogram-badge {
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  background: rgba(201, 173, 125, 0.08);
  flex-shrink: 0;
}

.brand-wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-wordmark-top {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.brand-wordmark-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
}

/* Desktop Navigation */
.primary-nav {
  display: none;
}

@media (min-width: 860px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target-min);
  padding-inline: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 1rem;
  right: 1rem;
  height: 1.5px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-link-cta {
  margin-left: 0.5rem;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
  padding-inline: 1.15rem;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  background: var(--accent-gold);
  color: var(--bg-main);
}

/* Mobile Menu Button & Drawer */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);
  padding-inline: 0.85rem;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu-toggle:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

@media (min-width: 860px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-nav-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--accent-gold-border);
  padding: var(--space-4) var(--gutter-mobile) var(--space-5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.mobile-nav-drawer[data-open="true"] {
  display: block;
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--touch-target-min);
  padding-inline: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(201, 173, 125, 0.1);
  border-color: var(--accent-gold-border);
  color: var(--accent-gold);
}

/* ==========================================================================
   4. Buttons & Interactive Controls (48px Touch Targets, Dark Text on Gold)
   ========================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--touch-target-min);
  padding: 0.75rem 1.65rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Primary Gold Button — MUST use dark text (#111214 on #C9AD7D = 8.80:1 contrast) */
.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-main);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 8px 24px rgba(201, 173, 125, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 173, 125, 0.28);
}

/* Secondary Outlined Button */
.btn-secondary {
  background-color: rgba(29, 32, 35, 0.75);
  color: var(--text-main);
  border: 1.5px solid var(--accent-gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--accent-gold-subtle);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}

/* ==========================================================================
   5. Hero Section — Multi-Layer Parallax & Authentic Portrait Stage
      (Modern Web Guidance: parallax-scroll-effects)
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding-block: var(--space-4) var(--space-6);
  overflow: clip;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .hero-section {
    padding-block: var(--space-7) var(--space-9);
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
  }
}

/* Background Monogram Watermark (Inspired by the supplied Facebook cover) */
.hero-watermark-monogram {
  position: absolute;
  top: 4%;
  left: max(1rem, calc((100vw - var(--container-max)) / 2 - 2rem));
  font-family: var(--font-heading);
  font-size: clamp(11rem, 24vw, 22rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: rgba(201, 173, 125, 0.045);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  --parallax-offset: -85px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-7);
  }
}

/* Left Column: Brand Lockup & Copy */
.hero-copy-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  --parallax-offset: -24px;
}

@media (min-width: 960px) {
  .hero-copy-col {
    gap: var(--space-5);
  }
}

.hero-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-main);
  padding-left: 0.1em;
}

/* Authentic Brush Wordmark Extracted from Supplied Cover Reference */
.hero-brush-wordmark-wrap {
  width: 100%;
  max-width: 470px;
  margin-block: 0.1rem 0.25rem;
}

.hero-brush-wordmark-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 104px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.55));
}

/* Pure Text Wordmark Mode (Toggleable in Owner Preview or if preferred) */
.hero-text-wordmark-fallback {
  display: none;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--accent-gold);
  line-height: 0.98;
}

body[data-wordmark-mode="text"] .hero-brush-wordmark-wrap {
  display: none;
}

body[data-wordmark-mode="text"] .hero-text-wordmark-fallback {
  display: block;
}

/* Signature Crest Divider Rule (from cover reference) */
.brand-crest-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 440px;
  margin-top: 0.15rem;
}

.brand-crest-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 173, 125, 0.15), var(--accent-gold), rgba(201, 173, 125, 0.15));
}

.brand-crest-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-main);
}

.hero-supporting-copy {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 54ch;
}

/* Right Column: Studio Portrait Stage (Full Beard & Headroom Preserved, Zero Overlays) */
.hero-portrait-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-top: 14px;
  padding-right: 14px;
}

/* Parallax Back Offset Frame */
.portrait-offset-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 42px;
  left: 20px;
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 65% 35%, rgba(201, 173, 125, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  --parallax-offset: 48px;
}

/* Portrait Card — Holds full 1024x683 aspect ratio so beard & headroom are never clipped */
.portrait-frame-card {
  position: relative;
  z-index: 1;
  background-color: #070809;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  --parallax-offset: 18px;
}

.portrait-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 683;
  object-fit: contain;
  background-color: #070809;
}

/* Architectural Caption Plate — Positioned strictly BELOW the portrait frame, never covering the image */
.portrait-caption-rail {
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.55rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.portrait-caption-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-right: 0.45rem;
}

/* ==========================================================================
   6. Scroll-Linked Kinetic Editorial Ribbon (Zero auto-motion when idle)
   ========================================================================== */
.kinetic-ribbon-wrap {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1rem;
  overflow: clip;
}

.kinetic-ribbon-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  will-change: transform;
}

.kinetic-diamond {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* ==========================================================================
   7. Section Scaffolding & Eyebrow Headers
   ========================================================================== */
.site-section {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--border-subtle);
  overflow: clip;
}

@media (min-width: 960px) {
  .site-section {
    padding-block: var(--space-9);
  }
}

.section-surface-alt {
  background-color: rgba(29, 32, 35, 0.46);
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-7);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-3);
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background-color: var(--accent-gold);
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: var(--space-3);
}

.section-supporting {
  font-size: 1.09375rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. Behind the Beard Section (#about)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--space-8);
  }
}

.about-portrait-stage {
  position: relative;
  padding-top: 14px;
  padding-left: 14px;
}

.about-portrait-stage .portrait-offset-frame {
  left: 0;
  right: 20px;
}

.about-narrative-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.editorial-lead-paragraph {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.74;
  color: var(--text-main);
}

.editorial-lead-paragraph::first-letter {
  font-family: var(--font-heading);
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 0.88;
  float: left;
  margin-right: 0.65rem;
  margin-top: 0.15rem;
  color: var(--accent-gold);
}

.editorial-pullquote {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-surface);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-style: italic;
  line-height: 1.38;
  color: var(--text-main);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

@media (min-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.about-pillar-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.about-pillar-detail {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. Explore the Beardness (#explore) — Interactive Parallax Bento Grid
   ========================================================================== */
.explore-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .explore-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.theme-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  --parallax-offset: 32px;
}

@media (min-width: 768px) {
  .theme-card:nth-child(even) {
    --parallax-offset: 68px;
  }
}

.theme-card:hover,
.theme-card:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.theme-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  border-bottom: 1px solid rgba(53, 56, 59, 0.7);
  padding-bottom: var(--space-3);
}

.theme-index {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-gold);
}

.theme-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(17, 18, 20, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.theme-title {
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  margin-bottom: var(--space-2);
}

.theme-summary {
  font-size: 1.0625rem;
  color: var(--text-main);
  font-weight: 500;
}

.theme-spotlight-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.62;
  padding-top: var(--space-2);
  border-top: 1px dashed rgba(53, 56, 59, 0.8);
}

.theme-tags-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-2);
}

.theme-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(201, 173, 125, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.theme-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(201, 173, 125, 0.38);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-tag-link:hover,
.theme-tag-link:focus-visible {
  background: var(--accent-gold);
  color: var(--bg-main);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   10. Latest from Mind Your Beardness (#latest)
   ========================================================================== */
.launch-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
  .launch-feature-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.launch-feature-media {
  background: #070809;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 900px) {
  .launch-feature-media {
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
  }
}

.launch-feature-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 683;
  object-fit: contain;
}

.launch-feature-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.feature-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-gold);
  color: var(--bg-main);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-sm);
}

.feature-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launch-feature-title {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
}

/* Reusable 3-to-6 Item Module (Preview Fixtures hidden by default on launch) */
.latest-fixtures-container {
  display: none;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px dashed var(--accent-gold-border);
}

body[data-show-fixtures="true"] .latest-fixtures-container {
  display: block;
}

.fixtures-banner {
  background: rgba(201, 173, 125, 0.1);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.fixtures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .fixtures-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fixture-card {
  background: var(--bg-surface);
  border: 1px dashed var(--accent-gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fixture-thumb-wrap {
  position: relative;
  background: #070809;
  border-bottom: 1px solid var(--border-subtle);
}

.fixture-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.fixture-pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--bg-main);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
}

.fixture-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.fixture-title {
  font-size: 1.3rem;
}

.fixture-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   11. Connect / Follow the Journey (#connect)
   ========================================================================== */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  transition: border-color 0.25s ease;
}

.channel-card:hover {
  border-color: var(--accent-gold-border);
}

.channel-card[data-channel-hidden="true"] {
  display: none;
}

body[data-show-youtube="true"] .channel-card[data-channel-hidden="true"] {
  display: flex;
  border-style: dashed;
}

.channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.channel-icon-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.channel-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-subtle);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-name {
  font-size: 1.75rem;
}

.channel-status-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(201, 173, 125, 0.12);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.channel-tagline {
  color: var(--text-main);
  font-size: 1.05rem;
}

.channel-config-note {
  padding: 0.85rem 1rem;
  background: rgba(17, 18, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   12. Collaborations & Contact (#contact)
       (Modern Web Guidance: validate-input-after-interaction)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-8);
  }
}

.contact-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-mailbox-box {
  padding: var(--space-4);
  background: rgba(17, 18, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.contact-mailbox-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.contact-mailbox-address {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.contact-mailbox-status {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Accessible Contact Form */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.form-field {
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.form-label-required {
  color: var(--accent-gold);
  margin-left: 0.2rem;
}

/* MANDATORY (validate-input-after-interaction): Place format hints above the input so autocomplete popovers don't cover them */
.field-hint {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  min-height: var(--touch-target-min);
  padding: 0.75rem 1rem;
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.form-control:hover {
  border-color: var(--text-secondary);
}

/* Modern Web Guidance: validate-input-after-interaction (:user-invalid & :user-valid) */
.form-control:user-invalid,
.form-control.user-invalid-fallback {
  border-color: var(--status-error-border);
  background-color: var(--status-error-bg);
}

.form-control:user-valid,
.form-control.user-valid-fallback {
  border-color: var(--status-valid-border);
}

.field-error-msg {
  display: none;
  color: var(--status-error-text);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.form-control:user-invalid + .field-error-msg,
.form-control.user-invalid-fallback + .field-error-msg {
  display: block;
}

.form-field:has(.form-control:user-invalid) .form-label {
  color: var(--status-error-text);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status-banner {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  display: none;
}

.form-status-banner[data-visible="true"] {
  display: block;
}

.form-status-banner[data-state="pending-backend"] {
  background: rgba(201, 173, 125, 0.12);
  border: 1px solid var(--accent-gold);
  color: var(--text-main);
}

.form-status-banner[data-state="error"] {
  background: var(--status-error-bg);
  border: 1px solid var(--status-error-border);
  color: var(--status-error-text);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  background: #0B0C0E;
  padding-block: var(--space-8) var(--space-9);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
}

.footer-brand-tagline {
  margin-top: var(--space-3);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
}

.footer-bio {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 44ch;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-3);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   14. Native CSS Scroll-Driven Parallax & Entry/Exit Animations
       (Modern Web Guidance: parallax-scroll-effects & scroll-entry-exit-effects)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @media (min-width: 768px) {
      @keyframes parallax-layer-shift {
        from {
          transform: translateY(var(--parallax-offset, 28px));
        }
        to {
          transform: translateY(calc(var(--parallax-offset, 28px) * -0.5));
        }
      }

      @keyframes hero-parallax-exit {
        from {
          transform: translateY(0);
        }
        to {
          transform: translateY(var(--parallax-offset, 32px));
        }
      }

      .parallax-scope {
        view-timeline: --section-tl;
      }

      .parallax-layer {
        animation: parallax-layer-shift linear both;
        animation-timeline: --section-tl;
        animation-range: entry 0% exit 100%;
      }

      /* Hero layers rest at 0px at top of page and shift at distinct parallax rates on scroll */
      .hero-section .parallax-layer {
        animation: hero-parallax-exit linear both;
        animation-timeline: --section-tl;
        animation-range: exit 0% exit 100%;
      }
    }

    /* Scroll entry reveal effects on cards */
    @keyframes scroll-card-enter {
      from {
        opacity: 0.25;
        transform: translateY(22px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .scroll-reveal-item {
      animation: scroll-card-enter auto ease-out backwards;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-layer,
  .scroll-reveal-item,
  .kinetic-ribbon-track {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   15. Owner Preview Control Bar (Clearly marked for Owner Review Only)
   ========================================================================== */
.owner-preview-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(17, 18, 20, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--accent-gold);
  padding: 0.6rem var(--gutter-mobile);
  font-size: 0.82rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.owner-preview-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.owner-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.owner-preview-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.owner-toggle-btn {
  min-height: 38px;
  padding: 0.35rem 0.75rem;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.owner-toggle-btn[aria-pressed="true"] {
  background: var(--accent-gold);
  color: var(--bg-main);
  border-color: var(--accent-gold);
  font-weight: 700;
}

@media (max-width: 640px) {
  .owner-preview-bar {
    position: static;
  }
}

/* ==========================================================================
   16. Editorial Pillar Hub & Article Page Styles
   ========================================================================== */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.breadcrumb-link {
  color: var(--text-secondary);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link:hover {
  color: var(--accent-gold);
}

.breadcrumb-sep {
  color: var(--accent-gold);
}

.article-hero-section {
  position: relative;
  padding-block: var(--space-6) var(--space-7);
  border-bottom: 1px solid var(--border-subtle);
  overflow: clip;
}

.article-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 960px) {
  .article-header-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-7);
  }
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-3);
}

.article-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: var(--space-4);
}

.article-subtitle {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 58ch;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 960px) {
  .article-layout-grid {
    grid-template-columns: 1fr 340px;
    gap: var(--space-8);
  }
}

.article-prose {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 68ch;
}

.article-section-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.article-section-heading {
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  color: var(--text-main);
  padding-top: var(--space-2);
}

.article-paragraph {
  font-size: 1.125rem;
  line-height: 1.78;
  color: var(--text-main);
}

.article-sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 960px) {
  .article-sidebar-sticky {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
}

.key-notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.key-note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
  line-height: 1.58;
  color: var(--text-secondary);
}

.key-note-bullet {
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pillar-nav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-4);
}

.directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.directory-pillar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

