/* Ordinance storefront. White paper, black ink, and one red: brand Oxblood, used sparingly. */

@font-face {
  font-family: 'Grenze Gotisch';
  src: url('../fonts/GrenzeGotisch.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #2E2E2E;
  --mute: #6B6B6B;
  --hair: #E3E3E1;
  --tile: #F3F3F1;
  --night: #010101; /* the jewelry photographs are shot on this black, so they melt into it */
  --night-mute: #8F8F8F;
  --night-hair: rgba(255, 255, 255, 0.14);
  --oxblood: #96181F;
  --oxblood-lit: #C42A33; /* oxblood is too dark to read on black */
  --pad: clamp(16px, 4vw, 56px);
  --display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --label: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gothic: 'Grenze Gotisch', serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --head-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--display);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 5px; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px; top: -60px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { top: 12px; }

.noscript { text-align: center; padding: 120px 16px; color: var(--mute); }

/* tracked caps: every label, button and product name */
.label, .topbar, .masthead__menu, .masthead__bag, .eyebrow, .piece__name, .button, .bag__close,
.menu__close, .sizes legend, .pdp__details summary, .pdp__line-name, .care h3, .footer h3,
.footer__base, .footer__tag, .ai-tag, .pending span, .bag-line__name, .bag__total span:first-child, .pdp__kind,
.legal h2, .legal__date, .legal__table th {
  font-family: var(--label);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* the house numerals and the one red mark */
.numeral {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--oxblood);
}
.lozenge {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--oxblood);
  transform: rotate(45deg);
}

/* ---- top bar and header ---- */
.topbar {
  margin: 0;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  text-align: center;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--head-h);
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--hair);
}

.masthead__menu,
.masthead__bag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.masthead__menu { justify-self: start; }
.masthead__bag { justify-self: end; gap: 8px; }

.burger { position: relative; display: block; width: 22px; height: 7px; }
.burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.burger::before { top: 0; }
.burger::after { bottom: 0; }
.masthead__menu:hover .burger::after { transform: scaleX(0.6); transform-origin: left; }

