﻿/* ============================================================
   Lumber Glow Landing — main stylesheet (v1.2)
   Mobile-first. Zero frameworks. All colors/typography flow from
   the design tokens below — edit :root to rebrand in one place.
   ============================================================ */

/* ==================== DESIGN TOKENS ==================== */

:root {
  --color-bg: #FFFFFF;
  --color-cream: #F5EBDD;
  --color-navy: #1B2A4E;
  --color-navy-deep: #0F1B33;   /* CTA hover only — resting buttons stay --color-navy */
  --color-red: #C8102E;            /* accent only — never on buttons */
  --color-text: #0F0F0F;
  --color-text-muted: #6B7280;
  --color-text-muted-dark: #4B5563; /* muted text on cream (AA contrast) */
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --color-bubble: #EEF0F4;
  --color-gold: #E3A821;
  --color-gold-deep: #B9821A;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.75rem;
  --line-height-tight: 1.12;
  --line-height-normal: 1.6;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 6px;
  --radius-btn: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 15, 15, 0.12);

  --container-max: 1200px;
  --container-narrow: 760px;
  --header-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

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

/* ==================== BASE / RESET ==================== */

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

body.lumberglow-landing {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

.lumberglow-landing img,
.lumberglow-landing svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.lumberglow-landing button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.lumberglow-landing a {
  color: inherit;
  text-decoration: none;
}

.lumberglow-landing h1,
.lumberglow-landing h2,
.lumberglow-landing h3 {
  font-family: var(--font-heading);
  line-height: var(--line-height-tight);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.lumberglow-landing p,
.lumberglow-landing ul,
.lumberglow-landing ol,
.lumberglow-landing blockquote,
.lumberglow-landing figure {
  margin: 0;
}

.lumberglow-landing :focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--color-navy);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  z-index: 100;
  text-decoration: underline;
}
.skip-link:focus {
  top: 0;
}

/* ==================== UTILITIES ==================== */

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

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

.section {
  padding-block: var(--space-16);
}

.section--cream {
  background: var(--color-cream);
}

.section__title {
  font-size: var(--font-size-2xl);
  text-align: center;
  margin-bottom: var(--space-4);
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-12);
  font-size: var(--font-size-lg);
}

.section--cream .section__subtitle {
  color: var(--color-text-muted-dark);
}

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

/* Buttons — global CTA spec: navy bg, white bold text, 8px radius,
   hover = lift + darker navy + stronger shadow. NO red buttons. */
.lumberglow-landing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-btn);
  min-height: 48px;
  text-align: center;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.lumberglow-landing .btn--primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.lumberglow-landing .btn--primary:hover {
  background: var(--color-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 42, 78, 0.25);
}

.lumberglow-landing .btn--primary:active {
  transform: translateY(0);
}

.lumberglow-landing .btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.lumberglow-landing .btn--secondary:hover {
  background: rgba(27, 42, 78, 0.05);
}

.lumberglow-landing .btn--large {
  padding: var(--space-4) var(--space-12);
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
  .section {
    padding-block: var(--space-24);
  }
  .section__title {
    font-size: var(--font-size-3xl);
  }
  .btn--large {
    width: auto;
  }
  /* Global CTA spec: 18px desktop / 16px mobile. The header pill stays
     compact so the 64px sticky header keeps its proportions. */
  .lumberglow-landing .btn {
    font-size: var(--font-size-lg);
  }
  .lumberglow-landing .header__cta {
    font-size: var(--font-size-base);
  }
}

/* Star ratings (inline SVG) */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-gold);
  vertical-align: middle;
}

/* Shared field styles (buy selects + signup input) */
.buy__select-wrap select,
.signup__row input {
  width: 100%;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: var(--font-size-base); /* 16px — prevents iOS zoom on focus */
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: var(--space-2) var(--space-4);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.buy__select-wrap select:focus,
.signup__row input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 78, 0.18);
}

