/* Pissed 'n' Broke Vintage — design-direction prototype */
:root {
  --ivory: #f6f4f0;
  --paper: #fdfcfa;
  --ink: #16130f;
  --ink-soft: #4f4a45;
  --ink-mute: #8b847c;
  --line: #e4dfd8;
  --line-strong: #cfc9c0;
  /* signature: the "promise" rose — used ONLY for policy/love-note moments */
  --rose: #a45c66;
  --rose-deep: #86444e;
  --rose-bg: #f7eeee;
  --bordeaux: var(--rose-deep);
  --bordeaux-deep: #16130f;
  --brass: #8b847c;
  --ready: #16130f;
  --ready-bg: #efede8;
  --sourced: #86444e;
  --sourced-bg: #f7eeee;
  --serif: "Baskervville", "Baskerville", Georgia, serif;
  --serif-body: "Libre Baskerville", "Baskerville", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- announcement ---------- */
.announce {
  background: var(--bordeaux-deep);
  color: #f3e9e3;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.announce strong { color: #d9a8ae; font-weight: 600; }

/* ---------- header ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.head-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0 10px;
}
.brand { flex-shrink: 0; }
.brand .mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 23px;
  letter-spacing: .01em;
  line-height: 1.05;
  display: block;
}
.brand .sub {
  font-size: 9px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 1px;
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--ink-mute);
  min-width: 0;
}
.search svg { flex-shrink: 0; }
.search input {
  border: none; background: none; outline: none;
  font: inherit; color: var(--ink); width: 100%;
}
.head-icons { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.head-icons a { display: flex; color: var(--ink-soft); }
nav.main {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 0 12px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
nav.main a { padding: 2px 0; border-bottom: 1px solid transparent; }
nav.main a:hover, nav.main a.on { color: var(--ink); border-color: var(--bordeaux); }
nav.main a.accent { color: var(--bordeaux); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 520px;
  background: var(--paper);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 8%;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--bordeaux); }
.hero p.lede { color: var(--ink-soft); max-width: 42ch; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: all .18s ease;
}
.btn.solid { background: var(--ink); color: var(--ivory); }
.btn.solid:hover { background: var(--bordeaux); }
.btn.ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-img .tag {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(253,252,250,.92);
  padding: 10px 16px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 20px;
}
.trust .t {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.trust .t b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; letter-spacing: .18em; }

/* ---------- sections ---------- */
section.block { padding: 70px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.01em;
}
.sec-head h2 em { font-style: italic; color: var(--bordeaux); }
.sec-head a.more {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  white-space: nowrap;
}
.sec-head a.more:hover { color: var(--bordeaux); border-color: var(--bordeaux); }

/* availability split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split .cell {
  position: relative; overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end;
}
.split .cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.split .cell:hover img { transform: scale(1.03); }
.split .cell .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,12,.62), rgba(20,16,12,.04) 55%); }
.split .cell .info { position: relative; padding: 28px; color: #f6f2ec; }
.split .cell .info .pill {
  display: inline-block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 12px; margin-bottom: 12px; backdrop-filter: blur(2px);
}
.pill.ready { background: rgba(238,241,234,.92); color: var(--ready); }
.pill.sourced { background: rgba(244,239,228,.92); color: var(--sourced); }
.split .cell h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 6px; }
.split .cell p { font-size: 13px; opacity: .85; max-width: 40ch; }

/* designer row */
.designers { display: flex; gap: 12px; flex-wrap: wrap; }
.designers a {
  font-family: var(--serif); font-size: 17px;
  border: 1px solid var(--line-strong);
  padding: 14px 26px;
  background: var(--paper);
  transition: all .15s ease;
}
.designers a:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.designers a span { color: var(--ink-mute); font-family: var(--sans); font-size: 11px; margin-left: 8px; }
.designers a:hover span { color: rgba(246,244,239,.7); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; }
.card .ph {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line);
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .ph img.alt {
  position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
}
.card:hover .ph img.alt { opacity: 1; }
.card .badge {
  position: absolute; left: 10px; top: 10px;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px;
}
.badge.ready { background: var(--ready-bg); color: var(--ready); }
.badge.sourced { background: var(--sourced-bg); color: var(--sourced); }
.card .fav {
  position: absolute; right: 10px; top: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(253,252,250,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: all .15s ease;
}
.card .fav:hover, .card .fav.faved { color: var(--bordeaux); }
.card .meta { padding: 12px 2px 0; }
.card .meta .des {
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.card .meta .ttl {
  font-family: var(--serif); font-size: 16.5px; font-weight: 400;
  line-height: 1.3; margin: 3px 0 2px;
}
.card .meta .sz { font-size: 12px; color: var(--ink-mute); }
.card .meta .pr { font-size: 14px; margin-top: 4px; font-weight: 500; }
.card .meta .pr span { font-size: 11px; color: var(--ink-mute); font-weight: 400; }

/* ---------- policy band ---------- */
.policy-band { background: var(--bordeaux-deep); color: #efe6de; }
.policy-band .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  padding: 70px 20px; align-items: center;
}
.policy-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 18px; }
.policy-band h2 em { font-style: italic; color: #d9a8ae; }
.policy-band p { color: rgba(239,230,222,.82); margin-bottom: 14px; max-width: 52ch; }
.policy-band ul { list-style: none; margin-top: 8px; }
.policy-band li {
  padding: 13px 0; border-top: 1px solid rgba(239,230,222,.18);
  display: flex; gap: 14px; font-size: 14px; align-items: baseline;
}
.policy-band li:last-child { border-bottom: 1px solid rgba(239,230,222,.18); }
.policy-band li b { color: #d9a8ae; font-weight: 600; white-space: nowrap; }
.policy-band .img-side { position: relative; }
.policy-band .img-side img { width: 100%; height: 460px; object-fit: cover; }
.policy-band .img-side .cap {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(20,14,12,.72); color: #efe6de;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px;
}

/* ---------- IG band ---------- */
.ig-band { text-align: center; }
.ig-band .handle { font-family: var(--serif); font-size: 24px; margin-bottom: 6px; }
.ig-band .handle em { font-style: italic; color: var(--bordeaux); }
.ig-band p { color: var(--ink-mute); font-size: 13px; margin-bottom: 26px; }
.ig-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ig-row a { overflow: hidden; aspect-ratio: 1; }
.ig-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-row a:hover img { transform: scale(1.06); }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink); color: #b7ada3;
  margin-top: 40px;
}
footer.site .wrap {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 60px 20px 30px;
}
footer.site .fbrand { font-family: var(--serif); font-style: italic; color: var(--ivory); font-size: 20px; margin-bottom: 10px; }
footer.site p { font-size: 13px; max-width: 34ch; }
footer.site h4 {
  color: var(--ivory); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; font-size: 13.5px; }
footer.site a:hover { color: var(--ivory); }
footer.site .legal {
  border-top: 1px solid rgba(183,173,163,.2);
  padding: 18px 20px; font-size: 11.5px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- collection page ---------- */
.coll-head { padding: 44px 0 8px; }
.coll-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); }
.coll-head h1 em { font-style: italic; color: var(--bordeaux); }
.coll-head p { color: var(--ink-mute); margin-top: 6px; max-width: 60ch; }
.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 22px 0; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.chip {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12.5px;
  letter-spacing: .04em;
  transition: all .14s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip.on.ready-chip { background: var(--ready); border-color: var(--ready); }
.chip.on.sourced-chip { background: var(--sourced); border-color: var(--sourced); }
.toolbar .sep { width: 1px; height: 22px; background: var(--line-strong); margin: 0 6px; }
.toolbar .count { margin-left: auto; font-size: 12px; color: var(--ink-mute); letter-spacing: .06em; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; padding: 44px 0 70px; }
.pdp-gallery .main-img {
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
}
.pdp-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button {
  width: 72px; height: 88px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper); padding: 0;
  opacity: .75;
}
.thumbs button.on { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding-top: 6px; }
.crumb { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 22px; }
.crumb a:hover { color: var(--bordeaux); }
/* VSP-spec stack: brand bold → description → size → price */
.pdp-info .des { font-size: 15px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.pdp-info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 8px 0 14px; }
.pdp-info .desc { color: var(--ink-soft); max-width: 54ch; margin-bottom: 18px; }
.pdp-info .sz { font-size: 14px; margin-bottom: 6px; }
.pdp-info .sz b { font-weight: 600; }
.pdp-info .pr { font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.pdp-info .pr span { font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.pdp-info .bnpl { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 22px; }
.pdp-info .bnpl b { color: var(--ink-soft); }

.ship-note {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--bordeaux);
  background: var(--paper);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.ship-note .nb {
  display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 4px 10px; margin-bottom: 10px;
}
.ship-note h5 { font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; color: var(--rose-deep); }
.ship-note p { font-size: 13px; color: var(--ink-soft); }
.ship-note p + p { margin-top: 8px; }
.ship-note .final { color: var(--bordeaux); font-weight: 500; }

.buy-row { display: flex; gap: 12px; margin-bottom: 26px; }
.buy-row .btn.solid { flex: 1; justify-content: center; padding: 17px; }
.buy-row .fav-lg {
  width: 52px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: all .15s ease;
}
.buy-row .fav-lg:hover, .buy-row .fav-lg.faved { color: var(--bordeaux); border-color: var(--bordeaux); }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  padding: 16px 2px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.acc summary::after { content: "+"; font-size: 17px; color: var(--ink-mute); }
.acc details[open] summary::after { content: "–"; }
.acc .body { padding: 0 2px 18px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- checkout modal ---------- */
.modal-veil {
  position: fixed; inset: 0; background: rgba(23,20,18,.55);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-veil.open { display: flex; }
.modal {
  background: var(--paper); max-width: 520px; width: 100%;
  max-height: 92vh; overflow: auto;
  padding: 34px 34px 28px;
  position: relative;
}
.modal .m-eyebrow { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.modal h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 20px; }
.modal .line-item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.modal .line-item img { width: 62px; height: 76px; object-fit: cover; }
.modal .line-item .li-t { font-size: 13.5px; line-height: 1.4; }
.modal .line-item .li-t b { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.modal .line-item .li-p { margin-left: auto; font-weight: 500; }
.policy-summary {
  background: var(--ivory); border: 1px solid var(--line-strong);
  padding: 16px 18px; font-size: 12.5px; color: var(--ink-soft);
  margin-bottom: 16px;
}
.policy-summary h6 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.policy-summary li { margin-left: 16px; margin-bottom: 5px; }
.tick {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--rose);
  background: var(--rose-bg); margin-bottom: 18px;
}
.tick input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--bordeaux); flex-shrink: 0; }
.tick label { font-size: 13px; line-height: 1.5; cursor: pointer; }
.tick label b { color: var(--bordeaux); }
.modal .btn.solid { width: 100%; justify-content: center; padding: 16px; }
.modal .btn.solid:disabled { background: var(--line-strong); color: var(--paper); cursor: not-allowed; }
.modal .m-close {
  position: absolute; top: 12px; right: 14px;
  font-size: 15px; color: var(--ink-mute); padding: 6px;
}
.modal .m-close:hover { color: var(--ink); }
.modal .demo-note { font-size: 11px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* ---------- prototype ribbon ---------- */
.proto-pill {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  background: var(--ink); color: var(--ivory);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; opacity: .85;
}

/* ---------- serif body copy (sororité reference: prose reads like print) ---------- */
.hero p.lede,
.split .cell p,
.coll-head p,
.pdp-info .desc,
.pdp-info .sz,
.ship-note p,
.acc .body,
.policy-band p,
.policy-band li span,
.ig-band p,
.trust .t,
.tick label,
.policy-summary,
footer.site p {
  font-family: var(--serif-body);
  letter-spacing: .01em;
}
.hero p.lede { font-size: 14.5px; line-height: 1.75; }
.split .cell p { font-size: 12.5px; }
.pdp-info .desc { font-size: 14px; line-height: 1.8; }
.ship-note p, .acc .body { font-size: 12.5px; line-height: 1.75; }
.policy-band p, .policy-band li span { font-size: 13px; line-height: 1.75; }
.trust .t { text-transform: none; letter-spacing: .02em; font-size: 12.5px; font-style: italic; }
.trust .t b { font-family: var(--sans); font-style: normal; }
.card .meta .pr, .pdp-info .pr, .modal .line-item .li-p {
  font-family: var(--serif-body);
  letter-spacing: .04em;
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .policy-band .wrap { grid-template-columns: 1fr; }
  .policy-band .img-side img { height: 320px; }
}
@media (max-width: 700px) {
  .announce { font-size: 10px; letter-spacing: .1em; padding: 7px 12px; }
  .announce .hide-m { display: none; }
  .head-row { flex-wrap: wrap; gap: 10px 14px; padding-bottom: 8px; }
  .search { order: 3; flex-basis: 100%; padding: 8px 16px; }
  nav.main { gap: 8px 16px; font-size: 10.5px; padding-bottom: 10px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 22px; order: 2; }
  .hero-img { min-height: 380px; order: 1; }
  .trust .wrap { grid-template-columns: 1fr; gap: 10px; padding: 16px 20px; }
  .split { grid-template-columns: 1fr; }
  .grid, .grid.cols3 { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .card .badge { font-size: 8px; letter-spacing: .08em; padding: 4px 8px; }
  .ig-row { grid-template-columns: repeat(3, 1fr); }
  .ig-row a:nth-child(n+7) { display: none; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
  section.block { padding: 46px 0; }
}
