/* =========================================================
   Storefront — header, footer, hero, sections, product grids
   ========================================================= */

/* ---------- Header / nav ---------- */
.sw-header {
  position: sticky;
  top: 0;
  z-index: var(--sw-z-sticky);
  background: rgba(244, 239, 232, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background var(--sw-base-dur) var(--sw-ease),
              border-color var(--sw-base-dur) var(--sw-ease),
              padding var(--sw-base-dur) var(--sw-ease);
}

.sw-header.is-scrolled {
  background: rgba(244, 239, 232, 0.96);
  border-bottom-color: var(--sw-line);
}

.sw-header.is-dark,
.sw-header.is-dark.is-scrolled {
  background: rgba(15, 14, 13, 0.86);
  border-bottom-color: transparent;
}

.sw-header.is-dark .sw-nav__link,
.sw-header.is-dark .sw-nav__brand-text {
  color: var(--sw-cream);
}

.sw-header.is-dark .sw-nav__icon-btn {
  color: var(--sw-cream);
}

.sw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  /* Full-bleed: span the whole width (logo hard-left, actions hard-right) with
     just edge padding, instead of capping at the container width and centering. */
  padding: 0.95rem clamp(1rem, 3.5vw, 3rem);
  max-width: none;
  margin: 0;
}

.sw-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--sw-ink);
}

.sw-nav__brand img {
  height: 48px;
  width: auto;
  display: block;
}

@media (min-width: 720px) {
  .sw-nav__brand img { height: 58px; }
}

.sw-nav__brand-text {
  display: none;
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sw-ink);
}

@media (min-width: 720px) {
  .sw-nav__brand-text {
    display: inline;
  }
}

.sw-nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 960px) {
  .sw-nav__links {
    display: flex;
  }
}

.sw-nav__link {
  font-family: var(--sw-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sw-ink);
  text-decoration: none;
  position: relative;
  padding: 0.45rem 0;
  transition: color var(--sw-fast) var(--sw-ease);
}

.sw-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--sw-base-dur) var(--sw-ease);
}

.sw-nav__link:hover::after,
.sw-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.sw-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sw-nav__icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sw-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-ink);
  transition: background-color var(--sw-fast) var(--sw-ease),
              color var(--sw-fast) var(--sw-ease);
  position: relative;
}

.sw-nav__icon-btn:hover {
  background: var(--sw-line);
}

.sw-header.is-dark .sw-nav__icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sw-nav__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--sw-tan);
  color: var(--sw-ink);
  border-radius: var(--sw-radius);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  pointer-events: none;
  border: 2px solid var(--sw-cream);
  transform: scale(0);
  transition: transform var(--sw-base-dur) var(--sw-ease);
}

.sw-nav__cart-count.has-items {
  transform: scale(1);
}

.sw-header.is-dark .sw-nav__cart-count {
  border-color: var(--sw-ink);
}

/* Mobile menu trigger */
.sw-nav__menu-btn {
  display: inline-flex;
}

@media (min-width: 960px) {
  .sw-nav__menu-btn {
    display: none;
  }
}

/* Header "Start a custom build" CTA — desktop only (mobile has it in the menu). */
.sw-nav__cta { display: none; white-space: nowrap; }
@media (min-width: 960px) {
  .sw-nav__cta { display: inline-flex; margin-left: 0.5rem; }
}

/* ---------- Mobile menu drawer (slides from left) ---------- */
.sw-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(360px, 90vw);
  background: var(--sw-cream);
  z-index: var(--sw-z-drawer);
  transform: translateX(-100%);
  transition: transform var(--sw-slow) var(--sw-ease-out);
  padding: 1.75rem 1.75rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sw-mobile-menu__brand {
  display: block;
  margin: 0 0 2.25rem;
}
.sw-mobile-menu__brand img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 70%;
}

.sw-mobile-menu.is-open {
  transform: translateX(0);
  box-shadow: 20px 0 60px rgba(15, 14, 13, 0.25);
}

.sw-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Scope to the nav list ONLY — otherwise these display/color rules clobber the
   CTA button (also an <a>) and paint its text ink-on-ink (invisible). */
.sw-mobile-menu ul a {
  font-family: var(--sw-font-display);
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--sw-ink);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.sw-mobile-menu ul a:hover {
  border-bottom-color: var(--sw-ink);
}