.wordmark {
  font: 800 clamp(24px, 2.3vw, 30px)/1 var(--gothic);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.masthead__count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  font-size: 10px;
  letter-spacing: 0;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.masthead__count.is-full { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }

@media (max-width: 520px) {
  .masthead__label { display: none; }
  .wordmark { font-size: 24px; }
}

/* ---- drawers ---- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(10, 10, 10, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
body.menu-open .scrim,
body.bag-open .scrim { opacity: 1; pointer-events: auto; }

.menu,
.bag {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-y: auto;
  transition: transform 0.45s var(--ease);
}

.menu {
  left: 0;
  width: min(440px, 90vw);
  padding: 14px var(--pad) 32px;
  transform: translateX(-100%);
}
body.menu-open .menu { transform: none; }

.menu__close,
.bag__close {
  align-self: flex-start;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.menu__list { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: menu; }
.menu__list li { border-bottom: 1px solid var(--hair); }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  color: var(--ink);
  font: 400 30px/1.15 var(--display);
  text-decoration: none;
  transition: padding-left 0.35s var(--ease);
}
.menu__list a::before {
  counter-increment: menu;
  content: counter(menu, upper-roman);
  min-width: 26px;
  color: var(--oxblood);
  font-size: 15px;
  font-style: italic;
}
.menu__list a:hover { padding-left: 6px; }
.menu__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 18px; justify-items: start; color: var(--mute); }
.menu__foot img { width: 44px; height: auto; }

.bag {
  right: 0;
  width: min(460px, 100vw);
  transform: translateX(100%);
}
body.bag-open .bag { transform: none; }

.bag__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--ink);
}
.bag__head h2 { margin: 0; font: 400 30px/1 var(--display); }
.bag__close { align-self: center; }
.bag__items { flex: 1; padding: 8px var(--pad); }
.bag__empty { color: var(--mute); margin: 32px 0 22px; font-style: italic; }
.bag-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}
.bag-line img, .bag-line__blank { width: 84px; height: 84px; object-fit: contain; background: var(--tile); display: block; }
.bag-line--night img { background: var(--night); object-fit: cover; }
.bag-line__name { text-decoration: none; }
.bag-line__name:hover { text-decoration: underline; }
.bag-line__meta { margin: 4px 0 12px; color: var(--mute); font-size: 15px; font-style: italic; }
.bag-line__price { margin: 0; font-size: 15px; line-height: 1.2; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); }
.qty button {
  width: 34px; height: 34px;
  background: none; border: 0;
  color: var(--ink);
  font: 400 16px/1 var(--label);
  cursor: pointer;
}
.qty button:hover { background: var(--tile); }
.qty span { min-width: 22px; text-align: center; font: 400 14px/1 var(--label); }
.bag__foot { padding: 22px var(--pad) 30px; border-top: 1px solid var(--ink); }
.bag__foot .button { width: 100%; }
.bag__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; }
.bag__total span:last-child { font-size: 20px; line-height: 1; }
.bag__note { margin: 0 0 20px; color: var(--mute); font-size: 15px; }
.bag__foot .bag__note:last-child { margin: 12px 0 0; }
.bag__note.is-error { color: var(--oxblood); }

/* ---- buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 36px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.button:hover { background: var(--oxblood); border-color: var(--oxblood); }
.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button:disabled { background: transparent; color: var(--mute); border-color: var(--hair); cursor: not-allowed; }

/* ---- hero: the emblem pulled like a print from an engraved plate ---- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--head-h) - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vh, 48px);
  padding: clamp(48px, 8vh, 96px) 16px clamp(44px, 7vh, 88px);
  text-align: center;
}
.hero__plate {
  position: absolute;
  inset: clamp(10px, 1.6vw, 24px);
  border: 1px solid var(--ink);
  pointer-events: none;
  animation: plate 1.6s var(--ease) both;
}
.hero__plate::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
  opacity: 0.35;
}
.hero__emblem {
  display: block;
  width: auto;
  height: min(54svh, 560px);
  aspect-ratio: 1585 / 2748;
  overflow: visible;
  animation: press 2s cubic-bezier(0.65, 0, 0.25, 1) 0.25s both;
}
/* the living eye: the lid is drawn in the emblem's own ink */
.eye__skin { fill: var(--paper); }
.eye__hatch { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 46 7 18 6 30 9; }
.eye__water { fill: none; stroke: var(--ink); stroke-width: 3; }
.eye__edge { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; }
.eye__lashes { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.hero__lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  animation: rise 1.2s var(--ease) 1.6s both;
}
.hero__lines a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font: italic 400 clamp(21px, 2vw, 26px)/1.2 var(--display);
  text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.45s var(--ease);
}
.hero__lines a:hover { background-size: 100% 1px; }
.hero__lines .numeral { font-size: 0.62em; }
@media (max-width: 520px) {
  .hero__lines { flex-direction: column; gap: 14px; }
}

@keyframes press {
  from { clip-path: inset(0 0 100% 0); opacity: 0.2; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes plate {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---- section heads: numeral, title, a line of copy ---- */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 19em);
  align-items: end;
  gap: 14px 48px;
  max-width: 1480px;
  margin: 0 auto;
  padding-bottom: clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--ink);
}
.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
}
.eyebrow .numeral { font-size: 17px; }
.section-title {
  margin: 0;
  font: 400 clamp(46px, 6.6vw, 104px)/0.92 var(--display);
  letter-spacing: -0.025em;
}
.section-sub {
  margin: 0;
  color: var(--mute);
  font-size: 16px;
  font-style: italic;
  text-align: right;
}
@media (max-width: 760px) {
  .head { grid-template-columns: 1fr; }
  .section-sub { text-align: left; }
}

/* ---- collections ---- */
.collection { padding: clamp(80px, 10vw, 150px) var(--pad); }

.collection--night {
  background: var(--night);
  color: var(--paper);
}
.collection--night .head { border-color: var(--night-hair); }
.collection--night .section-sub { color: var(--night-mute); }
.collection--night .numeral { color: var(--oxblood-lit); }

