/* Savarbons — nocturne atelier: violet-black ground, pale lilac ink, one amethyst accent. */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #0c0910;        /* black with a violet undertone */
  --paper-deep: #17111f;   /* raised surfaces: callouts, chips, picture frames */
  --ink: #efe9f7;          /* 16.5:1 on paper */
  --ink-soft: #a89fb9;     /* 7.6:1 on paper */
  --amethyst: #b692f5;     /* 7.7:1 on paper */
  --rule: #322845;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --frame: 1440px;                       /* widest the page grows */
  --col-gap: clamp(12px, 1.8vw, 28px);   /* gap between the 12 columns */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  /* night: an aubergine bloom from the upper right, and a fine pale grain */
  background-image:
    radial-gradient(95% 70% at 82% -8%, #2a1848 0%, rgba(42, 24, 72, 0.35) 38%, transparent 68%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.7 0 0 0 0 0.95 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-repeat: no-repeat, repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sheet {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: 16px;
  padding: var(--gutter);
}

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label-accent { color: var(--amethyst); margin: 0 0 18px; }

.mast {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.mark {
  grid-column: 1 / -1;
  align-self: end;
  margin: clamp(48px, 10vh, 120px) 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 15.5vw, 236px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
.mark-line { display: block; }
.mark-indent { padding-left: 0.62em; }
.mark em { font-style: italic; font-weight: 400; color: var(--amethyst); }

.note {
  grid-column: 8 / -1;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  max-width: 34ch;
}
.lede {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
  font-weight: 400;
}
.sub { margin: 0; color: var(--ink-soft); }

.foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 8vh, 96px);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* One entrance: the wordmark, the note and a page title settle into place.
   Movement only, never opacity: if animations are paused (background tabs,
   crawlers, screenshots), the page is still fully readable. */
@media (prefers-reduced-motion: no-preference) {
  .mark-line, .note, .doc-title { animation: settle 900ms var(--ease) both; }
  .mark-line:nth-child(2) { animation-delay: 120ms; }
  .note { animation-delay: 300ms; }
}
@keyframes settle {
  from { transform: translateY(0.18em); }
  to { transform: none; }
}

@media (max-width: 760px) {
  .sheet { column-gap: 0; }
  .mark { font-size: clamp(48px, 17.5vw, 120px); }
  .note { grid-column: 1 / -1; max-width: none; }
  .foot { flex-direction: column; gap: 4px; }
}

a {
  color: var(--amethyst);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 200ms var(--ease);
}
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--amethyst); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--amethyst); color: var(--paper); }


/* ==================================================================
   SHARED SHELL — on every page, in this order:
   a.skip · header.masthead · main#main.site-main · footer.site-foot
   ================================================================== */

.masthead,
.site-main,
.site-foot {
  width: min(100% - 2 * var(--gutter), var(--frame));
  margin-inline: auto;
}

/* Skip link: off screen until a keyboard reaches it. */
.skip {
  position: absolute;
  top: 10px;
  left: var(--gutter);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:hover { color: var(--paper); }
.skip:focus { transform: none; }

/* Masthead: the wordmark home, and a small nav. */
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding: clamp(8px, 1.4vw, 18px) 0 clamp(4px, 0.8vw, 10px);
  border-bottom: 1px solid var(--rule);
}
.masthead-mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.masthead-mark em { font-style: italic; font-weight: 400; color: var(--amethyst); }
.masthead-mark:hover { color: var(--ink); }

/* The wordmark keeps the left; the nav and the Bag link sit together at the right. */
.masthead-nav { margin-left: auto; }
.masthead-nav ul,
.site-foot-nav ul { list-style: none; margin: 0; padding: 0; }
.masthead-nav ul { display: flex; gap: clamp(4px, 2vw, 28px); margin-right: -6px; }
.masthead-nav a,
.masthead-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  /* the extra 0.3em on the left balances the tracking after the last letter */
  padding: 0 6px 0 calc(6px + 0.3em);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.masthead-nav a::after,