/* Contact footer — pinned to the bottom so the drawer doesn't read as empty. */
.sw-mobile-menu__foot {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sw-line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sw-mobile-menu__link {
  font-family: var(--sw-font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--sw-walnut);
  text-decoration: none;
}
.sw-mobile-menu__link:hover { color: var(--sw-ink); }

/* ---------- Hero ---------- */
.sw-hero {
  position: relative;
  min-height: clamp(620px, 92vh, 940px);
  background:
    radial-gradient(135% 120% at 8% 0%, rgba(201, 163, 110, 0.30), transparent 46%),
    radial-gradient(120% 130% at 100% 100%, rgba(186, 155, 127, 0.20), transparent 52%),
    linear-gradient(135deg, #241d14 0%, #15120d 52%, #0c0a07 100%);
  color: var(--sw-cream);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}

.sw-hero__bg,
.sw-hero__bg img,
.sw-hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait subject sits high in frame — anchor the crop near his face
     so wide/short heroes don't decapitate him. */
  object-position: center 28%;
  z-index: -2;
}

.sw-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,13,0.35) 0%, rgba(15,14,13,0.05) 30%, rgba(15,14,13,0.55) 75%, rgba(15,14,13,0.92) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(186,155,127,0.18), transparent 60%);
  z-index: -1;
}

.sw-hero__inner {
  width: 100%;
  max-width: var(--sw-container-wide);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 880px) {
  .sw-hero__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

/* Large screens: the photo gets its own right-hand column so the whole
   piece — and Sieb — stays in frame, with the gradient showing behind the
   words. As the viewport narrows below this, the photo slides back to a
   full-bleed background behind the words (no crop problems either way). */
@media (min-width: 1024px) {
  .sw-hero__bg {
    left: 50%;
    width: auto;            /* pin to the right half instead of full-bleed */
  }
  .sw-hero__bg img {
    object-position: center; /* tall narrow column shows full height: head + cart */
  }
  .sw-hero__overlay {
    /* soft vertical seam so the photo's left edge melts into the gradient,
       plus a gentle floor for the stats row */
    background:
      linear-gradient(90deg,
        rgba(21, 18, 13, 0) 40%,
        rgba(21, 18, 13, 0.80) 50%,
        rgba(21, 18, 13, 0) 72%),
      linear-gradient(180deg, transparent 68%, rgba(12, 10, 7, 0.5) 100%);
  }
  .sw-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 3rem;
  }
  .sw-hero__copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 36rem;
  }
  .sw-hero__meta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 1.75rem;
  }
}

/* Mobile: don't overlay the headline on Sieb's face. Stack it — text on the
   dark brand gradient up top, then the photo as its own full-width block below
   so he stays fully in frame and the copy stays clean and legible. */
@media (max-width: 879px) {
  .sw-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .sw-hero__inner { order: 1; }
  .sw-hero__bg {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    z-index: auto;
  }
  .sw-hero__bg img {
    position: absolute;
    inset: 0;
    object-position: center 22%;
  }
  .sw-hero__overlay { display: none; }
}

.sw-hero__copy {
  max-width: 38rem;
}

.sw-hero__eyebrow {
  color: var(--sw-brass-bright);
  margin-bottom: 1rem;
}

.sw-hero__title {
  font-family: var(--sw-font-display);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--sw-cream);
  margin: 0 0 1.2rem;
}

.sw-hero__title em {
  font-style: normal;
  color: var(--sw-brass-bright);
}

/* Mobile: nudge the headline down a step so "MADE TO OUTLAST YOU." fits on one
   line instead of orphaning "YOU." (desktop keeps the big clamp above). */
@media (max-width: 640px) {
  .sw-hero__title {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }
}

.sw-hero__sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(244, 239, 232, 0.85);
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.sw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sw-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.7);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 239, 232, 0.15);
  align-self: end;
}

.sw-hero__meta div span {
  display: block;
  color: var(--sw-cream);
  font-family: var(--sw-font-serif);
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.4rem;
  margin-top: 0.3rem;
}

/* Mobile: keep the three stats on one tight row, smaller, each centered
   under its own header. */
@media (max-width: 879px) {
  .sw-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding-top: 1.1rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-align: center;
  }
  .sw-hero__meta div span {
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }
}

/* ---------- Video showcase ---------- */
.sw-video-showcase {
  background: var(--sw-cream);
  position: relative;
}

