/*
  ============================================================
  THEODORE — styles.css
  ============================================================
  Implementation Notes:
  - CSS custom properties for complete theming (light + dark)
  - 8px spacing scale, soft shadows, rounded-lg radius
  - Mobile-first responsive design with container queries
  - prefers-reduced-motion respected on all animations
  - WCAG AA contrast ratios throughout
  - No frameworks or preprocessors — pure CSS
  ============================================================
*/

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand palette */
  --ink: #0F172A;
  --coal: #111827;
  --sand: #E5D5C5;
  --sage: #9BB59B;
  --clay: #C7745A;
  --sun: #F4C95D;
  --paper: #FCFCFA;

  /* Tints & variants */
  --ink-10: rgba(15, 23, 42, 0.1);
  --ink-20: rgba(15, 23, 42, 0.2);
  --ink-40: rgba(15, 23, 42, 0.4);
  --ink-60: rgba(15, 23, 42, 0.6);
  --ink-80: rgba(15, 23, 42, 0.8);
  --sand-light: #F0E6DA;
  --sand-dark: #C4B09A;
  --sage-light: #C5D9C5;
  --sage-dark: #6B8F6B;
  --clay-light: #E0A48F;
  --clay-dark: #A85A42;
  --sun-light: #F9E0A0;
  --sun-dark: #D4A832;

  /* Semantic */
  --bg-primary: var(--paper);
  --bg-secondary: var(--sand-light);
  --bg-dark: var(--ink);
  --bg-card: #FFFFFF;
  --text-primary: var(--coal);
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-inverse: var(--paper);
  --border-color: #E5E7EB;
  --border-hover: #D1D5DB;

  /* Spacing (8px scale) */
  --sp-0: 0;
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-10: 5rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --ls-tight: -0.025em;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --duration-fast: 150ms;
  --duration: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 72px;

  /* Focus ring */
  --focus-ring: 0 0 0 3px var(--sun), 0 0 0 5px var(--ink-20);
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --bg-primary: #0C0F17;
  --bg-secondary: #1A1D27;
  --bg-dark: #000000;
  --bg-card: #161922;
  --text-primary: #E5E7EB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-inverse: var(--coal);
  --border-color: #2D3140;
  --border-hover: #3D4155;
  --sand: #2D2A26;
  --sand-light: #1F1D1A;
  --sage: #4A6B4A;
  --sage-light: #2A3F2A;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg-primary: #0C0F17;
    --bg-secondary: #1A1D27;
    --bg-dark: #000000;
    --bg-card: #161922;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --text-inverse: var(--coal);
    --border-color: #2D3140;
    --border-hover: #3D4155;
  }
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ============================================================
   3. UTILITIES
   ============================================================ */

/* Screen reader only */
.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;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-2);
  z-index: 10000;
  padding: var(--sp-1) var(--sp-3);
  background: var(--ink);
  color: var(--paper);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: top var(--duration) var(--ease);
}

.skip-link:focus {
  top: var(--sp-2);
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--sp-3);
  padding-right: var(--sp-3);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }
}

/* Focus styles */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--coal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  transform: translateY(0);
}

[data-theme="dark"] .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
[data-theme="dark"] .btn--primary:hover {
  background: #E5E7EB;
}

.btn--secondary {
  background: var(--sand);
  color: var(--ink);
}
.btn--secondary:hover {
  background: var(--sand-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--ink-10);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  z-index: 1001;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

[data-theme="dark"] .logo-mark {
  filter: invert(1);
}

.site-header:not(.scrolled) .logo-mark {
  filter: invert(1);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--text-primary);
}

.site-header:not(.scrolled) .logo-text {
  color: var(--paper);
}

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

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  padding: 0.4rem 0.65rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease);
}

.site-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--ink-10);
}

/* Hide cart icon from nav lists — promoted to header-level button */
.nav-list li:has(> [aria-label="Shop"]),
.mobile-nav-list li:has(> [aria-label="Shop"]) {
  display: none;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
}

/* Header actions group (theme toggle + cart + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1001;
}

/* Header cart button */
.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--sand-light);
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease);
}

.header-cart-btn:hover {
  background: var(--sand);
}

.site-header:not(.scrolled) .header-cart-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--paper);
}

.site-header:not(.scrolled) .header-cart-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .header-cart-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