.masthead-bag::after {
  content: "";
  position: absolute;
  left: calc(6px + 0.3em);
  right: calc(6px + 0.3em);
  bottom: 11px;
  height: 1px;
  background: var(--amethyst);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
/* aria-current is "page" on the page itself and "true" on a piece's page (which marks Collection too). */
.masthead-nav a:hover,
.masthead-nav a[aria-current],
.masthead-bag:hover,
.masthead-bag[aria-current] { color: var(--ink); }
.masthead-nav a:hover::after,
.masthead-nav a[aria-current]::after,
.masthead-bag:hover::after,
.masthead-bag[aria-current]::after { transform: scaleX(1); }
/* Bag: the last link. Its left margin makes the gap after Contact match the gap between the
   nav links (18px is the masthead's 24px column gap less the nav's 6px overhang); its right
   margin lines the word up with the page edge the way the nav does. The count beside it
   (filled in by bag.js on the shop pages) is a small tabular figure, hidden when it is 0. */
.masthead-bag {
  margin-left: calc(clamp(4px, 2vw, 28px) - 18px);
  margin-right: -6px;
}
.masthead-bag-count {
  display: inline-block;
  margin-left: 0.7em;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}
.masthead-bag-count[hidden] { display: none; }
/* On a phone the links don't fit beside the wordmark: the wordmark and Bag share the first
   row, and the nav takes its own row under it, the first word's text lined up with the
   wordmark (the links' left padding is 6px + 0.3em at their 12px size). The source order
   stays wordmark, nav, Bag. Below about 330px the nav may wrap, never scroll sideways.
   The break is at 639px, not 599px: with a two-digit count beside Bag, the five items
   need about 540px, which would not fit a 600px screen. */
@media (max-width: 639px) {
  .masthead-bag { order: 2; margin-left: auto; }
  .masthead-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .masthead-nav ul { flex-wrap: wrap; margin-left: calc(-6px - 0.3 * 12px); }
}

.site-main { flex: 1 0 auto; }
.site-main:focus { outline: none; }

/* Footer: care links, then where we operate from, the email, the payment
   note and the copyright line. Columns line up with the reading layout. */
.site-foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 36px;
  margin-top: clamp(88px, 12vw, 176px);
  padding: 26px 0 clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--ink);
  color: var(--ink-soft);
}
.site-foot p { margin: 0; }
.site-foot-nav,
.site-foot-info,
.site-foot-base { grid-column: 1 / -1; }
.site-foot-nav .label { display: block; margin-bottom: 6px; }
.site-foot-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.site-foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.25em;
}
.site-foot-nav a:hover,
.site-foot-nav a[aria-current="page"] { color: var(--amethyst); text-decoration: underline; }
.site-foot-info {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.55;
}
.site-foot-mail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.site-foot-mail a:hover { color: var(--amethyst); }
.site-foot-secure { max-width: 40ch; }
.site-foot-base {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .site-foot-nav { grid-column: 1 / 4; }
  .site-foot-nav ul { grid-template-columns: minmax(0, 1fr); }
  .site-foot-info { grid-column: 5 / -1; }
}


/* ==================================================================
   HOME (also the 404): a cover that fills the first screen, then
   sections set on the 12-column grid.
   ================================================================== */

.home-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto;
  column-gap: var(--col-gap);
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
  padding-bottom: clamp(16px, 4vh, 40px);
}
.home-hero > .mark { grid-row: 2; }
.home-hero > .note { grid-row: 3; }

/* A section with a label in the left margin and the text from column 5. */
.split {
  margin-top: clamp(72px, 11vw, 168px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.split + .split { margin-top: clamp(64px, 8vw, 120px); }
.split-label { margin: 0 0 22px; }
.split-title {
  margin: 0 0 clamp(22px, 2.6vw, 36px);
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.split-title em { font-style: italic; font-weight: 400; color: var(--amethyst); }
.split-copy { max-width: 58ch; }
.split-copy p { margin: 0 0 1em; text-wrap: pretty; }
.split-copy > :last-child { margin-bottom: 0; }

/* A quiet text link with a hairline leader. */
.more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--amethyst);
}
.more::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.more:hover::after { transform: scaleX(1.6); }

/* A lookbook index: numbered rows, each one link. */
.index {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: idx;
  border-top: 1px solid var(--rule);
}
.index > li { counter-increment: idx; border-bottom: 1px solid var(--rule); }
.index-link {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 18px 0 20px;
  color: var(--ink);
  text-decoration: none;
}
.index-link::before {
  content: counter(idx, decimal-leading-zero);
  content: counter(idx, decimal-leading-zero) / "";
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}
.index-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: color 200ms var(--ease);
}
.index-title em { font-style: italic; font-weight: 400; color: var(--amethyst); }
.index-note {
  grid-column: 2;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums lining-nums;
}
.index-link:hover { color: var(--ink); }
.index-link:hover .index-title { color: var(--amethyst); }