.buy__select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ==================== REVEAL ON SCROLL ==================== */
/* Default visible (no-JS safe); motion gated on <html class="js"> which
   main.js itself adds. Scroll-driven CSS where supported, IO fallback else. */

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .js .reveal-stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
  .js .reveal-stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
  .js .reveal-stagger > .reveal:nth-child(4) { transition-delay: 270ms; }

  @supports (animation-timeline: view()) {
    .js .reveal {
      opacity: 1;
      transform: none;
      transition: none;
      animation: lumberglow-reveal-up var(--duration-slow) var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    .js .reveal-stagger > .reveal:nth-child(2) { animation-range: entry 6% entry 46%; }
    .js .reveal-stagger > .reveal:nth-child(3) { animation-range: entry 12% entry 52%; }
    .js .reveal-stagger > .reveal:nth-child(4) { animation-range: entry 18% entry 58%; }
  }
}

@keyframes lumberglow-reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==================== Announcement bar ==================== */

.announcement {
  position: relative;
  background: var(--color-navy);
  color: #fff;
  font-size: var(--font-size-sm);
  padding: var(--space-2) 0;
}

.announcement__viewport {
  overflow: hidden;
  margin-right: 44px;
  margin-left: var(--space-3);
}

.announcement__track {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.announcement__text {
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}

.announcement__track .announcement__text + .announcement__text {
  display: none;
}

.announcement__track.is-scrolling {
  justify-content: flex-start;
  width: max-content;
  animation: lumberglow-marquee 22s linear infinite;
}

.announcement__track.is-scrolling .announcement__text + .announcement__text {
  display: block;
}

.announcement__track.is-scrolling:hover {
  animation-play-state: paused;
}

@keyframes lumberglow-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--space-8))); }
}

.announcement__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: var(--font-size-xl);
  line-height: 1;
  padding: var(--space-1) var(--space-3);
  opacity: 0.75;
  transition: opacity var(--duration-fast);
}

.announcement__close:hover {
  opacity: 1;
}

.announcement.is-hidden {
  display: none;
}

/* ==================== Header ==================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--duration-fast) var(--ease-out);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-6);
  transition: height var(--duration-fast) var(--ease-out);
}

.header.is-scrolled .header__container {
  height: 56px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-navy);
}

.header__wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-lg);
  letter-spacing: 0.04em;
}

.header__wordmark-accent {
  color: var(--color-red);
}

.header__nav {
  display: none;
  gap: var(--space-8);
  align-items: center;
}

.header__link {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.header__link:hover {
  color: var(--color-navy);
}

.header__cta {
  display: none;
  padding: var(--space-3) var(--space-6);
  min-height: 40px;
  font-size: var(--font-size-base);
}

.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

.header__menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-4);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header__mobile-nav[hidden] {
  display: none;
}

.header__mobile-link {
  font-size: var(--font-size-lg);
  font-weight: 500;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .header__nav,
  .header__cta {
    display: inline-flex;
  }
  .header__menu-toggle,
  .header__mobile-nav {
    display: none !important;
  }
}

/* ==================== Hero: product + buy module ==================== */

.hero-buy {
  padding-block: var(--space-8) var(--space-16);
}

.hero-buy__container {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.hero-buy__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product__main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.product__thumb {
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: opacity var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.product__thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.product__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-buy__toprow,
.hero-buy__rating,
.hero-buy__count {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.hero-buy__toprow {
  margin-bottom: var(--space-2);
}

.lumberglow-landing .hero-buy__title {
  font-family: var(--font-body); /* bold clean sans, like the reference title — scoped to outrank the base h1 rule */
  font-weight: 800;
  font-size: var(--font-size-2xl);
  letter-spacing: -0.01em;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.hero-buy__rating {
  margin-bottom: var(--space-4);
}

.hero-buy__rating a {
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.hero-buy__rating a:hover {
  color: var(--color-navy);
}

.hero-buy__checks {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-buy__checks li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--font-size-base);
}

.hero-buy__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-red);
  font-weight: 700;
}

.hero-buy__sizelink {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
}

.hero-buy__sizelink a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
}

/* Order-limit informational note */
.order-limit-note {
  font-size: 0.8125rem; /* 13px */
  color: #6B8FA5;
  background: rgba(107, 143, 165, 0.08);
  border-radius: 6px;
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}

/* Single-size price row */
.buy__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.buy__price strong {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-navy);
}

.buy__price s {
  color: var(--color-text-muted);
}

.buy__save-badge {
  background: var(--color-success);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
}