.sw-video-showcase__head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 38rem;
}

.sw-video-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 28vw, 320px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2.5rem));
  scrollbar-width: thin;
}

.sw-video-rail::-webkit-scrollbar {
  height: 6px;
}

.sw-video-rail::-webkit-scrollbar-thumb {
  background: var(--sw-tan);
  border-radius: var(--sw-radius);
}

.sw-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--sw-radius);
  overflow: hidden;
  background: var(--sw-ink);
  scroll-snap-align: start;
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--sw-base-dur) var(--sw-ease),
              box-shadow var(--sw-base-dur) var(--sw-ease);
}

.sw-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sw-shadow-lg);
}

.sw-video-card video,
.sw-video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.2rem;
  color: var(--sw-cream);
}

.sw-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: var(--sw-radius);
  background: rgba(244, 239, 232, 0.92);
  color: var(--sw-ink);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform var(--sw-base-dur) var(--sw-ease),
              background-color var(--sw-fast) var(--sw-ease);
  box-shadow: var(--sw-shadow-md);
}

.sw-video-card:hover .sw-video-card__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--sw-brass-bright);
}

.sw-video-card__caption {
  font-family: var(--sw-font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.sw-video-card__placeholder {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sw-walnut), var(--sw-ink));
  color: rgba(244, 239, 232, 0.4);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--sw-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

/* ---------- Section heading pattern ---------- */
.sw-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.sw-section__head .sw-section__intro {
  max-width: 38rem;
}

/* ---------- Product grid ---------- */
.sw-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.5rem, 2.4vw, 2.25rem);
}

/* Featured row keeps balanced rows (4 → 2 → 1) rather than a lonely wrap
   at in-between widths. */
[data-featured-products] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1080px) {
  [data-featured-products] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  [data-featured-products] { grid-template-columns: 1fr; }
}

.sw-product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform var(--sw-fast) var(--sw-ease);
}

.sw-product-card:hover {
  transform: translateY(-4px);
}

.sw-product-card__media {
  position: relative;
  background: var(--sw-cream-soft);
  border-radius: var(--sw-radius);
  border: 1px solid var(--sw-line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.sw-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--sw-ease-out),
              opacity 300ms var(--sw-ease);
}

.sw-product-card:hover .sw-product-card__media img {
  transform: scale(1.04);
}

.sw-product-card__media .sw-chip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}

.sw-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 0.1rem;
}

.sw-product-card__name {
  font-family: var(--sw-font-display);
  font-size: 1.35rem;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin: 0;
}

.sw-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--sw-line);
  font-family: var(--sw-font-mono);
  font-size: 0.8rem;
  color: var(--sw-walnut);
}

