/* ==========================================================================
   BushieBoy — Global Stylesheet
   --------------------------------------------------------------------------
   Design tokens live in :root below. To re-brand or tweak the palette,
   edit the custom properties — everything else inherits from them.
   Mobile-first: base styles target small screens, min-width queries scale up.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour palette */
  --bg: #ffffff;
  --surface: #f8f8f6;          /* off-white */
  --ink: #111110;              /* near-black */
  --ink-soft: #4a4843;         /* dark grey body text on light surfaces */
  --ink-faint: #6b6862;        /* captions / meta (AA on white & off-white) */
  --line: #e6e4de;             /* hairline borders */
  --yellow: #ffdf00;           /* BushieBoy yellow (matches the logo) */
  --yellow-deep: #efd000;      /* hover state */
  --wire-red: #d63b2f;         /* use sparingly */
  --dark: #1b1a18;             /* dark sections */

  /* Type */
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --radius: 16px;
  --radius-lg: 24px;
  --section-pad: clamp(4rem, 10vw, 7.5rem);
  --content-width: 72rem;
  --shadow-card: 0 1px 2px rgba(17, 17, 16, 0.04), 0 8px 24px rgba(17, 17, 16, 0.06);
  --shadow-lift: 0 2px 4px rgba(17, 17, 16, 0.05), 0 16px 40px rgba(17, 17, 16, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* keep anchored sections clear of sticky header */
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1.25rem;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--content-width), 100% - 2.5rem);
  margin-inline: auto;
}

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

.section--surface {
  background: var(--surface);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 1.3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 1.3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.lede {
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn--primary:hover {
  background: var(--yellow-deep);
  box-shadow: 0 10px 24px rgba(255, 223, 0, 0.35);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn--lg {
  font-size: 1.1875rem;
  padding: 1.15rem 2.4rem;
}

.btn .btn-icon {
  flex: none;
}

/* Reassuring microcopy under CTAs */
.cta-note {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-top: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(17, 17, 16, 0.05);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 8px; /* soften the square logo tile */
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

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

.nav-menu {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: 0 24px 40px rgba(17, 17, 16, 0.08);
}

.nav-menu.is-open {
  display: block;
}

.nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-menu a:not(.btn) {
  display: block;
  padding: 0.7rem 0.5rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
}

.nav-menu a:not(.btn):hover {
  background: var(--surface);
}

.nav-menu .nav-cta {
  margin-top: 0.75rem;
}

@media (min-width: 56em) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-menu ul {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-menu a:not(.btn) {
    padding: 0.5rem 0.85rem;
  }

  .nav-menu .nav-cta {
    margin: 0 0 0 0.6rem;
  }

  .nav-menu .nav-cta .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9375rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--surface);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.hero-copy .lede {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Mobile: the product photo sits behind the hero copy under a light
   scrim, instead of stacking below it as a separate block. */
@media (max-width: 55.9375em) {
  .hero {
    position: relative;
    isolation: isolate;
  }


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

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 0;
    box-shadow: none;
  }

  /* Light scrim only — the photo stays clearly visible; text legibility
     comes from a soft white glow on the type instead. */
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(248, 248, 246, 0.72) 0%,
      rgba(248, 248, 246, 0.42) 45%,
      rgba(248, 248, 246, 0.12) 75%,
      rgba(248, 248, 246, 0) 100%
    );
  }

  .hero-copy h1,
  .hero-copy .lede,
  .hero-copy .cta-note {
    text-shadow:
      0 0 22px rgba(248, 248, 246, 1),
      0 0 10px rgba(248, 248, 246, 0.95),
      0 0 3px rgba(248, 248, 246, 0.9);
  }

  .hero-copy .lede,
  .hero-copy .cta-note {
    color: var(--ink);
  }

  /* Frosted backing so the outlined button stays readable over the photo */
  .hero-actions .btn--ghost {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (min-width: 56em) {
  .hero .container {
    grid-template-columns: 1.05fr 1fr;
  }

  /* Cap the portrait product photo so the whole hero (headline, buttons,
     note) fits the first screen without scrolling. */
  .hero-media img {
    width: 100%;
    max-height: min(62vh, 36rem);
    object-fit: cover;
    object-position: center 45%;
  }
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.section--surface .card {
  border-color: transparent;
  box-shadow: var(--shadow-card);
}

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

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9875rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.section--surface .card-icon {
  background: #fffbe8;
}

@media (min-width: 40em) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  text-align: center;
}

.step img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.step p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 56em) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* connecting arrows between steps */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32%;
    right: -1.6rem;
    width: 1.9rem;
    height: 2px;
    background: var(--ink);
    opacity: 0.25;
  }
}

/* ---------- Module grid (What's included) ---------- */
.module-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

.module-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

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

.module-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.module-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.module-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.module-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  color: #fff;
  padding: 2rem 1.5rem;
}

