/* MRMIDZ site A0 v8: shared styles for index.html, privacy.html and 404.html. cache-bust v8 */
:root {
  --ink: #111316;
  --teal: #33A3C4;   /* non-text accents only: 2.9:1 on white */
  --aqua: #5BCDDE;   /* non-text accents only */
  --paper: #ffffff;
  --rule: #111316;
  --muted: #4a4f57;  /* 8:1 on white */
  --err: #a3231b;    /* 6.6:1 on white */
  --cond: "Avenir Next Condensed", "Helvetica Neue", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.cond { font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.nowrap { white-space: nowrap; }

/* Geometric accents (from the IG profile pattern). Rules and margins only, never behind products. */
.chev, .chev.rev { display: none; }
.mark { display: inline-block; width: 15px; height: 15px; margin-right: 10px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Cpath fill='%2333A3C4' d='M2 0h1v1h-1zM1 1h3v1h-3zM0 2h5v1h-5zM1 3h3v1h-3zM2 4h1v1h-1z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.ornament { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 200px; height: auto; pointer-events: none; }
@media (max-width: 959px) { .ornament { display: none; } }

/* Header */
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { display: block; height: 30px; width: auto; }
nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 17px; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--teal); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 19px; cursor: pointer; transition: background-color .15s ease-out; }
.btn:hover { background: #2a2e34; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: #f2f3f4; }

/* Section heads */
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 36px 0 16px; }
.head h2 { margin: 0; font-size: 34px; line-height: 1; display: inline-flex; align-items: center; }
.head h2 .mark { flex: 0 0 auto; }
.head a { font-size: 15px; }

/* Footer */
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 28px; }
footer img { height: 20px; width: auto; display: block; }
footer ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Homepage ---------- */
.hero { position: relative; padding: 64px 0 48px; }
.hero .wrap { position: relative; }
.hero h1 { margin: 0; font-size: clamp(40px, 10.5vw, 100px); line-height: .92; max-width: min(22ch, 100%); }

/* Headline: desktop = Great finds. / Down-to-earth prices. together; mobile natural wrap */
br.only-desk { display: none; }
.hero h1 .price-line, .hero-head h1 .price-line { white-space: normal; }
.hero h1 .de, .hero-head h1 .de { white-space: nowrap; }
@media (min-width: 720px) {
  br.only-desk { display: block; }
  .hero h1 .price-line, .hero-head h1 .price-line { white-space: nowrap; }
}
@media (max-width: 719px) {
  .hero h1, .hero-head h1 { font-size: clamp(36px, 9.2vw, 52px); overflow-wrap: normal; word-break: normal; }
}

.hero p, .hero .lede { margin: 22px 0 0; max-width: min(48ch, 100%); font-size: 19px; color: var(--muted); text-wrap: pretty; }
@supports (text-wrap: balance) {
  .hero .lede { text-wrap: balance; }
}
.hero .hero-shop { margin: 20px 0 0; font-size: 16px; }
.hero .hero-shop a { text-decoration: underline; text-underline-offset: 3px; }
.hero.home-signup .home-signup-form { margin-top: 26px; }
.hero.home-signup .fine { margin-top: 12px; }
.hero.home-signup .done { margin-top: 18px; }
.hero .btn { margin-top: 26px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; list-style: none; margin: 0 0 56px; padding: 0; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; } }
.item a { display: block; text-decoration: none; }
.item .ph { aspect-ratio: 1 / 1; background: #f2f3f4; overflow: hidden; }
.item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease-out; }
.item a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .item img, .btn { transition: none; } }
.item .t { margin: 10px 0 2px; font-size: 15px; line-height: 1.3; }
.item .meta { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--rule); padding-top: 6px; margin-top: 8px; }
.item .price { font-size: 20px; }
.item .size { font-size: 14px; color: var(--muted); align-self: center; }
.item .sold .price { text-decoration: line-through; }
.item .out { font-size: 13px; color: var(--muted); }

.empty { border: 2px solid var(--ink); padding: 24px; margin: 0 0 48px; max-width: 640px; }
.empty h3 { margin: 0 0 8px; font-size: 24px; }
.empty p { margin: 0 0 8px; }

.about .trust { margin: 0; padding-bottom: 48px; max-width: min(72ch, 100%); font-size: 18px; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) {
  .about .trust { max-width: min(78ch, 100%); }
}

.home-signup { padding-bottom: 8px; }
.home-signup .trust { margin: 0 0 18px; }
.home-signup-form label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.home-signup-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.home-signup-row input { flex: 1 1 240px; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; font: inherit; font-size: 17px; background: var(--paper); color: var(--ink); }
.home-signup-row input[aria-invalid="true"] { border-color: var(--err); }
.home-signup .error { min-height: 22px; margin: 6px 0 0; font-size: 14px; color: var(--err); }
.home-signup .fine { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 48ch; }
.home-signup .social-links { margin: 20px 0 40px; font-size: 16px; }
.home-signup .social-links a { text-decoration: underline; text-underline-offset: 3px; }
.home-signup .done { margin-top: 8px; border-left: 4px solid var(--teal); padding: 4px 0 4px 18px; max-width: 40ch; }
.home-signup .done h2 { margin: 0 0 6px; font-size: 28px; line-height: 1; }
.home-signup .done p { margin: 0; font-size: 16px; color: var(--muted); }
.teaser { }
.teaser .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px 0 40px; }
.teaser h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; max-width: 24ch; }

