:root {
  --black: #0d0d0c;
  --black-soft: #151512;
  --white: #f1efe8;
  --white-soft: #d8d5cc;
  --muted: #96948b;
  --line: #3a3934;
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --shadow: 0 24px 0 rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.45; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("assets/powder-spill.svg") 86% 12% / 74% auto no-repeat, url("assets/powder-spill.svg") 8% 78% / 70% auto no-repeat; opacity: .34; mix-blend-mode: screen; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10; transform: translateY(-180%); background: var(--white); color: var(--black); padding: .75rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-shell { width: min(100%, var(--max)); margin: 0 auto; padding-inline: var(--gutter); }

.site-header { width: min(100%, var(--max)); min-height: 96px; margin: 0 auto; padding: 1.4rem var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
main, .site-footer { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; min-width: 150px; }
.brand img { display: block; width: clamp(120px, 12vw, 170px); height: auto; filter: invert(1); }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); color: var(--muted); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav a, .nav-share { text-decoration: none; color: inherit; border: 0; background: transparent; padding: .7rem 0; }
.primary-nav a:hover, .nav-share:hover { color: var(--white); }
.nav-share { border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; color: var(--white); }
.nav-menu, .mobile-nav { display: none; }

.hero { min-height: 615px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; position: relative; overflow: hidden; }
.powder { position: absolute; pointer-events: none; user-select: none; mix-blend-mode: screen; }
.powder-hero { width: min(74vw, 900px); right: -25%; top: 12%; opacity: .65; transform: rotate(-7deg); }
.hero-copy, .hero-note { position: relative; z-index: 1; }
.eyebrow { margin: 0; color: var(--muted); font-size: .69rem; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 8ch; margin-bottom: 1.6rem; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.075em; }
.hero-lede { max-width: 30rem; margin-bottom: 2rem; color: var(--white-soft); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid var(--white); border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 700; }
.button-primary { background: var(--white); color: var(--black); }
.button-primary:hover { background: #fff; }
.button-quiet { color: var(--white); }
.button-quiet:hover { background: var(--white); color: var(--black); }
.hero-note { min-height: 300px; border: 1px solid #4a4942; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(15, 15, 13, .7); box-shadow: var(--shadow); transform: rotate(2deg); }
.object-label { align-self: flex-start; color: var(--muted); font-size: .62rem; letter-spacing: .16em; }
.hero-note strong { max-width: 13rem; margin: auto 0 1.25rem; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 800; letter-spacing: -.08em; line-height: .86; }
.object-line { width: 55%; height: 1px; background: var(--white); opacity: .7; }

.search-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 1.6rem; padding-bottom: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.25rem; position: relative; }
.search-control { display: block; position: relative; margin-top: .8rem; }
.search-control input { width: 100%; height: 58px; border: 1px solid #68665c; border-radius: 2px; padding: 0 3rem 0 1rem; color: var(--white); background: #131311; }
.search-control input::placeholder { color: #89877e; }
.search-icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--white-soft); font-size: 1.5rem; }
.category-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.category-chip { min-height: 40px; border: 1px solid #4b4a43; border-radius: 999px; padding: .55rem .8rem; background: transparent; color: var(--white-soft); font-size: .75rem; }
.category-chip:hover, .category-chip.is-active { background: var(--white); color: var(--black); border-color: var(--white); }

.discover { padding-top: clamp(5rem, 9vw, 8.5rem); padding-bottom: clamp(5rem, 9vw, 8.5rem); position: relative; overflow: hidden; }
.discover::after { content: ""; position: absolute; width: 780px; height: 280px; left: -34%; bottom: 9%; background: url("assets/powder-spill.svg") center / contain no-repeat; opacity: .34; pointer-events: none; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; position: relative; z-index: 1; }
h2 { margin: .8rem 0 0; font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.075em; line-height: .94; }
.section-aside { margin: 0; color: var(--muted); font-size: .8rem; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; position: relative; z-index: 1; }
.listing-card { min-height: 350px; border: 1px solid #4a4942; padding: 1.25rem; display: flex; flex-direction: column; background: rgba(20, 20, 17, .87); }
.listing-card-light { color: var(--black); background: var(--white); border-color: var(--white); transform: rotate(-1deg); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.card-top { color: var(--muted); }
.listing-card-light .card-top, .listing-card-light .card-bottom { color: #55544d; }
.card-tag { border: 1px solid currentColor; border-radius: 999px; padding: .35rem .5rem; letter-spacing: .08em; }
.card-body { margin: auto 0; padding: 2.2rem 0 2.5rem; }
.card-kicker { max-width: 14rem; margin-bottom: .8rem; color: var(--muted); font-size: .75rem; }
.listing-card-light .card-kicker { color: #55544d; }
.card-body h3 { margin-bottom: .8rem; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.07em; line-height: .91; }
.card-body > p:last-child { max-width: 17rem; margin-bottom: 0; color: var(--white-soft); font-size: .84rem; line-height: 1.5; }
.listing-card-light .card-body > p:last-child { color: #55544d; }
.card-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.empty-state { margin: 2rem 0 0; color: var(--muted); position: relative; z-index: 1; }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 4.2rem; padding-bottom: 4.2rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; }
.principles-list { display: grid; gap: 1rem; }
.principles-list div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.principles-list span { color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.principles-list p { max-width: 18rem; margin: 0; font-size: clamp(1.1rem, 2vw, 1.65rem); letter-spacing: -.04em; }

.recommend { min-height: 350px; padding-top: 5rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; position: relative; overflow: hidden; }
.recommend::before { content: ""; position: absolute; right: -32%; bottom: -62%; width: 850px; height: 550px; background: url("assets/powder-spill.svg") center / contain no-repeat; opacity: .25; pointer-events: none; }
.recommend > div { position: relative; z-index: 1; }
.section-copy { max-width: 27rem; margin: 1.4rem 0 1.7rem; color: var(--white-soft); }
.recommend-links { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 4rem); display: grid; align-content: center; gap: 0; }
.recommend-links a, .recommend-links button { display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); padding: 1rem 0; color: var(--white); background: transparent; text-align: left; text-decoration: none; font-weight: 700; }
.recommend-links a:hover, .recommend-links button:hover { color: var(--white-soft); }
.recommend-links span { color: var(--muted); }

.site-footer { min-height: 105px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 5; transform: translate(-50%, 150%); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; background: var(--white); color: var(--black); font-size: .8rem; transition: transform .2s ease; }
.toast.is-visible { transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .site-header { min-height: 76px; padding-block: 1rem; }
  .primary-nav { gap: .75rem; font-size: .62rem; }
  .primary-nav a:nth-child(2), .primary-nav a:nth-child(3) { display: none; }
  .nav-share { padding: .55rem .75rem; }
  .nav-menu { display: inline-flex; min-height: 40px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .75rem; background: transparent; color: var(--white); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav { position: absolute; right: var(--gutter); top: 70px; z-index: 3; min-width: 170px; padding: .55rem; border: 1px solid var(--line); background: var(--black-soft); box-shadow: var(--shadow); }
  .mobile-nav:not([hidden]) { display: grid; gap: .2rem; }
  .mobile-nav a { padding: .75rem; color: var(--white); font-size: .72rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-nav a:hover { background: var(--white); color: var(--black); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 5rem; }
  .powder-hero { width: 130vw; right: -48%; top: 25%; opacity: .5; }
  h1 { font-size: clamp(4rem, 19vw, 7rem); }
  .hero-note { min-height: 220px; max-width: 23rem; margin-left: auto; }
  .search-band { grid-template-columns: 1fr; }
  .category-row { justify-content: flex-start; }
  .section-heading { display: block; }
  .section-aside { margin-top: 1rem; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card { min-height: 300px; }
  .principles, .recommend { grid-template-columns: 1fr; gap: 2.5rem; }
  .recommend-links { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .site-footer { min-height: 140px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-links { flex-wrap: wrap; gap: .8rem 1.2rem; }
}

@media (pointer: coarse) {
  .button, .category-chip, .nav-share, .nav-menu, .recommend-links a, .recommend-links button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
