/* ============================================================
   GUARDED — site stylesheet (v2)
   Design system carried over from v1: ink / bone / gold / signal-red,
   Oswald display + Inter body, outlined wordmark, film grain, thin rules.
   ============================================================ */

:root {
  --ink-950: #0a0a0a;
  --ink-900: #101010;
  --ink-800: #141414;
  --ink-700: #1c1c1c;
  --bone: #f5f5f5;
  --signal-red: #c41e2a;
  --gold: #8b7355;
  --gold-300: #bfa988;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-display: "Oswald", "Oswald Fallback", sans-serif;
  --track-widest: 0.35em;
  --editorial: 1440px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

/* ---------- shared atoms ---------- */

.wrap {
  max-width: var(--editorial);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 40px;
  }
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.6);
  margin: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}

.red {
  color: var(--signal-red);
}

.thin-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, hsla(36, 30%, 64%, 0.35), transparent);
}

.grain {
  position: relative;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* wordmark: red G, outlined UARDED */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  line-height: 0.9;
}

.wordmark-g {
  color: var(--signal-red);
}

.wordmark-rest {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-300);
  margin-left: 0.04em;
}

.wordmark-hero {
  font-size: 22vw;
}

.wordmark-hero .wordmark-rest {
  -webkit-text-stroke-width: 4.5px;
}

@media (min-width: 768px) {
  .wordmark-hero {
    font-size: 18vw;
  }
}

.wordmark-md {
  font-size: clamp(28px, 4vw, 40px);
}

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

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  background: var(--bone);
  color: var(--ink-950);
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
}

/* scroll reveal — JS adds .is-visible; motion-reduced users get everything instantly */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- colorway swatches ---------- */

.colorway-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.colorway-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.6);
  margin-right: 4px;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 245, 0.25);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}

.swatch:hover {
  transform: scale(1.15);
  border-color: rgba(245, 245, 245, 0.6);
}

.swatch[aria-pressed="true"] {
  border-color: rgba(245, 245, 245, 0.9);
  box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.14);
}

.swatch--red { background: #ec0e3e; }
.swatch--pink { background: #ff36a0; }
.swatch--purple { background: #7a3fd1; }
.swatch--camo {
  background: url("/images/colorways/camo-swatch.jpg") center / cover;
}

/* tooltip on hover/focus */
.swatch {
  position: relative;
}

.swatch::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  padding: 4px 8px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(191, 169, 136, 0.3);
  color: var(--bone);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.swatch:hover::after,
.swatch:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* skeleton shimmer while a colorway image loads */
.product-media.is-swapping::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(100deg,
    var(--ink-800) 20%,
    rgba(60, 60, 60, 0.55) 40%,
    var(--ink-800) 60%);
  background-size: 220% 100%;
  animation: swatch-shimmer 1.1s linear infinite;
}

@keyframes swatch-shimmer {
  from { background-position: 130% 0; }
  to { background-position: -90% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-media.is-swapping::before {
    animation: none;
    background: var(--ink-800);
  }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(191, 169, 136, 0.12);
}

.nav-inner {
  max-width: var(--editorial);
  margin-inline: auto;
  height: 64px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-inner {
    padding-inline: 40px;
  }
}

.nav-home {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-home span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.8);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a,
.nav-cart {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.7);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-cart:hover {
  color: var(--bone);
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cart .cart-count {
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--signal-red);
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0;
  border-radius: 9px;
}

.nav-cart .cart-count:empty {
  display: none;
}

.nav-burger {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .nav-burger {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 10, 10, 0.97);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.85);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--ink-950);
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* landscape hero, subject centered — one position works at every viewport */
  object-position: center 62%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at center, hsla(0, 0%, 4%, 0.25) 0, hsla(0, 0%, 4%, 0.7) 75%),
    linear-gradient(180deg, hsla(0, 0%, 4%, 0.55) 0, hsla(0, 0%, 4%, 0.15) 35%, hsla(0, 0%, 4%, 0.85));
}

