/* =============================================================================
   DRAGON SPRING SWORDS, landing page stylesheet
   Ported from the Nehta storefront design system (packages/ui/src/styles):
   same token names, type scale, motion curves and section rhythm, re-tuned
   for blades, the warm "sand" ground stays, the accent moves from clay to a
   forged-copper, and the ink deepens slightly toward blued steel.
   ========================================================================== */

:root {
  /* PALETTE, Sand (unchanged from Nehta) */
  --sand-50: #faf8f4;
  --sand-100: #f4f1ea;
  --sand-200: #e9e4d9;
  --sand-300: #d9d2c3;
  --sand-400: #bab0a0;
  --sand-500: #978c79;
  --sand-600: #766c5c;
  --sand-700: #5b5447;
  --sand-800: #3e392f;
  --sand-900: #27241e;
  --sand-950: #111214;

  /* PALETTE, Copper: the single accent (Nehta's "clay", one shade more metallic) */
  --copper-200: #ecc9ae;
  --copper-500: #a8592e;
  --copper-600: #8b4622;
  --copper-900: #3a1d10;

  /* SEMANTIC ALIASES, screens reference these, never the raw ramp */
  --paper: #faf8f4;
  --ink: #111214;
  --surface-sunken: #f4f1ea;
  --content: #111214;
  --content-muted: #5b5447;
  --content-subtle: #978c79;
  --border-subtle: #e9e4d9;
  --border: #d9d2c3;
  --accent: #a8592e;
  --accent-hover: #8b4622;
  --accent-content: #faf8f4;

  /* TYPOGRAPHY */
  --font-display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-display-xl: clamp(3rem, 9vw, 7.5rem);
  --text-display-lg: clamp(2.25rem, 6vw, 4.5rem);
  --text-display-md: clamp(1.75rem, 4vw, 3rem);
  --text-display-sm: clamp(1.375rem, 2.5vw, 2rem);
  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;

  /* MOTION, one shared vocabulary */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-quick: 220ms;
  --duration-base: 420ms;
  --duration-slow: 700ms;
  --duration-editorial: 1100ms;

  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-lg: 8px;

  --container-editorial: 90rem;
  --header-h: 4rem;
}

@media (min-width: 768px) {
  :root { --header-h: 5rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--content);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
[data-numeric] { font-variant-numeric: tabular-nums; }

::selection { background: var(--copper-200); color: var(--copper-900); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
[data-surface='inverse'] :focus-visible { outline-color: var(--paper); }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; flex-shrink: 0; }

/* =============================================================================
   UTILITIES
   ========================================================================== */
.shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: var(--container-editorial);
}
@media (min-width: 768px) { .shell { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .shell { padding-inline: 4rem; } }

.eyebrow {
  font-size: var(--text-2xs);
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--content-subtle);
}

.font-display { font-family: var(--font-display); }

.display-xl { font-family: var(--font-display); font-size: var(--text-display-xl); line-height: 0.9; letter-spacing: -0.03em; }
.display-lg { font-family: var(--font-display); font-size: var(--text-display-lg); line-height: 0.96; letter-spacing: -0.025em; }
.display-md { font-family: var(--font-display); font-size: var(--text-display-md); line-height: 1.04; letter-spacing: -0.02em; }
.display-sm { font-family: var(--font-display); font-size: var(--text-display-sm); line-height: 1.12; letter-spacing: -0.015em; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

/* The underline that grows from the left (Nehta's NavLink / link button). */
.underline-grow {
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  padding-bottom: 0.25rem;
  transition: background-size var(--duration-base) var(--ease-editorial);
}
.underline-grow:hover,
.underline-grow.is-drawn { background-size: 100% 1px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--content-muted);
  transition: color var(--duration-quick);
}
.arrow-link:hover { color: var(--content); }
.arrow-link .icon-sm { transition: transform var(--duration-quick); }
.arrow-link:hover .icon-sm { transform: translateX(4px); }

/* =============================================================================
   BUTTONS (Nehta primitives/Button: primary, overlay, outline · size lg · tracked)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  height: 3.25rem;
  padding-inline: 1.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  user-select: none;
  transition: background-color var(--duration-quick) var(--ease-inout),
    color var(--duration-quick) var(--ease-inout),
    border-color var(--duration-quick) var(--ease-inout),
    transform var(--duration-quick) var(--ease-inout);
}
.btn:active { transform: scale(0.985); }
.btn-overlay { background: rgb(250 248 244 / 0.85); color: var(--ink); backdrop-filter: blur(4px); }
.btn-overlay:hover { background: var(--paper); }
.btn-outline-light { border: 1px solid rgb(250 248 244 / 0.35); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); background: rgb(250 248 244 / 0.1); }

/* =============================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--duration-base) var(--ease-editorial),
    opacity var(--duration-base) var(--ease-editorial);
}
.announcement.is-dismissed { grid-template-rows: 0fr; opacity: 0; }
.announcement > div { min-height: 0; }
.announcement .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 0.625rem;
}
.announcement p {
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding-inline: 1.5rem;
}
.announcement a {
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-underline-offset: 4px;
}
.announcement a:hover { text-decoration: underline; }
.announcement-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  color: rgb(250 248 244 / 0.6);
  transition: color var(--duration-quick);
  display: grid;
  place-items: center;
}
.announcement-close:hover { color: var(--paper); }
@media (min-width: 768px) { .announcement-close { right: 2.5rem; } }

/* =============================================================================
   HEADER, transparent over the hero, solid once scrolled, hides on scroll down
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(250 248 244 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  transition: background-color var(--duration-base) var(--ease-inout),
    color var(--duration-base) var(--ease-inout),
    border-color var(--duration-base) var(--ease-inout),
    transform var(--duration-base) var(--ease-editorial);
}
.site-header.is-transparent {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--paper);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-row {
  position: relative;
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Nehta's layout: links on the left, the wordmark optically centred, icons on
   the right. Below 1180px the links move into the menu (button on the left). */