.grid {
  display: grid;
  gap: clamp(44px, 5vw, 76px) clamp(12px, 1.6vw, 24px);
  max-width: 1480px;
  margin: clamp(40px, 5vw, 72px) auto 0;
}
.grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* jewelry sits below the tees, in smaller tiles */
.grid--jewelry { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1180px; gap: clamp(32px, 4vw, 56px) clamp(10px, 1.4vw, 20px); }
@media (max-width: 960px) {
  .grid--four, .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--jewelry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--jewelry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--three > :first-child { grid-column: 1 / -1; }
}

.piece {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.piece__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tile);
  transition: background-color 0.5s ease;
}
.collection--night .piece__frame { background: var(--night); }
.collection--night .piece__main,
.pdp__shot--night img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}
.piece__main,
.piece__alt {
  position: absolute;
  display: block;
  transition: opacity 0.5s ease, transform 1s var(--ease);
}
.piece__main { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece--tee .piece__main { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece__alt { inset: 15%; width: 70%; height: 70%; object-fit: contain; opacity: 0; }
.piece__alt--side { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* jewelry pieces sit smaller in their frame, like a real product shot */
.collection--jewelry .piece__main, .pdp__shot--night img { transform: scale(0.84); }
@media (hover: hover) {
  /* tees turn over: the side with the print first, then the other side */
  .piece--tee:hover .piece__main { opacity: 0; }
  .piece--tee:hover .piece__alt { opacity: 1; }
  .collection--night .piece:hover .piece__main { transform: scale(0.88); }
}

.piece__info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  margin-top: 18px;
}
.piece__price, .bag-line__price, .bag__total span:last-child, .pdp__price {
  font-family: var(--label);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.piece__price { font-size: 14px; line-height: 1.5; }
.piece__kind {
  grid-column: 1 / -1;
  color: var(--mute);
  font-size: 15px;
  font-style: italic;
  line-height: 1.3;
}
.collection--night .piece__kind { color: var(--night-mute); }
.piece:hover .piece__name { text-decoration: underline; text-decoration-color: var(--oxblood); text-underline-offset: 5px; }
.collection--night .piece:hover .piece__name { text-decoration-color: var(--oxblood-lit); }


/* a piece whose photograph is not made yet */
.pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: var(--tile);
  color: var(--mute);
}
.collection--night .pending { background: #0E0E0E; color: var(--night-mute); }
.pending span { padding: 0 12px; text-align: center; }
.pending img { width: 24px; height: auto; opacity: 0.5; }
.collection--night .pending img { filter: invert(1); }
@media (max-width: 560px) { .piece__frame .pending span { font-size: 9.5px; letter-spacing: 0.14em; } }

/* ---- banner: the cast wearing the tees ---- */
.banner { padding: 0; background: var(--ink); }
.banner__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 2px;
}
.banner__shot { position: relative; margin: 0; overflow: hidden; }
.banner__shot img { display: block; width: 100%; height: min(78vh, 720px); object-fit: cover; }
.banner__track:has(> :only-child) .banner__shot img { height: auto; max-height: 82vh; }
.banner__shot figcaption {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--paper);
  font-size: 15px;
  font-style: italic;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.banner__shot .ai-tag { color: var(--paper); border-color: rgba(255, 255, 255, 0.4); }
.ai-tag {
  flex: none;
  padding: 4px 7px 3px;
  border: 1px solid var(--hair);
  color: var(--mute);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .banner__track { grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .banner__track::-webkit-scrollbar { display: none; }
  .banner__track:has(> :only-child) { grid-auto-columns: 100%; }
  .banner__shot { scroll-snap-align: start; }
  .banner__shot img { height: 62vh; }
}

/* ---- about ---- */
.about {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) 20px;
  text-align: center;
}
.about img { width: 64px; height: auto; margin-bottom: 36px; }
.about p:first-of-type {
  margin: 0 auto 26px;
  font: 400 clamp(25px, 2.7vw, 34px)/1.35 var(--display);
  letter-spacing: -0.01em;
}
.about p { margin: 0 auto; max-width: 32em; color: var(--mute); font-size: 17px; }
.about p:first-of-type { color: var(--ink); font-size: clamp(25px, 2.7vw, 34px); }
.about p:last-of-type::after {
  content: '';
  display: block;
  width: 7px; height: 7px;
  margin: 44px auto 0;
  background: var(--oxblood);
  transform: rotate(45deg);
}

/* ---- shipping and care ---- */
.care { padding: 0 var(--pad) clamp(72px, 8vw, 110px); }
.care__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px clamp(24px, 3vw, 48px);
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid var(--ink);
}
.care h3 { margin: 0 0 12px; }
.care p { margin: 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 900px) { .care__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .care__cols { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 96px) var(--pad) 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px clamp(32px, 6vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
}
.footer__brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer__brand img { width: 46px; height: auto; }
.footer__word {
  margin: 0;
  font: 800 clamp(54px, 10vw, 150px)/0.9 var(--gothic);
}
.footer__tag { margin: 0; color: var(--night-mute); font-weight: 600; letter-spacing: 0.32em; }
.footer__cols { display: flex; gap: clamp(36px, 5vw, 80px); }
.footer h3 { margin: 0 0 18px; color: var(--night-mute); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 17px; text-decoration: none; }
.footer ul a:hover { text-decoration: underline; text-decoration-color: var(--oxblood-lit); }
.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  max-width: 1480px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--night-hair);
  color: var(--night-mute);
  font-size: 10px;
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---- email list, at the top of the footer ---- */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30em);
  align-items: end;
  gap: 18px clamp(32px, 6vw, 96px);
  max-width: 1480px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--night-hair);
}
.signup__title { margin: 0 0 10px; color: var(--night-mute); }
.signup__text p { margin: 0; font: italic 400 clamp(20px, 2.4vw, 28px)/1.3 var(--display); }
.signup__row { display: flex; gap: 10px; }
.signup__row input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--night-hair);
  background: transparent;
  color: var(--paper);
  font: 400 16px/1 var(--display);
  border-radius: 0;
}
.signup__row input[type="email"]::placeholder { color: var(--night-mute); }
.signup__row input[type="email"]:focus { outline: none; border-color: var(--paper); }
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.button--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
.signup__note { grid-column: 2; min-height: 1.2em; margin: 0; color: var(--night-mute); font-size: 14px; }
.signup__fine { grid-column: 2; margin: -10px 0 0; color: var(--night-mute); font-size: 13px; font-style: italic; }
.signup__fine a { text-decoration-color: var(--oxblood-lit); }
.signup__fine a:hover { color: var(--paper); }
@media (max-width: 760px) {
  .signup { grid-template-columns: 1fr; }
  .signup__note, .signup__fine { grid-column: 1; }
}

