/* Bra Foundation — "haute couture atelier": plum, blush, antique gold; Bodoni Moda + Jost. */

@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/BodoniModa.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/BodoniModa-Italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/Jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/Jost-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --plum: #3D1E3F;
  --plum-deep: #2B132C;
  --plum-soft: #5B3459;
  --blush: #F2D4D7;
  --blush-pale: #FBF1F1;
  --blush-mid: #E9C3C8;
  --gold: #B88A44;          /* rules, ornaments */
  --gold-light: #DDBB7E;    /* gold text on plum (AA) */
  --gold-ink: #835E26;      /* gold text on light backgrounds (AA) */
  --ivory: #F8F1E7;         /* text on plum */
  --ink: #3D1E3F;           /* text on light */
  --ink-soft: #694563;
  --paper: #FCF6F5;
  --white: #FFFDFC;
  --focus: #B88A44;
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --body: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --rule: 1px solid var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.68 var(--body); font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--plum-soft); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
/* Bodoni Moda's hyphens and dashes become hairlines at large optical sizes, so cap the optical size */
h1, h2, h3, .toc-title, .chapter-title, .card-name, .card-type, .product-type, .article-period, .side-year, .chapter-num, blockquote.pull p, .guide-tile-title, .faq-q, .tl-year, .pager a, .guide-list a, .wordmark, .contact-mail, .type-num, .toc-num { font-optical-sizing: none; font-variation-settings: "opsz" 11; }
.page-title, .article-title, .product-name, .sec-title, .type-title, .ledger-topic { font-variation-settings: "opsz" 18; }
.cover-title, .numeral, .article-numeral { font-optical-sizing: auto; font-variation-settings: normal; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--plum); color: var(--ivory); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* small caps labels */
.kicker, .strap-text, .card-brand, .product-brand, .ledger-label, .side-title, .sources-title, .footer-h, .chapter-period, .count, label, .tl-src, .archive-label {
  font-family: var(--body);
}
.kicker { font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.kicker a { color: inherit; }
.kicker-rule { display: inline-block; width: 2.5rem; height: 1px; background: var(--gold); }
.band-plum .kicker { color: var(--gold-light); }

/* ------------------------------------------------------------ masthead */
.masthead { background: var(--paper); border-bottom: var(--rule); }
.strap { background: var(--plum); color: var(--ivory); }
.strap-text { max-width: var(--wrap); margin: 0 auto; padding: .45rem var(--gutter); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.masthead-in { max-width: var(--wrap); margin: 0 auto; padding: 1.1rem var(--gutter) 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; position: relative; }
.wordmark { display: inline-flex; align-items: baseline; gap: .35em; text-decoration: none; color: var(--plum); font-family: var(--display); line-height: 1; margin: 0; }
.wordmark-a { font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; }
.wordmark-b { font-size: clamp(1.9rem, 5vw, 2.9rem); font-style: italic; font-weight: 400; color: var(--plum-soft); }
.wordmark:hover { color: var(--plum); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.nav a { display: block; text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: .45rem 0; color: var(--plum); border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold-ink); }
.nav-btn { display: none; align-items: center; gap: .7rem; background: none; border: 0; padding: .6rem .2rem; font: 500 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--plum); cursor: pointer; min-height: 44px; }
.nav-btn-icon { width: 22px; height: 12px; border-top: 1.5px solid var(--plum); border-bottom: 1.5px solid var(--plum); position: relative; }
.nav-btn-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--plum); }
.nav-btn[aria-expanded="true"] .nav-btn-icon { border-color: transparent; }
.nav-btn[aria-expanded="true"] .nav-btn-icon::after { transform: rotate(45deg); box-shadow: none; }
.nav-btn[aria-expanded="true"] .nav-btn-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--plum); transform: rotate(-45deg); }
@media (max-width: 859px) {
  .masthead-in { flex-wrap: wrap; align-items: center; }
  .js .nav-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: var(--rule); border-bottom: var(--rule); z-index: 20; padding: .3rem var(--gutter) 1rem; box-shadow: 0 20px 30px -20px rgba(61, 30, 63, .35); }
  .js .nav.is-open { display: block; }
  .js .nav ul { display: block; }
  .js .nav li + li { border-top: 1px solid var(--blush-mid); }
  .js .nav a { padding: .8rem 0; border-bottom: 0; }
  html:not(.js) .nav { width: 100%; }
}
@media (min-width: 860px) { .nav ul { gap: 2rem; } }