.primary-nav { display: none; flex: 1; min-width: 0; align-items: center; gap: 1.5rem; }
.primary-nav a { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.primary-nav a[hidden] { display: none; }
@media (min-width: 1180px) {
  .primary-nav { display: flex; }
}
@media (min-width: 1180px) and (max-width: 1439px) {
  .primary-nav { gap: 1rem; }
  .primary-nav a { font-size: var(--text-2xs); letter-spacing: 0.1em; }
}

.menu-toggle { margin-left: -0.5rem; padding: 0.5rem; display: inline-flex; flex: 1; justify-content: flex-start; }
@media (min-width: 1180px) { .menu-toggle { display: none; } }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* "Dragon Spring" is longer than "Nehta": tighter on phones so the icons fit. */
@media (max-width: 767px) {
  .wordmark { font-size: 1rem; letter-spacing: 0.14em; }
  .header-row { gap: 0.5rem; }
}
.header-row .wordmark { position: absolute; left: 50%; transform: translateX(-50%); }

.header-actions { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.icon-link {
  position: relative;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-quick);
}
.icon-link:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.icon-link.hide-sm { display: none; }
@media (min-width: 640px) { .icon-link.hide-sm { display: inline-flex; } }
.bag-count {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  display: grid;
  min-width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-content);
  padding-inline: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 500;
}
.bag-count[hidden] { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-quick), visibility var(--duration-quick);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.mobile-menu-top button { margin-right: -0.5rem; padding: 0.5rem; display: inline-flex; }
.mobile-menu nav { margin-top: 2rem; display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: block;
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-base) var(--ease-entrance),
    transform var(--duration-base) var(--ease-entrance);
  transition-delay: calc(0.05s + var(--i, 0) * 0.05s);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu-extra {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (min-width: 1180px) { .mobile-menu { display: none; } }

/* =============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  display: flex;
  min-height: 92svh;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 118%;
  width: 100%;
  will-change: transform;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--ink), rgb(17 18 20 / 0.45), rgb(17 18 20 / 0.1));
  opacity: 0.55;
}
.hero-copy {
  padding-top: 8rem;
  padding-bottom: 4rem;
  will-change: transform, opacity;
}
@media (min-width: 768px) { .hero-copy { padding-bottom: 6rem; } }
.hero-inner { max-width: 56rem; }
.hero .eyebrow { color: rgb(250 248 244 / 0.7); }
.hero h1 { margin-top: 1.25rem; }
.hero-body { margin-top: 1.75rem; max-width: 36rem; font-size: var(--text-lg); line-height: 1.6; color: rgb(250 248 244 / 0.75); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  right: 1.25rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgb(250 248 244 / 0.45);
}
.scroll-cue .icon-sm { animation: bob 2s ease-in-out infinite; }
@media (min-width: 768px) { .scroll-cue { display: flex; right: 2.5rem; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Mount-time entrances for the hero (no scroll trigger: it is already in view). */
.enter {
  opacity: 0;
  transform: translateY(14px);
  animation: enter var(--duration-slow) var(--ease-entrance) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes enter { to { opacity: 1; transform: none; } }

/* =============================================================================
   PROMO STRIP (marquee)
   ========================================================================== */
.promo-strip {
  border-block: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  padding-block: 0.875rem;
  overflow: hidden;
}
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.promo-strip:hover .marquee { animation-play-state: paused; }
.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4rem;
  padding-inline: 2rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.marquee-group span::after { content: '✦'; margin-left: 4rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================================
   SECTIONS
   ========================================================================== */
.section { padding-block: 5rem; }
@media (min-width: 768px) {
  .section { padding-block: 8rem; }
  .section-tight { padding-block: 7rem; }
}

.section-heading { display: flex; flex-direction: column; gap: 1.5rem; }
.section-heading > div { max-width: 42rem; }
.section-heading h2 { margin-top: 0.75rem; display: block; }
.section-heading .lede { margin-top: 1.25rem; color: var(--content-muted); }
@media (min-width: 768px) {
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-heading.is-centered { flex-direction: column; align-items: center; text-align: center; }
}
.section-heading.is-centered > div { margin-inline: auto; text-align: center; }

/* Featured categories */
.category-grid { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .category-grid { margin-top: 4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.category-card { display: block; }
.category-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-100);
}
@media (min-width: 768px) { .category-frame { aspect-ratio: 3 / 4; } }
.category-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-editorial);
}
.category-card:hover .category-frame img { transform: scale(1.04); }
.category-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(17 18 20 / 0.7), rgb(17 18 20 / 0.1), transparent);
}
.category-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--paper);
}
.category-label h3 { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px) { .category-label h3 { font-size: 2.25rem; } }
.category-label p { margin-top: 0.25rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: rgb(250 248 244 / 0.6); }
.round-arrow {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(250 248 244 / 0.3);
  color: var(--paper);
  transition: background-color var(--duration-base), color var(--duration-base), border-color var(--duration-base);
}
.category-card:hover .round-arrow { border-color: var(--paper); background: var(--paper); color: var(--ink); }

/* Product grid & card */
.product-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 2.5rem;
}
@media (min-width: 768px) { .product-grid { margin-top: 4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25rem; } }

.product-card { position: relative; }
.product-card > a { display: block; }
.product-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-100); }
.product-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-editorial), opacity 900ms var(--ease-editorial);
}
.product-card:hover .product-frame img.primary { transform: scale(1.03); }
.product-frame img.secondary { opacity: 0; }
.product-card.has-hover:hover .product-frame img.secondary { opacity: 1; }
.product-card.has-hover:hover .product-frame img.primary { opacity: 0; }

