/* Merigold Nutrition — Design System */

:root {
  /* Color */
  --color-brand: #E8740C;
  --color-brand-hover: #C96200;
  --color-brand-muted: rgba(232, 116, 12, 0.12);
  --color-surface: #FFFFFF;
  --color-surface-muted: #FAF7F2;
  --color-surface-elevated: #FFFFFF;
  --color-border: #E8E2D9;
  --color-border-strong: #D4CCC0;
  --color-text: #1A1A1A;
  --color-text-secondary: #5C5C5C;
  --color-text-tertiary: #8A8A8A;
  --color-text-inverse: #FFFFFF;
  --color-footer: #1A1A1A;

  /* 8pt spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;

  /* Typography — Montserrat */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Layout */
  --max-width: 1120px;
  --header-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 26, 0.08);
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-surface-muted);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-brand-hover); }

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo img { height: 40px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-desktop a {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--color-brand); }

.nav-cta {
  background: var(--color-brand);
  color: var(--color-text-inverse) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.nav-cta:hover {
  background: var(--color-brand-hover);
  color: var(--color-text-inverse) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  margin: var(--space-1) 0;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  gap: var(--space-3);
  z-index: 999;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  padding: var(--space-2) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  color: var(--color-text-inverse);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn-amazon {
  background: #232F3E;
  color: var(--color-text-inverse);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

.btn-amazon:hover {
  background: #131A22;
  color: var(--color-text-inverse);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-8);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: flex-end;
  margin-top: var(--header-height);
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(250, 247, 242, 0.97) 0%, rgba(250, 247, 242, 0.4) 55%, rgba(250, 247, 242, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-9) var(--space-5) var(--space-10);
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 12ch;
  margin-bottom: var(--space-4);
}

.hero p {
  font-size: var(--text-lg);
  font-weight: 480;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 48ch;
  margin-bottom: var(--space-6);
}

/* Sections */
section {
  padding: var(--space-10) 0;
}

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

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.product-card-hit {
  display: block;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.product-card-hit:hover h3 {
  color: var(--color-brand);
}

.product-card-image {
  aspect-ratio: 1;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.product-card-image img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.product-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card-body h3 a:hover {
  color: var(--color-brand);
}

.product-card-body p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  margin-bottom: 0;
  flex: 1;
}

.product-card-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.product-card-actions .btn {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
}

/* Testimonials */
.testimonials {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-track {
  overflow-x: auto;
  flex: 1;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-grid {
  display: flex;
  gap: var(--space-5);
}

.testimonial-card {
  flex: 0 0 calc((100% - (2 * var(--space-5))) / 3);
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-muted);
  display: flex;
  flex-direction: column;
}

.testimonial-card-image {
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

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

.testimonial-carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.testimonial-carousel-btn:hover:not(:disabled) {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.testimonial-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonial-card blockquote {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  padding: var(--space-5) var(--space-5) 0;
}

.testimonial-author {
  padding: 0 var(--space-5) var(--space-5);
  margin-top: auto;
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

/* Brand Story */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.brand-story-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.brand-story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.brand-story-content h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.brand-story-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.brand-story-content p:last-of-type { margin-bottom: var(--space-6); }

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.brand-pillar {
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.brand-pillar-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-1);
}

.brand-pillar strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* Page Hero */
.page-hero {
  margin-top: var(--header-height);
  padding: var(--space-9) 0 var(--space-6);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero--shop {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-10) 0;
  min-height: calc(var(--space-11) * 3);
  overflow: hidden;
  background: transparent;
}

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

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

.page-hero--shop .page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 242, 0.55) 0%,
    rgba(250, 247, 242, 0.74) 40%,
    rgba(250, 247, 242, 0.74) 60%,
    rgba(250, 247, 242, 0.55) 100%
  );
}

.page-hero--shop .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero--shop .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--learn {
  display: flex;
  align-items: center;
  padding: var(--space-10) 0;
}

.page-hero-learn-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.page-hero-visual {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  justify-self: start;
}

.page-hero-learn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  text-align: left;
}

.page-hero-logo {
  width: 120px;
  height: auto;
}

.page-hero--learn .section-header {
  margin-bottom: 0;
  max-width: none;
}

#story {
  padding-top: var(--space-11);
  padding-bottom: var(--space-7);
}

#story .brand-name-story {
  margin-bottom: 0;
}

#values {
  padding-top: var(--space-7);
}

.page-hero .section-header {
  margin-bottom: 0;
}

.page-hero h1 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

/* Product Detail */
.product-detail {
  padding: var(--space-6) 0 var(--space-10);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-5));
}

