/* Po & Things — its own look, separate from Sóma's (no green/ivory, no Cormorant).
   Cool gallery paper, near-black ink, one persimmon accent. No gold, no purple, no shimmer. */
:root {
  --bg: #F1F1EE; --paper: #E4E4DF; --ink: #16171A; --soft: #6C6C68; --line: rgba(22,23,26,.14); --accent: #BF4E30;
  --serif: "Playfair Display", "Songti SC", Georgia, serif;
  --sans: "Hanken Grotesk", "PingFang SC", system-ui, sans-serif;
  --gut: clamp(18px, 4vw, 56px);
  --top: 56px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.immersive { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.caps { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); font-weight: 500; }

.top { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gut); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { white-space: nowrap; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1; }
.brand em { color: var(--accent); font-style: italic; padding: 0 .04em; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.top nav a { opacity: .6; } .top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.bag-btn { white-space: nowrap; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.bag-btn:hover { border-color: var(--ink); }
.bag-btn span { display: inline-block; min-width: 1.2em; text-align: center; }

main { min-height: 80vh; }
body.immersive main { min-height: 0; }
.wrap { padding: 0 var(--gut); max-width: 1320px; margin: 0 auto; }

/* home */
.hero { padding: clamp(60px, 11vw, 140px) var(--gut) clamp(40px, 7vw, 90px); max-width: 1320px; margin: 0 auto; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 11.5vw, 8.4rem); line-height: .98; letter-spacing: -.025em; margin: 0; }
.hero h1 em { color: var(--accent); font-style: italic; padding: 0 .04em; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--soft); max-width: 28rem; margin: 1.8rem 0 0; line-height: 1.4; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 var(--gut); max-width: 1320px; margin: 0 auto 22px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 500; margin: 0; letter-spacing: -.01em; }
section { margin-bottom: clamp(60px, 9vw, 120px); }

/* collections: small cover, own colour, own voice */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 var(--gut); max-width: 1320px; margin: 0 auto; }
.col { display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 20px; border-radius: 3px; background: var(--c-bg); color: var(--c-ink); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.col[href]:hover { transform: translateY(-4px); }
.col .cover { position: relative; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--c-ink) 14%, var(--c-bg)); }
.col .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.col .cover .tag { position: absolute; left: 10px; top: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; background: var(--c-bg); color: var(--c-ink); border-radius: 99px; padding: 4px 10px; }
.col .txt { padding: 0 8px; display: grid; gap: 6px; }
.col h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.1; font-weight: 500; }
.col p { margin: 0; opacity: .8; font-size: 14px; }
.col .go { margin-top: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.col.soon { cursor: default; }
.col.soon .cover { display: grid; place-items: center; }
.col.soon .cover span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.col.t-soma { --c-bg: #43201D; --c-ink: #F0E6DA; } .col.t-soma h3 { font-family: "Songti SC", "Noto Serif SC", serif; letter-spacing: .1em; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.col.t-cabin { --c-bg: #39444A; --c-ink: #E6EBEC; } .col.t-cabin h3 { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.col.t-bag { --c-bg: #D4D9DF; --c-ink: #1B2430; } .col.t-bag h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.col.t-wardrobe { --c-bg: #A98274; --c-ink: #FBF3EE; } .col.t-wardrobe h3 { font-style: italic; }
.col h3 { font-family: var(--serif); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gut); max-width: 1320px; margin: 0 auto 26px; }
.chip { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; padding: 0 var(--gut); max-width: 1320px; margin: 0 auto; }
.card { display: block; }
.card .ph { aspect-ratio: 1 / 1; background: var(--paper); border-radius: 3px; display: grid; place-items: center; padding: 12%; overflow: hidden; }
.card .ph img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(20,20,20,.22)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph img { transform: translateY(-4px) scale(1.04); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; margin: .8rem 0 .3rem; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card .price { font-size: 13px; letter-spacing: .06em; font-weight: 500; }
.from { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
.from i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--soft)); }