[data-theme="dark"] .header-cart-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-link--cta {
  background: var(--clay);
  color: var(--paper) !important;
  font-weight: var(--fw-semibold);
}

.nav-link--cta:hover {
  background: var(--clay-dark) !important;
}

.site-header:not(.scrolled) .nav-link--cta {
  background: var(--clay);
  color: var(--paper) !important;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease);
  color: var(--text-primary);
}

.site-header:not(.scrolled) .theme-toggle {
  color: var(--paper);
}

.theme-toggle:hover {
  background: var(--ink-10);
}

.theme-icon--dark {
  display: none;
}

[data-theme="dark"] .theme-icon--light {
  display: none;
}

[data-theme="dark"] .theme-icon--dark {
  display: block;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1001;
  border-radius: var(--radius-sm);
}

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

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.site-header:not(.scrolled) .hamburger-line {
  background: var(--paper);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease),
              visibility var(--duration) var(--ease);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  background: var(--bg-primary);
  z-index: 1000;
  padding: var(--sp-6) var(--sp-4);
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header .logo-text {
  color: var(--text-primary);
}

.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: var(--fs-xl);
  border-radius: var(--radius-full);
  color: var(--text-primary);
}

.mobile-close-btn:hover {
  background: var(--ink-10);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--ink-10);
}

.mobile-nav-link--cta {
  background: var(--clay);
  color: var(--paper);
  text-align: center;
  margin-top: var(--sp-3);
  font-weight: var(--fw-semibold);
}

.mobile-nav-link--cta:hover {
  background: var(--clay-dark);
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #1E293B 50%, var(--coal) 100%);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
}

.hero-slide.active {
  opacity: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.4) 40%,
    rgba(15, 23, 42, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-8) var(--sp-3);
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--sp-3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--paper);
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--sp-1);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--duration) var(--ease);
  border: none;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--paper);
  transform: scale(1.3);
}

.hero-dot:focus-visible {
  box-shadow: 0 0 0 3px var(--sun);
}

/* Scroll chevron */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--paper);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  padding: var(--sp-1);
  border-radius: var(--radius-full);
}

.hero-scroll:hover {
  color: var(--sun);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) forwards;
}

.fade-up--d1 { animation-delay: 0.15s; }
.fade-up--d2 { animation-delay: 0.3s; }
.fade-up--d3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   8. SECTIONS – SHARED
   ============================================================ */
.section {
  padding: var(--sp-12) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-16) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-1);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ============================================================
   9. SIX ASPECTS
   ============================================================ */
.aspects {
  background: var(--bg-secondary);
}

.aspects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

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

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

.aspect-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  text-decoration: none;
  border: 1px solid var(--border-color);
}

.aspect-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.aspect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sand-light);
  color: var(--clay);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: var(--sp-2);
}

[data-theme="dark"] .aspect-icon {
  background: var(--ink-20);
}

.aspect-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-1);
}

.aspect-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: var(--sp-3);
}

.aspect-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clay);
  transition: gap var(--duration) var(--ease);
}

.aspect-card:hover .aspect-cta {
  gap: 8px;
}

/* ============================================================
   10. PILLARS (Three panels)
   ============================================================ */
.pillar-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-8);
}

.pillar-panel:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .pillar-panel {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-panel--reverse .pillar-image {
    order: 2;
  }
  .pillar-panel--reverse .pillar-content {
    order: 1;
  }
}

.pillar-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--sand-light);
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.pillar-panel:hover .pillar-image img {
  transform: scale(1.03);
}

.pillar-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--sand);
  margin-bottom: var(--sp-1);
}

.pillar-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.pillar-desc {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-3);
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pillar-list li i {
  color: var(--sage);
  font-size: 1.1rem;
}

/* ============================================================
   11. COMMENTARY & GROW
   ============================================================ */
.commentary-grow {
  background: var(--bg-secondary);
}

.cg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .cg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cg-column-title {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-1);
}

.cg-column-title i {
  color: var(--clay);
}

.cg-column-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-relaxed);
}

.cg-card {
  padding: var(--sp-3);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: var(--sp-2);
  transition: box-shadow var(--duration) var(--ease);
}

.cg-card:hover {
  box-shadow: var(--shadow-md);
}

.cg-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--sand-light);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--clay);
  margin-bottom: var(--sp-1);
}