.sw-product-card__price {
  font-family: var(--sw-font-mono);
  font-weight: 600;
  color: var(--sw-ink);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.sw-product-card__lead {
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  color: var(--sw-bark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- Marquee / accolade strip ---------- */
.sw-strip {
  background: var(--sw-ink);
  color: var(--sw-brass-bright);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.sw-strip__track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: sw-marquee 40s linear infinite;
  font-family: var(--sw-font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.sw-strip__track span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.sw-strip__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sw-brass);
  border-radius: 50%;
}

@keyframes sw-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Lead-time banner / process strip ---------- */
.sw-process {
  background: var(--sw-paper);
  border-radius: var(--sw-radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  /* Auto-fit balances to the item count (Home has 4 steps, Workshop has 3) and
     reflows smoothly instead of a hard 4→1 jump — no empty trailing column. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1.75rem, 2.5vw, 2.4rem) clamp(1.75rem, 3vw, 2.6rem);
  border: 1px solid var(--sw-line);
}

.sw-process__step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sw-process__step .sw-process__num {
  font-family: var(--sw-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--sw-tan);
  line-height: 1;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--sw-line);
  margin-bottom: 0.4rem;
}

.sw-process__step h3 {
  font-family: var(--sw-font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin: 0;
}

.sw-process__step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sw-walnut);
  line-height: 1.55;
}

/* ---------- Split content ---------- */
.sw-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .sw-split {
    grid-template-columns: 1fr 1fr;
  }
  .sw-split--media-right .sw-split__media {
    order: 2;
  }
}

.sw-split__media {
  position: relative;
  border-radius: var(--sw-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sw-cream-soft);
  box-shadow: var(--sw-shadow-md);
}

.sw-split__media img,
.sw-split__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-split__copy h2 {
  margin-bottom: 1rem;
}

.sw-split__copy p {
  margin: 0 0 1rem;
  font-size: var(--sw-lead);
  line-height: 1.65;
  color: var(--sw-walnut);
  max-width: 36rem;
}

.sw-split__copy .sw-btn {
  margin-top: 0.5rem;
}

/* ---------- CTA block ---------- */
.sw-cta {
  background: linear-gradient(135deg, var(--sw-ink) 0%, #211d1a 100%);
  color: var(--sw-cream);
  border-radius: var(--sw-radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sw-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 90% 10%, rgba(230, 199, 159, 0.18), transparent 60%),
    radial-gradient(60% 50% at 5% 95%, rgba(186, 155, 127, 0.15), transparent 60%);
  z-index: -1;
}

@media (min-width: 720px) {
  .sw-cta {
    grid-template-columns: 1.4fr 1fr;
  }
  .sw-cta__actions {
    justify-self: end;
    text-align: right;
  }
}

.sw-cta__title {
  font-family: var(--sw-font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: var(--sw-cream);
}

.sw-cta__title em {
  color: var(--sw-brass-bright);
  font-style: normal;
}

.sw-cta__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(244, 239, 232, 0.78);
  margin: 0;
  max-width: 36rem;
}

.sw-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */
.sw-footer {
  background: var(--sw-ink);
  color: rgba(244, 239, 232, 0.75);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  border-top: 4px solid var(--sw-tan);
}

.sw-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .sw-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.sw-footer h4 {
  font-family: var(--sw-font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--sw-tan);
  margin: 0 0 1rem;
}

.sw-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.sw-footer__brand p {
  color: rgba(244, 239, 232, 0.7);
  max-width: 24rem;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.sw-footer ul li {
  margin-bottom: 0.6rem;
}

.sw-footer a {
  color: rgba(244, 239, 232, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--sw-fast) var(--sw-ease);
}

.sw-footer a:hover {
  color: var(--sw-cream);
}

.sw-footer__bottom {
  border-top: 1px solid rgba(244, 239, 232, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(244, 239, 232, 0.55);
}

.sw-footer__bottom a {
  color: rgba(244, 239, 232, 0.55);
}

.sw-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 239, 232, 0.12);
  font-size: 0.82rem;
}

.sw-footer__legal a {
  color: rgba(244, 239, 232, 0.7);
  text-decoration: none;
}

.sw-footer__legal a:hover {
  color: var(--sw-tan, #c9a36e);
}

/* ---------- Product detail page ---------- */
.sw-pdp {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .sw-pdp {
    grid-template-columns: 1.15fr 1fr;
  }
}

.sw-pdp__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sw-pdp__main {
  position: relative;
  background: var(--sw-cream-soft);
  border-radius: var(--sw-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.sw-pdp__main img,
.sw-pdp__main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 0.5rem;
}

.sw-pdp__thumb {
  aspect-ratio: 1;
  background: var(--sw-cream-soft);
  border-radius: var(--sw-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--sw-fast) var(--sw-ease);
}

.sw-pdp__thumb.is-active {
  border-color: var(--sw-ink);
}

.sw-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-pdp__info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1rem 0;
}

.sw-pdp__crumbs {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-walnut);
}

.sw-pdp__title {
  font-family: var(--sw-font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--sw-ink);
}

.sw-pdp__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sw-ink);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.sw-pdp__price--strike {
  font-size: 1.05rem;
  color: var(--sw-walnut);
  text-decoration: line-through;
  font-weight: 400;
}

.sw-pdp__desc {
  font-size: 1.02rem;
  color: var(--sw-walnut);
  line-height: 1.7;
  margin: 0;
}

.sw-pdp__facts {
  background: var(--sw-cream-soft);
  border-radius: var(--sw-radius);
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--sw-line);
}

.sw-pdp__terms {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--sw-line);
  border-radius: var(--sw-radius);
}
.sw-pdp__terms h4 {
  margin: 0 0 0.5rem;
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sw-walnut);
}
.sw-pdp__terms p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sw-bark);
}

.sw-pdp__fact {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--sw-charcoal);
}

.sw-pdp__fact svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--sw-bark);
  margin-top: 2px;
}

.sw-pdp__fact strong {
  color: var(--sw-ink);
}

