:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --white: #fff;
  --ink: #22221f;
  --muted: #615d55;
  --rule: #ddd9d0;
  --orange: #ed7202;
  --orange-ink: #a43f00;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--body) }
a { color: inherit; text-underline-offset: .23em }
a:hover { color: var(--orange-ink) }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 4px }
button, input, select, textarea { font: inherit }
img { display: block; max-width: 100% }
h1, h2, h3 { font: 600 1em/1.02 var(--display); letter-spacing: -.035em; margin: 0 }
p { margin: 0 }
.site-frame { width: min(100% - 5vw, 92rem); margin-inline: auto }
.site-header, .site-footer { background: var(--white) }
.site-header { border-bottom: 1px solid var(--rule); position: relative; z-index: 1 }
.header-inner { min-height: 5.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem }
.header-inner nav a, .main-site { text-decoration: none; font-size: .93rem; padding: .45rem .08rem }
.header-inner nav a[aria-current="page"] { border-bottom: 2px solid var(--orange); font-weight: 650 }
.wordmark { display: flex; align-items: center; gap: .65rem; text-decoration: none; font: 700 1.55rem/.95 var(--display); letter-spacing: -.045em }
.wordmark img { width: 2.3rem; height: 2.3rem; object-fit: contain }
.wordmark small { display: block; margin-top: .4rem; font: 500 .57rem/1 var(--body); letter-spacing: .07em }
.main-site { color: var(--muted); white-space: nowrap }
.skip { position: absolute; top: .6rem; left: .6rem; padding: .65rem; background: var(--white); z-index: 4; transform: translateY(-180%) }
.skip:focus { transform: translateY(0) }
.hero { margin-block: 1.25rem clamp(2rem, 5vw, 5rem); display: grid; grid-template-columns: .95fr 1.2fr; background: #23221f; min-height: clamp(27rem, 43vw, 41rem); color: #fff; overflow: hidden }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5.2vw, 5.4rem); gap: 1.5rem }
.hero-label, .section-label, .sample-type { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em }
.hero-label { color: #ff9b45; padding-bottom: .55rem; border-bottom: 1px solid #ff9b45 }
.hero h1 { font-size: clamp(3.35rem, 6.15vw, 6.75rem); line-height: .92; letter-spacing: -.077em }
.hero-copy > p:not(.hero-label) { max-width: 24rem; color: #e7e4dc; line-height: 1.6 }
.hero-image { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 55% center }
.primary-link, form button { background: var(--ink); color: #fff; padding: .75rem 1.15rem; border: 1px solid var(--ink); text-decoration: none; cursor: pointer; font-weight: 650 }
.primary-link { display: inline-flex; align-items: center; gap: 1rem; color: #211d16; background: #ff8a35; border-color: #ff8a35 }
.primary-link:focus-visible { outline-color: #fff }
.primary-link:hover { background: #ff9d59; color: #211d16 }
.catalogue-index { scroll-margin-top: 1rem; margin-bottom: 5rem }
.browse-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--rule) }
.browse-head h2, .group-heading h2 { font-size: clamp(1.85rem, 3.4vw, 3.1rem); font-weight: 660 }
.section-label { color: var(--orange-ink); margin-bottom: .5rem }
.segment, .chips { display: flex; flex-wrap: wrap; gap: .4rem }
.chip { display: inline-flex; align-items: center; min-height: 2.35rem; border: 1px solid var(--rule); border-radius: 2rem; padding: .39rem .74rem; background: var(--white); text-decoration: none; font-size: .83rem; line-height: 1.25 }
.chip:hover { border-color: var(--orange-ink) }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink) }
.segment { gap: .3rem }
.segment .chip { font-weight: 650; padding-inline: .92rem }
.browse-layout { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); gap: clamp(1.1rem, 3vw, 3.2rem) }
.filters { padding: 1.4rem 1rem 1.4rem 0; border-right: 1px solid var(--rule); min-width: 0 }
.filter-part { margin-top: 1.4rem }
.filter-part h3, .filter-search label { font: 700 .9rem/1.25 var(--body); letter-spacing: 0; margin: 0 0 .58rem }
.filter-search div { display: flex }
.filter-search input { min-width: 0; border: 1px solid var(--rule); padding: .6rem; width: 100%; border-right: 0 }
.filter-search button, .lot-filters button { font-size: .82rem; padding: .5rem .65rem }
.filter-search label, .lot-filters label { display: block }
.lot-filters { font-size: .82rem; border-top: 1px solid var(--rule); margin-top: 1.2rem; padding-top: .6rem }
.lot-filters summary { cursor: pointer; color: var(--muted) }
.lot-filters select { display: block; width: 100%; margin-block: .2rem .5rem; padding: .35rem; border: 1px solid var(--rule); background: var(--white) }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .4rem }
.swatch { min-width: 0; min-height: 3.6rem; display: grid; place-content: center; justify-items: center; gap: .28rem; border-radius: .32rem; text-decoration: none; font-size: .66rem; line-height: 1.1; overflow-wrap: anywhere; text-align: center }
.swatch-dot { display: block; width: 1.55rem; height: 1.55rem; background: var(--surface); border: 1px solid #0003; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff4 }
.swatch:hover, .swatch[aria-current="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--rule) }
.swatch[aria-current="true"] .swatch-dot { outline: 2px solid var(--orange-ink); outline-offset: 3px }
.clear-filters { display: inline-block; margin-top: 1.3rem; font-size: .88rem; color: var(--orange-ink) }
.mobile-results { display: none }
.catalogue-results { min-width: 0; padding-top: 1.35rem }
.catalogue-index[aria-busy="true"] .catalogue-results { opacity: .58 }
.result-count { margin-bottom: 1.3rem; font-size: .88rem; color: var(--muted) }
.result-group + .result-group { margin-top: 2.8rem }
.group-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: .7rem; margin-bottom: 1.1rem }
.group-heading p { margin-top: .55rem; color: var(--muted); font-size: .9rem }
.group-heading .chip { flex: none }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 12rem),1fr)); gap: .95rem }
.sample { background: var(--white); border: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column }
.material-image { height: clamp(6.5rem, 11vw, 11.6rem); display: grid; place-items: center; margin: 0; overflow: hidden; background: color-mix(in srgb,var(--surface),#edeae3 52%); color: #26221f; text-decoration: none; font-size: .8rem }
.material-image img { width: 100%; height: 100%; object-fit: cover }
.tonal-sample { width: 60%; height: 55%; background: linear-gradient(160deg,#fff2,#0002),var(--surface); border: 1px solid #0002; box-shadow: 0 3px 0 color-mix(in srgb,var(--surface),#000 25%),0 13px 15px #423b342f; transform: rotate(-9deg) skew(7deg); transition: transform .22s ease }
.material-image:hover .tonal-sample { transform: rotate(-6deg) skew(5deg) scale(1.055) }
.sample-info { padding: .9rem; display: grid; align-content: start; gap: .4rem; flex: 1 }
.sample-type { color: var(--orange-ink); letter-spacing: .07em; font-size: .65rem }
.sample-info h3 { font-size: clamp(1.1rem, 1.65vw, 1.44rem); line-height: 1.08; overflow-wrap: anywhere }
.sample-info p:not(.sample-type) { color: var(--muted); font-size: .77rem }
.tone-mark { display: inline-block; width: .62rem; height: .62rem; margin-right: .38rem; border: 1px solid #0003; border-radius: 50%; background: var(--surface) }
.sample-actions { display: grid; justify-items: start; gap: .35rem; margin-top: .25rem; font-size: .78rem; font-weight: 650 }
.source-link { color: var(--muted); font-weight: 400 }
.empty { padding: 1.1rem; border: 1px solid var(--rule); background: #fff; margin-block: 1rem }
.empty h2 { font-size: 1.25rem; margin-bottom: .5rem }
.help-link { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1rem; font-size: .9rem }
.pager { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem }
.work-page { width: min(100% - 2rem, 52rem); margin: clamp(1rem, 4vw, 3rem) auto; background: var(--white); padding: clamp(1.15rem, 4vw, 3rem); min-height: 50vh }
.work-page h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 1.1rem }
.work-page h2 { font-size: 1.55rem; margin-block: 1.5rem .75rem }
.work-page p + p { margin-top: .85rem }
.work-page form { margin-top: 1.3rem }
.work-page form label { display: block; font-weight: 650; margin-block: .95rem .55rem }
.work-page input:not([type="hidden"]), .work-page select, .work-page textarea { display: block; background: #fff; color: var(--ink); border: 1px solid #918a7f; width: 100%; padding: .65rem; margin-top: .25rem }
.work-page button { margin-block: .6rem 1rem }
.selection-note { margin-block: 1rem; padding: .8rem 1rem; background: var(--paper); border-left: .25rem solid var(--orange) }
.site-footer { border-top: 1px solid var(--rule); padding-block: 1.5rem }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: .8rem }
.footer-inner p, .footer-inner nav { color: var(--muted); font-size: .83rem }
@media (max-width: 780px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: .8rem; gap: .65rem }
  .header-inner nav { order: 3; width: 100%; gap: .6rem 1.2rem }
  .hero { grid-template-columns: 1fr; min-height: 0 }
  .hero-copy { padding: 1.6rem; gap: 1rem }
  .hero-image { max-height: 23rem; min-height: 12rem; aspect-ratio: 1.8 }
  .hero h1 { font-size: clamp(3rem, 11vw, 5.5rem) }
  .browse-layout { grid-template-columns: 1fr }
  .filters { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1rem 0 }
  .filter-part { margin-top: .9rem }
  .filter-part .chips, .swatches { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: .15rem .18rem .55rem; scroll-snap-type: x proximity }
  .filter-part .chip { flex: none; white-space: nowrap; min-height: 2.75rem; scroll-snap-align: start }
  .swatch { flex: 0 0 3.35rem; scroll-snap-align: start }
  .mobile-results { display: inline-block; padding: .42rem 0; margin: .55rem .8rem 0 0; font-size: .9rem; font-weight: 650 }
  .catalogue-results { padding-top: 0 }
  .sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem }
  .sample-info { padding: .66rem }
}
@media (max-width: 365px) { .group-heading { display: block } .group-heading .chip { margin-top: .55rem } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important } }