[data-theme="dark"] .cg-card-icon {
  background: var(--ink-20);
}

.cg-card-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.cg-card-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-1);
}

.cg-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.cg-card-link:hover {
  gap: 8px;
}

/* Visual pull-quote */
.cg-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--sp-3);
  aspect-ratio: 3 / 2;
}

.cg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  background: rgba(15, 23, 42, 0.7);
}

.cg-visual-quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--paper);
  text-align: center;
  line-height: var(--lh-snug);
}

/* Stat strip */
.cg-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding: var(--sp-4);
  background: var(--ink);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cg-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--sun);
}

.cg-stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   12. WORD OF THE DAY 365
   ============================================================ */
.wotd {
  background: var(--bg-primary);
}

.wotd-strip {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--sp-1) 0 var(--sp-4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.wotd-strip::-webkit-scrollbar {
  height: 6px;
}

.wotd-strip::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 3px;
}

.wotd-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.wotd-card--accent-sage {
  background: var(--sage);
  color: var(--ink);
}

.wotd-card--accent-clay {
  background: var(--clay);
  color: var(--paper);
}

.wotd-card--accent-sun {
  background: var(--sun);
  color: var(--ink);
}

.wotd-card--accent-ink {
  background: var(--ink);
  color: var(--paper);
}

.wotd-day {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: auto;
}

.wotd-word {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2);
}

.wotd-def {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  opacity: 0.85;
}

/* Image-based WOTD card */
.wotd-card--image {
  padding: 0;
}

.wotd-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.wotd-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  color: var(--paper);
}

.wotd-footer {
  text-align: center;
  margin-top: var(--sp-6);
}

/* ============================================================
   13. SHOP TEASER
   ============================================================ */
.shop {
  background: var(--bg-secondary);
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

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

@media (min-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image--tee { background: linear-gradient(135deg, var(--sand-light), var(--sand)); }
.product-image--poster { background: linear-gradient(135deg, var(--sage-light), var(--sage)); }
.product-image--digital { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.product-image--merch { background: linear-gradient(135deg, var(--ink-10), var(--ink-20)); }

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  opacity: 0.7;
}

.product-placeholder i {
  font-size: 2.5rem;
}

.product-badge {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  padding: 4px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  background: var(--clay);
  color: var(--paper);
  border-radius: var(--radius-full);
}

.product-badge--soon {
  background: var(--text-muted);
}

.product-info {
  padding: var(--sp-3);
}

.product-name {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.product-price {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}

.product-actions {
  display: flex;
  gap: var(--sp-1);
}

.product-card--coming-soon {
  opacity: 0.75;
}

.shop-footer {
  text-align: center;
  margin-top: var(--sp-8);
}

/* ============================================================
   14. FOUNDER STORY (ABOUT)
   ============================================================ */
.about {
  background: var(--bg-primary);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand-light);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-image-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 40%;
  border: 3px solid var(--clay);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-header {
  text-align: left;
  margin-left: 0;
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  margin-bottom: var(--sp-4);
}

.about-text p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-2);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* About page — Journal layout */
.about-journal {
  max-width: 720px;
  margin: 0 auto;
}

.about-journal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.about-journal-subtitle {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

.about-journal .about-text p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

.about-pullquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-6);
  border-left: 3px solid var(--clay);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.about-pullquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  line-height: var(--lh-snug);
}

.about-pillars {
  margin: var(--sp-6) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

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

.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.about-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--sand-light);
  border-radius: var(--radius-md);
  color: var(--clay);
  font-size: 1.25rem;
}

[data-theme="dark"] .about-pillar-icon {
  background: var(--ink-20);
}