/* ------------------------------------------------------------ sections */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band-plum { background: var(--plum); color: var(--ivory); }
.band-plum a { color: var(--ivory); text-decoration-color: var(--gold-light); }
.band-blush { background: var(--blush); }
.sec-head { margin-bottom: 2rem; }
.sec-head-split { display: grid; gap: .5rem 3rem; }
@media (min-width: 860px) { .sec-head-split { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.sec-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.sec-note { margin: 0; color: inherit; opacity: .92; }
.chapters, .edit { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }

/* ------------------------------------------------------------ cover (home) */
.cover { display: grid; gap: 2.5rem; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); align-items: center; }
@media (min-width: 900px) { .cover { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.cover-title { font-size: clamp(2.8rem, 8.2vw, 6.2rem); font-weight: 500; line-height: .98; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.cover-title em { font-weight: 400; color: var(--gold-ink); }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.6; max-width: 40em; color: var(--ink-soft); }
.band-plum .lede { color: var(--ivory); }
.cover-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.link-arrow { font-weight: 500; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: .86rem; border-bottom: 1px solid var(--gold); padding-bottom: .25rem; display: inline-flex; gap: .6rem; align-items: center; }
.link-arrow::after { content: "→"; color: var(--gold-ink); transition: transform .2s; }
.band-plum .link-arrow::after { color: var(--gold-light); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-quiet { font-size: .9rem; color: var(--ink-soft); }
.cover-art { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 0 1.5rem; }
.numeral { position: absolute; top: 0; right: -.5rem; font-family: var(--display); font-size: clamp(5rem, 15vw, 10rem); line-height: 1; font-weight: 400; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .7; pointer-events: none; z-index: 0; }

/* ------------------------------------------------------------ archive frames */
.archive { margin: 0; position: relative; z-index: 1; }
.archive-frame { background: var(--white); padding: clamp(10px, 1.6vw, 18px); border: 1px solid var(--blush-mid); box-shadow: 0 1px 0 rgba(61, 30, 63, .05), 0 18px 40px -24px rgba(61, 30, 63, .45); position: relative; }
.archive-frame::after { content: ""; position: absolute; inset: clamp(5px, .8vw, 9px); border: 1px solid var(--gold); pointer-events: none; opacity: .75; }
.archive-frame img { width: 100%; }
.archive-label { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin-top: .7rem; padding-left: .9rem; border-left: 2px solid var(--gold); display: grid; gap: .15rem; }
.archive-cap { font-style: italic; }
.archive-label .photo-credit { opacity: 1; font-size: .76rem; }
.band-plum .archive-label { color: var(--ivory); }
.band-plum .archive-label a { color: var(--ivory); }
.archive-cover .archive-frame { transform: rotate(-1.2deg); }
.archive-small { max-width: 380px; }
.figure-inline { margin: 2.2rem 0; }
@media (min-width: 1100px) { .prose .figure-inline:nth-of-type(even) { margin-right: -4rem; margin-left: 2rem; } }

/* ------------------------------------------------------------ timeline */
.tl { position: relative; }
.tl-controls[hidden] { display: none; }
.tl-list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); position: relative; }
.tl-list:focus-visible { outline-offset: -3px; }
/* vertical (default / no JS / narrow screens) */
.tl-item { position: relative; display: grid; grid-template-columns: minmax(5.5rem, 8rem) 1fr; gap: 0 1.4rem; padding: 0 0 2.2rem; }
.tl-item::before { content: ""; position: absolute; left: calc(min(8rem, 30%) + .7rem); top: .4rem; bottom: 0; border-left: 1px solid var(--gold); opacity: .6; }
.tl-item::after { content: ""; position: absolute; left: calc(min(8rem, 30%) + .7rem - 4px); top: .55rem; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }
.tl-year { font-family: var(--display); font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.15; color: var(--gold-light); margin: 0; text-align: right; font-weight: 500; }
.tl-body { padding-left: 1.2rem; }
.tl-title { font-size: 1.28rem; margin-bottom: .45rem; color: var(--ivory); }
.tl-text p { font-size: .98rem; margin-bottom: .6rem; }
.tl-fig { margin: .3rem 0 .8rem; max-width: 220px; }
.tl-fig img { border: 1px solid var(--gold); padding: 4px; background: var(--plum-deep); }
.tl-fig figcaption, .tl-src { font-size: .74rem; opacity: .9; margin-top: .3rem; }
.tl-more { font-size: .82rem; letter-spacing: .06em; margin: 0; }
@media (max-width: 559px) {
  .tl-item { grid-template-columns: 1fr; }
  .tl-item::before, .tl-item::after { left: 0; }
  .tl-year, .tl-body { text-align: left; padding-left: 1.4rem; }
}
/* horizontal strip (JS on, wide screens) */
@media (min-width: 900px) {
  .js .tl-controls:not([hidden]) { display: flex; gap: .6rem; justify-content: flex-end; max-width: var(--wrap); margin: -1rem auto 1.4rem; padding: 0 var(--gutter); }
  .js .tl-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 0 2.2rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; max-width: none; --tl-pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding: 0 var(--tl-pad) 1.6rem; scroll-padding-inline: var(--tl-pad); scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .js .tl-list::before { content: ""; position: absolute; left: 0; right: 0; top: 4.15rem; border-top: 1px solid var(--gold); opacity: .55; }
  .js .tl-item { display: block; padding: 0; scroll-snap-align: start; }
  .js .tl-item::before { display: none; }
  .js .tl-item::after { left: 0; top: 3.85rem; }
  .js .tl-year { text-align: left; height: 3.6rem; display: flex; align-items: flex-end; line-height: 1.05; font-weight: 400; font-size: 2.4rem; overflow: hidden; padding-right: .5rem; }
  .js .tl-year.is-long { font-size: 1.45rem; }
  .js .tl-body { padding: 1.7rem 0 0; }
}
.tl-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-light); background: transparent; color: var(--ivory); font-size: 1.15rem; cursor: pointer; }
.tl-btn:hover:not(:disabled) { background: var(--gold); color: var(--plum-deep); }
.tl-btn:disabled { opacity: .35; cursor: default; }
/* light timeline variant inside articles not used */

