/* Whispering Homes — Professional Catalog. Design tokens from the approved
   Claude Design handoff ("Sage" palette). No radii, no shadows, 1px rules. */
:root {
  --paper: #f5f5f0; --ink: #1f2a26; --body: #3b4642; --muted: #6f7b74; --placeholder: #a3aca5;
  --stage: #e2e6df; --stage-warm: #e8e5d8; --hair: #d2d7cd; --border: #c6cdc4; --brass: #b08d4f; --glow: #e6b357;
  --scrim: rgba(31,42,38,0.32); --glass: rgba(245,245,240,0.94); --glass-soft: rgba(245,245,240,0.86);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px); --maxw: 1560px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brass); }
button { font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
main.page { flex: 1; padding-bottom: clamp(64px, 7vw, 110px); animation: rise .4s ease; }
body.pdp { --maxw: 1480px; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* Type */
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }
h1.title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; margin: 0; letter-spacing: -.01em; }
h2.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); margin: 0; line-height: 1.1; }
.meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.link-ul { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { height: 50px; padding: 0 24px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--stage); color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); }
.btn.brass-hover:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); }
.btn.is-on { background: var(--ink); color: var(--paper); }
.textbtn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.textbtn:hover { color: var(--ink); }

/* Header */
.hdr { border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 30; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.pdp .hdr { position: static; background: var(--paper); }
.hdr .wrap { height: 68px; display: flex; align-items: center; gap: 40px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; gap: 4px; flex: none; }
.wordmark .wm { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.wordmark .sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nav a, .nav span { padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a.active { border-bottom-color: var(--ink); }
.nav span { color: var(--placeholder); cursor: default; }
.searchbar { flex: 1; min-width: 0; display: flex; justify-content: center; }
.searchbar button { width: min(440px, 100%); height: 38px; border: 1px solid var(--border); background: transparent; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); font-size: 13px; cursor: text; text-align: left; transition: border-color .25s; }
.searchbar button:hover { border-color: var(--ink); }
.searchbar button span.ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar button kbd { margin-left: auto; font-family: inherit; font-size: 11px; letter-spacing: .08em; border: 1px solid var(--border); padding: 1px 6px; }
.hdr-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hdr-actions a { white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 11px; letter-spacing: 0; transition: background .3s, color .3s; }
.badge.has { background: var(--ink); color: var(--paper); }
.enquire { background: var(--ink); color: var(--paper); padding: 10px 18px; transition: background .3s; }
.enquire:hover { background: var(--brass); color: var(--paper); }
.mobile-icons { display: none; margin-left: auto; align-items: center; gap: 6px; }
.iconbtn { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mobile-icons .selbtn { height: 44px; padding: 0 6px; display: flex; align-items: center; }
.mobile-icons .badge { min-width: 22px; height: 22px; }

/* Breadcrumb + page heads */
.crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 22px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brass); }
.crumb .cur { color: var(--ink); }
.pagehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; padding: clamp(24px, 3vw, 44px) 0 20px; }
.pagehead.ruled { border-bottom: 1px solid var(--ink); padding-bottom: clamp(24px, 3vw, 40px); margin-bottom: 28px; }
.pagehead .lead { display: flex; flex-direction: column; gap: 12px; }
.pagehead p.intro { margin: 0; font-size: 14px; color: var(--body); max-width: 44ch; }

/* Landing */
.home-top { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 88px); align-items: end; padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 3vw, 44px); }
.home-top .intro { display: flex; flex-direction: column; gap: 20px; }
.home-top h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.2vw, 68px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.home-top p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 40ch; }
.home-top .status { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile.lead { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stage); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s ease; }
.tile:hover .img img { transform: scale(1.03); }
.tile .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--ink); padding-top: 12px; }
.tile .cap .name { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); line-height: 1; display: block; }
.tile .cap .sub { font-size: 12px; letter-spacing: .08em; color: var(--muted); display: block; margin-top: 2px; }
.tile .cap .cta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: color .3s; }
.tile:hover .cap .cta { color: var(--brass); }
.tile.soon .cap { border-top-color: var(--hair); }
.tile.soon .cap .name { font-size: 26px; color: var(--muted); }
.tile.soon .cap .cta { font-size: 11px; color: var(--placeholder); }
.ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--placeholder); text-align: center; padding: 12px; }

