/* ============================================================
   MARTIUSH — Traditions, tailored for today.
   Monochrome editorial: white, black, one red gesture.
   Tokens → base → components → pages → motion → responsive
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --muted: #757570;
  --line: #e6e4df;
  --line-dark: #2a2a2a;
  --wash: #f7f6f3;

  --red: #c8372d;
  --danger: #c8372d;

  --tone-light: #ffffff;
  --tone-dark: #111111;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --space-1: 8px; --space-2: 16px; --space-3: 24px;
  --space-4: 40px; --space-5: 72px; --space-6: 120px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-med: 320ms;

  --header-h: 68px;
  --max-w: 1360px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: .005em;
}
h4 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 56px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* small caps utility label */
.label, .eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  padding: 16px 34px;
  min-height: 50px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear;
  user-select: none;
}
.btn svg { transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--paper); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--full { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid transparent;
  transition: border-color var(--t-fast) linear;
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-med) linear;
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }

.site-header .container {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}

.logo {
  /* brand wordmark in calligraphic script, like the tee prints;
     scripts must never be letter-spaced — the strokes disconnect */
  font-family: var(--font-script);
  font-size: 36px; font-weight: 400; letter-spacing: 0;
  display: inline-flex; align-items: center; gap: 12px;
  line-height: 1;
}
.logo__mark { width: 34px; height: 22px; flex: none; color: var(--ink); }
/* real brand logo mark; multiply blends its white box into the header */
.logo__img {
  height: 34px; width: auto; display: block;
  mix-blend-mode: multiply;
}
.site-footer .logo__img {
  filter: invert(1);
  mix-blend-mode: screen;
}

.main-nav { display: flex; gap: var(--space-4); }
.main-nav a {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  padding: 6px 0;
  position: relative;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: var(--space-2); }

.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch button {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  padding: 6px 10px; min-width: 40px; min-height: 32px;
  color: var(--muted);
  transition: background var(--t-fast) linear, color var(--t-fast) linear;
}
.lang-switch button.is-active { background: var(--ink); color: var(--paper); }
.lang-switch button:not(.is-active):hover { color: var(--ink); }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 0; right: 0;
  min-width: 17px; height: 17px; padding-inline: 4px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.cart-badge.is-empty { display: none; }
.drawer__count { position: static; display: inline-flex; }
.drawer__count.is-empty { display: none; }

.nav-toggle { display: none; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  margin: 5px auto;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) linear;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  z-index: 40;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-4);
  visibility: hidden; opacity: 0;
  transition: opacity var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition-delay: 0s; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px); font-weight: 500;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transform: translateY(20px); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s var(--ease-out), color var(--t-fast) linear;
}
.mobile-menu a:hover { color: var(--muted); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .12s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .19s; }

main { padding-top: var(--header-h); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(92dvh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding-block: var(--space-5);
  overflow: clip;
}
/* collection photo as the hero backdrop, washed left for text */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/hero.jpg') center 24% / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .96) 0%,
    rgba(255, 255, 255, .9) 34%,
    rgba(255, 255, 255, .55) 58%,
    rgba(255, 255, 255, .12) 100%);
  z-index: -1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-4);
}
.hero__eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--ink); flex: none; }

.hero__title {
  font-family: var(--font-script);
  font-size: clamp(64px, 11vw, 160px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}
.hero__title .line { display: block; overflow: clip; padding-inline: .14em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.page-in .hero__title .line > span { animation: rise .9s var(--ease-out) forwards; }

.hero__tagline {
  overflow: clip;
  margin-top: var(--space-2);
}
.hero__tagline > span {
  display: inline-flex; align-items: baseline; gap: 14px;
  transform: translateY(110%);
}
.page-in .hero__tagline > span { animation: rise .9s var(--ease-out) .15s forwards; }
.hero__tagline em {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(22px, 3.2vw, 34px);
  color: var(--ink-soft);
}
.hero__tagline .heart {
  width: clamp(18px, 2.2vw, 24px); height: auto; aspect-ratio: 1;
  color: var(--red);
  align-self: center;
}

.hero__row {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-4);
}
.hero__drop {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.hero__drop::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.hero__ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }

/* ---------- ticker / marquee ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  overflow: clip;
  padding-block: 14px;
}
.ticker__track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__seq { display: flex; flex: none; }
.ticker__item {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .3em;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.ticker__item::after { content: '·'; margin-inline: 34px; }

/* ---------- sections ---------- */
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--muted);
  margin-bottom: var(--space-2);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--ink); }