/* ------------------------------------------------------------ table of contents */
.toc { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.toc li { border-bottom: 1px solid var(--blush-mid); }
.toc-row { display: grid; grid-template-columns: 3.4rem 1fr; gap: .2rem 1rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; color: var(--plum); }
.toc-num { font-family: var(--display); font-size: 1.5rem; color: var(--gold-ink); font-style: italic; grid-row: span 2; }
.toc-title { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.15; }
.toc-dots { display: none; }
.toc-period { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.toc-row:hover .toc-title { color: var(--plum-soft); font-style: italic; }
@media (min-width: 760px) {
  .toc-row { grid-template-columns: 4.5rem auto 1fr auto; }
  .toc-num { grid-row: auto; }
  .toc-dots { display: block; border-bottom: 1px dotted var(--gold); transform: translateY(-.35rem); min-width: 2rem; }
}

/* chapter cards (history page) */
.chapter-cards { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 2.4rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.chapter-card > a { display: grid; text-decoration: none; color: var(--plum); }
.chapter-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--blush-mid); padding: 8px; background: var(--white); margin-bottom: 1rem; }
.chapter-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12); transition: filter .3s; }
.chapter-card > a:hover .chapter-img img { filter: none; }
.chapter-num { font-family: var(--display); font-style: italic; color: var(--gold-ink); font-size: 1.3rem; }
.chapter-period { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.chapter-title { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; margin: .3rem 0 .5rem; }
.chapter-dek { font-size: .97rem; color: var(--ink-soft); }
.chapter-credit { font-size: .74rem; color: var(--ink-soft); margin: .5rem 0 0; }
.note { font-size: .95rem; color: var(--ink-soft); border-top: var(--rule); padding-top: 1rem; max-width: 46em; }

/* ------------------------------------------------------------ page heads + articles */
.page-head { padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.page-title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.article-head { padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: 2rem; position: relative; }
@media (max-width: 599px) { .article-numeral { display: none; } }
.article-numeral { position: absolute; right: var(--gutter); top: 1rem; font-family: var(--display); font-size: clamp(5rem, 16vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .35; margin: 0; pointer-events: none; }
.article-title { font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -.02em; max-width: min(15em, calc(100% - 7rem)); position: relative; }
.article-period { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--gold-ink); }
.article-date { font-size: .85rem; color: var(--ink-soft); }
.article-hero { margin-bottom: 3rem; }
.article-hero .archive { max-width: 1000px; }
.article-grid { display: grid; gap: 3rem; padding-bottom: 4rem; }
@media (min-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 5rem; } }
.prose { max-width: 40rem; }
.prose-page { padding-bottom: 4rem; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin-top: 2.4rem; padding-top: 1.4rem; border-top: var(--rule); }
.prose h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold-ink); font-family: var(--display); font-weight: 600; }
.prose .dropcap::first-letter { float: left; font-family: var(--display); font-size: 4.6em; line-height: .82; padding: .08em .1em 0 0; color: var(--plum); font-weight: 500; }
blockquote.pull { margin: 2.2rem 0; padding: 1.4rem 0; border-top: var(--rule); border-bottom: var(--rule); }
blockquote.pull p { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.3; margin: 0; color: var(--plum-soft); }
.notice { background: var(--blush); border-left: 3px solid var(--gold); padding: .9rem 1.1rem; font-size: .95rem; }
.small { font-size: .88rem; color: var(--ink-soft); }
.article-side { font-size: .95rem; }
.side-title { font-family: var(--body); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); border-bottom: var(--rule); padding-bottom: .5rem; margin: 0 0 .8rem; }
.side-tl, .side-toc, .side-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.side-tl li, .side-toc li, .side-list li { padding: .45rem 0; border-bottom: 1px solid var(--blush-mid); }
.side-tl a, .side-toc a, .side-list a { text-decoration: none; }
.side-tl a:hover, .side-toc a:hover, .side-list a:hover { text-decoration: underline; }
.side-year { display: block; font-family: var(--display); font-style: italic; color: var(--gold-ink); }
@media (min-width: 1000px) { .article-side > * { position: sticky; top: 1.5rem; } .article-side nav { position: static; } }
.sources { margin-top: 3rem; border-top: var(--rule); padding-top: 1rem; font-size: .9rem; }
.sources-title { font-family: var(--body) !important; font-size: .76rem !important; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .6rem !important; border: 0 !important; padding: 0 !important; }
.sources ol { padding-left: 1.4rem; margin: 0; }
.sources li { margin-bottom: .4rem; }
.pager { display: grid; gap: 1rem; padding-bottom: 4rem; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; text-decoration: none; border-top: var(--rule); padding-top: .8rem; font-family: var(--display); font-size: 1.25rem; }
.pager a span { display: block; font-family: var(--body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.pager-next { text-align: right; }

/* ------------------------------------------------------------ then & now ledger */
.diptych { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 700px) { .diptych { grid-template-columns: 1fr 1fr; align-items: end; } }
.ledger { padding-bottom: 3rem; }
.ledger-heads { display: none; }
.ledger-row { display: grid; gap: .6rem 2.4rem; padding: 1.8rem 0; border-top: var(--rule); }
.ledger-topic { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.ledger-label { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .4rem; }
.ledger-then p, .ledger-now p { font-size: 1rem; }
.ledger-then { color: var(--ink-soft); }
.ledger-now { background: var(--white); border: 1px solid var(--blush-mid); padding: 1rem 1.2rem .2rem; }
.ledger-src { grid-column: 1 / -1; font-size: .88rem; }
.ledger-src summary { cursor: pointer; color: var(--ink-soft); }
.ledger-src .sources { margin-top: .6rem; border: 0; padding: 0; }
@media (min-width: 860px) {
  .ledger-heads { display: grid; grid-template-columns: 14rem 1fr 1fr; gap: 2.4rem; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: .6rem; }
  .ledger-row { grid-template-columns: 14rem 1fr 1fr; }
  .ledger-teaser .ledger-row { grid-template-columns: 12rem 1fr 1fr; }
}
.band-blush .ledger-row { border-top-color: var(--gold); }
.band-blush .ledger-then { color: var(--ink); }
.next-steps { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding-bottom: 4rem; }

/* ------------------------------------------------------------ cards / shop */
.cards { display: grid; gap: 2.4rem 1.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; }
.card-link { text-decoration: none; color: var(--plum); display: block; }
.card-media { background: var(--white); border: 1px solid var(--blush-mid); padding: 8px; margin-bottom: .9rem; position: relative; }
.card-media::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold); opacity: 0; transition: opacity .25s; pointer-events: none; }
.card-link:hover .card-media::after, .card-link:focus-visible .card-media::after { opacity: .8; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-brand { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .2rem; }
.card-name { font-size: 1.3rem; line-height: 1.2; margin: 0 0 .4rem; font-weight: 500; }
.card-link:hover .card-name { font-style: italic; }
.card-type { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--gold-ink); margin: 0 0 .15rem; }
.card-meta { font-size: .85rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.shop-head { display: grid; gap: 2rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr 360px; align-items: end; } }
.lede-md p { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: flex-end; padding-top: 1.2rem; padding-bottom: 1.2rem; margin-bottom: 2rem; border-top: var(--rule); border-bottom: 1px solid var(--blush-mid); }
.filter { display: grid; gap: .3rem; min-width: min(100%, 220px); }
label { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
select { font: inherit; font-size: 1rem; color: var(--plum); background: var(--white); border: 1px solid var(--plum-soft); border-radius: 0; min-height: 46px; padding: .4rem 2.2rem .4rem .8rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--plum) 50%), linear-gradient(135deg, var(--plum) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.count { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.empty { font-size: 1.1rem; padding: 2rem 0; }
.disclosure { font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--blush-mid); margin-top: 3rem; padding: 1rem 0 4rem; max-width: 52em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.6rem; background: var(--plum); color: var(--ivory); border: 1px solid var(--plum); font: 500 .86rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--plum-deep); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--blush); color: var(--plum); }
.btn-small { min-height: 46px; padding: .5rem 1.1rem; }