/* ---------- Signup ---------- */
.signup { position: relative; }
.signup .wrap { position: relative; padding: 72px 0 88px; }
.signup .col { max-width: 560px; }
.signup h1 { margin: 0; font-size: clamp(40px, 5.6vw, 72px); line-height: .95; }
.signup .lede { margin: 20px 0 32px; font-size: 19px; color: var(--muted); max-width: 40ch; }
.signup form { display: flex; flex-wrap: wrap; gap: 8px; }
.signup label { width: 100%; font-size: 15px; font-weight: 600; }
.signup input { flex: 1 1 260px; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; font: inherit; font-size: 17px; background: var(--paper); color: var(--ink); }
.signup input[aria-invalid="true"] { border-color: var(--err); }
.signup .btn { min-height: 52px; }
.signup .error { width: 100%; margin: 2px 0 0; min-height: 22px; font-size: 14px; color: var(--err); }
.signup .fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 48ch; }
.signup .flag { display: inline-block; margin-top: 18px; padding: 4px 8px; font-size: 12.5px; color: var(--muted); background: #f5f6f7; }
.signup .back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 28px; font-size: 15px; }
.done { border-left: 4px solid var(--teal); padding: 4px 0 4px 18px; }
.done h2 { margin: 0 0 6px; font-size: 30px; line-height: 1; }
.done p { margin: 0 0 14px; font-size: 17px; }
.done .btn { font-size: 16px; min-height: 44px; }
[hidden] { display: none !important; }

@media (max-width: 560px) {
  header.site .wrap { flex-wrap: wrap; padding: 12px 0 4px; min-height: 0; }
  nav { width: 100%; }
  nav ul { margin-left: -12px; }
  nav a { font-size: 16px; }
  .hero { padding: 40px 0 36px; }
  .hero p { font-size: 17px; }
  .head h2 { font-size: 28px; }
  .teaser .btn { width: 100%; }
  .signup .wrap { padding: 44px 0 56px; }
  .signup .btn { width: 100%; }
}

.page-404 { padding: 72px 0 96px; }
.page-404 h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: .95; }
.page-404 p { margin: 18px 0 0; max-width: 40ch; font-size: 18px; color: var(--muted); }
.page-404-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px !important; }

.signup-soon { margin-top: 26px; max-width: 560px; padding: 18px 18px 16px; border: 2px solid var(--ink); background: #fafafa; }
.signup-soon .label { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.signup-soon .soon { margin: 0; font-size: 22px; line-height: 1.2; }
.signup-soon .hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Home layout (v8): full-width headline, two-col About | signup ---------- */
.hero-head { padding: 64px 0 48px; } /* ~2x prior bottom gap (was 12px) */
.hero-head h1 {
  margin: 0;
  font-size: clamp(40px, 10.5vw, 100px);
  line-height: .92;
  max-width: none;
}
.split { padding: 0 0 24px; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.cell-about .trust {
  max-width: none;
  padding-bottom: 24px;
}
.col-aside { position: relative; }
.aside-panel { position: relative; }
.aside-motif {
  position: absolute;
  right: -6%;
  top: 42%;
  transform: translateY(-50%);
  width: min(220px, 58%);
  height: auto;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.aside-panel .signup-soon {
  position: relative;
  z-index: 1;
  margin-top: 0;
  max-width: none;
  background: rgba(255,255,255,.92);
}
@media (min-width: 900px) {
  .split-grid {
    /* Widen About so trust copy fits 2 lines at 1440; keep 96px gutter */
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
    grid-template-areas: "about signup";
    column-gap: 96px;
    row-gap: 0;
  }
  .cell-about .trust {
    max-width: none; /* use full left column */
    font-size: 18px;
  }
  .cell-signup { grid-area: signup; align-self: start; }
  .cell-about { grid-area: about; }
}
@media (max-width: 899px) {
  .hero-head { padding: 40px 0 36px; }
  .aside-motif { display: none; }
  /* DOM order: signup then About */
}

/* Footer privacy + social cluster — VISIBLE ink gaps ~18px */
footer .footer-right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
footer .footer-privacy {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
footer .footer-privacy:hover,
footer .footer-privacy[aria-current="page"] { color: var(--ink); }
footer .footer-right ul.social {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 18px !important; /* ink-to-ink once logos have no empty box padding */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
footer .footer-right .social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Depop wordmark via mask; box sized to artwork aspect (1295/333 ≈ 3.89) at 18px tall */
footer .footer-right .social-link-depop {
  position: relative;
  width: 70px !important; /* 18 * 1295/333 ≈ 70 */
  min-width: 70px !important;
  padding: 0 !important;
}
footer .footer-right .social-link-depop::before {
  content: "";
  display: block;
  width: 70px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("depop-logo.svg") no-repeat center / contain;
  mask: url("depop-logo.svg") no-repeat center / contain;
}
footer .footer-right .social-link-depop img { display: none !important; }
footer .footer-right .social-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* Privacy / legal page */
.legal { padding: 48px 0 64px; }
.legal h1 { margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: .95; }
.legal .legal-lede { margin: 16px 0 32px; max-width: 48ch; font-size: 18px; color: var(--muted); }
.legal h2 { margin: 28px 0 8px; font-size: 18px; letter-spacing: .04em; }
.legal p { margin: 0 0 8px; max-width: 58ch; font-size: 17px; color: var(--ink); line-height: 1.55; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-back { margin-top: 36px; }
@media (max-width: 560px) {
  .legal { padding: 36px 0 48px; }
}
