:root {
  color-scheme: dark;
  --ink: #18211e;
  --surface: #202c24;
  --paper: #f3eddf;
  --gold: #ecd9b1;
  --muted: #bdc8b7;
  --line: #53604f;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.55 Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--ink); color: var(--paper); margin: 0; }
a { color: var(--gold); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2.25rem), 66rem); margin-inline: auto; }
header, footer { border-color: var(--line); border-style: solid; border-width: 0; }
header { border-bottom-width: 1px; }
footer { border-top-width: 1px; margin-top: 4rem; }
.mast, .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { font: 1.45rem var(--serif); color: var(--paper); text-decoration: none; }
.mast > a:last-child, .foot { font-size: .82rem; }
main { padding-top: clamp(1.5rem, 4.8vw, 3.5rem); }
h1, h2, figcaption { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 1.3rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 .7rem; }
figure, p { margin: 0; }
.status { color: var(--gold); font-size: .82rem; margin: 0 0 1.15rem; }
.design-title { max-width: 54rem; }
.product-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 3vw, 2rem); }
.product-card { display: block; color: var(--paper); text-decoration: none; background: var(--surface); border: 1px solid var(--line); }
.product-card:hover, .product-card:focus-visible { border-color: var(--gold); }
.product-card img, .product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.card-label { display: flex; padding: .7rem 1rem; align-items: center; justify-content: space-between; gap: .8rem; font: 1.35rem var(--serif); }
.card-label span { color: var(--gold); font: 1rem system-ui, sans-serif; }
figcaption { color: var(--gold); font-style: italic; font-size: clamp(1.3rem, 2.9vw, 2.1rem); margin-top: .65rem; }
.design-story { color: var(--muted); max-width: 46rem; margin-top: 1.1rem; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(1.25rem, 5vw, 4rem); }
.product-photo img { border: 1px solid var(--line); }
.detail-copy { max-width: 29rem; }
.detail-copy .status { margin: .55rem 0 .9rem; }
.detail-copy > p:not(.status) { color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin-top: 1.6rem; }
.related a, .foot a, .mast > a:last-child { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 680px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-pair { gap: .8rem; }
  .card-label { font-size: 1.02rem; padding: .5rem .65rem; }
  footer { margin-top: 2.3rem; }
  .related { margin-top: .9rem; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.45rem); }
  .mast { gap: .35rem .75rem; }
  .brand { font-size: 1.22rem; }
}
