/*
 * Halo layer for the Stack storefront (KISS redesign, 17 Oct 2026).
 * Loaded after the storefront's own sheets; the shared header, footer,
 * switcher and halo ring come from src/components/site/halo-site.css,
 * which src/app/stack/route.ts inlines after this file.
 */

:root {
  --ink: var(--h-ink);
  --muted: var(--h-ink-soft);
  --line: var(--h-line);
  --paper: var(--h-paper);
  --accent: #2c4fd6;
  --font: var(--h-font);
  --display: var(--h-font);
  --h-accent: #2c4fd6;
}

body { background: var(--h-paper); font-family: var(--h-font); }

h1, h2 {
  font-family: var(--h-font);
  font-stretch: 120%;
  font-weight: 620;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1; }

/* The store-status line stays: it is the honest test-mode notice. */
.store-status { display: flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 20px; background: var(--h-ink); color: #e9ebee; font: 12px/1.4 var(--h-font); }

/* Header: the storefront's own .header rules give way to .halo-bar. */
.header.halo-bar { height: auto; padding: 0; border-bottom: 0; display: block; }
.halo-bar .brand { gap: 10px; }
.halo-bar .halo-bar__mark { width: 34px; height: auto; }
.halo-bar .icon-button, .halo-bar .bag-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: transparent;
  color: var(--h-ink);
}
.halo-bar .bag-button { padding: 0 16px; background: var(--h-ink); color: var(--h-paper); font: 500 14px/1 var(--h-font); }
.halo-bar .bag-button:hover { background: var(--h-accent); }
.halo-bar .bag-button svg { width: 18px; height: 18px; }
.halo-bar .icon-button:hover { background: #0000000a; }

/* The storefront's old mobile menu rules target every header nav. */
.header.halo-bar nav.halo-switcher {
  display: inline-flex;
  position: static;
  flex-direction: row;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 55%, transparent);
  box-shadow: none;
  font-size: 13.5px;
}
.header.halo-bar nav.halo-switcher a::after { display: none; }
.header.halo-bar #search-open { display: inline-flex; }

/* Hero: one product, framed at the render's own 3:2 ratio so nothing crops or letterboxes. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
  width: min(100% - 48px, 1280px);
  height: auto;
  min-height: 0;
  margin-inline: auto;
  padding-block: 48px 32px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero h1 { font-size: clamp(52px, 6.4vw, 96px); line-height: .95; letter-spacing: -.038em; }
.hero-copy { padding: 0; }
.hero-copy > p { max-width: 36ch; color: var(--h-ink-soft); font-size: 18px; line-height: 1.55; }
.hero-foot { display: none; }
.hero-visual { aspect-ratio: 3 / 2; height: auto; min-height: 0; overflow: hidden; border-radius: 24px; background: #e7e5e1; }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transform: none !important; }
.hero-visual .carry-concept-link, .hero-visual .image-caption { z-index: 2; }

/* Shop: one grid. The collection switcher, filters and sort stay in the DOM for app.js but are not shown. */
.tier-options, .collection-context, .collection-shared, .shop-toolbar { display: none !important; }

/* Packing checklist, restored. */
.story-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px 72px;
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  padding: 96px 0;
  border-top: 1px solid var(--h-line);
  background: transparent;
  color: var(--h-ink);
  text-align: left;
}
.story-section h2 { font-size: clamp(44px, 5vw, 72px); line-height: .95; }
.story-section > div { display: grid; gap: 14px; align-content: start; max-width: 52ch; color: var(--h-ink-soft); font-size: 17px; line-height: 1.55; }
.story-section .button { justify-self: start; margin-top: 12px; }

.button.primary { border-radius: 999px; background: var(--h-ink); color: var(--h-paper); }
.button.primary:hover { background: var(--h-accent); }
.button { border-radius: 999px; font-family: var(--h-font); }

/* Fewer labels: the headings already say what each section is. */
main .section-heading .section-kicker { display: none; }

.section-wrap { width: min(100% - 48px, 1280px); padding-inline: 0; }

.shop-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.shop-tools select { min-height: 44px; padding: 0 14px; border: 1px solid var(--h-line); border-radius: 999px; background: #fff; color: var(--h-ink); }

/* Before you shop: the test-mode facts, said once in plain words. */
.before-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 72px; border-top: 1px solid var(--h-line); }
.before-section ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--h-ink-soft); font-size: 17px; line-height: 1.5; }
.before-section li { padding-bottom: 14px; border-bottom: 1px solid var(--h-line); }
.before-section .text-button { grid-column: 2; justify-self: start; min-height: 44px; }

.halo-footer button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.halo-footer button:hover { color: var(--h-ink); }

@media (max-width: 900px) {
  .hero { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .story-section { width: calc(100% - 32px); grid-template-columns: 1fr; padding: 64px 0; }
  .section-wrap { width: calc(100% - 32px); }
  .before-section { grid-template-columns: 1fr; }
  .before-section .text-button { grid-column: 1; }
}

@media (max-width: 720px) {
  main .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-visual .image-caption { display: none; }
  .halo-bar .bag-button { padding: 0 12px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
}