.badges { pointer-events: none; position: absolute; left: 0.75rem; top: 0.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; z-index: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 1.25rem;
  border-radius: var(--radius-xs);
  padding-inline: 0.375rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.badge-overlay { background: rgb(250 248 244 / 0.9); color: var(--ink); backdrop-filter: blur(4px); }
.badge-accent { background: var(--accent); color: var(--accent-content); }

.product-meta { margin-top: 0.875rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.product-meta > div:first-child { min-width: 0; }
.product-meta h3 { font-size: var(--text-sm); line-height: 1.55; color: var(--content); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-meta .cat { margin-top: 0.125rem; font-size: var(--text-xs); color: var(--content-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { flex-shrink: 0; text-align: right; font-size: var(--text-sm); line-height: 1.55; }
.product-price.is-sale { color: var(--accent); }
.product-price s { display: block; font-size: var(--text-xs); color: var(--content-subtle); }
.swatches { margin-top: 0.625rem; display: flex; align-items: center; gap: 0.375rem; }
.swatches span { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--border); box-shadow: inset 0 0 0 1px var(--paper); }

/* Brand story */
.story-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .story-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.story-copy { align-self: start; }
@media (min-width: 768px) { .story-copy { grid-column: span 5; } .story-media { grid-column: span 7; } }
@media (min-width: 1024px) { .story-copy { position: sticky; top: 8rem; } }
.story-copy h2 { margin-top: 0.75rem; display: block; }
.story-copy .body { margin-top: 1.75rem; max-width: 40rem; line-height: 1.8; color: var(--content-muted); }
.story-copy .body + .body { margin-top: 1rem; }
.story-link { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; }
.story-link .icon-sm { transition: transform var(--duration-quick); }
.story-link:hover .icon-sm { transform: translateX(4px); }
.story-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-100); }
@media (min-width: 768px) { .story-frame { aspect-ratio: 4 / 3; } }
.story-frame .parallax { position: absolute; inset: -6% 0; will-change: transform; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; }

.story-facts {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}
.story-facts dt { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.story-facts dd { margin: 0.25rem 0 0; font-size: var(--text-xs); color: var(--content-subtle); }

/* The Forge (Nehta lookbook teaser) */
.forge { position: relative; background: var(--ink); color: var(--paper); }
.forge .eyebrow { color: rgb(250 248 244 / 0.5); }
.forge-head { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .forge-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.forge-head h2 { margin-top: 0.75rem; display: block; }
.forge-head .season { margin-top: 1rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em; color: rgb(250 248 244 / 0.45); }
.forge .arrow-link { color: rgb(250 248 244 / 0.7); }
.forge .arrow-link:hover { color: var(--paper); }
.forge-grid { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .forge-grid { margin-top: 4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.forge-card { display: block; }
.forge-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-900); }
.forge-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 1200ms var(--ease-editorial), opacity 1200ms var(--ease-editorial);
}
.forge-card:hover .forge-frame img { transform: scale(1.04); opacity: 1; }
.forge-caption { margin-top: 0.875rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.forge-caption p:first-child { font-size: var(--text-sm); color: rgb(250 248 244 / 0.8); }
.forge-caption p:last-child { font-size: var(--text-xs); color: rgb(250 248 244 / 0.4); }

/* Promises, three short assurances under the product grid */
.promises { display: grid; gap: 2rem; border-top: 1px solid var(--border-subtle); padding-top: 2.5rem; }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.promise h3 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.promise p { margin-top: 0.5rem; font-size: var(--text-sm); color: var(--content-muted); }
.promise .icon { color: var(--accent); width: 22px; height: 22px; }

/* Testimonials */
.testimonials { background: var(--sand-100); }
.quote-wrap { margin: 3.5rem auto 0; max-width: 48rem; text-align: center; }
@media (min-width: 768px) { .quote-wrap { margin-top: 5rem; } }
.quote-stage { display: grid; min-height: 13rem; place-items: center; }
@media (min-width: 768px) { .quote-stage { min-height: 15rem; } }
.quote-stage blockquote { margin: 0; }
.quote-stage blockquote.is-swapping { animation: quote-in var(--duration-base) var(--ease-entrance); }
@keyframes quote-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote-stage .quote { font-family: var(--font-display); font-size: var(--text-display-sm); line-height: 1.35; text-wrap: balance; }
@media (min-width: 768px) { .quote-stage .quote { font-size: 1.875rem; } }
.quote-stage footer { margin-top: 1.75rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--content-subtle); }
.dots { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.dots button { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; }
.dots span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--sand-400);
  transition: all var(--duration-base);
}
.dots button:hover span { background: var(--sand-500); }
.dots button[aria-current='true'] span { width: 1.25rem; background: var(--ink); }

/* Newsletter */
.newsletter-card {
  margin-inline: auto;
  max-width: 42rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .newsletter-card { padding: 5rem 3.5rem; } }
.newsletter-card h2 { display: block; }
.newsletter-card > p { margin: 1rem auto 0; max-width: 28rem; font-size: var(--text-sm); color: rgb(250 248 244 / 0.6); }
.newsletter-card form,
.newsletter-card .form-done { margin: 2rem auto 0; max-width: 24rem; }

.nl-field { display: flex; align-items: center; border-bottom: 1px solid rgb(250 248 244 / 0.25); transition: border-color var(--duration-quick); }
.nl-field:focus-within { border-color: var(--paper); }
.nl-field input {
  width: 100%;
  background: transparent;
  border: 0;
  padding-block: 0.625rem;
  font-size: var(--text-sm);
  color: var(--paper);
}
.nl-field input::placeholder { color: rgb(250 248 244 / 0.35); }
.nl-field input:focus { outline: none; }
.nl-field button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: rgb(250 248 244 / 0.7); transition: color var(--duration-quick); }
.nl-field button:hover { color: var(--paper); }
.nl-field button .icon-sm { transition: transform var(--duration-quick); }
.nl-field button:hover .icon-sm { transform: translateX(3px); }
.nl-error { margin-top: 0.5rem; font-size: var(--text-xs); color: var(--copper-200); text-align: left; }
.form-done { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--text-sm); color: rgb(250 248 244 / 0.7); text-align: left; }
.form-done .icon-sm { margin-top: 0.2rem; }

/* =============================================================================
   FOOTER
   ========================================================================== */