.sw-pdp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.sw-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sw-line);
  border-radius: var(--sw-radius);
  padding: 0.15rem;
  gap: 0.1rem;
  background: var(--sw-paper);
}

.sw-qty button {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--sw-radius);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-ink);
  transition: background-color var(--sw-fast) var(--sw-ease);
}

.sw-qty button:hover {
  background: var(--sw-line);
}

.sw-qty input {
  width: 2.4rem;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
}

.sw-qty input::-webkit-outer-spin-button,
.sw-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sw-qty input[type=number] { -moz-appearance: textfield; }

/* ---------- Filters bar (shop) ---------- */
.sw-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--sw-line);
  border-bottom: 1px solid var(--sw-line);
  margin-bottom: 2.5rem;
}

.sw-filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
}

.sw-filter-pill {
  padding: 0.55rem 1rem;
  border: 1px solid var(--sw-line);
  border-radius: var(--sw-radius);
  background: var(--sw-paper);
  color: var(--sw-charcoal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--sw-fast) var(--sw-ease);
}

.sw-filter-pill:hover {
  border-color: var(--sw-ink);
}

.sw-filter-pill.is-active {
  background: var(--sw-ink);
  color: var(--sw-cream);
  border-color: var(--sw-ink);
}

.sw-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--sw-bark);
}

/* Mobile: stack the filter bar so the pills own the full width (rows fill
   evenly, no ragged L-shape) and Sort sits on its own row below. */
@media (max-width: 640px) {
  .sw-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem 0;
    margin-bottom: 1.75rem;
  }
  .sw-filters__group {
    flex: none;
    gap: 0.5rem;
  }
  .sw-filter-pill {
    flex: 1 1 auto;      /* stretch to fill each row — even, tidy rows */
    text-align: center;
  }
  .sw-sort {
    justify-content: space-between;
    border-top: 1px solid var(--sw-line);
    padding-top: 0.85rem;
  }
  .sw-sort .sw-select {
    flex: 1;
    min-width: 0 !important;
  }
}

/* ---------- Empty state ---------- */
.sw-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--sw-bark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sw-empty svg {
  width: 64px;
  height: 64px;
  color: var(--sw-tan);
}

/* ---------- Cart drawer / line item ---------- */
.sw-cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--sw-line-soft);
  align-items: flex-start;
}

.sw-cart-line__media {
  width: 80px;
  height: 80px;
  border-radius: var(--sw-radius-sm);
  overflow: hidden;
  background: var(--sw-cream-soft);
}

.sw-cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-cart-line__info h4 {
  font-family: var(--sw-font-sans);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.sw-cart-line__meta {
  font-size: 0.8rem;
  color: var(--sw-walnut);
}

.sw-cart-line__price {
  font-weight: 700;
  color: var(--sw-ink);
}

.sw-cart-line__remove {
  background: none;
  color: var(--sw-walnut);
  font-size: 0.78rem;
  text-decoration: underline;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

.sw-cart-line__remove:hover {
  color: var(--sw-danger);
}

/* ---------- Page header (interior pages) ---------- */
.sw-pagehead {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  background: var(--sw-cream);
  border-bottom: 1px solid var(--sw-line);
}

.sw-pagehead__eyebrow {
  color: var(--sw-bark);
  margin-bottom: 0.7rem;
}

.sw-pagehead h1 {
  font-family: var(--sw-font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  color: var(--sw-ink);
}

.sw-pagehead p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--sw-walnut);
  font-size: var(--sw-lead);
  line-height: 1.55;
}

/* ---------- FAQ accordion ---------- */
.sw-faq {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--sw-line);
}

.sw-faq__item {
  border-bottom: 1px solid var(--sw-line);
}

.sw-faq__q {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.45rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sw-font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--sw-ink);
  transition: color var(--sw-fast) var(--sw-ease);
}

.sw-faq__q::-webkit-details-marker { display: none; }
.sw-faq__q:hover { color: var(--sw-bark); }

.sw-faq__num {
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--sw-tan);
  flex: none;
}

.sw-faq__qtext { flex: 1; }