.crumbs { font-size: .85rem; letter-spacing: .06em; padding-top: 1.6rem; color: var(--ink-soft); }
.product { display: grid; gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } .product-media { position: sticky; top: 1.5rem; } }
.product-brand { font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .4rem; }
.product-name { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; }
.product-type a { font-family: var(--display); font-style: italic; font-size: 1.2rem; }
.product-desc { font-size: 1.1rem; }
.specs { margin: 1.5rem 0; border-top: var(--rule); }
.specs > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--blush-mid); }
.specs dt { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.specs dd { margin: 0; }
.product-h { font-size: 1.4rem; margin-top: 1.5rem; }
.features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.features li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .9rem; border-top: 1px solid var(--gold); }
.buy { background: var(--blush); padding: 1.4rem; margin: 1.5rem 0; display: grid; gap: .8rem; }
.buy .btn { width: 100%; }
.buy-note { font-size: .84rem; margin: 0; color: var(--ink); }
.fit-tip { font-size: .95rem; }
.related { padding-bottom: 4rem; border-top: var(--rule); padding-top: 2.5rem; }

/* ------------------------------------------------------------ guides */
.fitting-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .fitting-grid { grid-template-columns: 1.3fr 1fr; } }
.guide-list { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid rgba(221, 187, 126, .5); }
.guide-list li { border-bottom: 1px solid rgba(221, 187, 126, .5); }
.guide-list a { display: flex; gap: 1.2rem; align-items: baseline; padding: .9rem 0; text-decoration: none; font-family: var(--display); font-size: clamp(1.15rem, 2.3vw, 1.5rem); }
.guide-list a:hover { font-style: italic; }
.guide-n { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; color: var(--gold-light); min-width: 2rem; }
.archive-light .archive-frame { background: var(--blush-pale); }
.guide-index { display: grid; gap: 0; padding-bottom: 4rem; }
.guide-index::before { content: ""; grid-column: 1 / -1; border-top: var(--rule); }
@media (min-width: 760px) { .guide-index { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.guide-tile { display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--blush-mid); text-decoration: none; color: var(--plum); }
.guide-tile .guide-n { color: var(--gold-ink); grid-row: span 2; padding-top: .35rem; }
.guide-tile-title { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; }
.guide-tile-dek { font-size: .97rem; color: var(--ink-soft); }
.guide-tile:hover .guide-tile-title { font-style: italic; }

.jump { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-top: 1.5rem; padding-top: 1rem; border-top: var(--rule); font-size: .92rem; }
.types { padding-bottom: 4rem; }
.type { display: grid; gap: 1.5rem 3rem; padding: 2.5rem 0; border-top: 1px solid var(--blush-mid); }
@media (min-width: 860px) { .type { grid-template-columns: 340px 1fr; } .type:nth-child(even) { grid-template-columns: 1fr 340px; } .type:nth-child(even) .type-media { order: 2; } }
.type-media img { background: var(--white); border: 1px solid var(--blush-mid); padding: 6px; }
.type-num { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--gold-ink); margin: 0; }
.type-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.type-h { font-family: var(--body); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 1.2rem 0 .3rem; }
.type-history { background: var(--blush); padding: .2rem 1.1rem .4rem; border-left: 3px solid var(--gold); margin: 1.2rem 0; }
.type-src { font-size: .88rem; }
.type-src summary { cursor: pointer; color: var(--ink-soft); }
.type-src .sources { margin-top: .5rem; }