.site-footer { margin-top: 6rem; background: var(--ink); color: var(--paper); }
@media (min-width: 768px) { .site-footer { margin-top: 10rem; } }
.site-footer > .shell { padding-block: 4rem; }
@media (min-width: 768px) { .site-footer > .shell { padding-block: 6rem; } }
.footer-grid { display: grid; gap: 3.5rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
  .footer-brand { grid-column: span 5; }
  .footer-col { grid-column: span 2; }
  .footer-news { grid-column: span 3; }
}
.footer-wordmark { font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 768px) { .footer-wordmark { font-size: 2.75rem; } }
/* "Swords" sits under the name, stacked as on the coming-soon page. */
.footer-wordmark span { display: block; margin-top: 0.75rem; font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.5em; color: rgb(250 248 244 / 0.55); }
.footer-brand .tagline { margin-top: 1.25rem; max-width: 20rem; font-size: var(--text-sm); color: rgb(250 248 244 / 0.6); }
.footer-brand address { margin-top: 2rem; display: grid; gap: 0.375rem; font-size: var(--text-sm); color: rgb(250 248 244 / 0.6); }
.footer-brand address a:hover { color: var(--paper); }
.site-footer .eyebrow { color: rgb(250 248 244 / 0.5); }
.footer-col ul { margin-top: 1rem; display: grid; gap: 0.625rem; }
.footer-col a { font-size: var(--text-sm); color: rgb(250 248 244 / 0.6); transition: color var(--duration-quick); }
.footer-col a:hover { color: var(--paper); }
.footer-news > p { margin-top: 1rem; font-size: var(--text-sm); color: rgb(250 248 244 / 0.6); }
.footer-news form, .footer-news .form-done { margin-top: 1.25rem; }
.footer-bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid rgb(250 248 244 / 0.12);
  padding-top: 2rem;
}
@media (min-width: 768px) { .footer-bottom { margin-top: 6rem; flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom p { font-size: var(--text-xs); color: rgb(250 248 244 / 0.45); }
.footer-social { display: flex; align-items: center; gap: 1.25rem; }
.footer-social a { color: rgb(250 248 244 / 0.45); transition: color var(--duration-quick); }
.footer-social a:hover { color: var(--paper); }
.footer-social span { font-size: var(--text-xs); color: rgb(250 248 244 / 0.3); }

/* =============================================================================
   MOTION PRIMITIVES (Nehta @nehta/ui/motion, rebuilt without React)
   Elements start in their "hidden" state only once JS has confirmed motion is
   safe (html.motion-ok), so the page is fully readable with JS off.
   ========================================================================== */

/* SplitText, words rise out of a mask, staggered */
.split-word { display: inline-block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; vertical-align: top; }
.split-word > span { display: inline-block; }
.motion-ok .split:not(.is-in) .split-word > span { transform: translateY(110%); }
.motion-ok .split .split-word > span {
  transition: transform var(--duration-editorial) var(--ease-editorial);
  transition-delay: calc(var(--delay, 0s) + var(--i, 0) * 0.06s);
}

/* Reveal, fade and rise */
.motion-ok .reveal:not(.is-in) { opacity: 0; transform: translateY(var(--distance, 24px)); }
.motion-ok .reveal {
  transition: opacity var(--duration-slow) var(--ease-entrance), transform var(--duration-slow) var(--ease-entrance);
  transition-delay: var(--delay, 0s);
}

/* ImageMask, clip-path wipe upward with a settling scale */
.motion-ok .mask:not(.is-in) { clip-path: inset(100% 0 0 0); }
.motion-ok .mask { transition: clip-path var(--duration-editorial) var(--ease-editorial); transition-delay: var(--delay, 0s); }
.motion-ok .mask .mask-scale { transition: transform 1.5s var(--ease-editorial); transition-delay: var(--delay, 0s); height: 100%; width: 100%; position: relative; }
.motion-ok .mask:not(.is-in) .mask-scale { transform: scale(1.14); }

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

/* The ImageMask inner wrapper always fills its frame (also with motion off). */
.mask-scale { position: relative; height: 100%; width: 100%; }

/* Blade names run longer than clothing names: on phones the price drops under
   the name instead of truncating it. */
@media (max-width: 639px) {
  .product-meta { flex-direction: column; gap: 0.25rem; }
  .product-meta h3,
  .product-meta .cat { white-space: normal; }
  .product-price { text-align: left; }
  .product-price s { display: inline; margin-left: 0.375rem; }
}

/* =============================================================================
   CURRENCY PICKER
   ========================================================================== */
.currency-pick { display: inline-flex; align-items: center; gap: 0.5rem; }
.currency-pick select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23978c79' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.25rem center / 10px no-repeat;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: var(--radius-sm);
  color: inherit;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  padding: 0.375rem 1.25rem 0.375rem 0.5rem;
  cursor: pointer;
}
.currency-pick select option { color: var(--ink); background: var(--paper); }
.currency-pick select:hover { border-color: currentColor; }
.header-actions .currency-pick { margin-right: 0.5rem; }
.hide-md { display: none; }
@media (min-width: 768px) { .hide-md { display: inline-flex; } }
.mobile-menu-extra { align-items: center; flex-wrap: wrap; }
.currency-foot span { font-size: var(--text-xs); color: rgb(250 248 244 / 0.45); }
.currency-foot select { color: rgb(250 248 244 / 0.8); }
.currency-pick[hidden] { display: none; }
.rates-credit a { text-decoration: underline; text-underline-offset: 3px; }
.rates-credit a:hover { color: var(--paper); }
.currency-note { margin-top: 2rem; font-size: var(--text-xs); color: var(--content-subtle); }

/* =============================================================================
   VERIFIED REVIEWS
   ========================================================================== */
.testimonials[hidden] { display: none; }
.quote-stage .stars { margin-bottom: 1.25rem; color: var(--accent); letter-spacing: 0.2em; font-size: 1rem; }
.verified { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.75rem; color: var(--olive, #55632f); }
.verified .icon-sm { width: 12px; height: 12px; }
.reviews-empty { max-width: 30rem; margin: 0 auto; color: var(--content-muted); font-size: var(--text-base); }
.review-cta { margin-top: 2rem; display: flex; justify-content: center; }
.btn-outline-dark { border: 1px solid var(--border); color: var(--content); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); background: var(--sand-100); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--sand-800); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.review-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--paper);
  color: var(--content);
  box-shadow: 0 24px 56px -12px rgb(17 18 20 / 0.35);
}
.review-dialog::backdrop { background: rgb(17 18 20 / 0.55); backdrop-filter: blur(2px); }
.review-dialog form, .review-thanks { display: grid; gap: 1rem; padding: 1.5rem; }
@media (min-width: 640px) { .review-dialog form, .review-thanks { padding: 2rem; } }
.review-dialog[hidden], .review-dialog form[hidden], .review-thanks[hidden] { display: none; }
.review-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.review-close { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: -0.375rem -0.5rem 0 0; color: var(--content-muted); }
.review-close:hover { color: var(--content); }
.review-help { font-size: var(--text-sm); color: var(--content-muted); margin-top: -0.25rem; }
.review-dialog label { display: grid; gap: 0.375rem; font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.04em; }
.review-dialog input:not([type=radio]), .review-dialog select, .review-dialog textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.5rem 0.75rem;
  font: 400 1rem/1.5 var(--font-sans);
}
.review-dialog textarea { resize: vertical; min-height: 6rem; }
.review-dialog input:focus, .review-dialog select:focus, .review-dialog textarea:focus { outline: none; border-color: var(--ink); }
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 520px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.rating { border: 0; margin: 0; padding: 0; }
.rating legend { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.25rem; }
/* Right-to-left so hovering a star lights it and every star before it. */
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 0.125rem; }
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars label { font-size: 1.75rem; line-height: 1; color: var(--sand-300); cursor: pointer; padding: 0 0.125rem; transition: color var(--duration-quick); }
.rating-stars label:hover, .rating-stars label:hover ~ label,
.rating-stars input:checked ~ label { color: var(--accent); }
.rating-stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.review-error { font-size: var(--text-sm); color: var(--copper-600); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.review-thanks p { color: var(--content-muted); }

/* =============================================================================
   MULTI-PAGE STORE, shared bits
   ========================================================================== */
.icon-20 { width: 20px; height: 20px; }
.icon-16 { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn .icon-sm { width: 16px; height: 16px; }
.badge-dark { background: var(--ink); color: var(--paper); }
.text-link { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--accent); }
.muted-line { color: var(--content-muted); font-size: var(--text-sm); margin-top: 1.5rem; }
.page-loading { min-height: 60vh; }
main[id] { min-height: 50vh; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: var(--text-xs); color: var(--content-subtle); letter-spacing: 0.04em; }
.crumbs a { color: var(--content-muted); }
.crumbs a:hover { color: var(--content); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--content); }

