/* Steady Stack Sheets — shared styles. Mobile-first, no build step. */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1f4e5f;
  --navy-dark: #163944;
  --teal: #2a7f7f;
  --teal-dark: #1a5c5c;
  --sage: #e6f0ee;
  --mist: #f4f8f7;
  --cream: #fff6dc;
  --gold: #e8c77a;
  --ink: #2e3a3f;
  --muted: #4e5e63;
  --line: #cfe0dc;
  --white: #ffffff;
  --red: #a4262c;
  --pine: #1e6b4a;
  --berry: #c43a40;
  --shadow: 0 16px 40px rgba(10, 35, 45, 0.12);
  --shadow-sm: 0 6px 18px rgba(10, 35, 45, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --max: 70rem;
  --gutter: 1.25rem;
  --header-h: 4.25rem;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--navy);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 5.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 0.75rem; outline: 3px solid var(--gold); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--gutter) 1.25rem;
  box-shadow: var(--shadow-sm);
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  border-radius: 0.6rem;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).is-current { background: var(--sage); }
.site-nav .btn { text-align: center; margin-top: 0.5rem; color: var(--white); }
.site-nav .btn:hover { color: var(--white); background: var(--navy-dark); border-color: var(--navy-dark); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { color: var(--white); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-cream {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--white); color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.hero-actions, .card-actions, .buy-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.55rem;
}
.muted { color: var(--muted); }
.price { font-weight: 700; color: var(--navy); font-size: 1.5rem; letter-spacing: -0.02em; }
.price-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(42, 127, 127, 0.55), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(232, 199, 122, 0.18), transparent 50%),
    linear-gradient(165deg, #1f4e5f 0%, #26606c 50%, #2a7f7f 100%);
  padding: 2.75rem 0 3.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero .lead {
  font-size: 1.08rem;
  color: #d6e9e6;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-visual {
  margin-top: 2rem;
  filter: drop-shadow(0 24px 40px rgba(10, 35, 45, 0.28));
}
.hero-visual img {
  border-radius: var(--radius);
  width: 100%;
}

/* ----- Sections ----- */
.section { padding: 3.25rem 0; }
.section-mist { background: var(--mist); }
.section-sage { background: var(--sage); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head p { color: var(--muted); margin: 0; }

/* ----- Product cards ----- */
.product-grid {
  display: grid;
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sage); }
.product-card .body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.product-card h3 { margin: 0; }
.product-card .body > p { flex: 1; margin: 0; }
.product-card .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.badge {
  display: inline-flex;
  width: max-content;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--navy);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.badge-holiday { background: #f8e6e6; color: var(--red); }
.product-card.is-holiday { border-color: #e8c4c4; }
.product-card.is-coming {
  background: var(--mist);
  box-shadow: none;
}
.product-card.is-coming .body { padding-top: 1.5rem; }
.coming-soon { display: grid; gap: 1.25rem; margin-top: 2rem; }

/* ----- How it works ----- */
.steps {
  display: grid;
  gap: 1.1rem;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--line);
}
.step-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); }

/* ----- Why ----- */
.why-grid {
  display: grid;
  gap: 1.1rem;
}
.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.why-item h3 { margin-bottom: 0.35rem; }
.why-item p { margin: 0; color: var(--muted); }

/* ----- FAQ ----- */
.faq { display: grid; gap: 0.7rem; max-width: 46rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--teal-dark);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-dark);
  color: #c5d6d4;
  padding: 2.75rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-brand p { color: #c5d6d4; max-width: 22rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.footer-logo img { width: 2rem; height: 2rem; }
.legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #9fb3b1;
}
.legal p { margin: 0 0 0.35rem; }

/* ----- Interior pages ----- */
.page-hero {
  background: var(--mist);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--line);
}
.breadcrumb a { color: var(--teal-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: 42rem; padding: 2.5rem 0 3.5rem; }
.prose h2 { margin-top: 2rem; }

/* ----- Product page ----- */
.product-layout {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 3.5rem;
}
.gallery-main {
  background: var(--sage);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--sage);
  cursor: pointer;
}
.thumbs button:hover,
.thumbs button[aria-current="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.buy-box {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.buy-box h1 { font-size: clamp(1.6rem, 3.5vw, 2.15rem); margin-bottom: 0.4rem; }
.checkout-note { font-size: 0.88rem; color: var(--muted); margin: 0.65rem 0 0; }
.includes, .product-copy { margin-top: 2rem; }
.includes ul { padding-left: 0; list-style: none; }
.includes li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--teal);
}
.note-box {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: var(--sage);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.note-box p { margin: 0 0 0.4rem; }
.note-box p:last-child { margin: 0; }

/* Holiday accents — Christmas product only */
.theme-holiday .page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(164, 38, 44, 0.10), transparent 55%),
    var(--mist);
}
.theme-holiday .includes li::before { background: var(--pine); }
.theme-holiday .buy-box { border-color: #e4c9c9; }
.theme-holiday .badge-holiday { background: #f8e6e6; color: var(--red); }
.theme-holiday .thumbs button[aria-current="true"] { border-color: var(--red); }

/* ----- Desktop ----- */
@media (min-width: 720px) {
  :root { --gutter: 1.75rem; }
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .site-nav a { padding: 0.45rem 0.75rem; }
  .site-nav .btn { margin-top: 0; margin-left: 0.5rem; padding: 0.55rem 1.05rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: center;
  }
  .hero-visual { margin-top: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .coming-soon { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .product-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .buy-box { position: sticky; top: calc(var(--header-h) + 1rem); }
  .product-copy { grid-column: 1 / -1; max-width: 46rem; }
}

@media (min-width: 960px) {
  .section { padding: 4.25rem 0; }
  .hero { padding: 4.25rem 0 4.75rem; }
  .hero .lead { font-size: 1.15rem; }
}

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