/* ============================================
   EXPERT.NATURALWATERSCAPES.COM
   Global Stylesheet — Brand System
   ============================================ */
/* --- Fonts --- */
/* Tahoma is a system font — no external import needed */
/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --forest: #1c4220;
  --forest-light: #2a5e30;
  --forest-dark: #122b16;
  --navy: #141b45;
  --navy-light: #1e2a66;
  --earth: #8f5a2a;
  --earth-light: #a87040;
  --cream: #F2E5B3;
  --cream-light: #f8f2dc;
  --cream-dark: #e6d48f;
  --black: #000000;
  --white: #ffffff;
  /* Functional Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #767676;
  --text-inverse: #ffffff;
  --bg-page: #fafaf5;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f5f3eb;
  --bg-accent: var(--cream-light);
  --border-light: #e2ddd0;
  --border-medium: #c8c1ae;
  --link: var(--forest);
  --link-hover: var(--forest-light);
  --focus-ring: var(--earth);
  /* Risk / Status Colors (for TRI and tools) */
  --risk-low: #2a7d3f;
  --risk-moderate: #c49b1a;
  --risk-elevated: #d47520;
  --risk-high: #c43c2e;
  --risk-critical: #8b1a1a;
  /* Typography */
  --font-display: Tahoma, Geneva, Verdana, sans-serif;
  --font-body: Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: Consolas, 'Courier New', monospace;
  /* Font Sizes — Fluid Scale (compact) */
  --text-xs: clamp(0.65rem, 0.6rem + 0.2vw, 0.72rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.2vw, 0.82rem);
  --text-base: clamp(0.85rem, 0.82rem + 0.2vw, 0.95rem);
  --text-lg: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  --text-xl: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  --text-2xl: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  --text-3xl: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem);
  --text-4xl: clamp(1.7rem, 1.4rem + 0.9vw, 2.3rem);
  --text-5xl: clamp(2rem, 1.6rem + 1.2vw, 2.8rem);
  /* Spacing Scale (compact) */
  --space-xs: 0.15rem;
  --space-sm: 0.3rem;
  --space-md: 0.5rem;
  --space-lg: 0.8rem;
  --space-xl: 1.1rem;
  --space-2xl: 1.5rem;
  --space-3xl: 2rem;
  --space-4xl: 3rem;
  --space-5xl: 4rem;
  /* Layout */
  --content-max: 1200px;
  --content-narrow: 800px;
  --content-wide: 1400px;
  --nav-height: 72px;
  --sidebar-width: 280px;
  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}
/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--space-xl));
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover {
  color: var(--link-hover);
}
a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
::selection {
  background: var(--cream);
  color: var(--forest-dark);
}
/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: var(--text-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: 700; }
p {
  margin-bottom: var(--space-md);
}
p:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 600;
}
/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--wide {
  max-width: var(--content-wide);
}
.section {
  padding: var(--space-4xl) 0;
}
.section--alt {
  background: var(--bg-surface-alt);
}
.section--dark {
  background: var(--forest-dark);
  color: var(--text-inverse);
}
.section--navy {
  background: var(--navy);
  color: var(--text-inverse);
}
/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--forest);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--duration-fast);
}
.skip-link:focus {
  top: var(--space-md);
}
/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.site-logo__subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: -2px;
  padding-left: 2px;
}
/* Desktop Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link--active {
  color: var(--forest);
  background: var(--bg-surface-alt);
}
.site-nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}
.site-nav__item:hover .site-nav__link svg {
  transform: rotate(180deg);
}
/* Dropdown Menus */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 100;
}
.site-nav__item:hover .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}
.site-nav__dropdown-link:hover {
  background: var(--bg-surface-alt);
  color: var(--forest);
}
.site-nav__dropdown-link strong {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.site-nav__dropdown-link small {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
/* Shop CTA Button */
.nav-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-lg);
  background: var(--forest);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  margin-left: var(--space-sm);
  white-space: nowrap;
}
.nav-shop-btn:hover {
  background: var(--forest-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-shop-btn svg {
  width: 14px;
  height: 14px;
}
/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger__line + .hamburger__line {
  margin-top: 5px;
}
.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Mobile Navigation Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding-top: var(--nav-height);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open {
  display: block;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}
.mobile-nav__inner {
  padding: var(--space-xl) var(--space-lg) var(--space-4xl);
}
.mobile-nav__section {
  margin-bottom: var(--space-xl);
}
.mobile-nav__section-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-sm);
}
.mobile-nav__link {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-nav__link--active {
  color: var(--forest);
}
.mobile-nav__link--sub {
  font-size: var(--text-base);
  padding-left: var(--space-md);
  color: var(--text-secondary);
}
/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a:hover {
  color: var(--white);
}
.breadcrumbs__sep {
  margin: 0 var(--space-xs);
  opacity: 0.5;
}
/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--nav-height);
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 60%, var(--navy) 100%);
  color: var(--text-inverse);
}
.page-hero__content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 600px;
}
/* ============================================
   ARTICLE CONTENT (Markdown-rendered pages)
   ============================================ */
