/* ===== HOMEPAGE ===== */

/* --- Striped placeholder (used when an image is not yet available) --- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      var(--ph-a, oklch(0.90 0.02 80)) 0 14px,
      var(--ph-b, oklch(0.93 0.02 80)) 14px 28px
    );
  color: var(--ink-2);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 12px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: oklch(0.97 0.005 85 / 0.85);
  padding: 4px 8px;
  border-radius: 2px;
  width: max-content;
  pointer-events: none;
}
.ph:not([data-label])::after,
.ph[data-label=""]::after { content: none; }
.ph[data-tone="spring"] { --ph-a: oklch(0.91 0.06 75);  --ph-b: oklch(0.94 0.04 75); }
.ph[data-tone="summer"] { --ph-a: oklch(0.88 0.04 250); --ph-b: oklch(0.92 0.03 250); }
.ph[data-tone="autumn"] { --ph-a: oklch(0.86 0.10 65);  --ph-b: oklch(0.90 0.07 65); }
.ph[data-tone="winter"] { --ph-a: oklch(0.55 0.04 260); --ph-b: oklch(0.62 0.04 260); color: oklch(0.85 0.02 80); }
.ph[data-tone="winter"]::after { color: oklch(0.20 0.02 60); }

/* --- Section rhythm --- */
.hp-section { padding: 88px 0; }
.section { padding: 88px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.0;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--ink-2); }
.section-head .lede {
  max-width: 38ch; color: var(--ink-2); font-size: 15px;
}

/* --- Section header --- */
.hp-section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.hp-section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.0;
  letter-spacing: -0.02em;
}
.hp-section-head h2 em { font-style: italic; color: var(--ink-2); }
.hp-section-head .hp-lede {
  max-width: 38ch; color: var(--ink-2); font-size: 16px;
}

/* ============================
   HERO — Discover (logged-out)
   ============================ */
.homepage-hero { padding: 32px 0 0; }

.homepage-hero__prelude {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
}

.homepage-hero__headline {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92; letter-spacing: -0.025em;
}
.homepage-hero__headline em { color: var(--ink-2); font-style: italic; }

.homepage-hero__intro {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 32px; margin-top: 40px; margin-bottom: 32px;
}
.homepage-hero__intro p {
  max-width: 52ch; color: var(--ink-2);
  font-size: 17px; line-height: 1.55; margin: 0;
}
.homepage-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Four-up season cards */
.homepage-hero__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 16px;
}
.homepage-hero__card {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: column;
  background: transparent; border: 0; padding: 0;
  color: var(--ink); text-decoration: none;
}
.homepage-hero__card-image {
  aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
[data-season="spring"] .homepage-hero__card-image {
  background: repeating-linear-gradient(135deg, oklch(0.91 0.06 75) 0 14px, oklch(0.94 0.04 75) 14px 28px);
}
[data-season="summer"] .homepage-hero__card-image {
  background: repeating-linear-gradient(135deg, oklch(0.88 0.04 250) 0 14px, oklch(0.92 0.03 250) 14px 28px);
}
[data-season="autumn"] .homepage-hero__card-image {
  background: repeating-linear-gradient(135deg, oklch(0.86 0.10 65) 0 14px, oklch(0.90 0.07 65) 14px 28px);
}
[data-season="winter"] .homepage-hero__card-image {
  background: repeating-linear-gradient(135deg, oklch(0.78 0.12 250) 0 14px, oklch(0.84 0.08 250) 14px 28px);
}
.homepage-hero__card-border {
  position: absolute; inset: 0;
  border: 8px solid var(--s2);
  border-radius: 4px; pointer-events: none;
}
.homepage-hero__card-stamp {
  position: absolute; top: 16px; left: 16px;
  background: var(--paper); padding: 6px 10px; border-radius: 2px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.homepage-hero__card-number {
  position: absolute; bottom: 20px; right: 20px;
  font-family: var(--serif); font-weight: 400;
  color: var(--paper);
  font-size: 84px; line-height: 0.8; letter-spacing: -0.04em;
  text-shadow: 0 1px 30px oklch(0 0 0 / 0.4);
}
.homepage-hero__card-info {
  margin-top: 16px; display: flex;
  justify-content: space-between; align-items: start; gap: 12px;
}
.homepage-hero__card-title {
  font-family: var(--serif); font-size: 30px;
  line-height: 1; margin-bottom: 6px;
}
.homepage-hero__card-sub {
  font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.homepage-hero__card-palette { margin-top: 12px; }

/* Hero — Personalized (logged-in) */
.homepage-hero--personalized { padding: 24px 0 0; }
.homepage-hero__welcome {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}
.homepage-hero__banner {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 16/8.5; border: 1px solid var(--hairline);
}
.homepage-hero__banner-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
.homepage-hero__banner-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(0 0 0 / 0.55) 0%, oklch(0 0 0 / 0.15) 45%, transparent 70%);
}
.homepage-hero__banner-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px; color: var(--paper);
  text-shadow: 0 1px 30px oklch(0 0 0 / 0.25);
}
.homepage-hero__banner h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.95; letter-spacing: -0.025em;
}
.homepage-hero__banner h1 em { font-style: italic; }
.homepage-hero__banner-palette {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; height: 8px;
}