.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--editorial);
  margin-inline: auto;
  height: 100%;
  padding: 0 24px 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 40px 112px;
  }
}

.hero-tag {
  margin-top: 32px;
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-tag {
    display: flex;
  }
}

.hero-tag .line {
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(139, 115, 85, 0.6);
}

.hero-tag p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.8);
}

/* scroll cue — deliberately static (v1's pulsing line read as a blinking cursor) */
.scroll-cue {
  position: absolute;
  inset-inline: 0;
  bottom: 24px;
  z-index: 10;
  margin-inline: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(191, 169, 136, 0.7);
}

.scroll-cue span:first-child {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
}

.scroll-cue .cue-line {
  display: block;
  height: 40px;
  width: 1px;
  background: linear-gradient(180deg, rgba(191, 169, 136, 0.55), rgba(191, 169, 136, 0.08));
}

/* ---------- content sections ---------- */

.section {
  position: relative;
  padding-block: 128px;
}

.section--tight {
  padding-block: 96px;
}

.section--ink900 {
  background: var(--ink-900);
}

@media (min-width: 768px) {
  .section {
    padding-block: 176px;
  }
  .section--tight {
    padding-block: 144px;
  }
}

.posture-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 768px) {
  .posture-grid {
    grid-template-columns: 6fr 1fr 5fr;
    gap: 48px;
  }
}

.posture-grid h2 {
  font-size: clamp(44px, 6vw, 72px);
}

.posture-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.7);
}

@media (min-width: 768px) {
  .posture-copy p {
    font-size: 20px;
  }
}

.posture-copy .theyre {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
}

.section-rule {
  margin-top: 128px;
}

.story-link {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.8);
  transition: color 0.3s;
}

.story-link:hover {
  color: var(--bone);
}

.story-link .line {
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(191, 169, 136, 0.6);
  transition: width 0.7s;
}

.story-link:hover .line {
  width: 64px;
}

/* ---------- lookbook ---------- */

.lookbook-heading {
  margin-top: 32px;
  max-width: 720px;
  font-size: clamp(36px, 5vw, 60px);
}

.lookbook {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

@media (min-width: 768px) {
  .lookbook {
    gap: 112px;
  }
}

.look {
  position: relative;
  width: 100%;
}

.look--right {
  margin-left: auto;
  width: 92%;
}

.look--left {
  margin-right: auto;
  width: 92%;
}

@media (min-width: 768px) {
  .look--right,
  .look--left {
    width: 78%;
  }
}

.look-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-800);
}

@media (min-width: 768px) {
  .look-frame {
    aspect-ratio: 21 / 10;
  }
}

.look-frame img,
.look-frame svg.look-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.look-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0) 45%);
}

.look-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .look-label {
    bottom: 32px;
    left: 32px;
  }
}

.look-label .line {
  display: block;
  height: 1px;
  width: 32px;
  background: rgba(191, 169, 136, 0.6);
}

.look-label span:last-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.8);
}

/* ---------- collection / product cards ---------- */

.collection-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .collection-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.collection-head h2 {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(36px, 5vw, 60px);
}

.collection-head .aside {
  max-width: 320px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.55);
  margin: 0;
}

.product-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px 32px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 64px 40px;
  }
}

.product-card {
  position: relative;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-800);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 55%);
}

.product-media .flag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(191, 169, 136, 0.35);
  color: rgba(245, 245, 245, 0.85);
}

.product-media .flag--out {
  border-color: rgba(196, 30, 42, 0.6);
  color: rgba(245, 245, 245, 0.7);
}

.product-card.is-soldout .product-media img {
  filter: grayscale(0.7) brightness(0.7);
}

.product-meta {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.product-name {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

/* accent square follows the selected mark colorway (set by main.js) */
.product-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--cw-accent, rgba(236, 14, 62, 0.85));
}