.empty-state {
  grid-column: 1 / -1;
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.empty-state p { color: var(--content-muted); }
.empty-form { width: 100%; max-width: 22rem; }
.empty-form .nl-field { border-color: var(--border); }
.empty-form .nl-field:focus-within { border-color: var(--ink); }
.empty-form .nl-field input { color: var(--content); }
.empty-form .nl-field input::placeholder { color: var(--content-subtle); }
.empty-form .nl-field button { color: var(--content-muted); }
.empty-form .form-done { color: var(--content-muted); justify-content: center; }
.empty-form .nl-error { color: var(--copper-600); }
#featured > .empty-state { margin-top: 3rem; }

.notfound { padding-block: 6rem 4rem; max-width: 40rem; display: grid; gap: 1.25rem; justify-items: start; }
.notfound p:not(.eyebrow) { color: var(--content-muted); }
.notfound-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Footer extras */
.footer-brand address p { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand address a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-legal { display: grid; gap: 0.5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.legal-links a { color: rgb(250 248 244 / 0.55); }
.legal-links a:hover { color: var(--paper); }
.footer-social { flex-wrap: wrap; }

/* =============================================================================
   SHOP
   ========================================================================== */
.shop-head { padding-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .shop-head { padding-top: 3.5rem; } }
.shop-lede { max-width: 36rem; color: var(--content-muted); }
.shop-body { padding-bottom: 5rem; }
.shop-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  margin-top: 2rem;
  padding-block: 1rem;
  background: rgb(250 248 244 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.chips { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--content-muted);
  transition: all var(--duration-quick);
}
.chip span { font-size: 0.625rem; color: var(--content-subtle); }
.chip:hover { border-color: var(--ink); color: var(--content); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed='true'] span { color: rgb(250 248 244 / 0.6); }
.shop-tools { display: flex; gap: 0.75rem; flex-wrap: wrap; flex: 1; justify-content: flex-end; min-width: 0; }
.shop-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 12rem;
  max-width: 20rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--content-subtle);
}
.shop-search:focus-within { border-color: var(--ink); }
.shop-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1rem; color: var(--content); }
.shop-search input:focus { outline: none; }
.shop-sort select {
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 2rem 0 0.75rem;
  font-size: var(--text-sm);
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b5447' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.625rem center / 12px no-repeat;
  cursor: pointer;
}
.shop-count { margin-top: 1.5rem; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--content-subtle); }
.shop-body .product-grid { margin-top: 1.5rem; }
@media (max-width: 639px) {
  .shop-tools { justify-content: stretch; }
  .shop-search { max-width: none; }
}

/* =============================================================================
   PRODUCT
   ========================================================================== */
.product-shell { padding-top: 1.5rem; }
@media (min-width: 768px) { .product-shell { padding-top: 2.5rem; } }
.product-layout { margin-top: 1.5rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (min-width: 1280px) { .product-layout { gap: 5rem; } }

/* Gallery (Nehta's ProductGallery): phones swipe a strip where the next photo
   peeks in; from 1024px a thumbnail rail sits beside one frame that is sized to
   fit the screen, so the whole photo and every thumbnail are visible at once. */
.gallery { display: flex; gap: 1rem; min-width: 0; }
.gallery-stage { position: relative; flex: 1; min-width: 0; }
.gallery-frame { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  position: relative;
  margin: 0;
  flex: 0 0 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-100);
  border-radius: var(--radius-sm);
  scroll-snap-align: start;
}
.gallery.has-many .gallery-slide { flex-basis: 86%; }
/* Tablets: smaller photos, so the next one (and the price below) stay in view. */
@media (min-width: 600px) and (max-width: 1023px) {
  .gallery-slide, .gallery.has-many .gallery-slide { flex-basis: min(58%, 26rem); }
  .gallery:not(.has-many) .gallery-track { justify-content: center; }
}
.gallery-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { margin-top: 0.875rem; display: flex; justify-content: center; gap: 0.375rem; }
.gallery-dots span { width: 0.25rem; height: 0.25rem; border-radius: 999px; background: var(--sand-400); transition: width var(--duration-base) var(--ease-editorial), background-color var(--duration-base); }
.gallery-dots span.is-active { width: 1.25rem; background: var(--ink); }
.gallery-nav, .gallery-count, .gallery-rail { display: none; }

@media (min-width: 1024px) {
  .gallery-rail { display: flex; flex-direction: column; gap: 0.625rem; width: 5rem; flex-shrink: 0; max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; scrollbar-width: none; }
  .gallery-rail::-webkit-scrollbar { display: none; }
  .gallery-rail button { position: relative; flex-shrink: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-100); border-radius: var(--radius-xs); opacity: 0.55; transition: opacity var(--duration-quick); }
  .gallery-rail button:hover { opacity: 0.85; }
  .gallery-rail button[aria-current='true'] { opacity: 1; }
  .gallery-rail button[aria-current='true']::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--ink); border-radius: inherit; }
  .gallery-rail img { width: 100%; height: 100%; object-fit: cover; }

  /* one frame, cross-fading; never taller than the screen */
  .gallery-stage { flex: 0 1 auto; width: min(100%, calc((100svh - var(--header-h) - 3rem) * 0.8)); }
  .gallery-track { display: grid; overflow: hidden; scroll-snap-type: none; }
  .gallery-slide,
  .gallery.has-many .gallery-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease-inout), visibility 0s linear var(--duration-base); }
  .gallery .gallery-slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--duration-base) var(--ease-inout), visibility 0s; }
  .gallery-dots { display: none; }
  .gallery-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgb(250 248 244 / 0.85); color: var(--ink); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--duration-quick), background-color var(--duration-quick); }
  .gallery-stage:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 0.9; }
  .gallery-nav:hover { opacity: 1; background: var(--paper); }
  .gallery-nav.prev { left: 0.75rem; }
  .gallery-nav.next { right: 0.75rem; }
  .gallery-count { position: absolute; right: 0.75rem; bottom: 0.75rem; display: block; padding: 0.25rem 0.625rem; border-radius: 999px; background: rgb(17 18 20 / 0.55); color: var(--paper); font-size: var(--text-2xs); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
}