.section-title { font-size: clamp(38px, 5.5vw, 68px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition: color var(--t-fast) linear, border-color var(--t-fast) linear;
}
.link-arrow:hover { color: var(--muted); border-color: var(--muted); }
.link-arrow svg { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- product cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  min-height: 380px;
  position: relative;
  cursor: pointer;
}

.card__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-2) var(--space-2) 0;
}
.card__sku { font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--muted); }
.card__tag {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--red);
}

.card__art {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
  color: var(--ink);
  position: relative;
  overflow: clip;
}
.card__art svg {
  width: min(130px, 52%); aspect-ratio: 1; height: auto;
  transition: transform .5s var(--ease-out);
}
.card:hover .card__art svg { transform: scale(1.06); }

/* real product photo: covers the motif when the file exists in img/ */
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out), opacity var(--t-med) linear;
}
.card:hover .card__img { transform: scale(1.04); }
/* second photo (back print) fades in on hover */
.card__img--back { opacity: 0; }
.card:hover .card__img--back { opacity: 1; }

.card__bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-1);
  border-top: 1px solid var(--line);
  padding: 14px var(--space-2);
  transition: border-color var(--t-fast) linear;
}
.card:hover .card__bar { border-top-color: var(--ink); }
.card__name {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card:hover .card__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card__price { font-size: 12px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; flex: none; color: var(--ink-soft); }

/* tone variants */
.card--dark { background: var(--ink); color: var(--paper); }
.card--dark .card__art { color: var(--paper); }
.card--dark .card__sku { color: rgba(255, 255, 255, .5); }
.card--dark .card__bar { border-top-color: var(--line-dark); }
.card--dark:hover .card__bar { border-top-color: var(--paper); }
.card--dark .card__price { color: rgba(255, 255, 255, .75); }
.card--dark .card__tag { color: #e0685e; }

/* ---------- manifesto ---------- */
.manifesto { border-block: 1px solid var(--line); background: var(--wash); }
.manifesto__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-5); align-items: center; }
.manifesto__title { font-size: clamp(36px, 5vw, 64px); }
.manifesto__title em { font-style: italic; font-weight: 400; }
.manifesto__body { color: var(--muted); max-width: 46ch; }
.manifesto__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--wash); padding: var(--space-3); }
.stat__n { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1; }
.stat__l { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- lookbook strip ---------- */
.look-strip {
  display: flex; gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch;
  background: var(--line);
  border: 1px solid var(--line);
}
.look-strip::-webkit-scrollbar { height: 6px; }
.look-strip::-webkit-scrollbar-thumb { background: var(--line); }
.look {
  flex: 0 0 min(300px, 76vw);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: clip;
}
.look svg { width: 46%; height: auto; aspect-ratio: 1; }
.look__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.look__label {
  position: absolute; left: 18px; bottom: 14px;
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; font-weight: 400;
  z-index: 1;
}
.look--light { background: var(--paper); color: var(--ink); }
.look--dark { background: var(--ink); color: var(--paper); }
.look--red svg { color: var(--red); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--ink); color: var(--paper); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.newsletter__title { font-size: clamp(36px, 5vw, 62px); }
.newsletter__body { color: rgba(255, 255, 255, .65); max-width: 44ch; }
.newsletter__form { display: flex; gap: var(--space-2); align-items: flex-end; }
.newsletter__form input {
  flex: 1; min-width: 0; min-height: 50px;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding: 12px 2px;
  color: var(--paper);
  transition: border-color var(--t-fast) linear;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .35); }
.newsletter__form input:focus-visible { outline: none; border-bottom-color: var(--paper); }
.newsletter__form .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); flex: none; }
.newsletter__form .btn:hover { background: transparent; color: var(--paper); }
.newsletter__msg { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); min-height: 1.5em; }
.newsletter__msg.is-err { color: #e0685e; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .6); border-top: 1px solid var(--line-dark); padding-block: var(--space-5) var(--space-3); }
.site-footer .logo { color: var(--paper); }
.site-footer .logo__mark { color: var(--paper); }
.site-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.site-footer__tag { max-width: 34ch; margin-top: var(--space-2); font-size: 13px; }
.site-footer h4 {
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: var(--space-2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.site-footer ul a { transition: color var(--t-fast) linear; }
.site-footer ul a:hover { color: var(--paper); }
.social-row { display: flex; gap: var(--space-2); align-items: center; }
.footer-ig { font-size: 13px; letter-spacing: .06em; transition: color var(--t-fast) linear; }
.footer-ig:hover { color: var(--paper); }
.social-row a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  transition: border-color var(--t-fast) linear, color var(--t-fast) linear;
}
.social-row a:hover { border-color: var(--paper); color: var(--paper); }

.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-3);
  font-size: 12px;
  flex-wrap: wrap;
}
.made-in {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .24em;
  color: var(--paper);
}
.made-in::before { content: ''; width: 26px; height: 1px; background: rgba(255, 255, 255, .4); }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(17, 17, 17, .4);
  opacity: 0;
  transition: opacity var(--t-med) linear;
}
.drawer-open .scrim { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(440px, 100vw);
  background: var(--paper);
  border-left: 1px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease-out);
}
.drawer-open .drawer { transform: none; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__title { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-3); }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: var(--space-2) var(--space-3) var(--space-3); }
.drawer__foot:empty { display: none; }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.drawer__note { color: var(--muted); font-size: 12px; margin-bottom: var(--space-2); }
.drawer__empty { text-align: center; padding-top: var(--space-5); display: grid; gap: var(--space-3); justify-items: center; color: var(--muted); }
.drawer__empty-icon { opacity: .3; }

