/* Category (/c) and product (/p) pages — builds on site.css */
.page { padding-top: 84px; min-height: 100vh; }
.muted-sm { font-size: 12px; color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span[aria-current] { color: var(--text); }
.crumbs > span:not([aria-current]) { color: var(--dim); }

/* ---------- category hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; transform: scale(1.06); filter: saturate(.85); }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 15%, rgba(8,17,31,.75) 55%, rgba(8,17,31,.35)), linear-gradient(to top, var(--bg), transparent 50%); }
.page-hero-inner { position: relative; }
.page-title { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 78px); line-height: 1; letter-spacing: -.02em; margin: 0; max-width: 1000px; }
.page-sub { color: var(--muted); max-width: 560px; margin: 24px 0 0; font-size: 16px; }
.page-stats { display: flex; gap: 28px; margin-top: 30px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.page-stats b { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0; color: var(--ivory); margin-right: 8px; vertical-align: -4px; }

.page .tabs-wrap { margin-top: 10px; }
.page .tabs a.tab { display: inline-block; }
.tab-ind { transition: transform .6s var(--ease), width .6s var(--ease); }

/* ---------- collections strip ---------- */
.cols-sec { padding: 36px 0 10px; }
.mini-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mini-head .eyebrow { margin: 0; }
.col-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.col-card { flex: none; width: 230px; text-align: left; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease); }
.col-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.col-card.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.col-card .cc-im { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.col-card .cc-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.col-card:hover .cc-im img { transform: scale(1.06); }
.col-card .all-mark { width: 34px; height: 34px; border: 1px solid var(--gold); transform: rotate(45deg); box-shadow: inset 0 0 0 7px var(--surface-2), inset 0 0 0 30px var(--gold-3); }
.col-card .cc-tx { padding: 12px 14px 14px; }
.col-card b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; }
.col-card span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- selected collection ---------- */
.col-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 26px 0 10px; padding: clamp(18px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ch-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: var(--surface-2); }
.ch-media img { width: 100%; height: 100%; object-fit: cover; }
.ch-title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; margin: 0 0 14px; }
.ch-desc { color: var(--muted); margin: 0 0 12px; max-width: 520px; }
.ch-meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 22px; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .col-head { grid-template-columns: 1fr; } }

.page-filters { padding-top: 30px; }
.page-filters .search { width: min(300px, 100%); }
.more-wrap { display: flex; justify-content: center; padding: 50px 0 clamp(70px, 9vw, 120px); }

/* ---------- product page ---------- */
.product .crumbs { margin-top: 26px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.pd-gallery { position: sticky; top: 90px; }
.pd-stage { position: relative; height: min(76vh, 780px); background: radial-gradient(ellipse at 50% 40%, #13233d, #060d18 75%); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.pd-stage img { position: absolute; left: 6%; top: 5%; width: 88%; height: 90%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.7)); transition: transform .35s var(--ease); }
.pd-stage.wide img { left: 3%; top: 3%; width: 94%; height: 94%; }
.pd-stage.zoom img { transform: scale(2.3); }
.pd-zoom-hint { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { position: relative; flex: none; height: 76px; border-radius: 3px; overflow: hidden; opacity: .5; outline: 1px solid transparent; outline-offset: 3px; transition: opacity .3s, outline-color .3s; background: var(--surface); }
.pd-thumb img { height: 100%; width: auto; display: block; }
.pd-thumb span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; text-align: center; background: rgba(0,0,0,.6); padding: 2px 0; }
.pd-thumb.on, .pd-thumb:hover { opacity: 1; outline-color: var(--gold); }

.pd-info { padding-top: 10px; }
.pd-name { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: -.01em; margin: 0 0 36px; }
.pd-desc { color: var(--muted); margin: 0 0 28px; }
.pd-desc:empty { display: none; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.pd-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.pd-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pd-link:hover { color: var(--gold-2); }
.pd-form { margin-top: 30px; }
.pd-form .eyebrow { margin-bottom: 4px; }
.pd-form .form-actions { align-items: center; margin-top: 18px; }
.pd-form .form-msg { margin: 0; }

.pd-3d { padding: clamp(70px, 9vw, 120px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-full { color: var(--gold-2); white-space: nowrap; }
.pd-frame { position: relative; height: min(80vh, 760px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #08111f; }
.pd-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1s; }
.pd-frame.ready iframe { opacity: 1; }
.pd-frame-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.pd-frame-load span { width: 34px; height: 34px; border: 1px solid var(--gold); transform: rotate(45deg); animation: spin 1.6s var(--ease) infinite; }
.pd-missing { padding: 160px 0; }

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-stage { height: 62vh; }
  .pd-frame { height: 72vh; }
}

.col-card .cc-im .mark-img { width: 70px; height: 66px; opacity: .85; }
.pd-frame-load .spin-mark { width: 46px; height: 44px; }

/* ---------- blog ---------- */
.wrap-narrow { width: 100%; max-width: calc(780px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.post-body { overflow-wrap: anywhere; }
.post-body table { display: block; overflow-x: auto; }
.blog-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(30px, 4vw, 50px); }
.blog-hero .page-title { font-size: clamp(36px, 4.8vw, 68px); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.blog-cats a { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); transition: all .3s; }
.blog-cats a:hover { color: var(--text); border-color: var(--muted); }
.blog-cats a.on { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.blog-list { padding-bottom: clamp(70px, 9vw, 120px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.05); }
.pc-ph { display: grid; place-items: center; height: 100%; }
.pc-ph .mark-img { width: 70px; height: 66px; opacity: .6; }
.pc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { margin: 0 0 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pc-title { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; margin: 0 0 10px; }
.pc-excerpt { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.pc-more { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 50px; color: var(--muted); font-size: 13px; }

.post-head { padding-top: clamp(40px, 6vw, 80px); }
.post-title { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.post-lede { font-size: 19px; color: var(--text); opacity: .85; margin: 24px 0 0; line-height: 1.6; }
.post-meta { margin: 24px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-cover { margin: clamp(36px, 5vw, 60px) auto 0; }
.post-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.post-body { padding-top: clamp(36px, 5vw, 56px); font-size: 18px; line-height: 1.8; color: #d5dee6; }
.post-body > * { margin: 0 0 1.2em; }
.post-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--text); margin: 1.8em 0 .6em; }
.post-body h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--text); margin: 1.6em 0 .5em; }
.post-body h4 { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); margin: 1.6em 0 .5em; }
.post-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--text); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin: .35em 0; }
.post-body li::marker { color: var(--gold); }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--text); }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; border-radius: var(--radius); }
.post-body figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.post-body th { color: var(--gold-2); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.post-body code { background: var(--surface); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-foot { padding-bottom: clamp(50px, 7vw, 90px); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 34px; }
.post-tags a { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
.post-tags a:hover { color: var(--text); border-color: var(--line-strong); }
.post-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 26px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.post-cta b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.post-cta p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 380px; }
.post-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tiles, .post-related { padding-bottom: clamp(60px, 8vw, 110px); }
.post-tiles .tile-grid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
@media (max-width: 640px) {
  .post-tiles .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-cta { padding: 20px; }
  .post-body { font-size: 17px; }
}