.buy__shipping {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.hero-buy__count {
  margin-top: var(--space-3);
}

.buy__field {
  display: block;
  margin-bottom: var(--space-3);
}

.buy__field label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.buy__select-wrap {
  display: block;
  position: relative;
}

/* ==================== Order form (lead capture before checkout) ==================== */

.order-form-section {
  position: relative;
  max-width: 640px;
  margin: var(--space-6) auto 0;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background-color: var(--color-cream);
  /* Baseball stitching motif, knocked back behind a cream wash so the
     labels, fields and typed text stay perfectly readable. */
  background-image:
    linear-gradient(rgba(245, 238, 224, 0.90), rgba(245, 238, 224, 0.90)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='400' height='300' fill='%23FFFFFF'/%3E%3Cg fill='none' stroke='%23B23A3A' stroke-width='3' stroke-linecap='round' stroke-dasharray='9 15'%3E%3Cpath d='M-20 74 C 90 18, 310 18, 420 74'/%3E%3Cpath d='M-20 58 C 90 2, 310 2, 420 58'/%3E%3Cpath d='M-20 236 C 90 292, 310 292, 420 236'/%3E%3Cpath d='M-20 252 C 90 308, 310 308, 420 252'/%3E%3C/g%3E%3Cg fill='none' stroke='%23B23A3A' stroke-width='2'%3E%3Ccircle cx='58' cy='188' r='25'/%3E%3Cpath d='M40 172 C 50 182, 50 194, 40 204' stroke-width='1.5'/%3E%3Cpath d='M76 172 C 66 182, 66 194, 76 204' stroke-width='1.5'/%3E%3Ccircle cx='344' cy='128' r='19'/%3E%3Cpath d='M331 116 C 339 123, 339 133, 331 140' stroke-width='1.5'/%3E%3Cpath d='M357 116 C 349 123, 349 133, 357 140' stroke-width='1.5'/%3E%3Ccircle cx='214' cy='252' r='14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.lumberglow-landing .order-form__title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.order-form__field {
  margin-bottom: 20px;
}

.order-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.order-form__field input {
  width: 100%;
  min-height: 56px;
  font-family: var(--font-body);
  font-size: 16px; /* prevents iOS zoom */
  color: var(--color-text);
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-form__field input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 78, 0.12);
}

.order-form__field input.field-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.order-form__summary {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 12px 0;
  border-top: 1px solid rgba(27, 42, 78, 0.15);
}

.order-form__submit-wrap {
  position: relative;
}

.lumberglow-landing .order-form__button {
  width: 100%;
  min-height: 56px;
  background: var(--color-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lumberglow-landing .order-form__button:hover {
  background: var(--color-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 42, 78, 0.25);
}

.form-success-checkmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: #10B981;
  border-radius: 8px;
  font-size: 24px;
  z-index: 2;
}

.form-success-checkmark[hidden] {
  display: none;
}

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

.form-shake {
  animation: formShake 500ms ease-in-out;
}

@media (max-width: 767px) {
  .order-form-section {
    padding: 32px 16px;
  }
  .lumberglow-landing .order-form__title {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .lumberglow-landing .order-form__button {
    font-size: 18px;
  }
}

/* Embedded testimonial */
.hero-buy__quote {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.hero-buy__quote img {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.hero-buy__quote blockquote {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.hero-buy__quote footer {
  margin-top: var(--space-1);
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--font-size-xs);
}

.buy__trust {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.buy__trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted-dark);
}

.buy__trust svg {
  color: var(--color-navy);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hero-buy {
    padding-block: var(--space-12) var(--space-24);
  }
  .hero-buy__container {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-12);
  }
  .hero-buy__title {
    font-size: 2.5rem;
  }
}

/* ==================== Social proof strip ==================== */

.proof {
  padding-block: var(--space-8);
  background: var(--color-cream);
  border-block: 1px solid var(--color-border);
}

.proof__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.proof__photos {
  display: flex;
}

.proof__photos img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.proof__photos img + img {
  margin-left: -14px;
}

.proof__text {
  font-size: var(--font-size-base);
  color: var(--color-text-muted-dark);
  text-align: center;
}

.proof__text strong {
  color: var(--color-navy);
  font-weight: 700;
}

@media (min-width: 768px) {
  .proof__container {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-6);
  }
}

/* ==================== Feature cards ==================== */

.features__grid {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}

.feature {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: #fff;
  margin-bottom: var(--space-6);
}

.feature__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.feature__desc {
  color: var(--color-text-muted-dark);
}

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

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

/* ==================== What's in the box — numbered cards ==================== */

.steps__grid {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.step__num {
  align-self: flex-start;
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-sm);
}

.step__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.step__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.step__desc {
  color: var(--color-text-muted-dark);
  font-size: var(--font-size-sm);
}

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

@media (min-width: 1024px) {
  .steps__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
  /* Arrow indicators between steps */
  .steps__grid .step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: calc(-1 * var(--space-8) + 6px);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
    opacity: 0.45;
  }
}

/* ==================== Product description + specs ==================== */

.product__layout {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

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

.product__media {
  position: relative;
}

.product__media video {
  display: block;
}

.product__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-6);
}