@media (min-width: 760px) {
  .split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
  }
  .split > * { grid-column: 5 / -1; }
  .split > .split-label { grid-column: 1 / 4; grid-row: 1 / span 2; }

  .index-link {
    grid-template-columns: 3em minmax(0, 0.9fr) minmax(0, 1.1fr) 56px;
    column-gap: var(--col-gap);
    padding: 24px 0 26px;
  }
  .index-note { grid-column: 3; margin-top: 0; }
  .index-link::after {
    content: "";
    grid-column: 4;
    align-self: center;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0.35);
    transform-origin: right;
    transition: transform 400ms var(--ease), background-color 200ms var(--ease);
  }
  .index-link:hover::after,
  .index-link:focus-visible::after { transform: scaleX(1); background-color: var(--amethyst); }
}

@media (max-width: 760px) {
  .home-hero { column-gap: 0; }
}


/* ==================================================================
   READING LAYOUT — About, Contact and the policy pages.
   article.doc
     header.doc-head   kicker, h1.doc-title, .doc-lede, .doc-updated
     .doc-rail         nav.doc-toc (contents) or aside (at a glance)
     .doc-body         section.doc-section > h2.doc-h2 ...
   The contents list and the section headings number themselves, so
   keep one contents item per section, in the same order.
   ================================================================== */

.doc-head {
  padding: clamp(40px, 8vw, 120px) 0 clamp(28px, 3.5vw, 48px);
  margin-bottom: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--ink);
}
.doc-kicker { margin: 0 0 clamp(18px, 2vw, 28px); }
.doc-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.doc-title em { font-style: italic; font-weight: 400; color: var(--amethyst); }
.doc-lede {
  margin: clamp(24px, 3vw, 40px) 0 0;
  max-width: 32ch;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.32;
  text-wrap: pretty;
}
.doc-updated {
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums lining-nums;
}

/* Rail: contents list or facts. Above the text on small screens,
   in the left margin (and sticky) on wide ones. */
.doc-rail { margin: 0 0 clamp(44px, 6vw, 64px); }
.doc-rail-title { margin: 0 0 10px; }
.doc-rail a { overflow-wrap: anywhere; }
.doc-rail .doc-facts a { display: inline-block; padding-block: 9px; margin-block: -9px; }

.doc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  border-top: 1px solid var(--rule);
}
.doc-toc-list > li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.doc-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 44px;
  padding: 11px 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
.doc-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  content: counter(toc, decimal-leading-zero) / "";
  flex: none;
  width: 2.2em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}
.doc-toc-list a:hover { color: var(--amethyst); }

/* Body: 60ch of Jost is roughly 66 to 72 characters a line. */
.doc-body {
  max-width: 60ch;
  counter-reset: sec;
  font-size: clamp(16.5px, 0.3vw + 15.4px, 18px);
  line-height: 1.7;
}
.doc-body p { margin: 0 0 1.1em; text-wrap: pretty; }
.doc-body li { text-wrap: pretty; }
.doc-body strong { font-weight: 600; }
.doc-section { counter-increment: sec; }
.doc-section + .doc-section {
  margin-top: clamp(52px, 6vw, 88px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
.doc-section > :last-child { margin-bottom: 0; }

.doc-h2 {
  margin: 0 0 0.75em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.doc-h2::before {
  content: counter(sec, decimal-leading-zero);
  content: counter(sec, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}
.doc-h3 {
  margin: 1.9em 0 0.5em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.25;
  text-wrap: balance;
}

/* Lists: a hairline dash, or numbered steps. Add role="list" in the
   markup so Safari keeps announcing them as lists. */
.doc-list,
.doc-steps { list-style: none; margin: 0 0 1.2em; padding: 0; }
.doc-list > li { position: relative; margin: 0 0 0.55em; padding-left: 1.7em; }
.doc-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.9em;
  height: 1px;
  background: var(--amethyst);
}
.doc-steps { counter-reset: step; }
.doc-steps > li { counter-increment: step; position: relative; margin: 0 0 0.7em; padding-left: 2.2em; }
.doc-steps > li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}

/* Facts: label and value pairs, figures in tabular numerals. */
.doc-facts { margin: 0 0 1.4em; padding: 0; border-top: 1px solid var(--ink); }
.doc-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 12px 0 13px;
  border-bottom: 1px solid var(--rule);
}
.doc-facts dt {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.doc-facts dd { margin: 0; font-variant-numeric: tabular-nums lining-nums; }
@media (min-width: 600px) {
  .doc-body .doc-facts > div {
    grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
    column-gap: 24px;
    align-items: baseline;
  }
}

/* Callout: for the Australian Consumer Law statement. */
.doc-callout {
  margin: 2em 0;
  padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 40px);
  background: var(--paper-deep);
  border-left: 2px solid var(--amethyst);
}
.doc-callout .doc-callout-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amethyst);
}
.doc-callout .doc-callout-text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.55;
}
.doc-callout > :last-child { margin-bottom: 0; }