.article {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}
.article h1 {
  /* H1 is in the page-hero, hide duplicate from markdown */
  display: none;
}
.article h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}
.article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.article h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}
.article h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.article p {
  margin-bottom: var(--space-lg);
}
.article ul, .article ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}
.article li {
  margin-bottom: var(--space-sm);
}
.article blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--earth);
  background: var(--bg-surface-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-2xl) 0;
}
.article figure {
  margin: var(--space-2xl) 0;
}
.article figcaption {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}
/* --- Species Images (Cloudinary) --- */
.species-img {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.species-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* Multiple images side by side on wider screens */
.species-img + .species-img {
  margin-top: var(--space-sm);
}
/* --- Tables (species grids, product cross-reference) --- */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: var(--text-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article th {
  background: var(--bg-surface-alt);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  border-bottom: 2px solid var(--border-medium);
  color: var(--text-primary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.article tr:last-child td {
  border-bottom: none;
}
.article tr:hover td {
  background: var(--cream-light);
}
.article td a {
  font-weight: 600;
}
/* --- Inline code --- */
.article code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-surface-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}
.article pre {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: var(--forest-dark);
  color: var(--cream-light);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: var(--text-sm);
}
.article pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}
/* --- Product links in treatment sections --- */
.article a[href*="shop.naturalwaterscapes.com"] {
  color: var(--earth);
  font-weight: 600;
}
.article a[href*="shop.naturalwaterscapes.com"]:hover {
  color: var(--earth-light);
}
/* --- Emphasis for scientific names --- */
.article em {
  color: var(--text-secondary);
}
/* ============================================
   PRODUCT CALLOUT (Shop Integration)
   ============================================ */
.product-callout {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  margin: var(--space-xl) 0;
}
.product-callout__img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: var(--space-sm);
}
.product-callout__info {
  flex: 1;
}
.product-callout__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--earth);
  margin-bottom: 2px;
}
.product-callout__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}
.product-callout__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 4px;
}
.product-callout__link {
  flex-shrink: 0;
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--forest-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}
.btn--secondary:hover {
  background: var(--forest);
  color: var(--white);
}
.btn--earth {
  background: var(--earth);
  color: var(--white);
}
.btn--earth:hover {
  background: var(--earth-light);
  color: var(--white);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn--sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}
.btn--lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}
.btn svg {
  width: 16px;
  height: 16px;
}
/* ============================================
   CARDS (for future species grid / landing)
   ============================================ */
.card-grid {
  display: grid;
  gap: var(--space-xl);
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.card__body {
  padding: var(--space-lg);
}
.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--earth);
  margin-bottom: var(--space-sm);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}
.card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  margin-top: var(--space-md);
}
.card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast);
}
.card:hover .card__link svg {
  transform: translateX(3px);
}
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}
.site-footer a:hover {
  color: var(--cream);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}
.footer__brand {
  max-width: 320px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}
.footer__section-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: var(--space-md);
}
.footer__links {
  list-style: none;
}
.footer__links li {
  margin-bottom: var(--space-sm);
}
.footer__links a {
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}
.footer__bottom {
  max-width: var(--content-wide);
  margin: var(--space-3xl) auto 0;
  padding: var(--space-lg) var(--space-3xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
}
.footer__bottom a:hover {
  color: var(--cream);
}
/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--space-xl);
  }
}
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }
  .site-nav,
  .nav-shop-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: 0 var(--space-lg);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
  .product-callout {
    flex-direction: column;
    text-align: center;
  }
  .product-callout__link {
    width: 100%;
  }
  /* Tables: horizontal scroll on mobile */
  .article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  .card-grid--2 {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .nav-shop-btn,
  .btn {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .page-hero {
    background: none !important;
    color: black;
    padding: 1cm 0;
  }
  .page-hero h1 {
    color: black;
  }
  .article {
    max-width: 100%;
  }
  .article h1 {
    display: none;
  }
}