.product-colorway {
  margin: 4px 0 0;
  padding-left: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.45);
}

.product-price {
  margin: 0;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.6);
}

/* shop-page extras on cards */
.size-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-pill {
  min-width: 44px;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(245, 245, 245, 0.25);
  color: rgba(245, 245, 245, 0.8);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.size-pill:hover:not(:disabled) {
  border-color: rgba(191, 169, 136, 0.7);
}

.size-pill[aria-pressed="true"] {
  background: var(--bone);
  color: var(--ink-950);
  border-color: var(--bone);
}

.size-pill:disabled {
  opacity: 0.3;
  text-decoration: line-through;
  cursor: not-allowed;
}

.size-pill .low-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--gold-300);
  vertical-align: middle;
}

.add-btn {
  margin-top: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(191, 169, 136, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.85);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.add-btn:hover:not(:disabled) {
  background: var(--bone);
  color: var(--ink-950);
  border-color: var(--bone);
}

.add-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.low-note {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(191, 169, 136, 0.75);
  min-height: 14px;
}

/* ---------- explore CTA ---------- */

.explore-cta {
  margin-top: 96px;
  display: flex;
  justify-content: center;
}

.explore-cta a,
.ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.8);
  transition: color 0.3s;
}

.explore-cta a:hover,
.ghost-cta:hover {
  color: var(--bone);
}

.explore-cta .line,
.ghost-cta .line {
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(191, 169, 136, 0.6);
  transition: width 0.7s;
}

.explore-cta a:hover .line,
.ghost-cta:hover .line {
  width: 64px;
}

/* ---------- mark section ---------- */

.mark-section {
  text-align: center;
  overflow: hidden;
}

.mark-section .wordmark-wrap {
  margin-top: 80px;
}

.mark-tag {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(191, 169, 136, 0.6);
}

.mark-tag .line {
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(191, 169, 136, 0.4);
}

.mark-tag p {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
}

/* ---------- closing band ---------- */

.closing {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
}

/* band height follows the image's own aspect ratio (capped, never zoom-cropped) */
.closing img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 72vh;
  object-fit: cover;
  object-position: center;
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0) 70%, rgba(10, 10, 10, 0.85) 100%);
}

.closing-tag {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 56px;
}

.closing-tag .inner {
  max-width: var(--editorial);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .closing-tag .inner {
    padding-inline: 40px;
  }
}

.closing-tag .line {
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(191, 169, 136, 0.6);
}

.closing-tag p {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.8);
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink-900);
  padding: 96px 0 56px;
}

.footer-inner {
  max-width: var(--editorial);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .est {
  margin: 20px 0 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.6);
}

.signup-form {
  margin-top: 64px;
  width: 100%;
  max-width: 448px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signup-form label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.5);
}

.signup-row {
  margin-top: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(191, 169, 136, 0.25);
  padding-bottom: 12px;
}

.signup-row:focus-within {
  border-bottom-color: rgba(191, 169, 136, 0.6);
}

.signup-row input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--bone);
  font-size: 14px;
}

.signup-row input::placeholder {
  color: rgba(245, 245, 245, 0.3);
}

.signup-row input:focus {
  outline: none;
}

.signup-row button {
  flex-shrink: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.8);
  transition: color 0.3s;
}

.signup-row button:hover {
  color: var(--bone);
}

.signup-msg {
  margin: 12px 0 0;
  min-height: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(191, 169, 136, 0.9);
}

.footer-nav {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
}

.footer-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.55);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--bone);
}

.footer-social {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(245, 245, 245, 0.45);
}

.footer-social a {
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--bone);
}

.footer .thin-rule {
  margin-top: 64px;
  width: 100%;
}

.footer .legal {
  margin: 40px 0 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.3);
}