/* Collection (category tiles) */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.cat { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cat .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stage); }
.cat.lead { grid-column: 1 / 3; grid-row: 1 / 3; }
.cat.lead .img { aspect-ratio: 1 / 1; }
.cat .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.cat:hover .img img { transform: scale(1.03); }
.cat .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--ink); padding-top: 10px; }
.cat .cap .name { font-family: var(--serif); font-size: 24px; line-height: 1; }
.cat.lead .cap .name { font-size: clamp(30px, 2.6vw, 40px); }
.cat .cap .n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Listing */
.refine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); padding: 12px 0; margin-bottom: 28px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.refine .chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stage); }
.card .img > a { position: absolute; inset: 0; display: block; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.card:hover .img img { transform: scale(1.04); }
.card .add { position: absolute; right: 10px; bottom: 10px; height: 34px; padding: 0 12px; border: 1px solid var(--border); background: rgba(245,245,240,.92); color: var(--ink); cursor: pointer; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; opacity: .85; transition: opacity .3s, background .3s, color .3s, border-color .3s; white-space: nowrap; }
.card .add .ic { font-size: 14px; line-height: 1; }
.card:hover .add, .card .add.is-on { opacity: 1; }
.card .add:hover, .card .add.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card .txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card .txt .name { font-size: 14px; line-height: 1.35; color: var(--ink); }
.card .txt .sku { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager .pages { display: flex; gap: 14px; }
.pager .pages a, .pager .pages span { padding: 4px 0; border-bottom: 1px solid transparent; }
.pager .pages span.cur { color: var(--ink); border-bottom-color: var(--ink); }
.empty { padding: clamp(48px, 6vw, 96px) 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 48ch; }
.empty .big { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.empty p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* Product page */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.stage-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.modes { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.modes button { background: none; border: 0; padding: 8px 0; cursor: pointer; color: #94a09a; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.modes button:hover, .modes button.active { color: var(--ink); }
.modes button.active { border-bottom-color: var(--ink); }
.modes .zoom { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; overflow: hidden; cursor: zoom-in; background: var(--stage); transition: background 1.2s ease; }
.stage.lit { background: var(--stage-warm); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.stage img.product { transition: opacity .9s ease; }
.stage img.show { opacity: 1; }
.stage .ph-label { font-size: 12px; }
.switch-wrap { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; transition: opacity .4s; }
.switch-wrap.off { opacity: 0; pointer-events: none; }
.switch { display: flex; align-items: center; gap: 16px; background: var(--glass-soft); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); padding: 10px 18px; cursor: pointer; }
.switch .lbl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--placeholder); transition: color .4s; }
.switch .lbl.active { color: var(--ink); }
.switch .track { position: relative; width: 52px; height: 24px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); transition: background .5s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: left .45s cubic-bezier(.4,0,.2,1), background .5s, box-shadow .6s; }
.switch.on .track { background: var(--ink); }
.switch.on .knob { left: 31px; background: var(--glow); box-shadow: 0 0 10px 3px rgba(230,179,87,.55); }
.stage-cap { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.info { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.info .eyebrow { font-size: 12px; letter-spacing: .14em; }
.info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.4vw, 52px); line-height: 1.05; margin: 14px 0 18px; letter-spacing: -.01em; }
.info h1 .accent { color: var(--brass); font-style: italic; }
.skurow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.skurow .code { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.skurow .copy { margin-left: auto; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.skurow .copy:hover { color: var(--ink); }
.skurow .copy.done { color: var(--brass); }
.desc { margin: 22px 0 0; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 52ch; white-space: pre-line; }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 30px 0 0; }
.keyspecs div { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--hair); }
.keyspecs dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.keyspecs dd { margin: 0; font-size: 15px; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 34px; }
.actions .btn { padding: 0 18px; }
.specs { margin-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--ink); padding-top: 28px; }
.specs .head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.specs .note { font-size: 12px; color: var(--muted); max-width: 48ch; }
.spec-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(32px, 4vw, 64px); }
.spec-group { padding-bottom: 36px; }
.spec-group h3 { margin: 0 0 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--brass); font-weight: 500; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(245,245,240,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; }
.mobilebar .skubtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: none; border: 0; padding: 0; cursor: pointer; flex: 1; min-width: 0; text-align: left; }
.mobilebar .skubtn .l { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mobilebar .skubtn .c { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.mobilebar .sq { width: 46px; height: 46px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.mobilebar .sq.is-on { background: var(--ink); color: var(--paper); }
.mobilebar .enq { height: 46px; padding: 0 20px; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(28,26,24,.28); animation: fade .25s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100%); background: var(--paper); border-left: 1px solid var(--hair); display: flex; flex-direction: column; animation: fade .25s ease; }
.drawer .dh { display: flex; align-items: baseline; justify-content: space-between; padding: 26px 28px 18px; border-bottom: 1px solid var(--ink); }
.drawer h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 6px 0 0; line-height: 1; }
.drawer .db { flex: 1; overflow: auto; padding: 8px 28px; }
.drawer .row { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.drawer .row .im { width: 88px; height: 88px; object-fit: cover; background: var(--stage); }
.drawer .row .t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.drawer .row .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer .row .nm { font-size: 15px; line-height: 1.3; }
.drawer .row .sk { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.drawer .row .rm { align-self: flex-start; margin-top: 6px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.drawer .row .rm:hover { color: var(--brass); }
.drawer .empty-note { margin: 0; padding: 36px 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.drawer .df { padding: 20px 28px 28px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; }
.drawer .df .cnt { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drawer .df .cnt b { color: var(--ink); font-weight: 400; }
.drawer .btn { width: 100%; }

/* Zoom */
.zoom-ov { position: fixed; inset: 0; z-index: 50; background: var(--paper); cursor: zoom-out; overflow: hidden; animation: fade .3s ease; touch-action: none; }
.zoom-ov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(2.2); transform-origin: 50% 50%; transition: transform-origin .08s linear; }
.zoom-ov .zt { position: absolute; top: 20px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); z-index: 1; }
.zoom-ov .zt b { color: var(--ink); font-weight: 400; }

/* Selection page */
.selhead { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; padding: clamp(24px, 3vw, 44px) 0 20px; border-bottom: 1px solid var(--ink); }
.selhead .r { display: flex; gap: 24px; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.selrows { display: flex; flex-direction: column; }
.selrow { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hair); animation: fade .3s ease; }
.selrow .im { display: block; aspect-ratio: 1 / 1; background: var(--stage); overflow: hidden; }
.selrow .im img { width: 100%; height: 100%; object-fit: cover; }
.selrow .t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.selrow .t .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.selrow .t .nm { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.selrow .t .sk { font-size: 13px; letter-spacing: .06em; color: var(--body); }
.selrow .acts { display: flex; gap: 20px; align-items: center; justify-content: flex-end; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.selrow .acts button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.selrow .acts button:hover { color: var(--brass); }
.selfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-top: 32px; }
.planned { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--placeholder); }
.planned .l { color: var(--muted); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 16px; animation: rise .3s ease; white-space: nowrap; }
.toast a { color: var(--glow); }

/* Search overlay */
.search-ov { position: fixed; inset: 0; z-index: 50; background: var(--scrim); animation: fade .2s ease; }
.search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 51; background: var(--paper); border-bottom: 1px solid var(--ink); animation: rise .25s ease; max-height: 100vh; overflow: auto; }
.search-panel .row { display: flex; align-items: center; gap: 16px; height: 68px; border-bottom: 1px solid var(--hair); }
.search-panel input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink); outline: none; }
.search-panel .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 48px; padding: 20px 0 28px; }
.search-panel .col h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; margin: 0; font-weight: 400; }
.search-panel .cat { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.search-panel .cat .m { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search-panel .prod { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.search-panel .prod .im { width: 44px; height: 44px; background: var(--stage); overflow: hidden; display: block; }
.search-panel .prod .im img { width: 100%; height: 100%; object-fit: cover; }
.search-panel .prod .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-panel .prod .sk { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.search-panel .none { padding: 10px 0; border-top: 1px solid var(--hair); font-size: 13px; color: var(--placeholder); }
.search-panel .all { display: block; padding: 12px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--paper); display: flex; flex-direction: column; animation: fade .25s ease; overflow: auto; }
.menu .mh { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 20px; border-bottom: 1px solid var(--ink); flex: none; }
.menu .mh .wm { font-family: var(--serif); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.menu .mb { padding: 28px 20px; display: flex; flex-direction: column; gap: 6px; }
.menu .big { font-family: var(--serif); font-size: 34px; line-height: 1.1; padding: 12px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: baseline; }
.menu .big.soon { color: var(--placeholder); }
.menu .big .m { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu .subs { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0 0 14px; border-bottom: 1px solid var(--hair); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.menu .subs a { color: var(--muted); }
.menu .subs a.active { color: var(--ink); }
.menu .big.nb { border-bottom: 0; }
.menu .sel { margin-top: 28px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 14px 0; display: flex; justify-content: space-between; }
.menu .btn { margin-top: 8px; }

/* Footer */
.ftr { border-top: 1px solid var(--ink); }
.ftr .wrap { padding: 32px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.ftr .wm { font-family: var(--serif); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ftr .links { display: flex; gap: 28px; flex-wrap: wrap; text-transform: uppercase; }
.ftr .links a { color: var(--muted); }
.ftr .links a:hover { color: var(--brass); }
body.pdp .ftr { margin-top: clamp(72px, 8vw, 120px); }

/* Error page */
.errpage { padding: clamp(64px, 8vw, 120px) 0; max-width: 52ch; }
.errpage .code { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.errpage h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; margin: 14px 0 18px; }
.errpage p { color: var(--body); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }

/* Responsive */
@media (max-width: 1200px) {
  .searchbar { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .searchbar, .hdr-actions { display: none; }
  .mobile-icons { display: flex; }
  .hdr .wrap { gap: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .home-top { grid-template-columns: 1fr; }
  .home-top .status { justify-content: flex-start; }
  .collections { grid-template-columns: 1fr; }
  .tile.lead { grid-column: auto; grid-row: auto; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat.lead { grid-column: 1 / -1; grid-row: auto; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .modes { justify-content: space-between; }
  .actions { display: none; }
  .mobilebar { display: flex; }
  body.pdp main.page { padding-bottom: 96px; }
  .selrow { grid-template-columns: 96px 1fr; }
  .selrow .acts { grid-column: 2; justify-content: flex-start; }
  .selhead { flex-direction: column; align-items: flex-start; }
  .card .add { opacity: 1; }
  .card .add .lbl { display: none; }
  .card .add { padding: 0 10px; }
  .toast { white-space: normal; text-align: center; max-width: calc(100vw - 32px); }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { gap: 18px; }
  .modes .zoom .zl { display: none; }
  .wordmark .wm { font-size: 18px; }
  .keyspecs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