.module-card--more h3 {
  color: #fff;
}

.module-card--more p {
  color: #b9b6af;
}

.module-card--more a {
  color: var(--yellow);
  font-weight: 600;
}

@media (min-width: 48em) {
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ---------- Built for learning ---------- */
.learning {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.learning-list {
  display: grid;
  gap: 0;
}

.learning-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.learning-item:first-child {
  padding-top: 0;
}

.learning-item-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--surface);
}

.learning-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.3rem;
}

.learning-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

@media (min-width: 56em) {
  .learning {
    grid-template-columns: 1fr 1.2fr;
  }

  .learning > .section-head {
    position: sticky;
    top: 6.5rem;
    margin-bottom: 0;
  }
}

/* ---------- Quote / lifestyle ---------- */
.quote-banner {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.quote-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.quote-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.82), rgba(17, 17, 16, 0.45));
  z-index: -1;
}

.quote-banner .container {
  min-height: clamp(24rem, 55vw, 34rem);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.quote-banner blockquote {
  margin: 0;
  max-width: 40rem;
}

.quote-banner blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.quote-banner cite {
  font-style: normal;
  font-size: 0.9375rem;
  color: #d5d2cb;
}

.quote-mark {
  color: var(--yellow);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 46rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  margin-top: -0.35rem;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.35rem;
}

.faq-item summary:hover {
  color: var(--ink-soft);
}

.faq-answer {
  padding: 0 0.25rem 1.5rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  max-width: 24ch;
  margin-inline: auto;
}

.final-cta .lede {
  color: #b9b6af;
  max-width: 36rem;
  margin-inline: auto;
}

.final-cta .btn {
  margin-top: 1.5rem;
}

.final-cta .cta-note {
  color: #8e8b84;
}

.etsy-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: #b9b6af;
}

.etsy-assurance li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.etsy-assurance svg {
  color: var(--yellow);
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--ink-soft);
  max-width: 20rem;
  margin: 1rem 0 0;
}

.footer-col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink);
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.875rem;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--surface);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.page-hero .lede {
  max-width: 42rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.prose p {
  color: var(--ink-soft);
}

/* Direct-checkout buy form */
.buy-form {
  margin: 0.25rem 0 0.9rem;
}

.buy-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.buy-form select {
  display: block;
  width: 100%;
  max-width: 24rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
}

.buy-form select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  border-color: var(--ink);
}

/* Small policy-links row on the product page */
.policy-links {
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.policy-links a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* Contact form (Netlify Forms) */
.contact-form p {
  margin-bottom: 1.15rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.contact-form label span {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-faint);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  border-color: var(--ink);
}

/* Bulleted lists inside prose (global ul reset removes bullets) */
.prose ul.bullets {
  list-style: disc;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.35rem;
}

/* Product cards on /products */
.product-card {
  display: grid;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}

.product-card-body {
  padding: 1.75rem;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.product-price span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-faint);
}

.product-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.9rem;
}

.product-card p {
  color: var(--ink-soft);
}

.product-card .btn {
  margin-top: 0.5rem;
}

/* Small share area on product cards */
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
}

.share-label {
  color: var(--ink-faint);
}

.share-copy,
.share-pin {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.share-copy:hover,
.share-pin:hover {
  border-color: var(--ink);
  background: var(--surface);
}

/* The copy button needs JavaScript; hide it when JS is unavailable */
.share-copy {
  display: none;
}

html.js .share-copy {
  display: inline-block;
}

.product-card--soon {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--ink-faint);
  box-shadow: none;
}

.product-card--soon:hover {
  transform: none;
  box-shadow: none;
}

@media (min-width: 48em) {
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ---------- Scroll-reveal animation ----------
   Elements with [data-reveal] fade/slide in when scrolled into view.
   JS adds .is-visible; without JS (or with reduced motion) content is
   fully visible — the hiding style only applies when html.js is present. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .module-card,
  .product-card {
    transition: none;
  }
}
