:root {
  color-scheme: light;
  --ink: #24283e;
  --muted: #45495d;
  --paper: #f8f3e9;
  --white: #fffdf9;
  --blue: #2b447c;
  --rule: #c8bfb1;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #864535; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; padding: .5rem .8rem; background: var(--white); z-index: 1; }
.skip:focus { top: .5rem; }
.mast { background: var(--white); border-top: 4px solid var(--blue); border-bottom: 1px solid var(--rule); }
.mast-inner { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: .55rem 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; font: 1.2rem var(--serif); }
.brand .stroke { width: 2rem; fill: var(--blue); }
.mast nav, .jumps { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.mast nav a, .jumps a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .92rem; font-weight: 650; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(2.25rem, 5vw, 4.4rem); letter-spacing: -.035em; margin: 0 0 .65rem; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.15rem 0 .35rem; }
p { margin: .35rem 0 1rem; }
.eyebrow { font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin: 0 0 .55rem; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 1fr);
  align-items: center; gap: 1.2rem; margin: 1.2rem 0 1.75rem;
  padding: clamp(1.25rem, 3vw, 2.25rem); background: #efe7dc;
  border: 1px solid var(--rule); border-radius: .3rem;
}
.hero p:not(.eyebrow), .page-heading > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.hero h1 { font-size: clamp(2.15rem, 4.15vw, 3.55rem); }
.swatch { width: 100%; height: auto; max-height: 16rem; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .55rem .85rem; background: var(--blue); color: #fff; border-radius: .25rem; font-size: .91rem; font-weight: 750; }
.shelf { margin: 1.5rem 0 2.5rem; }
.cards, .guide-list, .crumbs ol { list-style: none; padding: 0; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.shape-card {
  display: flex; min-height: 5.25rem; align-items: center; gap: .6rem; height: 100%;
  padding: .8rem; border: 1px solid #b9c4b8; border-radius: .25rem;
  color: var(--ink); font-family: var(--serif); font-size: 1.03rem; line-height: 1.22;
}
.shape-0 { background: #e8eee3; }
.shape-1 { background: #f4e5dc; border-color: #cfbeb4; }
.shape-2 { background: #e6eaf5; border-color: #bbc4d6; }
.shape-card .stroke { width: 2.65rem; flex: 0 0 auto; fill: var(--blue); }
.shape-0 .stroke { fill: #355b4c; }
.shape-1 .stroke { fill: #864535; }
.arrow { margin-left: .3em; font: .9rem system-ui, sans-serif; }
.guide-list { display: grid; gap: .5rem; }
.guide-list a { display: grid; gap: .22rem; padding: .65rem .75rem; background: var(--white); border: 1px solid var(--rule); border-radius: .2rem; text-decoration: none; }
.guide-list a strong { text-decoration: underline; }
.guide-list a span { color: var(--muted); font-size: .91rem; }
.crumbs { margin-top: .85rem; font-size: .83rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .55rem; align-items: center; }
.crumbs li + li::before { content: "›"; margin-right: .55rem; }
.crumbs a { display: inline-block; padding-block: .45rem; }
.page-heading { border-left: .25rem solid var(--blue); margin: .85rem 0 1.15rem; padding: .4rem 0 .35rem 1rem; }
.page-heading > p:last-child { margin-bottom: 0; }
.jumps { border-block: 1px solid var(--rule); margin-bottom: 1.4rem; }
.columns { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(15rem, 1fr); gap: 1.6rem; align-items: start; padding-bottom: 1.7rem; }
.side { background: #e8eee3; border: 1px solid #b9c4b8; border-radius: .25rem; padding: .9rem; }
.side section + section { margin-top: 1.4rem; }
.side h2 { font-size: 1.3rem; }
.side ul:not(.guide-list) { padding-left: 1.2rem; margin: 0; }
.side li + li { margin-top: .32rem; }
.step { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: .55rem; padding: .75rem 0 .1rem; border-top: 1px solid var(--rule); }
.step h3 { margin: .1rem 0 .35rem; }
.number { font: 700 .9rem/1.55 system-ui, sans-serif; color: var(--blue); }
.faq { margin-top: 1.45rem; }
details { border-top: 1px solid var(--rule); }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 650; padding: .75rem .25rem; }
details p { margin: 0 .25rem .75rem; padding-left: .95rem; }
.footer { border-top: 1px solid var(--rule); background: var(--white); color: var(--muted); padding: .9rem 0; font-size: .86rem; }
.brush-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: .8rem; padding: 0; }
.brush-card { min-width: 0; background: var(--white); border: 1px solid var(--rule); border-radius: .25rem; overflow: hidden; }
.brush-card:focus-within { outline: 3px solid #864535; outline-offset: 3px; }
.brush-card img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--rule); }
.brush-card span { display: block; padding: .65rem .7rem 0; overflow-wrap: anywhere; font-family: var(--serif); font-weight: 700; }
.brush-card p { color: var(--muted); margin: .35rem .7rem .75rem; font-size: .88rem; overflow-wrap: anywhere; }
.brush-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) auto; gap: .65rem; align-items: end; }
.brush-search label { display: grid; gap: .25rem; font-weight: 650; }
.brush-search input, .brush-search select { width: 100%; min-width: 0; min-height: 2.8rem; padding: .4rem .55rem; border: 1px solid #687084; border-radius: .25rem; background: var(--white); color: var(--ink); font: inherit; }
.brush-search button { border: 0; cursor: pointer; }
.home-search { grid-template-columns: minmax(0, 1fr) auto; }
.brush-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; padding-bottom: 2rem; }
.brush-detail img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: .25rem; }
.purchase { display: grid; gap: .55rem; padding: .8rem; background: #e8eee3; border: 1px solid #b9c4b8; border-radius: .25rem; }
.brush-card .purchase { margin: 0 .65rem .7rem; }
.purchase .action { text-align: center; overflow-wrap: anywhere; }
.purchase .purchase-note { margin: 0; font-size: .82rem; }
.brush-price { min-width: 0; display: grid; gap: .2rem; overflow-wrap: anywhere; }
.brush-price[hidden] { display: none; }
.price-amount { font-size: 1.2rem; }
.price-observed { color: var(--muted); }
.price-info summary { padding: .45rem .2rem; font-size: .84rem; }
.price-info p { font-size: .84rem; margin: 0 0 .45rem; padding: .1rem .25rem; }
.selection-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.selection-actions button { min-height: 2.75rem; background: var(--white); color: var(--ink); border: 1px solid #687084; border-radius: .25rem; padding: .35rem .5rem; cursor: pointer; }
.selection-actions button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.selection-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brush-detail section { margin-top: 1.1rem; }
.brush-detail dt { font-weight: 700; }
.brush-detail dd { margin: 0 0 .55rem; }
@media (max-width: 48rem) {
  .columns { grid-template-columns: 1fr; gap: 1rem; }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(8rem, .7fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brush-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 1.2rem); }
  .mast-inner { padding-top: .55rem; gap: .15rem .7rem; }
  .mast nav { width: 100%; }
  .hero { display: block; margin: .7rem 0 1.25rem; padding: .95rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.9vw, 2.65rem); }
  .swatch { display: none; }
  .shelf { margin-top: 1.2rem; }
  .shape-card { padding: .5rem; gap: .35rem; min-height: 4.6rem; }
  .shape-card .stroke { width: 1.65rem; }
  .page-heading { padding-left: .65rem; }
  .jumps { gap: .08rem .7rem; }
  .brush-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .brush-search { grid-template-columns: minmax(0, 1fr); }
  .brush-detail > img { max-height: 18rem; object-fit: contain; background: var(--white); }
}