/* ---- privacy and other long-form pages ---- */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) clamp(80px, 10vw, 140px); }
.legal__head { margin-bottom: 44px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.legal__head .eyebrow { margin-bottom: 18px; }
.legal__head h1 { margin: 0 0 18px; font: 400 clamp(48px, 7vw, 92px)/0.95 var(--display); letter-spacing: -0.025em; }
.legal__lead { margin: 0; max-width: 34em; color: var(--ink-soft); font-size: 19px; font-style: italic; }
.legal__date { margin: 20px 0 0; color: var(--mute); }
.legal__promise {
  margin: 0 0 48px;
  padding: 22px 24px;
  border-left: 2px solid var(--oxblood);
  background: var(--tile);
  font-size: 17px;
}
.legal__promise p { margin: 0; }
.legal__promise p + p { margin-top: 10px; }
.legal section { padding: 36px 0; border-top: 1px solid var(--hair); }
.legal section:first-of-type { border-top: 0; padding-top: 0; }
.legal h2 { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.legal h2 .numeral { font-size: 15px; letter-spacing: 0; text-transform: none; }
.legal section p, .legal section li { color: var(--ink-soft); font-size: 17px; }
.legal section p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--oxblood); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__table { width: 100%; margin: 6px 0 18px; border-collapse: collapse; font-size: 15.5px; }
.legal__table th { padding: 0 12px 10px 0; text-align: left; vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.legal__table td { padding: 14px 12px 14px 0; vertical-align: top; border-bottom: 1px solid var(--hair); color: var(--ink-soft); }
.legal__table td:first-child { color: var(--ink); width: 34%; }
@media (max-width: 600px) {
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; width: 100%; }
  .legal__table thead { display: none; }
  .legal__table tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .legal__table td { padding: 0; border: 0; }
  .legal__table td:first-child { width: 100%; margin-bottom: 4px; font-weight: 600; }
}

/* ---- product page ---- */
.pdp-main { padding-top: clamp(20px, 3vw, 40px); min-height: 70vh; }
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.pdp__gallery { display: grid; gap: 12px; align-content: start; }
.pdp__shot { position: relative; margin: 0; background: var(--tile); }
.pdp__shot--night, .pdp__shot--print { background: var(--night); }
.pdp__shot:has(.pending) { aspect-ratio: 1 / 1; }
.pdp__shot img { display: block; width: 100%; height: auto; }
.pdp__shot--print { padding: 10% 14% 0; }
.pdp__shot--print img { max-height: 78vh; object-fit: contain; }
.pdp__shot--look { background: none; }
.pdp__shot--look img { filter: grayscale(1) contrast(1.06); }
.pdp__shot figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  color: var(--mute);
  font-size: 15px;
  font-style: italic;
}
.pdp__shot--print figcaption { justify-content: center; padding: 22px 0 24px; color: var(--night-mute); }