.product__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Sizes / Materials / Care — 3-column mini-grid (stacks on mobile) */
.product__specs {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.product__spec {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.product__spec h3 {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.product__spec ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product__spec li,
.product__spec p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted-dark);
}

.product__spec strong {
  color: var(--color-navy);
}

.product__note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .product__layout {
    /* 9:16 video column stays narrow (~43% of the container) */
    grid-template-columns: 0.75fr 1fr;
    gap: var(--space-16);
  }
  .product__title {
    font-size: var(--font-size-3xl);
  }
  .product__specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== Guarantee ==================== */

.guarantee__card {
  padding: var(--space-8);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px dashed var(--color-navy);
}

@media (min-width: 768px) {
  .guarantee__card {
    padding: var(--space-12);
  }
}

.guarantee__icon {
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  display: inline-flex;
}

.guarantee__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
}

.guarantee__text {
  color: var(--color-text-muted-dark);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
}

.guarantee__text a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ==================== Reviews ==================== */

.reviews__featured {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.freview {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.freview__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.freview__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.freview__quote {
  font-size: var(--font-size-base);
  flex-grow: 1;
}

.freview__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.freview__avatar {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.freview__meta > span {
  display: flex;
  flex-direction: column;
}

.freview__verified {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-success);
}

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

.reviews__stars {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.reviews__stars .stars svg {
  width: 22px;
  height: 22px;
}

.review__author {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-navy);
}

.review__location {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ==================== Facebook screenshots — 3-image grid ==================== */

.fb__grid {
  display: grid;
  gap: var(--space-4); /* 16px mobile */
}

.fb-item {
  margin: 0;
}

.fb-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .fb__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6); /* 24px desktop */
  }
}

/* ==================== FAQ ==================== */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-fast);
}

.faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  font-size: var(--font-size-xl);
  line-height: 1;
  color: var(--color-red);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-muted-dark);
}

.faq__answer a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ==================== Email capture ==================== */

.signup__inner {
  text-align: center;
}

.signup__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
}

.signup__sub {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.signup__form {
  max-width: 480px;
  margin-inline: auto;
}

.signup__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
  text-align: left;
}

.signup__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.signup__row .btn {
  min-height: 52px;
}

.signup__note {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-red);
  margin-top: var(--space-3);
}

.signup__note[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .signup__row {
    flex-direction: row;
  }
  .signup__row input {
    flex-grow: 1;
  }
}

/* ==================== Footer ==================== */