.about-pillar-name {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-pillar-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.about-poetic {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-poetic p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 2;
  font-style: italic;
}

.about-signature {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.about-signature-name {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.about-signature-role {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clay);
}

/* ============================================================
   15. NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .newsletter-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.newsletter .section-eyebrow {
  color: var(--sun);
}

.newsletter .section-title {
  color: var(--paper);
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-input {
  width: 100%;
  padding: 0.85rem var(--sp-2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--paper);
  font-size: var(--fs-base);
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(244, 201, 93, 0.3);
}

.form-input.error {
  border-color: var(--clay);
}

.newsletter-privacy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-normal);
}

.newsletter-privacy a {
  color: var(--sun);
  text-decoration: underline;
}

.newsletter-privacy a:hover {
  color: var(--sun-light);
}

.newsletter .btn--primary {
  background: var(--sun);
  color: var(--ink);
}

.newsletter .btn--primary:hover {
  background: var(--sun-dark);
}

/* Toast */
.toast {
  position: fixed;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-4);
  background: var(--sage);
  color: var(--ink);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform var(--duration) var(--ease-out);
  white-space: nowrap;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

.toast i {
  font-size: 1.25rem;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--coal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-10) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.footer-logo .logo-mark {
  filter: invert(1);
}

.footer-logo .logo-text {
  color: var(--paper);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-3);
}

.footer-social {
  display: flex;
  gap: var(--sp-1);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-3);
}

.footer-links li {
  margin-bottom: var(--sp-1);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--duration-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   17. SUB-PAGE STYLES
   ============================================================ */

/* Page Hero (compact variant for inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--sp-10)) 0 var(--sp-10);
  min-height: 320px;
  background: var(--ink);
  color: #FCFCFA;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    min-height: 400px;
  }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.6));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.7;
}

.page-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: #E5D5C5;
  margin-bottom: var(--sp-1);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
  color: #FCFCFA;
}

.page-hero-desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-3) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease);
}

.breadcrumb a:hover {
  color: var(--clay);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}

/* Page Content */
.page-content {
  padding: var(--sp-8) 0 var(--sp-12);
}

.page-content .container {
  max-width: var(--container-max);
}

/* Content Grid (for section index pages) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

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

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

/* Content Card */
.content-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.content-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.content-card:hover .content-card-image img {
  transform: scale(1.04);
}

.content-card-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  opacity: 0.4;
}

.content-card-placeholder--sage { background: var(--sage-light); }
.content-card-placeholder--sand { background: var(--sand-light); }
.content-card-placeholder--clay { background: linear-gradient(135deg, #F5DDD4, var(--clay-light)); }
.content-card-placeholder--sun { background: linear-gradient(135deg, #FEF3C7, var(--sun-light)); }
.content-card-placeholder--ink { background: var(--ink); color: rgba(255,255,255,0.3); }
.content-card-placeholder--purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }

.content-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.content-card:hover .content-card-image img {
  transform: scale(1.04);
}

.content-card-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-1);
}

.content-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-1);
}

.content-card-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: var(--sp-2);
}

.content-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clay);
  transition: gap var(--duration) var(--ease);
}

.content-card-link:hover {
  gap: 8px;
}

/* Page Intro Block */
.page-intro {
  max-width: 720px;
  margin-bottom: var(--sp-8);
}

.page-intro-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.page-intro-text {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* Page CTA strip */
.page-cta-strip {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.page-cta-strip .section-title {
  margin-bottom: var(--sp-2);
}

.page-cta-strip .section-subtitle {
  margin-bottom: var(--sp-4);
}

/* Legal page body text */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}

.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
}

.legal-content p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-2);
}

.legal-content ul {
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.legal-content li {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-1);
  list-style: disc;
}

.legal-content a {
  color: var(--clay);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--clay-dark);
}

.legal-updated {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--sp-4);
}

/* ============================================================
   18. JOURNAL PAGE
   ============================================================ */

.journal-entry {
  max-width: 720px;
  margin: 0 auto var(--sp-10);
}

.journal-entry-header {
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--sp-4);
}

.journal-entry-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-2);
}

.journal-entry-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2);
}

.journal-entry-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
}

.journal-entry-body p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-3);
}

.journal-entry-body h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.journal-pullquote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-style: italic;
  color: var(--text-primary);
  border-left: 3px solid var(--clay);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-5) 0;
  background: var(--sand-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: var(--lh-relaxed);
}

[data-theme="dark"] .journal-pullquote {
  background: var(--ink-20);
}

.journal-link-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin: var(--sp-4) 0;
  text-decoration: none;
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.journal-link-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

@media (min-width: 600px) {
  .journal-link-card {
    flex-direction: row;
  }
}

.journal-link-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .journal-link-card img {
    width: 200px;
    height: auto;
  }
}

.journal-link-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) var(--sp-4);
  justify-content: center;
}

.journal-link-card-source {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-weight: var(--fw-semibold);
}