/* Right column (Nehta's ProductDetailView) */
.product-info { display: grid; gap: 1rem; align-content: start; min-width: 0; }
@media (min-width: 1024px) { .product-info { padding-top: 0.5rem; } }
.product-info .eyebrow a:hover { color: var(--content); }
.product-title { font-family: var(--font-display); font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.06; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.product-title.is-long { font-size: clamp(1.625rem, 2.3vw, 2.125rem); line-height: 1.12; }
.product-intro { display: grid; gap: 0.75rem; }
.product-sub { color: var(--content-muted); font-size: var(--text-base); }
.rating-line { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); color: var(--content-muted); }
.product-price-lg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.625rem; font-size: 1.25rem; }
.product-price-lg.is-sale > span:first-child { color: var(--accent); }
.product-price-lg s { font-size: var(--text-sm); color: var(--content-subtle); }
.product-price-lg .badge { align-self: center; }
.product-info .currency-note { margin-top: 0; }
.finish-row { display: flex; align-items: center; gap: 1rem; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--content-subtle); }

/* Order buttons, flat like Nehta's "Add to bag" block */
.order-box { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
.order-note { font-size: var(--text-sm); color: var(--content-muted); margin-top: 0.25rem; }
.order-points { display: grid; gap: 0.5rem; margin-top: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--content-muted); }
.order-points li { display: flex; align-items: center; gap: 0.625rem; }
.order-points .icon-sm { color: var(--accent); }

/* Accordion (Nehta's ProductAccordion): grid rows 0fr -> 1fr animate the height */
.product-accordion { margin-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
.acc-item { border-bottom: 1px solid var(--border-subtle); }
.acc-item h2 { margin: 0; font: inherit; }
.acc-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; text-align: left; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; }
.acc-icon { position: relative; width: 1rem; height: 1rem; color: var(--content-subtle); flex-shrink: 0; }
.acc-icon .icon-sm { position: absolute; inset: 0; width: 1rem; height: 1rem; transition: opacity var(--duration-quick); }
.acc-icon .icon-sm + .icon-sm, .acc-item.is-open .acc-icon .icon-sm:first-child { opacity: 0; }
.acc-item.is-open .acc-icon .icon-sm + .icon-sm { opacity: 1; }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--duration-base) var(--ease-editorial); }
.product-accordion.is-ready .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
.acc-panel > div { overflow: hidden; min-height: 0; }
.acc-body { padding-bottom: 1.5rem; font-size: var(--text-sm); line-height: 1.7; color: var(--content-muted); }
.product-accordion.is-ready .acc-item:not(.is-open) .acc-panel > div { visibility: hidden; transition: visibility 0s linear var(--duration-base); }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding-block: 0.625rem; border-bottom: 1px solid var(--border-subtle); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--content-subtle); }
.specs dd { margin: 0; color: var(--content); }
.specs .spec-wide { grid-template-columns: 1fr; }