.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__top {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer__logo-accent {
  color: var(--color-red);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background var(--duration-fast);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav-title {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-2);
  font-weight: 700;
}

.footer__link {
  font-size: var(--font-size-sm);
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: #fff;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: var(--space-6);
}

.payment-logos svg {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.footer__disclaimer {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--font-size-xs);
  max-width: 560px;
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

/* ==================== Sticky mobile bar ==================== */

.sticky-cta {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: var(--space-4) var(--space-8);
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-base);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.sticky-cta:hover {
  background: var(--color-navy-deep);
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ==================== Mobile: center collapsed 2-col sections ==================== */

@media (max-width: 767px) {
  .hero-buy__info,
  .product__info,
  .feature,
  .step,
  .freview__body,
  .guarantee__card {
    text-align: center;
  }

  .freview__meta {
    justify-content: center;
  }

  .review__meta {
    align-items: center;
  }

  .hero-buy__toprow,
  .hero-buy__rating,
  .hero-buy__count,
  .buy__trust {
    justify-content: center;
  }

  .hero-buy__checks li {
    padding-left: 0;
  }

  .hero-buy__checks li::before {
    position: static;
    margin-right: var(--space-2);
  }

  .feature__icon {
    margin-inline: auto;
  }

  .hero-buy__quote {
    text-align: left; /* quote stays readable */
  }

  .buy__field label,
  .order-form__field label,
  .order-form__field input {
    text-align: left; /* form controls stay left-aligned for usability */
  }

  .order-limit-note {
    text-align: left; /* the note reads as a sentence, not a heading */
  }
}

/* ==================== v1.5 — media, free-guide banner, low-stock ==================== */

/* <picture> wrappers stay transparent to the existing flex/grid layouts, so
   every img-targeting rule above keeps working exactly as before. */
.hero-buy__gallery picture,
.hero-buy__quote picture,
.steps__grid picture,
.reviews__featured picture,
.fb__grid picture {
  display: contents;
}

/* Active thumbnail in the hero select-gallery. */
.product__thumb.is-active {
  box-shadow: 0 0 0 2px var(--color-navy);
}

/* Free ebook banner — sits in the hero buy box between the
   "500+ happy customers" line and the order form. Reads as its own calm card. */
.free-guide {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  padding: 20px 24px;
  background: var(--color-cream);
  border-left: 3px solid var(--color-navy);
  border-radius: 10px;
}

.free-guide__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-navy);
}

.free-guide__headline {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

.free-guide__body {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted-dark);
}

@media (max-width: 767px) {
  .free-guide {
    padding: 16px 18px;
  }
  .free-guide__headline {
    font-size: 17px;
  }
  .free-guide__body {
    font-size: 14px;
  }
}

/* Low-stock urgency line — directly under the Order now button. */
.low-stock {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #DC2626;
}

@media (max-width: 767px) {
  .low-stock {
    font-size: 13px;
  }
}


/* ==================== Team selector ==================== */

.team-select {
  display: block;
  margin-bottom: var(--space-4);
}

/* The anchor of the buy box — deliberately oversized, not a minor form label. */
.team-select__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.team-select__sub {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* Matches the field styling the size select used. */
.team-select__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: var(--space-2) var(--space-4);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.team-select__field:hover {
  border-color: var(--color-navy);
}

.team-select__field:focus-visible {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 78, 0.18);
}

.team-select__field.is-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.team-select__value.is-empty {
  color: var(--color-text-muted);
  font-weight: 400;
}

.team-select__chevron {
  flex-shrink: 0;
  color: var(--color-navy);
}

/* ==================== Team picker overlay ==================== */

body.has-modal {
  overflow: hidden;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-modal[hidden] {
  display: none;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.55);
}

.team-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Fixed header — does not scroll away with the list. */
.team-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-shrink: 0;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.lumberglow-landing .team-modal__title {
  font-family: var(--font-body);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.team-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 26px;
  line-height: 1;
  color: var(--color-navy);
  transition: background-color var(--duration-fast);
}

.team-modal__close:hover {
  background: var(--color-bubble);
}

.team-modal__list {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0 var(--space-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.team-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-height: 56px;
  padding: var(--space-2) var(--space-6);
  text-align: left;
  transition: background-color var(--duration-fast);
}

.team-row:hover,
.team-row:focus-visible,
.team-row:active {
  background: var(--color-bubble);
  outline: none;
}

.team-row__dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: #0F0F0F;
  transition: background-color var(--duration-fast);
}

.team-row.is-selected .team-row__dot {
  background: var(--color-success);
}

.team-row__name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
}

.team-row.is-selected .team-row__name {
  color: var(--color-navy);
}

@media (min-width: 768px) {
  .team-modal {
    align-items: center;
    padding: var(--space-8);
  }
  .team-modal__panel {
    max-width: 520px;
    max-height: 80vh;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 767px) {
  .team-select__label {
    font-size: 26px;
  }
}

/* ==================== Buy-box CTA + form error ==================== */

.buy__cta {
  display: block;
  width: 100%;
  margin-bottom: var(--space-3);
}

.order-form__error {
  margin-bottom: var(--space-3);
  font-size: 14px;
  font-weight: 600;
  color: #DC2626;
  text-align: center;
}

.order-form__error[hidden] {
  display: none;
}

/* Bold customer count above the reviews heading. */
.reviews__count {
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