.faq { padding-bottom: 4rem; }
.faq-item { max-width: 52rem; }
.faq-item { border-top: 1px solid var(--blush-mid); }
.faq-item:last-child { border-bottom: 1px solid var(--blush-mid); }
.faq-item summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 2.6rem 1fr 1.5rem; gap: 1rem; padding: 1.2rem 0; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--gold-ink); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-n { font-size: .8rem; letter-spacing: .14em; color: var(--gold-ink); }
.faq-q { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.25; }
.faq-a { padding: 0 2.5rem 1.2rem 3.6rem; }
@media (max-width: 599px) { .faq-a { padding: 0 0 1.2rem; } }
.faq-src { font-size: .85rem; color: var(--ink-soft); }

.contact-mail { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.4rem); }
.credits { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.credits li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: start; border-top: 1px solid var(--blush-mid); padding-top: 1rem; }
.credits img { width: 120px; border: 1px solid var(--blush-mid); padding: 4px; background: var(--white); }
.credits-cap { font-style: italic; font-size: .95rem; margin-bottom: .3rem; }
.credits .photo-credit { font-size: .85rem; opacity: 1; }

/* ------------------------------------------------------------ footer */
.footer { background: var(--plum-deep); color: var(--ivory); margin-top: 0; }
.footer a { color: var(--ivory); text-decoration-color: var(--gold-light); }
.footer-in { max-width: var(--wrap); margin: 0 auto; padding: 3.5rem var(--gutter) 2rem; display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-in { grid-template-columns: 2fr 1fr 1fr; } }
.wordmark-foot { color: var(--ivory); margin-bottom: 1rem; }
.wordmark-foot .wordmark-a, .wordmark-foot .wordmark-b { font-size: 2rem; }
.wordmark-foot .wordmark-b { color: var(--gold-light); }
.footer-brand p:last-child { max-width: 32em; font-size: .95rem; }
.footer-h { font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-family: var(--body); margin-bottom: .8rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { padding: .25rem 0; }
.footer-small { max-width: var(--wrap); margin: 0 auto; padding: 1.4rem var(--gutter) 2rem; border-top: 1px solid rgba(221, 187, 126, .35); font-size: .85rem; }
.footer-small p { margin-bottom: .5rem; }

/* kit video + credits restyle */
.photo-credit a { color: inherit; }
.kit-video-cap { font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .archive-cover .archive-frame { transform: none; }
}
@media print {
  .masthead nav, .footer, .tl-controls, .filters, .buy { display: none; }
  body { background: #fff; }
}

/* keep tall (portrait) pictures to a sensible height */
.article-hero .archive, .figure-inline, .diptych .archive { width: fit-content; max-width: 100%; }
.article-hero .archive-frame img { max-height: 72vh; width: auto; }
.figure-inline .archive-frame img { max-height: 540px; width: auto; }
.diptych .archive-frame img { max-height: 460px; width: auto; }
.type-media .archive-frame img { max-height: 420px; width: auto; }

/* ---------------------------------------------------------------- ads (5od) + cookie choice */
.ad-slot[hidden], .cookie-bar[hidden] { display: none !important; }
.ad-slot { display: block; margin: 1.25rem auto; }
.ad-slot:has(ins[data-fiveod="empty"], ins[data-fiveod="error"], ins[data-fiveod="nofit"]) { display: none; }
.ad-in { display: flex; justify-content: center; }
.ad-head { max-width: var(--wrap); padding: 0 16px; }
.ad-content { padding: 1rem 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--plum); color: var(--ivory);
  border-top: 6px solid var(--gold); border-radius: 0 0 0 0; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.45);
  padding: 1rem 0 1.1rem; max-height: 80vh; overflow-y: auto; }