/* ============================
   SHOP BY SEASON
   ============================ */
.shop-by-season__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden;
}
.season-card {
  background: var(--paper); padding: 28px; cursor: pointer;
  display: flex; flex-direction: column; gap: 20px;
  transition: background 200ms ease;
  text-decoration: none; color: var(--ink);
}
.season-card:hover { background: var(--paper-2); }
.season-card__header {
  display: flex; justify-content: space-between; align-items: start;
}
.season-card__name {
  font-family: var(--serif); font-size: 42px;
  line-height: 1; margin-bottom: 6px;
}
.season-card__sub {
  font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.season-card__description {
  margin: 0; color: var(--ink-2);
  font-size: 15px; line-height: 1.55; min-height: 4.4em;
}
.season-card__swatches {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.season-card__swatch {
  aspect-ratio: 1; border-radius: 2px;
  box-shadow: inset 0 0 0 1px oklch(0.20 0.02 60 / 0.08);
}
.season-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 8px;
  border-top: 1px solid var(--hairline-2);
}
.season-card__count { font-size: 14px; color: var(--ink-3); }
.season-card__count strong { color: var(--ink); font-weight: 500; }
.season-card__link { font-size: 15px; font-weight: 500; }

/* ============================
   PALETTE EXPLORER
   ============================ */
.palette-explorer {
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.palette-explorer__layout {
  display: grid; grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 56px; align-items: start;
}
.palette-explorer__tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.palette-explorer__tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 8px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--paper);
  color: var(--ink); font-family: var(--sans); font-size: 14px;
  cursor: pointer; transition: all 160ms ease;
}
.palette-explorer__tab--active {
  border-color: var(--ink); background: var(--ink); color: var(--paper);
}
.palette-explorer__tab .dots {
  display: inline-flex; gap: 2px;
}
.palette-explorer__tab .dot {
  width: 8px; height: 8px; border-radius: 999px;
}
.palette-explorer__swatches {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.palette-explorer__swatch {
  display: flex; flex-direction: column; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.palette-explorer__swatch-color {
  aspect-ratio: 1; border-radius: 2px;
  box-shadow: inset 0 0 0 1px oklch(0.20 0.02 60 / 0.10);
  transition: box-shadow 160ms ease;
}
.palette-explorer__swatch--active .palette-explorer__swatch-color {
  box-shadow: 0 0 0 1.5px var(--paper-2), 0 0 0 3px var(--ink);
}
.palette-explorer__swatch-name { font-size: 13px; color: var(--ink-2); }
.palette-explorer__current {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 12px;
}
.palette-explorer__current-swatch {
  width: 36px; height: 36px; border-radius: 2px;
  box-shadow: inset 0 0 0 1px oklch(0.20 0.02 60 / 0.10);
}
.palette-explorer__current-name {
  font-family: var(--serif); font-size: 24px; line-height: 1;
}
.palette-explorer__current-meta {
  font-size: 14px; color: var(--ink-3); margin-top: 2px;
}

/* Palette preview grid */
.palette-explorer__preview-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.palette-explorer__preview-main {
  aspect-ratio: 5/6; border-radius: 4px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
.palette-explorer__preview-side {
  display: grid; grid-template-rows: 1fr 1fr; gap: 16px;
}
.palette-explorer__preview-flatlay {
  border-radius: 4px;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
.palette-explorer__preview-quote {
  border-radius: 4px; padding: 20px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  color: oklch(0.20 0.02 60);
}
.palette-explorer__preview-quote .quote-text {
  font-family: var(--serif); font-size: 28px;
  line-height: 1; letter-spacing: -0.01em;
}
.palette-explorer__product-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.palette-explorer__product-thumb {
  aspect-ratio: 1; border-radius: 4px; position: relative;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
.palette-explorer__product-dot {
  position: absolute; top: 8px; right: 8px;
  width: 14px; height: 14px; border-radius: 999px;
  box-shadow: 0 0 0 2px var(--paper);
}
.palette-explorer__footer {
  margin-top: 20px; display: flex;
  justify-content: space-between; align-items: center;
}
.palette-explorer__footer span { font-size: 15px; color: var(--ink-2); }
.palette-explorer__footer strong { color: var(--ink); }

/* ============================
   FEATURED PRODUCTS
   ============================ */
.featured-products__filters {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.featured-products__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.featured-products__more {
  display: flex; justify-content: center; margin-top: 48px;
}

/* ============================
   HOW IT WORKS (editorial deep)
   ============================ */
.how-it-works {
  background: var(--deep); color: var(--deep-ink);
  transition: background 240ms ease;
}
.how-it-works__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.how-it-works h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 5.6vw, 92px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.how-it-works h2 em {
  color: var(--pop); font-style: italic;
}
.how-it-works__lede {
  margin-top: 28px; color: var(--deep-ink); opacity: 0.8;
  font-size: 17px; line-height: 1.55; max-width: 44ch;
}
.how-it-works__cta { display: flex; gap: 12px; margin-top: 32px; }
.how-it-works__step {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding: 28px 0;
  border-top: 1px solid color-mix(in oklch, var(--deep-ink) 22%, transparent);
}
.how-it-works__step-num {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--deep-ink); opacity: 0.55;
}
.how-it-works__step-title {
  font-family: var(--serif); font-size: 28px;
  line-height: 1; margin-bottom: 8px; color: var(--pop);
}
.how-it-works__step-desc {
  margin: 0; color: var(--deep-ink); opacity: 0.78;
  font-size: 16px; line-height: 1.55;
}

/* ============================
   BRANDS STRIP
   ============================ */
.brands-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: 4px;
}
.brand-cell {
  background: var(--paper); padding: 32px 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 140px;
}
.brand-cell__header {
  display: flex; justify-content: space-between;
}
.brand-cell__name {
  font-family: var(--serif); font-size: 32px;
  line-height: 1; letter-spacing: -0.01em;
}
.brand-cell__seasons {
  margin-top: auto; display: flex; gap: 4px; align-items: center;
}
.brand-cell__dot {
  width: 14px; height: 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px oklch(0.20 0.02 60 / 0.08);
}
.brand-cell__seasons-label {
  font-size: 13px; color: var(--ink-3); margin-left: 6px;
}

/* ============================
   EXTENSION PROMO
   ============================ */
.extension-promo { background: var(--paper-3); }
.extension-promo__layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: center;
}
.extension-promo h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.extension-promo h2 em { font-style: italic; }
.extension-promo__lede {
  margin-top: 24px; color: var(--ink-2);
  font-size: 17px; line-height: 1.55; max-width: 48ch;
}
.extension-promo__cta { display: flex; gap: 12px; margin-top: 28px; }
.extension-promo__stats {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--hairline);
}
.extension-promo__stat-value {
  font-family: var(--serif); font-size: 32px; line-height: 1;
}
.extension-promo__stat-label {
  font-size: 14px; color: var(--ink-3); margin-top: 4px;
}
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.live-dot { animation: pulse 1.6s ease-in-out infinite; }

/* Mock browser */
.mock-browser {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -30px oklch(0.20 0.02 60 / 0.18);
}
.mock-browser__chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--hairline-2);
  background: var(--paper-2);
}
.mock-browser__dots { display: flex; gap: 6px; }
.mock-browser__dot {
  width: 10px; height: 10px; border-radius: 999px;
}
.mock-browser__url {
  flex: 1; height: 22px; border-radius: 4px;
  background: var(--paper); border: 1px solid var(--hairline);
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
}
.mock-browser__ext {
  display: inline-flex; gap: 2px; padding: 4px 8px;
  border-radius: 4px; background: var(--paper-3);
}
.mock-browser__ext .dot {
  width: 8px; height: 8px; border-radius: 999px;
}
.mock-browser__grid {
  padding: 20px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.mock-browser__item { position: relative; }
.mock-browser__thumb {
  aspect-ratio: 3/4; border-radius: 3px;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.90 0.02 80) 0 14px,
    oklch(0.93 0.02 80) 14px 28px
  );
}
.mock-browser__indicator {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 999px;
  border: 2px solid var(--paper);
}
.mock-browser__indicator--known {
  background: oklch(0.62 0.16 145);
  box-shadow: 0 2px 6px oklch(0.62 0.16 145 / 0.4);
}
.mock-browser__indicator--unknown {
  background: var(--paper);
  border-color: oklch(0.20 0.02 60 / 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1;
}
.mock-browser__item-meta {
  font-size: 13px; color: var(--ink-3); margin-top: 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.mock-browser__item-meta .known {
  color: oklch(0.45 0.10 145); font-weight: 500;
}
.mock-browser__legend {
  padding: 0 20px 20px; display: flex; gap: 20px;
  font-size: 13px; color: var(--ink-2);
  border-top: 1px solid var(--hairline-2);
  padding-top: 14px; margin-top: 4px;
}
.mock-browser__legend span {
  display: inline-flex; align-items: center; gap: 6px;
}
.mock-browser__legend .legend-dot {
  width: 10px; height: 10px; border-radius: 999px;
}

/* ============================
   CATEGORIES GRID
   ============================ */
.categories-grid__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden;
}
.category-cell {
  background: var(--paper); padding: 28px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background 200ms ease;
  text-decoration: none; color: var(--ink);
}
.category-cell:hover { background: var(--paper-2); }
.category-cell__name {
  font-family: var(--serif); font-size: 26px; line-height: 1;
}
.category-cell__meta {
  display: flex; flex-direction: column; align-items: end; gap: 6px;
}
.category-cell__count { font-size: 14px; color: var(--ink-3); }

/* ============================
   NEWSLETTER
   ============================ */
.newsletter {
  background: var(--deep); color: var(--deep-ink);
  padding: 96px 0 64px; transition: background 240ms ease;
}
.newsletter__layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: end;
}
.newsletter h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.newsletter h2 em { color: var(--pop); font-style: italic; }
.newsletter__lede {
  margin-top: 20px; max-width: 44ch;
  color: color-mix(in oklch, var(--deep-ink) 70%, transparent);
  font-size: 16px; line-height: 1.55;
}
.newsletter__form {
  display: flex; gap: 0;
  border: 1px solid color-mix(in oklch, var(--deep-ink) 22%, transparent);
  border-radius: 999px; padding: 4px;
  background: color-mix(in oklch, var(--paper) 30%, transparent);
}
.newsletter__input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--deep-ink); padding: 0 18px; font-size: 15px;
  font-family: var(--sans);
}
.newsletter__input::placeholder {
  color: color-mix(in oklch, var(--deep-ink) 50%, transparent);
}
.newsletter__submit {
  height: 40px; padding: 0 22px; border-radius: 999px;
  background: var(--deep-ink); color: var(--deep); border: 0;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: var(--sans);
}
.newsletter__seasons {
  margin-top: 14px; display: flex; gap: 16px;
  align-items: center; flex-wrap: wrap;
}
.newsletter__season-btn {
  font-size: 14px;
  color: color-mix(in oklch, var(--deep-ink) 70%, transparent);
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
}
.newsletter__season-btn .dot {
  width: 8px; height: 8px; border-radius: 999px;
}
.newsletter__label {
  font-size: 14px;
  color: color-mix(in oklch, var(--deep-ink) 55%, transparent);
}