.cart-item {
  display: flex; gap: var(--space-2); align-items: stretch;
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: var(--space-2);
  animation: item-in .3s var(--ease-out);
}
.cart-item__thumb {
  flex: none; width: 76px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  position: relative; overflow: clip;
}
.cart-item__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-item__thumb--light { background: var(--paper); color: var(--ink); }
.cart-item__thumb--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cart-item__info { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; }
.cart-item__name { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.cart-item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item__meta { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.cart-item__side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.cart-item__price { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-item__rm { color: var(--muted); padding: 6px; transition: color var(--t-fast) linear; }
.cart-item__rm:hover { color: var(--red); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); width: max-content; margin-top: 6px; }
.qty__btn {
  width: 34px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) linear, color var(--t-fast) linear;
}
.qty__btn:hover { background: var(--ink); color: var(--paper); }
.qty__n { min-width: 34px; text-align: center; font-size: 13px; font-weight: 500; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em;
  padding: 14px 24px;
  transform: translate(-50%, calc(100% + 40px));
  transition: transform var(--t-med) var(--ease-out);
  pointer-events: none;
  max-width: min(90vw, 480px);
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- shop page ---------- */
.page-head { padding-block: var(--space-5) var(--space-3); }
.page-title { font-size: clamp(52px, 9vw, 120px); }
.page-title .thin { font-style: italic; font-weight: 400; color: var(--muted); }
.shop-meta { color: var(--muted); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-top: var(--space-1); }

.filters { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-bottom: var(--space-4); }
.chip {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  border: 1px solid var(--line);
  padding: 10px 18px; min-height: 44px;
  transition: background var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); padding-block: var(--space-4) var(--space-6); align-items: start; }

.pdp__gallery {
  position: sticky; top: calc(var(--header-h) + var(--space-2));
  display: grid; gap: var(--space-2);
}
.pdp__stage {
  position: relative;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: clip;
}
.pdp__stage svg { width: 46%; height: auto; aspect-ratio: 1; position: relative; z-index: 1; }
.page-in .pdp__stage svg { animation: float-in .8s var(--ease-out); }
.pdp__img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pdp__stage-sku, .pdp__stage-script { z-index: 3; }
.pdp__stage--light { background: var(--paper); color: var(--ink); }
.pdp__stage--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pdp__stage-sku {
  position: absolute; top: 16px; left: 18px;
  font-size: 10px; letter-spacing: .22em; font-weight: 500; opacity: .5;
}
.pdp__stage-script {
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; opacity: .55;
}

.pdp__crumb { margin-bottom: var(--space-3); }
.pdp__crumb .link-arrow svg { transform: scaleX(-1); }
.pdp__crumb .link-arrow:hover svg { transform: scaleX(-1) translateX(5px); }
.pdp__tag {
  margin-bottom: var(--space-2); display: inline-block;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  color: var(--red);
}
.pdp__title { font-size: clamp(40px, 5.5vw, 68px); margin-bottom: var(--space-2); }
.pdp__price { font-size: 16px; font-weight: 500; letter-spacing: .08em; margin-bottom: var(--space-3); font-variant-numeric: tabular-nums; }
.pdp__desc { color: var(--muted); max-width: 52ch; margin-bottom: var(--space-4); }

.pdp__label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  margin-bottom: var(--space-2); display: flex; justify-content: space-between; align-items: baseline;
}
.size-hint { color: var(--red); font-size: 12px; letter-spacing: .02em; text-transform: none; font-weight: 400; opacity: 0; transition: opacity var(--t-fast) linear; }
.size-hint.is-on { opacity: 1; }