.review-cards { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .review-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .review-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review-card { margin: 0; padding: 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: #fff; display: grid; gap: 0.75rem; align-content: start; }
.review-card .stars { color: var(--accent); letter-spacing: 0.15em; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; }
.review-card figcaption { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--content-subtle); }
.review-card .verified { margin-left: 0.5rem; }

/* =============================================================================
   PROSE + INFO PAGES
   ========================================================================== */
.prose { display: grid; gap: 1rem; color: var(--content-muted); line-height: 1.75; }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: none; }
.prose li { position: relative; }
.prose li::before { content: ''; position: absolute; left: -1rem; top: 0.7em; width: 0.375rem; height: 1px; background: var(--accent); }
.info-shell { padding-block: 2rem 5rem; }
.info-layout { margin-top: 2rem; display: grid; gap: 3rem; }
@media (min-width: 900px) { .info-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 5rem; } }
.info-body { display: grid; gap: 2rem; align-content: start; max-width: 44rem; }
.info-body .prose { font-size: var(--text-base); }
.info-aside { align-self: start; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
@media (min-width: 900px) { .info-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.info-aside ul { margin-top: 1rem; display: grid; gap: 0.625rem; }
.info-aside a { font-size: var(--text-sm); color: var(--content-muted); }
.info-aside a:hover, .info-aside a[aria-current] { color: var(--content); }
.info-aside a[aria-current] { font-weight: 500; }
.contact-cards { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: #fff;
  font-size: var(--text-sm);
  color: var(--content-muted);
  overflow-wrap: anywhere;
  transition: border-color var(--duration-quick);
}
a.contact-card:hover { border-color: var(--ink); }
.contact-card .icon { color: var(--accent); width: 22px; height: 22px; }
.contact-card strong { display: block; font-weight: 500; color: var(--content); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.125rem; }

/* Brand mark: the gold dragon medallion beside the wordmark (header and menu). */
.wordmark { display: inline-flex; align-items: center; gap: 0.75rem; }
.wordmark-mark { display: block; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 50%; }
.mobile-menu-top .wordmark-mark { width: 2.25rem; height: 2.25rem; }
@media (max-width: 767px) {
  .wordmark { gap: 0.5rem; }
  .wordmark-mark { width: 2.125rem; height: 2.125rem; }
}
/* Footer: the gold dragon-and-katana emblem beside the stacked wordmark. */
.footer-lockup { display: flex; align-items: center; gap: 1.25rem; }
.footer-emblem { display: block; width: auto; height: 9rem; flex-shrink: 0; }
@media (min-width: 768px) { .footer-emblem { height: 11rem; } }

/* Chat with a person (support.js) */
.support { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 2147483600; width: min(23rem, calc(100vw - 2rem));
  height: min(36rem, calc(100vh - 2.5rem)); display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 60px -12px rgb(17 18 20 / 0.35); overflow: hidden; }
.support[hidden] { display: none; }
@media (max-width: 600px) { .support { inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; } }
.support-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.875rem 1rem;
  background: var(--ink); color: var(--paper); }
.support-title { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase; }
.support-sub { font-size: var(--text-xs); color: rgb(250 248 244 / 0.65); margin-top: 0.125rem; }
.support-close { font-size: 1.5rem; line-height: 1; padding: 0.25rem 0.5rem; color: var(--paper); }
.support-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.support-intro p { font-size: var(--text-sm); color: var(--content-muted); line-height: 1.55; }
.support-start { display: grid; gap: 0.75rem; }
.support-start label { display: grid; gap: 0.25rem; font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.04em; }
.support-start label small { font-weight: 400; color: var(--content-subtle); }
.support-start input, .support-start textarea, .support-compose textarea { width: 100%; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff; padding: 0.5rem 0.75rem; font: 400 1rem/1.45 var(--font-sans); color: var(--content); }
.support-start .hp { position: absolute; left: -9999px; }
.support-error { font-size: var(--text-sm); color: var(--copper-600); background: #fdf6f3; border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; }
.support-fine { font-size: var(--text-2xs); color: var(--content-subtle); line-height: 1.5; }
.support-fine a { text-decoration: underline; }
.support-msg { display: grid; justify-items: start; max-width: 85%; }
.support-msg.is-you { justify-self: end; justify-items: end; }
.support-bubble { padding: 0.5rem 0.75rem; border-radius: 12px; background: #fff; border: 1px solid var(--border-subtle);
  font-size: var(--text-sm); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-msg.is-you .support-bubble { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.support-msg.is-assistant .support-bubble { color: var(--content-muted); border-style: dashed; }
.support-meta { font-size: var(--text-2xs); color: var(--content-subtle); margin-top: 0.25rem; }
.support-wait { font-size: var(--text-xs); color: var(--content-muted); background: var(--sand-100); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; }
.support-ref { text-align: center; margin-top: auto; }
.support-compose { display: flex; gap: 0.5rem; align-items: flex-end; padding: 0.75rem; border-top: 1px solid var(--border-subtle); background: #fff; }
.support-compose[hidden] { display: none; }
.support-compose textarea { resize: none; max-height: 8rem; }
.support-send { padding: 0.625rem 0.875rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper);
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; }
/* Below HaloChime's widget (2147483000) so its open panel covers this button; above the page. */
.support-launcher { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 2147482000; padding: 0.875rem 1.25rem;
  border-radius: 999px; background: var(--ink); color: var(--paper); font-size: var(--text-xs); letter-spacing: 0.12em;
  text-transform: uppercase; box-shadow: 0 12px 30px -8px rgb(17 18 20 / 0.45); }
.support-launcher.is-pill { bottom: 5.75rem; padding: 0.625rem 1rem; }
.support-launcher[hidden] { display: none; }
.menu-open .support-launcher { visibility: hidden; }
.support-dot { display: inline-block; width: 0.5rem; height: 0.5rem; margin-left: 0.5rem; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.support-dot[hidden] { display: none; }

.support-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.support-code input[name=code] { font: 500 1.5rem/1.2 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.4em; text-align: center; }
.support-error.is-ok { color: var(--content-muted); background: var(--sand-100); }
.support-intro p + p { margin-top: 0.5rem; }

/* =============================================================================
   LOOKBOOK (Nehta's LookbookExperience and /lookbook index)
   Dark editorial page; the header floats transparent over the cover.
   ========================================================================== */
.lookbook-main { position: relative; }
.lookbook { position: relative; background: var(--ink); color: var(--paper); margin-top: calc(var(--header-h) * -1); }
.lookbook .eyebrow { color: rgb(250 248 244 / 0.55); }
.lookbook-progress { position: fixed; inset: 0 0 auto; z-index: 55; height: 1px; background: rgb(250 248 244 / 0.6); transform-origin: left; transform: scaleX(0); pointer-events: none; }

.lookbook-cover { position: relative; display: flex; min-height: 92svh; align-items: flex-end; overflow: hidden; isolation: isolate; }
.lookbook-cover-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lookbook-cover-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink) 0%, rgb(17 18 20 / 0.4) 50%, rgb(17 18 20 / 0.2) 100%); }
.lookbook-cover-copy { padding-bottom: 4rem; }
@media (min-width: 768px) { .lookbook-cover-copy { padding-bottom: 6rem; } }
.lookbook-title { margin-top: 1rem; display: block; font-family: var(--font-display); font-size: clamp(3rem, 11vw, 9rem); line-height: 0.9; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.lookbook-intro { margin-top: 1.75rem; max-width: 36rem; font-size: var(--text-lg); line-height: 1.6; color: rgb(250 248 244 / 0.7); }

/* Chapter rail: desktop only; on phones the scroll is the navigation */
.lookbook-rail { display: none; }
@media (min-width: 1024px) {
  .lookbook-rail { position: fixed; right: 2rem; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 0.75rem; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity var(--duration-base); }
  .lookbook-rail.is-shown { opacity: 1; }
  .lookbook-rail a { pointer-events: auto; display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; padding-block: 0.125rem; }
  .lookbook-rail span { font-size: var(--text-2xs); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity var(--duration-base); }
  .lookbook-rail i { display: block; height: 1px; width: 1rem; background: rgb(250 248 244 / 0.35); transition: width var(--duration-base) var(--ease-editorial), background-color var(--duration-base); }
  .lookbook-rail a:hover span { opacity: 0.6; }
  .lookbook-rail a:hover i { background: rgb(250 248 244 / 0.7); }
  .lookbook-rail a[aria-current='true'] span { opacity: 1; }
  .lookbook-rail a[aria-current='true'] i { width: 2rem; background: var(--paper); }
}

/* One look: photo and words, alternating sides */
.look { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3.5rem; scroll-margin-top: 6rem; }
@media (min-width: 768px) {
  .look { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; padding-block: 6rem; align-items: center; }
  .look-media { grid-column: 1 / span 7; }
  .look-copy { grid-column: 9 / span 4; }
  .look.is-flipped .look-media { grid-column: 6 / span 7; order: 2; }
  .look.is-flipped .look-copy { grid-column: 1 / span 4; order: 1; }
}
.look-media, .look-copy { min-width: 0; }
.look-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-900); }
@media (min-width: 768px) { .look-frame { aspect-ratio: 4 / 5; } }
/* Swords are usually photographed wide: keep the photo's own shape so the blade is not cut off. */
.look-frame.is-wide { aspect-ratio: 3 / 2; }
.look-frame.is-square { aspect-ratio: 1 / 1; }
.look-parallax { position: absolute; inset: -10% 0; will-change: transform; }
.look-frame.is-wide .look-parallax, .look-frame.is-square .look-parallax { inset: -16% 0; }
.look-parallax img { width: 100%; height: 100%; object-fit: cover; }
.look-num { font-size: var(--text-2xs); letter-spacing: 0.2em; font-variant-numeric: tabular-nums; color: rgb(250 248 244 / 0.4); }
.look-title { margin-top: 0.75rem; display: block; }
.look-caption { margin-top: 1rem; line-height: 1.7; color: rgb(250 248 244 / 0.65); }
.look-location { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--text-xs); color: rgb(250 248 244 / 0.4); }
.look-products { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(250 248 244 / 0.12); }
.look-products .eyebrow { color: rgb(250 248 244 / 0.4); }
.look-products ul { margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.look-products li { min-width: 0; }
.look-product { display: flex; align-items: center; gap: 0.875rem; }
.look-product-img { position: relative; width: 3.5rem; height: 3.5rem; flex-shrink: 0; overflow: hidden; background: var(--sand-800); }
.look-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-editorial); }
.look-product:hover .look-product-img img { transform: scale(1.05); }
.look-product-text { min-width: 0; flex: 1; }
.look-product-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: rgb(250 248 244 / 0.85); transition: color var(--duration-quick); }
.look-product:hover .look-product-name { color: var(--paper); }
.look-product-price { display: block; font-size: var(--text-xs); color: rgb(250 248 244 / 0.45); }
.look-product > .icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; color: rgb(250 248 244 / 0.3); transition: color var(--duration-quick), transform var(--duration-quick); }
.look-product:hover > .icon-sm { color: var(--paper); transform: translate(2px, -2px); }