.sw-faq__toggle {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.sw-faq__toggle::before,
.sw-faq__toggle::after {
  content: "";
  position: absolute;
  background: var(--sw-ink);
  transition: transform var(--sw-fast) var(--sw-ease);
}

.sw-faq__toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.sw-faq__toggle::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.sw-faq__item[open] .sw-faq__toggle::after {
  transform: translateX(-50%) scaleY(0);
}

.sw-faq__a {
  padding: 0 0 1.6rem calc(0.72rem + 1.25rem); /* align under question text */
  max-width: 64ch;
}

.sw-faq__a p {
  margin: 0;
  color: var(--sw-walnut);
  line-height: 1.65;
}

.sw-faq__a a {
  color: var(--sw-bark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sw-faq__a a:hover { color: var(--sw-ink); }

.sw-faq__cta {
  max-width: 880px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--sw-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.sw-faq__cta .sw-lead { margin: 0; }

.sw-faq__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Instagram "follow" fallback card ---------- */
.sw-ig-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  background: var(--sw-ink);
  color: var(--sw-cream);
  padding: 1.5rem;
}

.sw-ig-follow__icon { color: var(--sw-tan); line-height: 0; }
.sw-ig-follow__handle {
  font-family: var(--sw-font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.sw-ig-follow__cta {
  font-family: var(--sw-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sw-brass-bright);
}
.sw-ig-follow:hover { color: var(--sw-cream); }
.sw-ig-follow:hover .sw-ig-follow__icon { color: var(--sw-brass-bright); }

/* When pasted Instagram embeds are present, the rail/gallery become a wrapping
   grid (IG embeds need ~326px min-width and bring their own card styling). */
.sw-video-rail.sw-ig-has-embeds,
.sw-ig-has-embeds {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 336px), 1fr)) !important;
  gap: 1.25rem !important;
  overflow: visible !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  scroll-snap-type: none;
}
/* Instagram sets the rendered iframe to position:absolute + min-width:326px
   inline, so its width:100% sizes against the WINDOW and overflows the padded
   container (the mobile "loose sides"). Force it back into normal flow so 100%
   means its own grid cell. */
.sw-ig-embed {
  position: static !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}
.sw-ig-has-embeds .sw-video-card { align-self: start; }

/* No-cover reel tile — clean branded fill on the dark card when no cover image
   has been added yet. Still opens the reel on click. */
.sw-ig-tile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(184,137,74,0.22), transparent 60%),
    linear-gradient(160deg, var(--sw-walnut, #4a3d2f), var(--sw-ink, #0f0e0d));
}
.sw-ig-tile__icon { color: var(--sw-brass-bright, #d8ad6d); line-height: 0; }
.sw-ig-tile__label {
  font-family: var(--sw-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-cream, #f4efe8);
}

/* Long-form legal / policy copy */
.sw-prose {
  max-width: 46rem;
  color: var(--sw-walnut);
  font-size: var(--sw-base);
  line-height: 1.7;
}

.sw-prose > p:first-child {
  color: var(--sw-bark);
  font-family: var(--sw-font-mono);
  font-size: var(--sw-small);
}

.sw-prose h2 {
  margin: 2.2rem 0 0.6rem;
  color: var(--sw-ink);
}

.sw-prose p,
.sw-prose ul,
.sw-prose ol {
  margin: 0 0 1rem;
}

.sw-prose ul,
.sw-prose ol {
  padding-left: 1.3rem;
}

.sw-prose li {
  margin: 0 0 0.5rem;
}

.sw-prose a {
  color: var(--sw-bark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sw-prose a:hover {
  color: var(--sw-ink);
}

.sw-prose strong {
  color: var(--sw-ink);
}

/* Showcase gallery: fill rows, but CENTER an incomplete last row (so the Follow
   card + its flanking videos sit centered instead of left-aligned). */
.sw-ig-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.sw-ig-gallery > * {
  flex: 1 1 240px;
  max-width: 300px;
  min-width: 0;
}

/* Hide the play badge while a reel is actively playing (clicked, with sound). */
.sw-video-card.is-playing .sw-video-card__play { opacity: 0; }
.sw-video-card.is-playing .sw-video-card__overlay { opacity: 0.85; }

/* ---------- Video lightbox (enlarged reel) ---------- */
body.sw-no-scroll { overflow: hidden; }
.sw-vlb {
  position: fixed;
  inset: 0;
  z-index: var(--sw-z-modal, 100);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.sw-vlb.is-open { display: flex; }
.sw-vlb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.sw-vlb__video {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(92vw, 520px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--sw-radius, 6px);
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.sw-vlb__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sw-vlb__close:hover { background: rgba(255, 255, 255, 0.28); }
