:root {
  --bg: #0a0d2e;
  --card: rgba(255,255,255,.06);
  --ink: #f2f3fb;
  --muted: #a3a8c8;
  --line: rgba(255,255,255,.14);
  --accent: #e0820a;
  --accent-ink: #ffffff;
  --accent-soft: rgba(224,130,10,.16);
  --dark: #0b0e33;
  --gold: #f3b53f;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(0,0,0,.4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, sans-serif; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, .serif { font-family: "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Announcement + header */
.announce { background: var(--dark); color: #fff; text-align: center; font-size: 13px; padding: 9px 12px; }
.announce b { font-family: "Inter", system-ui, sans-serif; font-size: 14px; }
.announce .pill { background: var(--gold); color: #3a2a00; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 8px; font-size: 12px; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: "Inter", system-ui, sans-serif; font-size: 28px; font-weight: 800; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--accent); color: var(--accent); }
.search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.search input {
  width: 100%; padding: 11px 16px 11px 40px; border-radius: 999px;
  border: 1px solid var(--line); background: #f6f2ea; font: inherit; font-size: 14px;
}
.search svg { position: absolute; left: 14px; top: 11px; opacity: .5; }
.icon-btn {
  background: none; border: none; display: grid; justify-items: center; gap: 2px;
  font-size: 10px; letter-spacing: .06em; color: var(--ink); position: relative; padding: 4px 8px;
}
.icon-btn .count {
  position: absolute; top: -2px; right: 0; background: var(--accent); color: #fff;
  font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform .1s, box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #0b6659; box-shadow: 0 6px 18px rgba(15,123,108,.3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* Home */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 12px 0 18px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero .cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 32px; margin-top: 36px; }
.hero .stats b { font-family: "Inter", system-ui, sans-serif; font-size: 26px; display: block; }
.hero .stats span { font-size: 13px; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); background: #ddd; }
.mosaic .tall { grid-row: span 2; }
.mosaic .a1 { aspect-ratio: 3 / 4; }
.mosaic .a2 { aspect-ratio: 1; }
.mosaic .a3 { aspect-ratio: 4 / 3; }
section { padding: 48px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.sec-head h2 { font-size: 34px; margin: 0; }
.sec-head a { color: var(--accent); font-weight: 600; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #ccc;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.7)); }
.cat span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; z-index: 1; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard .img { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard .meta { padding: 14px 16px 16px; }
.pcard h3 { font-size: 17px; margin: 0 0 4px; }
.pcard .sub { color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; }
.price-from { margin-top: 8px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }
.res-band { background: var(--dark); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.res-band h2 { font-size: 34px; margin: 8px 0 10px; }
.res-band p { color: #b9b9c2; }
.res-list { display: grid; gap: 10px; }
.res-item { display: flex; justify-content: space-between; align-items: center; background: #24242a; border-radius: 12px; padding: 14px 18px; }
.res-item b { font-size: 16px; }
.res-item small { color: #9d9da8; display: block; }
.res-item .px { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 60px; padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }

/* Gallery */
.page-head { padding: 28px 0 12px; }
.page-head h1 { font-size: 36px; margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 20px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 14px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar select { margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; }
.gal { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); gap: 36px; align-items: start; }
.stage {
  background: #efeae0; border-radius: var(--radius); padding: 18px; display: grid; place-items: center; position: relative;
  min-height: 380px; margin-bottom: 20px;
}
.stage img { max-height: 540px; width: auto; max-width: 100%; border-radius: 8px; box-shadow: var(--shadow); background: #ddd; }
.wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; border-radius: var(--radius); }
.wm span { font-family: "Inter", system-ui, sans-serif; font-weight: 800; font-size: 54px; color: rgba(255,255,255,.28); transform: rotate(-24deg); white-space: nowrap; text-shadow: 0 0 6px rgba(0,0,0,.15); }
.stage .badge { position: absolute; left: 24px; top: 24px; background: rgba(23,23,27,.82); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 8px; }
.stage .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(40,40,46,.75); color: #fff; font-size: 18px; }
.stage .prev { left: 14px; } .stage .next { right: 14px; }
.masonry { columns: 3; column-gap: 14px; }
.tile {
  break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 12px; overflow: hidden;
  cursor: pointer; border: 3px solid transparent; background: #ddd;
}
.tile img { width: 100%; height: auto; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.tile.sel { border-color: var(--accent); }
.tile .res { position: absolute; left: 8px; bottom: 8px; background: rgba(23,23,27,.82); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.tile .pr { position: absolute; right: 8px; top: 8px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

.panel { position: sticky; top: 86px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; max-height: calc(100vh - 106px); overflow: auto; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.panel h2 { font-size: 30px; line-height: 1.15; margin: 0 0 8px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.rate { font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.price { font-family: "Inter", system-ui, sans-serif; font-size: 40px; font-weight: 800; }
.save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.comp { color: var(--muted); font-size: 14px; }
.comp s { font-weight: 600; }
.sale-bar { background: var(--dark); color: #fff; border-radius: 10px; padding: 11px 16px; font-size: 14px; margin: 14px 0 20px; display: flex; gap: 10px; align-items: center; }
.sale-bar b { font-family: "Inter", system-ui, sans-serif; }
.sale-bar .pill { background: var(--gold); color: #3a2a00; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin: 18px 0 10px; }
.step-title i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; position: relative; }
.opt:hover { border-color: #b9b2a3; }
.opt.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; background: var(--accent-soft); }
.opt .top { display: flex; justify-content: space-between; font-weight: 600; }
.opt small { color: var(--muted); display: block; font-size: 12.5px; margin-top: 2px; }
.opt .tag { position: absolute; top: -9px; right: 12px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.actions { display: grid; gap: 10px; margin-top: 22px; }
.details { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.details h4 { margin: 0 0 10px; font-size: 15px; }
.details p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14px; }
.dl dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.dl dd { margin: 0; font-weight: 600; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tags span { background: #f1ece2; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.perks { margin-top: 16px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }

/* Cart drawer + toast */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer header h3 { margin: 0; font-size: 22px; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 24px; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.ci b { display: block; font-size: 14px; }
.ci small { color: var(--muted); }
.ci button { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.drawer footer { padding: 20px 24px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 80; font-size: 14px; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.x { background: none; border: none; font-size: 24px; line-height: 1; }

@media (max-width: 1100px) {
  .gal { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero, .res-band { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .search { display: none; }
  .header .row { justify-content: space-between; }
  .logo { margin-right: auto; }
  .masonry { columns: 2; }
  .steps { grid-template-columns: 1fr; }
  .res-band { padding: 26px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 260px; }
  .opts.two { grid-template-columns: 1fr; }
}

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -6px 0 20px; }
.thumb { padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: #ddd; aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--accent); }
.email { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 10px; }
.secure { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.btn:disabled { opacity: .6; cursor: wait; }
.buys { margin: 22px 0 6px; font-size: 15px; }
.order { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.order small { color: var(--muted); }
.dl-link { display: flex; justify-content: space-between; background: var(--accent-soft); padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.dl-link span { color: var(--muted); font-weight: 400; }

/* ===== Monminds dark theme: navy/indigo with orange glow, full-window layout ===== */
html { min-height: 100%; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 600px at 88% 100%, rgba(224,130,10,.30), transparent 62%),
    radial-gradient(1100px 760px at 8% -5%, rgba(70,58,190,.55), transparent 62%),
    linear-gradient(160deg, #080b2a 0%, #0f1240 45%, #1a1550 75%, #2b1d3c 100%);
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600' preserveAspectRatio='none'%3E%3Cpath d='M0 520 L260 470 L520 500 L760 380 L1000 400 L1250 280 L1600 200' fill='none' stroke='%23f59e0b' stroke-opacity='.28' stroke-width='3'/%3E%3C/svg%3E") bottom / 100% 55% no-repeat;
}
body > main { flex: 1; }
.wrap { max-width: none; padding: 0 clamp(16px, 3.2vw, 56px); }
.announce { background: rgba(5,7,28,.85); }
.header { background: rgba(10,12,42,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo svg { flex: none; }
.logo small { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--gold); align-self: flex-end; margin: 0 0 4px -2px; }
.nav a:hover, .nav a.active { color: var(--gold); border-color: var(--gold); }
.search input { background: rgba(255,255,255,.07); color: var(--ink); border-color: var(--line); }
.search input::placeholder, .email::placeholder { color: var(--muted); }
.btn-primary { background: linear-gradient(180deg, #ee9210, #d97706); }
.btn-primary:hover { background: #c96d05; box-shadow: 0 8px 22px rgba(217,119,6,.4); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.icon-btn { color: var(--ink); }
.eyebrow { color: var(--gold); }
.cat::after { background: linear-gradient(transparent 40%, rgba(5,7,28,.85)); }
.pcard, .step, .panel, .opt { backdrop-filter: blur(10px); }
.pcard .img, .tile, .thumb { background: rgba(255,255,255,.08); }
.chip { background: rgba(255,255,255,.06); color: var(--ink); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.toolbar select, .email { background: rgba(255,255,255,.07); color: var(--ink); border-color: var(--line); }
select option { background: #12154a; color: var(--ink); }
.opt { background: rgba(255,255,255,.05); color: var(--ink); }
.opt:hover { border-color: rgba(255,255,255,.4); }
.opt.on { background: var(--accent-soft); }
.tags span { background: rgba(255,255,255,.09); }
.tile .pr { background: rgba(255,255,255,.95); color: #1b1b1f; }
.res-band { background: rgba(7,9,35,.7); border: 1px solid var(--line); }
.res-item { background: rgba(255,255,255,.07); }
.sale-bar { background: rgba(5,7,28,.8); border: 1px solid var(--line); }
.footer { background: rgba(6,8,32,.7); border-top: 1px solid var(--line); margin-top: 40px; }
.drawer { background: #0d1038; color: var(--ink); border-left: 1px solid var(--line); }
.x { color: var(--ink); }
.step .num, .step-title i { background: var(--accent); }
.save { background: var(--accent); }
.dl-link { color: var(--ink); }
.crumbs, .sub { color: var(--muted); }

/* Full-window layout */
.hero { min-height: calc(100vh - 110px); padding: 28px 0; gap: clamp(24px, 4vw, 72px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 84px); }
.mosaic { height: min(80vh, 860px); grid-template-rows: 1fr 1fr; }
.mosaic a { display: block; min-height: 0; }
.mosaic img { aspect-ratio: auto !important; height: 100%; }
.page-head { padding-top: 22px; }
.gal { grid-template-columns: minmax(0, 1.7fr) minmax(380px, 1fr); }
.stage { padding: 0; height: clamp(380px, 64vh, 800px); min-height: 0; overflow: hidden; background: rgba(255,255,255,.06); }
.stage img { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; border-radius: var(--radius); box-shadow: none; }
.panel { max-height: calc(100vh - 100px); }
@media (max-width: 1100px) { .mosaic { height: 60vh; } .hero { min-height: 0; } }
@media (max-width: 700px) { .logo small { display: none; } .stage { height: 52vh; } }

/* Auth: header button, menu, modal */
.header .row { position: relative; }
.acct-menu { position: absolute; right: 0; top: 64px; background: #12154a; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 210px; display: grid; gap: 2px; box-shadow: var(--shadow); z-index: 50; }
.acct-menu[hidden] { display: none; }
.acct-menu small { color: var(--muted); padding: 6px 10px; word-break: break-all; }
.acct-menu button { background: none; border: none; color: var(--ink); text-align: left; padding: 9px 10px; border-radius: 8px; }
.acct-menu button:hover { background: rgba(255,255,255,.08); }
.payas { font-size: 13px; color: var(--muted); margin: 0 0 10px; text-align: center; word-break: break-all; }
.payas b { color: var(--ink); }
.linkbtn { background: none; border: none; color: var(--gold); text-decoration: underline; padding: 0; font-size: 13px; }
.modal { position: fixed; inset: 0; background: rgba(3,4,20,.7); backdrop-filter: blur(4px); z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(420px, 100%); background: #0f1240; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.modal-card h3 { margin: 0; font-size: 24px; padding-right: 28px; }
.modal-sub { margin: 0; color: var(--muted); font-size: 14px; }
.modal-x { position: absolute; top: 14px; right: 16px; }
.modal-card .email { margin: 0; }
.modal-card .code { letter-spacing: .4em; text-align: center; font-size: 20px; }
.modal-msg { min-height: 18px; margin: 0; font-size: 13px; color: var(--gold); }
.modal-card .linkbtn { justify-self: center; }

/* Product preview */
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pill-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.preview-card { text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 48px) 0; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); overflow: hidden; }
.preview-card h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 16px 0 8px; }
.preview-sub { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.preview-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 4vw, 64px); align-items: center; }
.callouts { display: grid; gap: 18px; text-align: left; }
.callouts:first-child { text-align: right; }
.callout { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.callout b { display: block; font-size: 17px; margin-bottom: 4px; color: var(--gold); }
.callout span { color: var(--muted); font-size: 14px; }
.phone { width: 300px; border: 9px solid #05061c; border-bottom: 0; border-radius: 38px 38px 0 0; background: #05061c; position: relative; box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 30px 80px rgba(224,130,10,.18); text-align: left; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; background: #05061c; border-radius: 12px; z-index: 2; }
.screen { background: linear-gradient(180deg, #14184f, #0c0f33); border-radius: 28px 28px 0 0; padding: 34px 14px 0; height: 520px; overflow: hidden; display: grid; align-content: start; gap: 10px; font-size: 12px; }
.ph-top { display: flex; align-items: baseline; gap: 6px; }
.ph-logo { font-weight: 800; font-size: 15px; }
.ph-top small { font-size: 8px; color: var(--gold); }
.ph-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.ph-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; opacity: .7; }
.ph-thumbs img:first-child { opacity: 1; outline: 2px solid var(--accent); }
.ph-title { font-weight: 800; font-size: 17px; }
.ph-price { font-weight: 800; font-size: 20px; }
.ph-price s { font-size: 11px; font-weight: 500; color: var(--muted); }
.ph-price em { font-style: normal; font-size: 9px; background: var(--accent); padding: 2px 6px; border-radius: 5px; vertical-align: middle; }
.ph-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-sizes span { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; text-align: center; }
.ph-sizes span.on { border-color: var(--accent); background: var(--accent-soft); }
.ph-btn { background: linear-gradient(180deg, #ee9210, #d97706); border-radius: 10px; text-align: center; padding: 10px; font-weight: 700; font-size: 13px; }
@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr; }
  .callouts, .callouts:first-child { text-align: left; grid-template-columns: 1fr 1fr; }
  .phone { margin: 0 auto; order: -1; }
}
@media (max-width: 560px) { .callouts, .callouts:first-child { grid-template-columns: 1fr; } .phone { width: 260px; } }

/* Hero (Frame & Feel style) */
.hero-copy .eyebrow { font-size: 15px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.06; margin: 14px 0 20px; }
.hero .lede { font-size: clamp(18px, 1.6vw, 24px); color: #b9bfe3; max-width: 640px; line-height: 1.5; margin: 0 0 18px; }
.hero .tagline { font-size: 15px; color: #9aa1cf; margin: 0 0 26px; }
.hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin-top: 0; }
.btn-solid, .btn-outline { padding: 18px 20px; border-radius: 16px; font-size: 17px; font-weight: 700; }
.btn-solid { background: #f59e0b; color: #fff; }
.btn-solid:hover { background: #e08e08; box-shadow: 0 10px 28px rgba(245,158,11,.35); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-outline:hover { border-color: #f59e0b; }
.hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 640px; margin-top: 36px; }
.hero .stats b { font-size: clamp(30px, 3vw, 44px); font-weight: 600; line-height: 1.1; }
.hero .stats span { font-size: 15px; color: #9aa1cf; display: block; margin-top: 6px; }
@media (max-width: 560px) { .hero .cta { grid-template-columns: 1fr; } }

/* Emotional closing banner */
.closing { display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #141a3f; box-shadow: var(--shadow); }
.closing img { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; object-position: 50% 28%; transition: transform .6s; }
.closing:hover img { transform: scale(1.02); }
.closing { position: relative; }
.closing img { display: block; }
.closing-text { position: relative; background: #141a3f; padding: clamp(24px, 3.4vw, 48px); }
.closing-text h2 { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; margin: 0 0 12px; }
.closing-text p { color: #b9bfe3; font-size: clamp(16px, 1.5vw, 21px); margin: 0 0 18px; }
.closing-cta { color: var(--gold); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); }
.closing:hover .closing-cta { text-decoration: underline; }

/* Live room mockup: your gallery photos framed above the sofa */
.closing { background: #ecdcc2; }
.room { position: relative; width: 100%; aspect-ratio: 2 / 1; max-height: 720px; margin: 0 auto; overflow: hidden; background: #f3e7d1; }
.room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame {
  position: absolute; left: 50%; top: 7%; height: 36%; aspect-ratio: var(--r, 1.5); transform: translateX(-50%);
  border: clamp(4px, .55vw, 9px) solid #c99a32; border-image: linear-gradient(135deg, #f6d97e, #b5842a 45%, #f1cf6f 70%, #a87a25) 1;
  box-shadow: 0 22px 34px rgba(70, 45, 10, .38), 0 3px 6px rgba(70, 45, 10, .3);
  background: #111; transition: opacity .6s ease; overflow: hidden;
}
.frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 14px rgba(0,0,0,.45); pointer-events: none; }
.frame.out { opacity: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-chip { position: absolute; left: 20px; bottom: 18px; background: rgba(20,26,63,.85); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 700px) { .room { aspect-ratio: 4 / 3; } .room-bg { object-position: 50% 50%; } .frame { height: 26%; top: 12%; } }
/* the generic .closing img rule must not resize the room layers */
.closing .room img { width: 100%; height: 100%; transition: none; }
.closing:hover .room img { transform: none; }
.closing .room .frame img { object-fit: cover; }
.nav a { white-space: nowrap; } .nav { gap: clamp(12px, 1.8vw, 24px); }

/* Static (always visible) nav bar: the wrapper must not trap the sticky header */
#chrome-top { display: contents; }
.header { position: sticky; top: 0; z-index: 60; }

/* Spinning Monminds logo, on every page */
@keyframes mm-spin { from { transform: perspective(700px) rotateY(0deg); } to { transform: perspective(700px) rotateY(360deg); } }
.header .logo { animation: mm-spin 7s linear infinite; transform-origin: 50% 50%; will-change: transform; }
.header .logo:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .header .logo { animation: none; } }

/* Header in the style of monminds.in: transparent bar, logo left, plain links right */
.header { background: rgba(9, 12, 44, .5); border-bottom: 1px solid rgba(255,255,255,.06); }
.header .row { gap: 22px; }
.header .nav { margin-left: auto; gap: clamp(16px, 2.2vw, 32px); font-size: 16px; font-weight: 500; }
.header .nav a { color: #cdd1ea; border-bottom: 0; padding: 6px 0; }
.header .nav a:hover, .header .nav a.active { color: var(--gold); }
.header .icon-btn { padding: 4px 6px; }

/* Only the wordmark spins, flipping vertically (around the horizontal axis) */
.header .logo { animation: none; }
@keyframes mm-flip { from { transform: perspective(500px) rotateX(0deg); } to { transform: perspective(500px) rotateX(360deg); } }
.logo .spin { display: inline-block; transform-origin: 50% 50%; animation: mm-flip 5s linear infinite; will-change: transform; }
.header .logo:hover .spin { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .logo .spin { animation: none; } }

/* Collection toolbar search */
.toolbar .search { margin-left: auto; flex: 1; max-width: 300px; }
.toolbar select { margin-left: 0; }

/* "Mon" stays still; each letter of "minds" flips vertically, one after another */
.logo .spin { animation: none; }
.wm-text .minds { color: var(--gold); display: inline-flex; }
.wm-text .minds i { font-style: normal; display: inline-block; transform-origin: 50% 55%; animation: mm-letter 4.8s ease-in-out infinite; will-change: transform; }
.wm-text .minds i:nth-child(1) { animation-delay: 0s; }
.wm-text .minds i:nth-child(2) { animation-delay: .35s; }
.wm-text .minds i:nth-child(3) { animation-delay: .7s; }
.wm-text .minds i:nth-child(4) { animation-delay: 1.05s; }
.wm-text .minds i:nth-child(5) { animation-delay: 1.4s; }
@keyframes mm-letter {
  0%   { transform: perspective(300px) rotateX(0deg); }
  45%  { transform: perspective(300px) rotateX(360deg); }
  100% { transform: perspective(300px) rotateX(360deg); }
}
.header .logo:hover .minds i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .wm-text .minds i { animation: none; } }

/* Brand logos (used as supplied) */
.logo-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.header .logo { gap: 10px; }
.footer-logo { display: block; }
.footer-logo img { height: 110px; width: auto; border-radius: 12px; display: block; }
.modal-logo { width: 190px; max-width: 70%; border-radius: 12px; justify-self: center; }

/* View tabs */
.vtabs { display: flex; gap: 6px; margin-bottom: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 14px; padding: 5px; width: fit-content; }
.vtab { background: none; border: 0; color: var(--muted); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.vtab.on { background: var(--accent); color: #fff; }

/* Room preview */
.roomview[hidden], .stage[hidden], .thumbs[hidden] { display: none; }
.roomview { margin-bottom: 20px; }
.roomscene { position: relative; width: min(100%, 128vh); aspect-ratio: 2 / 1; margin: 0 auto; overflow: hidden; border-radius: var(--radius); container-type: inline-size; background: #eadfca; }
.roomscene .room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rframe {
  --bw: .5cqw; --bc: #151515; --mat: 1.5cqw; --matc: #f8f5ee;
  position: absolute; transform: translate(-50%, -50%); box-sizing: content-box;
  width: var(--w); aspect-ratio: var(--r);
  padding: var(--mat); border: var(--bw) solid var(--bc); background: var(--matc);
  box-shadow: 0 1.6cqw 2.4cqw rgba(60, 40, 15, .35), 0 .2cqw .5cqw rgba(60, 40, 15, .3);
}
.rframe img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 .6cqw rgba(0,0,0,.35); }
.fs-black { --bc: #17171a; }
.fs-white { --bc: #fbfaf7; --matc: #ffffff; box-shadow: 0 1.6cqw 2.4cqw rgba(60,40,15,.3), 0 0 0 .12cqw rgba(0,0,0,.12); }
.fs-oak { --bc: #c89a60; --bw: .7cqw; --mat: 1.1cqw; }
.fs-gold { --bw: .6cqw; --mat: 0cqw; border: .6cqw solid #c99a32; border-image: linear-gradient(135deg, #f6d97e, #b5842a 45%, #f1cf6f 70%, #a87a25) 1; }
.fs-canvas { --bw: 0cqw; --mat: 0cqw; background: #222; box-shadow: .45cqw .5cqw 0 #cfc8ba, .9cqw 1cqw 0 #b9b1a1, 1.6cqw 2.4cqw 2.4cqw rgba(60,40,15,.35); }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.ctl b { width: 54px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.scale-note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.scale-note b { color: var(--ink); }

/* Hero showcase carousel: artworks in real rooms */
.hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.hero .usp { margin: 0 0 14px; padding: 12px 16px; max-width: 640px; border: 1px solid rgba(245,158,11,.45); background: rgba(245,158,11,.1); border-radius: 14px; color: #f6dca4; font-size: 15px; line-height: 1.45; }
.hero .usp b { color: #fff; }
.showcase { position: relative; width: min(100%, 100vh); aspect-ratio: 4 / 3; justify-self: end; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #eadfca; }
.sc-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; z-index: 1; }
.slide .scene { position: absolute; top: 0; left: 0; height: 100%; aspect-ratio: 2 / 1; container-type: inline-size; transform: translateX(var(--shift, 0%)); }
.slide .room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; width: fit-content; max-width: calc(100% - 32px); background: rgba(14,18,52,.86); color: #fff; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; backdrop-filter: blur(6px); }
.sc-badge { position: absolute; z-index: 3; top: 16px; left: 16px; background: linear-gradient(180deg, #ee9210, #d97706); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(217,119,6,.45); }
.sc-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(14,18,52,.7); color: #fff; font-size: 22px; line-height: 1; }
.sc-arrow:hover { background: var(--accent); }
.sc-arrow.prev { left: 12px; } .sc-arrow.next { right: 12px; }
.sc-dots { position: absolute; z-index: 3; right: 18px; bottom: 22px; display: flex; gap: 6px; }
.sc-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); }
.sc-dots button.on { background: var(--accent); width: 22px; border-radius: 8px; }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } .showcase { justify-self: stretch; width: 100%; } }
@media (max-width: 700px) { .sc-cap { font-size: 12px; bottom: 36px; } .sc-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; } }

/* Legal pages + footer links */
.legal { max-width: 820px; margin: 0 auto; padding: 36px 0 20px; }
.legal h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 6px; }
.legal-meta { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: #d3d6ee; line-height: 1.7; font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--gold); text-decoration: underline; }
.legal b { color: #fff; }
.ph { background: #f5d547; color: #3b2d00; padding: 1px 6px; border-radius: 5px; font-size: .92em; font-weight: 600; }
.legal-warn { background: rgba(245,213,71,.14); border: 1px solid rgba(245,213,71,.55); color: #f7e49a; padding: 12px 16px; border-radius: 12px; margin-bottom: 22px; font-size: 14px; }
.legal-warn code { background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 5px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.contact-card h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.contact-card p { margin: 0; color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--gold); }
.consent { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.consent a { color: var(--gold); text-decoration: underline; }

/* ===================== Landing page redesign ===================== */
.display { font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.01em; }
.display em { font-style: italic; font-weight: 700; background: linear-gradient(100deg, #ffc65a, #f59e0b 55%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* logo (transparent glyph) */
.logo-mark { width: auto; height: 34px; border-radius: 0; object-fit: contain; }
.header .logo { gap: 10px; }

/* hero: full-bleed, with the carousel running off the right edge */
.hero-full { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 3.5vw, 64px); align-items: center; min-height: calc(100vh - 106px); padding: 34px 0 54px clamp(16px, 3.2vw, 56px); overflow: hidden; }
.hero-full .showcase { justify-self: stretch; width: 100%; border-radius: 30px 0 0 30px; border-right: 0; box-shadow: -30px 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.hero-full .hero-copy { position: relative; z-index: 2; }
.hero-full h1 { font-size: clamp(42px, 5.1vw, 84px); line-height: 1.04; margin: 16px 0 22px; }
.hero-full .eyebrow { display: flex; align-items: center; gap: 14px; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.hero-full .eyebrow .rule { width: 46px; height: 2px; background: linear-gradient(90deg, #f59e0b, transparent); }
.hero-full .lede { font-size: clamp(17px, 1.45vw, 21px); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.hero-glow i:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -120px; background: #4338ca; }
.hero-glow i:nth-child(2) { width: 460px; height: 460px; right: 8%; bottom: -160px; background: #d97706; opacity: .35; animation-delay: -6s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 14px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 16px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .scroll-cue { display: block; } }

/* trust strip */
.trust { border-block: 1px solid var(--line); background: rgba(5,7,28,.45); backdrop-filter: blur(8px); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 38px; padding-block: 16px; font-size: 14px; color: #cfd3ee; font-weight: 500; }
.trust span::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: 12px; }

/* bands: dark by default, warm ivory for contrast */
.band { padding: clamp(48px, 6vw, 96px) 0; }
.band-cream { background: linear-gradient(180deg, #f8f1e5, #f1e7d6); color: #231f1a; --ink: #231f1a; --muted: #6f685b; --card: #ffffff; --line: #e4d8c3; --shadow: 0 14px 40px rgba(80,55,20,.14); }
.band-cream .sec-head a, .band-cream .kicker { color: #b45f06; }
.band-cream .pcard { background: #fff; border-color: #eadfca; backdrop-filter: none; }
.band-cream .pcard .sub { color: #7b7466; }
.band-cream .pcard .img { background: #e9dfcc; }
.sec-title { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 52px); }
.sec-title h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.1; margin: 10px 0 12px; }
.sec-title p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 46px); }
.steps .step h3 { font-family: "Playfair Display", Georgia, serif; font-size: 24px; }
.res-band h2, .closing-text h2 { font-family: "Playfair Display", Georgia, serif; }

/* shop by room */
.rooms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.room-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #eadfca; isolation: isolate; }
.rc-living, .rc-beside { grid-column: span 3; }
.rc-kitchen, .rc-dining, .rc-bedroom { grid-column: span 2; }
.room-card .scene { position: absolute; top: 0; left: 0; height: 100%; aspect-ratio: 2 / 1; container-type: inline-size; transform: translateX(var(--shift, 0%)); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.room-card:hover .scene { transform: translateX(var(--shift, 0%)) scale(1.04); }
.room-card .room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 55%, rgba(14,12,30,.72)); pointer-events: none; }
.rc-label { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #fff; }
.rc-label b { font-family: "Playfair Display", Georgia, serif; font-size: clamp(18px, 1.8vw, 26px); }
.rc-label em { font-style: normal; font-size: 13.5px; color: #ffd48a; opacity: 0; transform: translateX(-6px); transition: .3s; white-space: nowrap; }
.room-card:hover .rc-label em { opacity: 1; transform: none; }

/* richer cards and moods */
.cat { border-radius: 20px; }
.cat span { font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.pcard { border-radius: 20px; }
.pcard .img { aspect-ratio: 4 / 3; }
.pcard:hover img { transform: scale(1.05); }
.pcard img { transition: transform .5s; }
.pcard h3 { font-family: "Playfair Display", Georgia, serif; font-size: 19px; }

@media (max-width: 1100px) {
  .hero-full { grid-template-columns: 1fr; padding: 28px clamp(16px, 3.2vw, 56px) 40px; min-height: 0; }
  .hero-full .showcase { border-radius: 24px; border: 1px solid var(--line); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .rc-living, .rc-beside, .rc-kitchen, .rc-dining, .rc-bedroom { grid-column: span 1; }
  .rc-bedroom { grid-column: span 2; }
}
@media (max-width: 600px) { .rooms-grid { grid-template-columns: 1fr; } .rc-bedroom { grid-column: span 1; } .rc-label em { opacity: 1; transform: none; } }

/* slim footer: one thin line */
.footer.slim { margin-top: 0; padding: 10px 0; background: rgba(5,7,28,.7); border-top: 1px solid var(--line); }
.footer.slim .foot { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; justify-content: space-between; }
.foot-logo img { display: block; height: 48px; width: auto; }
.foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; font-size: 13.5px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold); }
.foot-copy { font-size: 13px; color: var(--muted); }
.modal-logo { border-radius: 0; width: 210px; }
@media (max-width: 700px) { .footer.slim .foot { justify-content: center; text-align: center; } }
.header { background: rgba(9, 12, 44, .86); }
.band-cream .display em { background: linear-gradient(100deg, #d97706, #b45309); -webkit-background-clip: text; background-clip: text; }

/* Floating Black Friday button: glows and blinks on the right edge */
.sale-fab { position: fixed; z-index: 55; right: 0; top: 46%; display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; border-radius: 16px 0 0 16px; color: #fff;
  background: linear-gradient(135deg, #ff5a1f, #f59e0b); box-shadow: 0 0 0 0 rgba(255,140,30,.7), 0 10px 30px rgba(255,100,20,.45); animation: sale-glow 1.6s ease-in-out infinite; }
.sale-fab[hidden] { display: none; }
.sale-text { display: grid; line-height: 1.15; }
.sale-text b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.sale-text em { font-style: normal; font-weight: 800; font-size: 19px; animation: sale-blink 1.1s steps(2, jump-none) infinite; }
.sale-text small { font-size: 11px; opacity: .92; }
.sale-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: sale-blink 1.1s steps(2, jump-none) infinite; flex: none; }
.sale-x { position: absolute; top: -9px; left: -9px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #12154a; color: #fff; font-size: 14px; line-height: 1; padding: 0; opacity: 0; transition: opacity .2s; }
.sale-fab:hover .sale-x, .sale-x:focus { opacity: 1; }
@keyframes sale-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,30,.65), 0 8px 24px rgba(255,100,20,.35); transform: translateX(0); }
  50% { box-shadow: 0 0 0 14px rgba(255,140,30,0), 0 0 38px rgba(255,170,40,.85); transform: translateX(-4px); }
}
@keyframes sale-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 700px) {
  .sale-fab { top: auto; bottom: 18px; padding: 9px 10px 9px 12px; border-radius: 14px 0 0 14px; gap: 8px; }
  .sale-text b, .sale-text small { display: none; }
  .sale-text em { font-size: 16px; }
  .sale-x { opacity: 1; width: 20px; height: 20px; top: -8px; left: -8px; }
}
@media (prefers-reduced-motion: reduce) { .sale-fab, .sale-text em, .sale-dot { animation: none; } }
.hero-full { min-height: calc(100vh - 70px); }
.sale-fab { top: 74%; }
@media (max-width: 700px) { .sale-fab { top: auto; } }

/* Photographic rooms (any aspect ratio via --ar) */
.slide .scene, .room-card .scene { aspect-ratio: var(--ar, 2); }
.roomscene { aspect-ratio: var(--ar, 2); width: min(100%, calc(64vh * var(--ar, 2))); }
.photo .rframe, .roomscene.photo .rframe { border-width: calc(var(--bw) * .55); padding: calc(var(--mat) * .55); box-shadow: 0 .5cqw 1.2cqw rgba(30, 20, 5, .38), 0 .1cqw .3cqw rgba(30, 20, 5, .4); }
.photo .fs-gold, .roomscene.photo .fs-gold { padding: 0; }
.photo .fs-canvas, .roomscene.photo .fs-canvas { border-width: 0; padding: 0; box-shadow: .25cqw .3cqw 0 #cfc8ba, .6cqw .8cqw 1.5cqw rgba(30, 20, 5, .4); }
.photo .rframe img { box-shadow: inset 0 0 .5cqw rgba(0, 0, 0, .3); }

/* Living room angle picker */
.angles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.angle { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 16 / 10; }
.angle img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .8; transition: opacity .2s, transform .4s; }
.angle:hover img { opacity: 1; transform: scale(1.05); }
.angle span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 11.5px; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.angle.on { border-color: var(--accent); }
.angle.on img { opacity: 1; }
@media (max-width: 600px) { .angles { grid-template-columns: repeat(2, 1fr); } }

/* closing banner uses the photographic living room */
.room.photo-room { aspect-ratio: 1.7857 / 1; max-height: 640px; }
.photo-room .frame { left: 78.91%; top: 31%; height: 21%; transform: translate(-50%, -50%); border-width: clamp(3px, .35vw, 6px); box-shadow: 0 .8vw 1.4vw rgba(30,20,5,.4); }
@media (max-width: 700px) {
  .room.photo-room { aspect-ratio: 1.7857 / 1; }
  .photo-room .frame { height: 21%; top: 31%; }
  .footer.slim { padding-bottom: 76px; }
}

/* ===== The wooden frame (the only frame we offer) ===== */
:root { --wood: linear-gradient(118deg, #e0b074 0%, #c28a4f 16%, #d3a066 30%, #a9733f 48%, #d6a56a 63%, #b98249 80%, #9f6b39 100%); }
.fs-wood, .rframe {
  --bw: .8cqw; --mat: 1.5cqw; --matc: #f7f2e8;
  border: var(--bw) solid #b98249; border-image: var(--wood) 1; background: var(--matc);
  box-shadow: 0 1.8cqw 2.6cqw rgba(55, 32, 8, .38), 0 .25cqw .6cqw rgba(55, 32, 8, .35), inset 0 0 0 .12cqw rgba(70, 40, 12, .5);
}
.rframe img { box-shadow: inset 0 0 .7cqw rgba(0, 0, 0, .45), 0 0 0 .1cqw rgba(70, 40, 12, .55); }
/* photographic rooms: slimmer frame, softer shadow */
.photo .rframe, .roomscene.photo .rframe {
  border-width: calc(var(--bw) * .6); padding: calc(var(--mat) * .6);
  box-shadow: 0 .5cqw 1.2cqw rgba(30, 20, 5, .4), 0 .1cqw .3cqw rgba(30, 20, 5, .45), inset 0 0 0 .08cqw rgba(70, 40, 12, .5);
}
/* the closing-banner frame (not container-relative) */
.frame { border: clamp(5px, .55vw, 10px) solid #b98249; border-image: var(--wood) 1; background: #f7f2e8; padding: clamp(3px, .35vw, 7px); box-shadow: 0 1.4vw 2.2vw rgba(55, 32, 8, .38), inset 0 0 0 1px rgba(70, 40, 12, .5); }
.photo-room .frame { border-width: clamp(3px, .35vw, 6px); padding: clamp(2px, .2vw, 4px); box-shadow: 0 .8vw 1.4vw rgba(30, 20, 5, .4); }

/* Show the WHOLE artwork in the stage (never crop it); a blurred copy fills any empty space */
.stage { position: relative; isolation: isolate; background: #0d1038; }
.stage::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(28px) brightness(.55) saturate(1.2); }
.stage img { object-fit: contain; border-radius: 0; }
/* Root-cause fix: the stage was a grid whose row grew to the image's natural height, so the photo overflowed it. */
.stage { display: block; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.stage img { background: transparent; box-shadow: none; }

/* Mobile/tablet: the later desktop .gal rule had overridden the one-column layout, forcing a 380px+ second column */
@media (max-width: 1100px) {
  .gal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .panel { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 700px) {
  .toolbar .search { max-width: none; flex-basis: 100%; margin-left: 0; order: 5; }
  .toolbar select { margin-left: auto; }
  .stage { height: min(62vh, 120vw); }
  .ctl b { width: 100%; }
}

/* Mobile order: views -> artwork/room -> price & wall size -> more artworks */
@media (max-width: 1100px) {
  .gal { gap: 0; }
  .gal > div:first-child { display: contents; }
  .vtabs { order: 1; } .stage { order: 2; } .thumbs { order: 3; } .roomview { order: 4; }
  .panel { order: 5; margin: 8px 0 34px; }
  .masonry { order: 6; }
}

.soon-note { display: grid; gap: 4px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.4); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.soon-note b { color: var(--gold); }
.soon-note span { color: #d3d6ee; font-size: 14px; }

/* wall perspective for angled photo scenes (--ry per art spot; 0 = flat). The vanishing line sits at the bottom edge. */
.rframe { transform: translate(-50%, -50%) perspective(calc(var(--w) * 3.5)) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%; }

/* foreground layer (e.g. a pendant lamp) drawn in front of the hung art */
.roomscene .room-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