.pdp__info { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; padding: 8px 0 40px; }
.pdp__line-name { margin: 0 0 22px; color: var(--mute); }
.pdp__line-name a { text-decoration: none; }
.pdp__line-name a:hover { color: var(--ink); }
.pdp__name { margin: 0 0 20px; font: 400 clamp(52px, 5.6vw, 92px)/0.92 var(--display); letter-spacing: -0.025em; }
.pdp__price { display: flex; align-items: baseline; gap: 16px; margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--hair); font-size: 20px; line-height: 1; }
.pdp__kind { color: var(--mute); }
.pdp__desc { margin: 0; max-width: 32em; color: var(--ink-soft); font-size: 18px; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; padding: 0; border: 0; }
.sizes legend { margin-bottom: 14px; padding: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sizes span {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--hair);
  font: 500 13px/1 var(--label);
  letter-spacing: 0.06em;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sizes input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

.pdp__hint { min-height: 1.5em; margin: 14px 0 20px; color: var(--mute); font-size: 15px; font-style: italic; }
.pdp__hint.is-error { color: var(--oxblood); font-style: normal; }
.pdp__info > .button { width: 100%; }

.pdp__details { margin-top: 36px; }
.pdp__details details { border-top: 1px solid var(--hair); }
.pdp__details details:last-child { border-bottom: 1px solid var(--hair); }
.pdp__details summary {
  display: flex;
  justify-content: space-between;
  padding: 19px 0;
  list-style: none;
  cursor: pointer;
}
.pdp__details summary::-webkit-details-marker { display: none; }
.pdp__details summary::after { content: '+'; font-size: 16px; letter-spacing: 0; line-height: 1; }
.pdp__details details[open] summary::after { content: '\2212'; }
.pdp__details p { margin: 0 0 20px; color: var(--mute); max-width: 34em; font-size: 16px; }

.more { padding: clamp(80px, 10vw, 140px) var(--pad); }
.more .section-title { font-size: clamp(38px, 5vw, 72px); }

.missing { max-width: 32rem; margin: 0 auto; padding: 80px 16px 120px; text-align: center; }
.missing h1 { margin: 0 0 14px; font: 400 clamp(44px, 6vw, 72px)/1 var(--display); letter-spacing: -0.02em; }
.missing p { color: var(--mute); margin: 0 0 30px; font-style: italic; }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; padding: 0; }
  .pdp__gallery {
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    align-items: start;
    padding: 0 16px;
    scrollbar-width: none;
  }
  .pdp__gallery:has(> :only-child) { grid-auto-columns: 100%; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__shot { scroll-snap-align: center; }
  .pdp__shot--print img { max-height: none; }
  .pdp__info { position: static; padding: 18px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