/* Palette strip (shared) */
.palette-strip {
  display: grid; height: 20px; border-radius: 2px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1080px) {
  .homepage-hero__grid { grid-template-columns: repeat(2, 1fr); }
  .shop-by-season__grid { grid-template-columns: repeat(2, 1fr); }
  .palette-explorer__layout { grid-template-columns: 1fr; }
  .how-it-works__layout { grid-template-columns: 1fr; gap: 48px; }
  .brands-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .extension-promo__layout { grid-template-columns: 1fr; gap: 48px; }
  .categories-grid__grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .hp-section { padding: 56px 0; }
  .homepage-hero__grid { grid-template-columns: 1fr 1fr; }
  .homepage-hero__intro { grid-template-columns: 1fr; }
  .homepage-hero__card-number { font-size: 48px; }
  .shop-by-season__grid { grid-template-columns: 1fr; }
  .featured-products__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .brands-strip__grid { grid-template-columns: 1fr; }
  .mock-browser__grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid__grid { grid-template-columns: 1fr; }
  .extension-promo__stats { flex-wrap: wrap; gap: 24px; }
  .newsletter { padding: 64px 0 48px; }
}

/* ============================
   FEATURED PRODUCTS — ProductCard markup (for cards built directly here)
   ============================ */
.featured-products .product-card-v2 {
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.featured-products .product-card-v2__image {
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  outline: 1px solid var(--hairline);
  outline-offset: -1px;
}
.featured-products .product-card-v2__image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
/* Hide the .ph striped fallback when a real image is loaded. */
.featured-products .product-card-v2__image.has-image { background: var(--paper-2); }
.featured-products .product-card-v2__image.has-image::after { content: none; }
.featured-products .product-card-v2__season-tag {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); padding: 4px 10px 4px 6px; border-radius: 999px;
  font-size: 12px; color: var(--ink-2); letter-spacing: 0.02em;
}
.featured-products .product-card-v2__season-tag .dot {
  width: 8px; height: 8px; border-radius: 999px;
}
.featured-products .product-card-v2__hover {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--paper); padding: 8px 12px; border-radius: 4px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  font-size: 12px;
}
.featured-products .product-card-v2:hover .product-card-v2__hover {
  opacity: 1; transform: translateY(0);
}
.featured-products .product-card-v2__hover .variants {
  color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase;
}
.featured-products .product-card-v2__hover .quick {
  font-weight: 500; color: var(--ink);
}
.featured-products .product-card-v2__meta {
  display: flex; justify-content: space-between; gap: 12px;
}
.featured-products .product-card-v2__brand {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.featured-products .product-card-v2__name {
  font-family: var(--serif); font-size: 18px; line-height: 1.15;
}
.featured-products .product-card-v2__price {
  text-align: right; white-space: nowrap;
  font-size: 14px; font-weight: 500;
}
.featured-products .product-card-v2__color {
  font-size: 12px; color: var(--ink-3); margin-top: 2px; text-align: right;
}

/* ============================
   BRANDS STRIP — logo image inside cell (when available)
   ============================ */
.brand-cell__logo {
  width: 100%; max-width: 160px; height: 56px;
  object-fit: contain; object-position: left center;
  margin-bottom: 0;
}

/* ============================
   SEASON MODAL
   ============================ */
.cs-season-modal {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0 0 0 / 0.4);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.cs-season-modal[data-open="true"] {
  display: flex;
  animation: fadeUp 200ms ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cs-season-modal__panel {
  width: min(720px, 100%);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 36px;
  position: relative;
}
.cs-season-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--paper);
  cursor: pointer; font-size: 16px; line-height: 1;
}
.cs-season-modal__title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 38px; line-height: 1.0; letter-spacing: -0.02em;
}
.cs-season-modal__title em { font-style: italic; color: var(--ink-2); }
.cs-season-modal__lede {
  color: var(--ink-2); font-size: 14.5px;
  margin-top: 12px; margin-bottom: 24px; max-width: 52ch;
}
.cs-season-modal__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.cs-season-modal__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  cursor: pointer; text-align: left;
  transition: all 180ms ease;
  text-decoration: none; color: var(--ink);
}
.cs-season-modal__card:hover {
  background: var(--paper-2); border-color: var(--ink);
}
.cs-season-modal__card-palette {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
.cs-season-modal__card-palette span {
  aspect-ratio: 1; border-radius: 1px;
}
.cs-season-modal__card-title {
  font-family: var(--serif); font-size: 22px; line-height: 1;
}
.cs-season-modal__card-sub {
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 4px;
}
.cs-season-modal__footer {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.cs-season-modal__footer-label {
  font-size: 13px; color: var(--ink-2);
}
.cs-season-modal__footer-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
@media (max-width: 720px) {
  .cs-season-modal__grid { grid-template-columns: repeat(2, 1fr); }
  .cs-season-modal__panel { padding: 24px; }
  .cs-season-modal__title { font-size: 28px; }
}