.journal-link-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.journal-link-card-action {
  font-size: var(--fs-sm);
  color: var(--clay);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   19. BUSINESS PAGE — Ventures & Portfolio
   ============================================================ */

.ventures-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-10);
}

.ventures-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.ventures-intro-text {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* Services */
.services-section {
  margin-bottom: var(--sp-12);
}

.services-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--sp-6);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

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

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand-light);
  color: var(--clay);
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}

[data-theme="dark"] .service-icon {
  background: var(--ink-20);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

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

.service-list li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-color);
}

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

/* Portfolio */
.portfolio-section {
  margin-bottom: var(--sp-10);
}

.portfolio-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--sp-1);
}

.portfolio-subheading {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

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

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

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

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-light);
}

[data-theme="dark"] .portfolio-card-image {
  background: var(--ink-20);
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.04);
}

.portfolio-card-body {
  padding: var(--sp-4);
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.portfolio-card-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   19. NEWSLETTER PAGE (Contact-style layout)
   ============================================================ */
.nl-heading {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.nl-heading-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.nl-heading-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--text-muted);
}

.nl-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-md);
}

.nl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .nl-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-10);
  }
}

/* Form column */
.nl-form-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.nl-input {
  width: 100%;
  padding: 0.75rem var(--sp-2);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nl-input::placeholder {
  color: var(--text-muted);
}

.nl-input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(199, 116, 90, 0.15);
}

.nl-input.error {
  border-color: var(--clay);
}

.nl-textarea {
  resize: vertical;
  min-height: 120px;
}

.nl-submit {
  align-self: flex-start;
  margin-top: var(--sp-1);
}

/* Info column */
.nl-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.nl-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.nl-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--sand-light);
  border-radius: var(--radius-md);
  color: var(--clay);
  font-size: 1.25rem;
}

[data-theme="dark"] .nl-contact-icon {
  background: var(--ink-20);
}

.nl-contact-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.nl-contact-value {
  font-size: var(--fs-base);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}

.nl-contact-value a {
  color: var(--text-primary);
  transition: color var(--duration-fast) var(--ease);
}

.nl-contact-value a:hover {
  color: var(--clay);
}

.nl-social {
  display: flex;
  gap: var(--sp-1);
}

.nl-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: all var(--duration-fast) var(--ease);
}

.nl-social-link:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

[data-theme="dark"] .nl-social-link:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.nl-privacy {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-top: var(--sp-1);
}

.nl-privacy a {
  color: var(--clay);
  text-decoration: underline;
}

.nl-privacy a:hover {
  color: var(--clay-dark);
}

/* ============================================================
   20. CART DRAWER
   ============================================================ */

body.cart-open {
  overflow: hidden;
}

/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease),
              visibility var(--duration) var(--ease);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer panel */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  background: var(--bg-primary);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  box-shadow: var(--shadow-xl);
}

.cart-drawer.active {
  transform: translateX(0);
}

/* Header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
}

.cart-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xl);
  color: var(--text-primary);
  transition: background var(--duration-fast) var(--ease);
}

.cart-close-btn:hover {
  background: var(--ink-10);
}

/* Body (scrollable) */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3) var(--sp-4);
}

/* Empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  gap: var(--sp-2);
  color: var(--text-muted);
}

.cart-empty i {
  font-size: 3rem;
  opacity: 0.4;
}

.cart-empty p {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

.cart-empty a {
  color: var(--clay);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  text-decoration: underline;
}

.cart-empty a:hover {
  color: var(--clay-dark);
}

/* Cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

/* Quantity controls */
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.cart-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  transition: background var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
}

.cart-qty-btn:hover {
  background: var(--ink-10);
  border-color: var(--border-hover);
}

.cart-item-qty {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  min-width: 1.5rem;
  text-align: center;
}

.cart-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1rem;
  transition: color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease);
}

.cart-remove-btn:hover {
  color: var(--clay);
  background: var(--ink-10);
}

/* Footer */
.cart-drawer-footer {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.cart-subtotal-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.cart-subtotal-value {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.cart-checkout-btn {
  width: 100%;
}

/* Added feedback on button */
.add-to-cart-btn.added {
  background: var(--sage);
  color: var(--ink);
  pointer-events: none;
}

[data-theme="dark"] .add-to-cart-btn.added {
  background: var(--sage);
  color: var(--paper);
}