/* ---------- cart drawer ---------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(420px, 92vw);
  background: var(--ink-900);
  border-left: 1px solid rgba(191, 169, 136, 0.15);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: none;
}

.cart-head {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(191, 169, 136, 0.15);
}

.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.cart-close {
  font-size: 22px;
  line-height: 1;
  color: rgba(245, 245, 245, 0.6);
}

.cart-close:hover {
  color: var(--bone);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(245, 245, 245, 0.4);
}

.cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.07);
}

.cart-line img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--ink-800);
}

.cart-line-info {
  flex: 1;
  min-width: 0;
}

.cart-line-info .name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-line-info .variant {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.qty-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(245, 245, 245, 0.25);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 245, 245, 0.75);
}

.qty-btn:hover {
  border-color: rgba(191, 169, 136, 0.7);
}

.qty-val {
  min-width: 20px;
  text-align: center;
  font-size: 13px;
}

.cart-line .remove {
  margin-left: auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 245, 245, 0.4);
}

.cart-line .remove:hover {
  color: var(--signal-red);
}

.cart-line-price {
  font-size: 13px;
  color: rgba(245, 245, 245, 0.7);
  white-space: nowrap;
}

.cart-foot {
  padding: 24px;
  border-top: 1px solid rgba(191, 169, 136, 0.15);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 245, 245, 0.8);
}

.cart-ship-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.4);
}

.checkout-btn {
  margin-top: 20px;
  width: 100%;
  padding: 16px;
  background: var(--bone);
  color: var(--ink-950);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  transition: background 0.3s;
}

.checkout-btn:hover:not(:disabled) {
  background: #ffffff;
}

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.cart-error {
  margin: 12px 0 0;
  min-height: 16px;
  font-size: 12px;
  color: #e0616b;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translate(-50%, 80px);
  background: var(--ink-800);
  border: 1px solid rgba(191, 169, 136, 0.35);
  color: var(--bone);
  padding: 12px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast.is-shown {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* page banner (e.g., checkout canceled) */
.page-banner {
  margin-top: 96px;
  background: rgba(196, 30, 42, 0.12);
  border-block: 1px solid rgba(196, 30, 42, 0.35);
}

.page-banner p {
  max-width: var(--editorial);
  margin-inline: auto;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.85);
  margin-block: 0;
}

.page-head {
  padding-top: 176px;
}

.page-head h1 {
  margin-top: 24px;
  font-size: clamp(44px, 7vw, 88px);
}

.page-head .lede {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.65);
}

/* ---------- story page ---------- */

.story-block {
  max-width: 820px;
}

.story-block p {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(245, 245, 245, 0.72);
  margin: 0 0 28px;
}

@media (min-width: 768px) {
  .story-block p {
    font-size: 20px;
  }
}

.story-block .punch {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1.25;
}

.principles {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(191, 169, 136, 0.18);
  border-block: 1px solid rgba(191, 169, 136, 0.18);
}

@media (min-width: 768px) {
  .principles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.principle {
  background: var(--ink-900);
  padding: 44px 32px;
}

.principle .num {
  font-size: 11px;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.6);
  text-transform: uppercase;
}

.principle h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.principle p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.55);
}

.qa {
  border-left: 2px solid rgba(196, 30, 42, 0.6);
  padding-left: 28px;
  margin: 48px 0;
}

.qa .q {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.7);
  margin: 0 0 12px;
}

/* ---------- success page ---------- */

.receipt {
  max-width: 560px;
  margin-top: 56px;
  border: 1px solid rgba(191, 169, 136, 0.25);
  padding: 32px;
  background: var(--ink-900);
}

.receipt .ref {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: rgba(191, 169, 136, 0.7);
  margin: 0;
}

.receipt ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.receipt li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.07);
  font-size: 14px;
  color: rgba(245, 245, 245, 0.75);
}

.receipt .total {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
}

.receipt .mock-note {
  margin: 20px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 169, 136, 0.6);
}