.c-head { padding: clamp(40px, 7vw, 90px) var(--gut) 16px; max-width: 1320px; margin: 0 auto; display: grid; gap: 14px; }
.c-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 7.5vw, 4.6rem); font-weight: 500; line-height: 1.02; }
.c-head p { max-width: 38rem; margin: 0; color: var(--soft); font-size: 1.05rem; }
.crumb { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
.crumb a:hover { text-decoration: underline; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--bg); }
.seg button { white-space: nowrap; background: none; border: 0; border-radius: 99px; padding: 7px 18px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-wrap { max-width: 1320px; margin: 0 auto; padding: 8px var(--gut) 24px; }

/* walk-in: the room fills the screen under a slim bar */
.room { position: fixed; left: 0; right: 0; top: var(--top); bottom: 0; background: #0E0B09; }
.room iframe { width: 100%; height: 100%; border: 0; display: block; }
.room .bar { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.room .bar > * { pointer-events: auto; }
.room .name { background: var(--bg); border-radius: 99px; padding: 7px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.room .name a { opacity: .6; } .room .name a:hover { opacity: 1; }

.list { padding: 0 var(--gut); max-width: 1320px; margin: 0 auto; }
.list a { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.list a:last-child { border-bottom: 1px solid var(--line); }
.list .th { width: 84px; height: 84px; background: var(--paper); border-radius: 3px; display: grid; place-items: center; padding: 8px; }
.list .th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.list h3 { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.15; }
.list .meta { color: var(--soft); font-size: 13px; }
.list .price { font-size: 14px; font-weight: 500; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 4vw, 56px) var(--gut) 40px; max-width: 1320px; margin: 0 auto; align-items: start; }
.pdp .pic { background: var(--paper); border-radius: 3px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10%; position: sticky; top: calc(var(--top) + 16px); }
.pdp .pic img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(20,20,20,.25)); }
.pdp h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; margin: .6rem 0 .5rem; }
.theme-chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px 7px 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.theme-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.theme-chip:hover { border-color: var(--ink); }
.pdp .price { font-family: var(--serif); font-size: 2rem; margin: 1.2rem 0 .2rem; }
.pdp .price small { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--soft); margin-right: .3em; }
.pdp .note { font-size: 1.05rem; max-width: 32rem; margin: 1rem 0 1.2rem; }
.pdp ul { list-style: none; padding: 0; margin: 0 0 1.6rem; border-top: 1px solid var(--line); }
.pdp li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 99px; padding: 14px 30px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: none; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.pdp .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.more h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin: 0 0 18px; }

.empty { padding: 90px var(--gut); max-width: 640px; margin: 0 auto; text-align: center; }
.empty h1 { font-family: var(--serif); font-weight: 400; font-size: 3rem; margin: 0 0 .6rem; }
.empty p { color: var(--soft); }
footer { border-top: 1px solid var(--line); padding: 40px var(--gut) 50px; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: baseline; }
footer .brand { font-size: 20px; }
footer p { margin: 0; color: var(--soft); font-size: 13px; }

.drawer[hidden], .toast[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-shade { position: absolute; inset: 0; background: rgba(16,16,18,.42); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg); padding: 22px; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.18); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0; }
.drawer-head button { background: none; border: 0; font-size: 28px; line-height: 1; }
.drawer-body { flex: 1; overflow: auto; margin-top: 14px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.line .th { width: 64px; height: 64px; background: var(--paper); border-radius: 3px; display: grid; place-items: center; padding: 6px; }
.line .th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.line b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.05; display: block; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; background: none; line-height: 1; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.drawer-foot .sum { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.8rem; margin-bottom: 10px; }
.drawer-foot small { display: block; margin-top: 8px; color: var(--soft); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 99px; font-size: 12px; letter-spacing: .1em; }

@media (max-width: 900px) {
  .cols { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp .pic { position: static; }
  .top nav a[data-nav="all"] { display: none; }
}
@media (max-width: 520px) {
  .list a { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .list .th { width: 64px; height: 64px; }
  .brand { font-size: 20px; }
  .top nav a[data-nav] { display: none; }
  .cols { gap: 10px; }
  .col { padding: 8px 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