.lookbook-end { padding-block: 6rem; text-align: center; }
@media (min-width: 768px) { .lookbook-end { padding-block: 9rem; } }
.lookbook-end .display-sm { margin: 1.25rem auto 0; max-width: 32rem; display: block; }
.lookbook-cta { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(250 248 244 / 0.7); transition: color var(--duration-quick); }
.lookbook-cta:hover { color: var(--paper); }
.lookbook-cta .icon-sm { transition: transform var(--duration-quick); }
.lookbook-cta:hover .icon-sm { transform: translate(2px, -2px); }

/* Index: every lookbook as a large card */
.lookbook-index { padding-bottom: 6rem; }
.lookbook-index-head { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 3.5rem; }
@media (min-width: 768px) { .lookbook-index-head { padding-top: calc(var(--header-h) + 7rem); padding-bottom: 5rem; } }
.lookbook-cards { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .lookbook-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.lookbook-card { display: block; }
.lookbook-card-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-900); }
.lookbook-card-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.2s var(--ease-editorial), opacity 1.2s var(--ease-editorial); }
.lookbook-card:hover .lookbook-card-frame img { transform: scale(1.03); opacity: 1; }
.lookbook-card-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(17 18 20 / 0.8), transparent 55%); }
.lookbook-card-copy { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.75rem; }
.lookbook-card-season { font-size: var(--text-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: rgb(250 248 244 / 0.55); }
.lookbook-card-title { margin-top: 0.5rem; font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; }
.lookbook-card-count { margin-top: 0.5rem; font-size: var(--text-xs); color: rgb(250 248 244 / 0.45); }
.lookbook-card-arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 999px; border: 1px solid rgb(250 248 244 / 0.3); transition: background-color var(--duration-base), color var(--duration-base), border-color var(--duration-base); }
.lookbook-card:hover .lookbook-card-arrow { border-color: var(--paper); background: var(--paper); color: var(--ink); }

/* Laptops (1180 to 1439px): a slightly smaller lockup so all the links fit beside it. */
@media (min-width: 1180px) and (max-width: 1439px) {
  .header-row .wordmark { font-size: 1.125rem; letter-spacing: 0.18em; gap: 0.625rem; }
  .header-row .wordmark-mark { width: 2.375rem; height: 2.375rem; }
}

/* =============================================================================
   SHOP ON PHONES AND TOUCH SCREENS
   ========================================================================== */
/* Phones: the filter bar scrolls away with the page (as on Nehta), so it never
   covers a fifth of the screen, and the category chips run to the screen edges. */
@media (max-width: 767px) {
  .shop-toolbar {
    position: static;
    margin-top: 1.5rem;
    padding-block: 0.25rem 1rem;
    gap: 0.75rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .chips {
    flex: 0 0 auto;
    width: calc(100% + 2.5rem);
    max-width: none;
    margin-inline: -1.25rem;
    padding: 0.125rem 1.25rem;
    scroll-padding-inline: 1.25rem;
    overscroll-behavior-x: contain;
  }
  .shop-tools { flex: 1 1 100%; }
  .shop-search { min-width: 0; }
  .shop-sort { flex-shrink: 0; }
  .shop-sort select { width: 9rem; text-overflow: ellipsis; }
  .shop-count { margin-top: 1rem; }
}
/* The smallest phones: search and sort each get a full row. */
@media (max-width: 359px) {
  .shop-search, .shop-sort { flex: 1 1 100%; }
  .shop-sort select { width: 100%; }
}
/* Larger screens keep the bar pinned under the header, and lift it to the top
   when the header hides on scroll, so nothing shows through above it. Changing
   the sticky offset only moves the bar while it is actually pinned. */
@media (min-width: 768px) {
  .shop-toolbar { transition: top var(--duration-base) var(--ease-editorial); }
  .header-hidden .shop-toolbar { top: 0; }
}

/* More chips to the side: a soft fade on that edge says the row scrolls. */
.chips.can-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); }
.chips.can-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 3rem); mask-image: linear-gradient(to right, transparent, #000 3rem); }
.chips.can-left.can-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent); }

/* Long blade names: two lines in the product cards on phones, the full name is on the product page. */
@media (max-width: 639px) {
  .product-meta h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}

/* iPhones zoom the whole page when a field with text under 16px is tapped,
   and stay zoomed in. Touch screens get 16px in the small menus and fields. */
@media (pointer: coarse) {
  .currency-pick select,
  .shop-sort select,
  .nl-field input { font-size: 16px; }
  .currency-pick select { letter-spacing: 0.04em; padding-block: 0.25rem; }
}