.cookie-in { display: grid; gap: .8rem 2rem; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 860px) { .cookie-in { grid-template-columns: minmax(0, 1fr) auto; } }
.cookie-h { color: var(--ivory); font: 600 1.35rem/1.2 var(--display); margin: 0 0 .3rem; }
.cookie-txt p { margin: 0 0 .4rem; font: 400 .97rem/1.5 var(--body); color: var(--ivory); }
.cookie-bar a { color: var(--gold-light); font-weight: 700; }
.cookie-bar a:hover { color: var(--ivory); }
.cookie-now { font-weight: 700; color: var(--gold-light) !important; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-btn { flex: 1 1 12rem; min-height: 48px; font: 500 1rem/1.2 var(--body); background: var(--ivory); color: var(--plum);
  border: 2px solid var(--ivory); border-radius: 0; padding: .7rem 1.25rem; cursor: pointer; }
.cookie-btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--plum-deep); }
.cookie-bar :focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.cookie-h:focus { outline: none; }
.cookie-h:focus-visible { outline: 3px solid var(--gold-light); }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-up .25s ease-out; } }
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: none; } }
@media print { .cookie-bar, .ad-slot { display: none !important; } }
.cookie-btn { font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; }
.cookie-in { padding: 0 var(--gutter); }