/* Contact: the address set large. */
.doc-mail { margin: clamp(24px, 3vw, 40px) 0 0; }
.doc-mail + .doc-lede { margin-top: 16px; }
.contact-mail {
  display: inline-block;
  padding-block: 8px;   /* keeps the target at least 44px tall on phones */
  font-family: var(--serif);
  font-size: clamp(26px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-underline-offset: 0.16em;
}

/* Figures that should line up. */
.tnum { font-variant-numeric: tabular-nums lining-nums; }


/* ==================================================================
   COLLECTION — the clothing by name and price, in the owner's groups
   and order. Each piece links to its own page; nothing can be bought
   yet ("Not yet on sale" while ordering is off). The reading layout's
   head, rail and numbered sections, then one lineup per group:
   section.doc-section.collection-group > h2.doc-h2 + ol.lineup
     li.lineup-item   a.lineup-name.lineup-link
                      span.lineup-count  (a pack's piece count)
                      span.lineup-price
                      ul.lineup-pieces   (a set's or pack's pieces)
   This block is the plain list. The row links and prices, the pieces'
   own pages, the buy form and the bag are styled in shop.css, which
   only the generated shop pages link. Those pages come from shop/render
   (npm run build:shop); test/shop-pages.test.ts reads this markup, so
   keep the class names.
   ================================================================== */

/* "Not yet on sale": the callout, set inside the head. */
.collection-status { margin: clamp(28px, 3.4vw, 44px) 0 0; max-width: 46ch; }

/* Contents: each group's size at the end of its line. */
.collection-toc-count {
  margin-left: auto;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums lining-nums;
}

.collection-body { counter-reset: sec; }

/* A lineup: numbered rows on hairlines, the name set in Bodoni. */
.lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: look;
  border-top: 1px solid var(--ink);
}
.lineup-item {
  counter-increment: look;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.lineup-item::before {
  content: counter(look, decimal-leading-zero);
  content: counter(look, decimal-leading-zero) / "";
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amethyst);
  font-variant-numeric: tabular-nums lining-nums;
}
.lineup-item > * { grid-column: 2; }
.lineup-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
/* A colourway, where the name gives one. */
.lineup-name em { font-style: italic; font-weight: 400; color: var(--amethyst); }
.lineup-count {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums lining-nums;
}
/* The pieces: one quiet line, joined by a plus that stays with the piece before it. */
.lineup-pieces {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.lineup-pieces > li { display: inline; }
.lineup-pieces > li:not(:last-child)::after {
  content: "\00a0+";
  content: "\00a0+" / "";
  color: var(--amethyst);
}

.collection-ask { margin: clamp(48px, 6vw, 80px) 0 0; }

@media (min-width: 760px) {
  .lineup-item {
    grid-template-columns: 3em minmax(0, 1fr) auto;
    column-gap: var(--col-gap);
    padding: 18px 0 20px;
  }
  .lineup-count { grid-column: 3; grid-row: 1; margin-top: 0; }
  .lineup-pieces { grid-column: 2 / -1; }
}
@media (min-width: 960px) {
  .collection-body { grid-column: 5 / -1; grid-row: 2; }
}

@media (min-width: 960px) {
  .doc {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: start;
  }
  .doc-head {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
  }
  .doc-head > * { grid-column: 5 / -1; }
  .doc-head > .doc-kicker,
  .doc-head > .doc-title { grid-column: 1 / -1; }
  .doc-rail {
    grid-column: 1 / 4;
    grid-row: 2;
    position: sticky;
    top: 28px;
    margin-bottom: 0;
  }
  .doc-body { grid-column: 5 / -1; grid-row: 2; }
}


/* ==================================================================
   Motion and print
   ================================================================== */

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

@media print {
  :root { --paper: #fff; --paper-deep: #f3f0f7; --ink: #120e18; --ink-soft: #4d455c; --amethyst: #5b2a9d; --rule: #cfc7dc; color-scheme: light; }
  body { display: block; background: none; }
  .skip, .masthead-nav, .masthead-bag, .doc-toc, .site-foot-nav { display: none; }
  .doc-body { max-width: none; }
  .doc-rail { position: static; }
  a { color: inherit; }
}