.product-gallery-main {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.product-gallery-main img {
  max-height: 360px;
  object-fit: contain;
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.product-gallery-thumbs button {
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: var(--space-1);
  cursor: pointer;
  transition: border-color var(--transition);
  overflow: hidden;
}

.product-gallery-thumbs button.active,
.product-gallery-thumbs button:hover {
  border-color: var(--color-brand);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
}

.product-subtitle {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-brand);
  margin-bottom: var(--space-2);
}

.product-price {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.product-description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.product-benefits {
  list-style: none;
  margin-bottom: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.product-benefits li {
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  position: relative;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.product-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

.product-meta {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.product-meta-item {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
}

.product-meta-item strong {
  display: block;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.product-meta-item span {
  color: var(--color-text-tertiary);
}

.amazon-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.breadcrumb {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.breadcrumb a { color: var(--color-text-tertiary); }
.breadcrumb a:hover { color: var(--color-brand); }

/* Learn Page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.value-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.value-card p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.brand-name-story {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.brand-name-story h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-4);
}

.brand-name-story > p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

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

.name-part {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.name-part-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.name-part-content {
  min-width: 0;
}

.name-part h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.name-part p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.blog-card:hover { border-color: var(--color-border-strong); }

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--color-surface-muted);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body { padding: var(--space-5); }

.blog-card-meta {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-3);
}

.blog-card-body h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

.blog-card-body h3 a { color: var(--color-text); }
.blog-card-body h3 a:hover { color: var(--color-brand); }

.blog-card-body p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5) var(--space-10);
}

.blog-article.legal-page {
  padding-top: calc(var(--header-height) + var(--space-9));
}

.blog-article h1 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.blog-article .article-meta {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.blog-article h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin: var(--space-8) 0 var(--space-4);
}

.blog-article h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: var(--space-6) 0 var(--space-3);
}

.blog-article p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.blog-article a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article a:hover {
  color: var(--color-brand-hover);
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 var(--space-4) var(--space-5);
  color: var(--color-text-secondary);
}

.blog-article li {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
}

.blog-article img {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin: var(--space-5) 0;
}

.blog-article .disclaimer {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-top: var(--space-8);
}

/* CTA Banner */
.home-cta-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}

main:has(.home-cta-section:last-child) + .site-footer {
  margin-top: 0;
}

.home-cta-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 2048 / 782.6;
  overflow: hidden;
}

.home-cta-bg img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-10%);
}

.home-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(250, 247, 242, 0.88);
}

.home-cta-section .container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.home-cta-section .cta-banner {
  background: transparent;
  border: none;
  padding: var(--space-8) 0;
  width: 100%;
}

.cta-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cta-banner-content h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

.cta-banner-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 48ch;
}

.cta-banner .btn { flex-shrink: 0; }

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--space-9) 0 var(--space-6);
  margin-top: var(--space-10);
}

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

.footer-brand img {
  height: 32px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 280px;
}

.footer-brand .footer-legal-link {
  display: none;
}

.footer-mobile-legal {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--text-xs);
}

.footer-col h4 {
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.56); }

.footer-bottom a:hover { color: var(--color-text-inverse); }

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
}

.footer-mobile-legal:hover {
  color: var(--color-text-inverse);
}

.footer-disclaimer {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.48);
}

.shop-products {
  padding-top: var(--space-11);
}

.footer-minimal .footer-bottom {
  border: none;
  padding-top: 0;
}

.brand-name-story .story-closing {
  margin-top: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.featured-products {
  background: var(--color-surface-muted);
}

.surface-white {
  background: var(--color-surface);
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--color-border) 25%, #f0ebe3 50%, var(--color-border) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc((100% - var(--space-5)) / 2); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }

  section { padding: var(--space-8) 0; }

  .hero {
    min-height: 72dvh;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(var(--text-2xl), 8vw, var(--text-4xl));
  }

  .hero-content { padding-bottom: var(--space-8); }

  .page-hero--shop {
    min-height: auto;
    padding: var(--space-8) 0;
  }

  .page-hero--learn {
    padding: var(--space-8) 0;
  }

  .brand-story,
  .product-detail-grid,
  .footer-grid,
  .brand-name-story .name-breakdown,
  .cta-banner,
  .home-cta-section .cta-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: left;
    align-items: stretch;
  }

  .home-cta-section .cta-banner .btn {
    width: 100%;
  }

  .home-cta-section {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-cta-bg,
  .home-cta-overlay,
  .home-cta-section .container {
    grid-area: 1 / 1;
  }

  .home-cta-bg {
    position: relative;
    aspect-ratio: unset;
    width: 100%;
    z-index: 0;
    min-height: 100%;
  }

  .home-cta-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .home-cta-overlay {
    position: relative;
    z-index: 1;
    min-height: 100%;
  }

  .home-cta-section .container {
    position: relative;
    inset: auto;
    z-index: 2;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: stretch;
    padding-block: var(--space-10);
  }

  .home-cta-section .cta-banner {
    padding: var(--space-4) 0;
    gap: var(--space-5);
    text-align: left;
    align-items: stretch;
  }

  .testimonial-carousel {
    gap: var(--space-2);
  }

  .testimonial-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .brand-pillars { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .product-gallery-main {
    min-height: 280px;
    padding: var(--space-4);
  }

  .product-gallery-main img {
    max-height: 240px;
  }

  .product-gallery-thumbs button {
    width: 56px;
    height: 56px;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .page-hero-learn-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .page-hero-learn-content {
    align-items: flex-start;
  }

  .name-part {
    grid-template-columns: 1fr;
  }

  .name-part-image {
    max-width: 200px;
  }

  .nav-mobile .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: var(--color-brand);
    color: var(--color-text-inverse) !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    font-weight: var(--weight-semibold);
  }

  .footer-bottom-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .hero-content {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .cta-banner .btn-lg,
  .hero .btn-lg {
    width: 100%;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .product-card-actions .btn {
    width: 100%;
  }
}