.sizes { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-bottom: var(--space-4); }
.size {
  min-width: 54px; min-height: 48px; padding-inline: 14px;
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) linear, color var(--t-fast) linear, border-color var(--t-fast) linear;
}
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pdp__add { margin-bottom: var(--space-4); }
.pdp__add .btn { min-width: 280px; }
.btn.is-added { background: var(--paper); color: var(--ink); }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  padding: 18px 2px;
}
.acc__btn svg { transition: transform var(--t-med) var(--ease-out); flex: none; }
details[open] > summary svg { transform: rotate(45deg); }
.acc__panel { padding: 0 2px 20px; color: var(--muted); font-size: 14px; }
.acc__panel ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

.related { padding-bottom: var(--space-6); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5); padding-block: var(--space-4) var(--space-6); align-items: start; }

.co-block { margin-bottom: var(--space-4); }
.co-block__title {
  font-size: 28px; margin-bottom: var(--space-3);
  display: flex; align-items: center; gap: 14px;
}
.co-block__num {
  width: 32px; height: 32px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
}

.field { display: grid; gap: 8px; margin-bottom: var(--space-2); }
.field label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input {
  min-height: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color var(--t-fast) linear;
}
.field input:focus-visible { outline: none; border-color: var(--ink); }
.field input.is-invalid { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }

.radio-card {
  display: flex; align-items: center; gap: var(--space-2);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: var(--space-1);
  cursor: pointer;
  transition: border-color var(--t-fast) linear;
}
.radio-card:hover { border-color: var(--muted); }
.radio-card input { accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.radio-card.is-active { border-color: var(--ink); }
.radio-card__body { flex: 1; }
.radio-card__name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.radio-card__time { font-size: 12px; color: var(--muted); }
.radio-card__price { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }

.co-note { font-size: 12px; color: var(--muted); border: 1px dashed var(--line); padding: 12px 16px; margin-bottom: var(--space-2); }

.summary {
  border: 1px solid var(--ink);
  padding: var(--space-3);
  position: sticky; top: calc(var(--header-h) + var(--space-2));
  background: var(--paper);
}
.summary__title { font-size: 26px; margin-bottom: var(--space-2); }
.summary__item { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary__item-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.summary__thumb { width: 44px; height: 56px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.summary__item-name { font-family: var(--font-display); font-size: 17px; }
.summary__item-meta { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.summary__row { display: flex; justify-content: space-between; padding-top: var(--space-2); font-size: 13px; color: var(--muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 26px; padding-block: var(--space-2); font-variant-numeric: tabular-nums; }
.summary .btn { margin-top: var(--space-1); }
.co-error { color: var(--red); font-weight: 500; font-size: 13px; margin-top: var(--space-1); min-height: 1.5em; }

/* checkout success */
.co-success {
  min-height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--space-3);
  padding-block: var(--space-5);
}
.co-success__heart { width: 44px; height: 44px; color: var(--red); animation: stamp .6s var(--ease-out); }
.co-success__stamp {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5.5vw, 72px); line-height: 1.05;
  max-width: 18ch;
  animation: stamp .6s var(--ease-out);
}
.co-success__body { color: var(--muted); max-width: 44ch; }

/* ---------- reveals & keyframes ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].rv-in { opacity: 1; transform: none; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes item-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.25); } }

/* ---------- page transitions ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  transform: translateY(0);
  pointer-events: none;
}
.page-in .page-veil { transform: translateY(-101%); transition: transform .5s var(--ease-io); }
.page-out .page-veil { transform: translateY(0); transition: transform .3s var(--ease-io); pointer-events: all; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto__inner, .newsletter__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: var(--space-4); }
  .pdp__gallery { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 640px) {
  :root { --space-6: 80px; --space-5: 56px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; width: 44px; height: 44px; }
  .logo { font-size: 22px; gap: 9px; }
  .logo__mark { width: 28px; height: 18px; }
  .logo__img { height: 42px; }
  /* photo peeks through a stronger wash so text stays readable */
  .hero::after {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, .93) 0%,
      rgba(255, 255, 255, .82) 55%,
      rgba(255, 255, 255, .45) 100%);
  }
  .grid { grid-template-columns: 1fr 1fr; }
  .card { min-height: 260px; }
  .card__name { font-size: 15px; }
  .card__price { font-size: 11px; }
  .card__art svg { width: min(96px, 54%); }
  .hero__ctas .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; align-items: stretch; }
  .drawer { width: 100vw; border-left: 0; }
  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__track { animation: none; }
  .page-veil { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span, .hero__tagline > span { transform: none; }
}
