/* Atelier — site styles. Light/dark follow the device unless the visitor picks one (data-theme on <html>). */

:root {
  --lime: #D4F25A; --coral: #FF6B5B; --sky: #4CC9F0; --sun: #FFC94D; --violet: #9B7BFF; --mint: #3DDC97; --rose: #FF3D6E;
  --ink: #121016;
  --bg: #FBF8F2; --surface: #FFFFFF; --line: #E8E2D6; --line2: #CFC7B8;
  --text: #16141C; --soft: #3F3B48; --muted: #5E5A68; --hl: #6C3EF4; --sun-text: #8A6508; --danger-text: #B42318; --ok-text: #0F7B4F;
  --glass: rgba(251, 248, 242, .62); --glass2: rgba(255, 255, 255, .55); --edge: rgba(22, 20, 28, .12);
  --shadow: 0 18px 40px rgba(18, 16, 22, .10);
  --radius: 22px; --radius-sm: 14px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0E13; --surface: #1B1A22; --line: #2A2832; --line2: #45424F;
    --text: #F5F3EE; --soft: #CFCBD8; --muted: #A9A6B4; --hl: #D4F25A; --sun-text: #FFC94D; --danger-text: #FF8A7D; --ok-text: #3DDC97;
    --glass: rgba(15, 14, 19, .6); --glass2: rgba(27, 26, 34, .55); --edge: rgba(255, 255, 255, .14);
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0E13; --surface: #1B1A22; --line: #2A2832; --line2: #45424F;
  --text: #F5F3EE; --soft: #CFCBD8; --muted: #A9A6B4; --hl: #D4F25A; --sun-text: #FFC94D; --danger-text: #FF8A7D; --ok-text: #3DDC97;
  --glass: rgba(15, 14, 19, .6); --glass2: rgba(27, 26, 34, .55); --edge: rgba(255, 255, 255, .14);
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  transition: background .3s, color .3s; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.skip:focus { left: 16px; }

/* Page shell & background glows */
.page { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; overflow: clip; }
.page > main { flex: 1; }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-1 { left: -200px; top: -160px; width: 620px; height: 620px; background: rgba(155, 123, 255, .34); }
.glow-2 { right: -180px; top: 300px; width: 560px; height: 560px; background: rgba(76, 201, 240, .26); }
.glow-3 { left: 30%; top: 900px; width: 460px; height: 460px; background: rgba(255, 107, 91, .18); }
.glass { -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 860px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); align-items: center; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; }
.center { text-align: center; }
.mt { margin-top: 24px; } .mt-sm { margin-top: 12px; } .mb { margin-bottom: 24px; }

/* Type */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.h1 { font-size: clamp(44px, 7vw, 92px); }
.h2 { font-size: clamp(36px, 5vw, 60px); }
.h3 { font-size: clamp(28px, 3.4vw, 40px); }
.italic { font-style: italic; }
.hl { color: var(--hl); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--hl); }
.lead { font-size: 19px; color: var(--soft); max-width: 560px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.prose { color: var(--soft); line-height: 1.75; max-width: 720px; }
.prose p + p, .prose h2 + p { margin-top: 14px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--text); margin-top: 32px; }
.prose ul { padding-left: 20px; }
.price { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--glass); border-bottom: 1px solid var(--edge); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--serif); font-size: 32px; display: flex; align-items: center; gap: 8px; letter-spacing: -.5px; white-space: nowrap; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 10px; height: 10px; border-radius: 99px; display: block; }
.dots i:nth-child(1) { background: var(--coral); } .dots i:nth-child(2) { background: var(--sun); } .dots i:nth-child(3) { background: var(--sky); }
.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; flex: 1; flex-wrap: wrap; }
.nav a[aria-current] { color: var(--hl); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--edge); background: var(--glass2); border-radius: 99px; padding: 0 14px; height: 44px; }
.search input[type=search], .search input[type=search]:focus { border: 0; background: transparent; outline: none; width: 200px; font-size: 14px; min-height: 0; padding: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--edge); background: var(--glass2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; flex-shrink: 0; }
.icon-btn.lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.badge[data-count="0"] { display: none; }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: inline; } :root[data-theme="dark"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-icon-dark { display: inline; } :root:not([data-theme="light"]) .theme-icon-light { display: none; } }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: 240px; padding: 12px; border-radius: 18px; background: var(--glass); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 99px; border: 1px solid var(--edge); background: var(--glass2); color: var(--text); font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; text-align: center; }
.btn:hover { transform: scale(1.03); opacity: 1; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--lime); color: var(--ink); border-color: transparent; font-weight: 700; }
.btn-dark { background: var(--ink); color: #fff; border-color: transparent; }
.btn-violet { background: var(--violet); color: var(--ink); border-color: transparent; }
.btn-sky { background: var(--sky); color: var(--ink); border-color: transparent; }
.btn-solid { background: var(--text); color: var(--bg); border-color: transparent; }
.btn-danger { border-color: rgba(255, 107, 91, .7); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--hl); font-weight: 600; cursor: pointer; padding: 0; min-height: 44px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.inline { display: inline; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--edge); background: var(--glass2); white-space: nowrap; }
.chip-status, .chip-tint { --c: var(--lime); background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.chip-filter { --c: var(--lime); min-height: 44px; padding: 0 18px; font-size: 14px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1.5px solid color-mix(in srgb, var(--c) 50%, transparent); }
.chip-filter[aria-current], .chip-filter.on { background: var(--c); border-color: var(--c); color: var(--ink); }
.chip-dot::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--c, var(--lime)); }

/* Panels */
.card { background: var(--glass2); border: 1px solid var(--edge); border-radius: var(--radius); }
.card-pad { padding: 28px; }
.card-solid { background: var(--surface); }
.tile { --c: var(--lime); position: relative; overflow: hidden; border-radius: 20px; padding: 22px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); display: flex; flex-direction: column; gap: 6px; }
.tile::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; opacity: .05; }
.tile .label { font-size: 14px; font-weight: 600; color: var(--soft); }
.tile .value { font-size: 36px; font-weight: 700; line-height: 1.1; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* Flash messages */
.flashes { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.flash { --c: var(--sky); padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--c) 15%, var(--glass2)); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); font-weight: 500; }
.flash-success { --c: var(--mint); } .flash-error { --c: var(--coral); } .flash-info { --c: var(--sky); }

/* Hero */
.hero { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 72px 0 64px; }
.hero > div { flex: 1 1 460px; }
.hero-art { position: relative; flex: 1 1 460px; }
.hero-frame { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #C8553D; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; border-radius: 50%; pointer-events: none; }
.float-1 { right: -40px; top: -40px; width: 170px; height: 170px; background: rgba(255, 201, 77, .55); animation: drift 9s ease-in-out infinite; }
.float-2 { left: -44px; bottom: 60px; width: 150px; height: 150px; border-radius: 32px; background: rgba(155, 123, 255, .32); border: 1px solid rgba(255, 255, 255, .35); animation: drift 12s ease-in-out infinite reverse; }
.float-3 { right: -24px; top: 40%; width: 96px; height: 96px; background: rgba(212, 242, 90, .28); border: 1px solid rgba(255, 255, 255, .35); }
@keyframes drift { 50% { transform: translate(18px, -14px) rotate(8deg); } }
.marquee-band { overflow: hidden; white-space: nowrap; background: rgba(255, 107, 91, .85); color: var(--ink); border-block: 1px solid rgba(255, 255, 255, .4); }
.marquee { display: inline-flex; gap: 40px; padding: 16px 0; font-family: var(--serif); font-size: 32px; font-style: italic; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Artwork cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 28px; }
.art-card { display: flex; flex-direction: column; gap: 14px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.art-card:hover { transform: translateY(-8px); }
.art-media { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--line); }
.art-media > a { display: block; width: 100%; height: 100%; }
.art-media img, .art-media .art-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.art-card:hover .art-media img { transform: scale(1.05); }
.art-placeholder { --ph: #264653; position: relative; background: var(--ph); overflow: hidden; }
.art-placeholder::before { content: ''; position: absolute; left: 20%; top: 22%; width: 58%; height: 46%; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.art-placeholder::after { content: ''; position: absolute; right: -16%; bottom: -12%; width: 62%; height: 50%; border-radius: 50%; background: rgba(76, 201, 240, .35); }
.art-tag { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .6); color: var(--ink); pointer-events: none; }
.art-tag::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--c, var(--lime)); }
.save-btn { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .72); color: var(--rose); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.save-btn[aria-pressed="true"] svg { fill: var(--rose); }
.quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 46px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(212, 242, 90, .9); color: var(--ink); font-weight: 700; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.quick-add.added { background: rgba(61, 220, 151, .92); }
.art-card:hover .quick-add, .art-card:focus-within .quick-add { opacity: 1; transform: none; }
@media (hover: none) { .quick-add { opacity: 1; transform: none; } }
.art-meta { display: flex; justify-content: space-between; gap: 12px; }
.art-meta .title { font-size: 17px; font-weight: 600; }
.sold-overlay { position: absolute; left: 12px; bottom: 12px; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }

/* Bands */
.band-violet { position: relative; overflow: hidden; background: var(--violet); color: var(--ink); }
.band-violet .muted, .band-violet .soft { color: var(--ink); }
.band-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.band-lime { position: relative; overflow: hidden; background: var(--lime); color: var(--ink); border-radius: 28px; padding: 56px; }
.band-lime input { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: rgba(18, 16, 22, .45); }
.stacked-art { position: relative; height: 480px; }
.stacked-art > * { position: absolute; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.stacked-art img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; position: relative; }
.steps li { padding: 32px; border-radius: 24px; background: var(--glass2); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 10px; transition: transform .25s; }
.steps li:hover { transform: translateY(-6px); }
.steps .num { font-family: var(--serif); font-size: 56px; line-height: 1; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=url], input[type=date], input[type=tel], select, textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--glass2); font-weight: 400; font-size: 16px;
}
textarea { padding: 14px; min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); margin-top: 2px; flex-shrink: 0; }
input[type=checkbox].switch { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 99px; background: var(--line2); position: relative; cursor: pointer; flex-shrink: 0; transition: background .25s; margin: 0; }
input[type=checkbox].switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 99px; background: #fff; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
input[type=checkbox].switch:checked { background: var(--mint); }
input[type=checkbox].switch:checked::after { transform: translateX(22px); }
input[type=checkbox].switch:disabled { opacity: .55; cursor: not-allowed; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--edge); }
.switch-row:first-child { border-top: 0; }
input[type=file] { font-size: 14px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px; border-radius: 20px; border: 2px dashed rgba(155, 123, 255, .7); background: rgba(155, 123, 255, .08); text-align: center; cursor: pointer; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; padding: 12px 10px; }
.table td { border-top: 1px solid var(--edge); padding: 14px 10px; vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.thumb { width: 48px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--edge); padding-bottom: 14px; }
.tabs a { min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1.5px solid var(--edge); display: inline-flex; align-items: center; font-weight: 600; }
.tabs a[aria-current] { background: var(--c, var(--lime)); border-color: var(--c, var(--lime)); color: var(--ink); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; }
.timeline .dot { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--line2); flex-shrink: 0; margin-top: 1px; }
.timeline .done .dot { background: var(--mint); border-color:var(--ok-text); }
.timeline .now .dot { background: rgba(255, 201, 77, .35); border-color: var(--sun); }
.timeline .todo { color: var(--muted); }

/* Artwork page */
.art-layout { display: flex; flex-wrap: wrap; gap: 56px; padding: 32px 0 80px; }
.art-gallery { flex: 1 1 540px; display: flex; flex-direction: column; gap: 14px; }
.art-main { position: relative; border-radius: 20px; overflow: hidden; background: var(--line); }
.art-main img { width: 100%; max-height: 82vh; object-fit: contain; background: var(--surface); }
.art-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.art-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--line); }
.art-thumbs button[aria-pressed="true"] { border-color: var(--lime); }
.art-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.art-info { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; }
details.acc { border-bottom: 1px solid var(--edge); padding: 18px 0; }
details.acc summary { cursor: pointer; font-size: 17px; font-weight: 600; }
details.acc > div { margin-top: 12px; color: var(--soft); }
.artist-band { position: relative; overflow: hidden; background: rgba(255, 201, 77, .92); color: var(--ink); }
.avatar { width: 120px; height: 120px; border-radius: 99px; object-fit: cover; background: var(--coral); flex-shrink: 0; }
.avatar-sm { width: 40px; height: 40px; }

/* Room view */
.room-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.room-stage { position: relative; flex: 1 1 640px; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #EEEAE3; transition: background .4s; background-size: cover; background-position: center; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: #8B5E3C; }
.room-sofa { position: absolute; left: 27%; bottom: 14%; width: 46%; height: 22%; }
.room-sofa::before { content: ''; position: absolute; inset: 0 0 45% 0; border-radius: 18px 18px 6px 6px; background: #5B6B7C; }
.room-sofa::after { content: ''; position: absolute; left: -3%; right: -3%; top: 40%; height: 45%; border-radius: 14px; background: #4A5866; }
.room-stage.photo .room-floor, .room-stage.photo .room-sofa, .room-stage.photo .scale-label { display: none; }
.room-art { position: absolute; transform: translate(-50%, 0); box-shadow: 0 18px 30px rgba(0, 0, 0, .28); border: 5px solid transparent; background: #fff; transition: left .3s, top .3s, width .3s; }
.room-art img { width: 100%; height: 100%; object-fit: cover; }
.scale-label { position: absolute; left: 27%; bottom: 5%; width: 46%; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 0; border-radius: 99px; background: rgba(255, 255, 255, .6); color: var(--ink); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 99px; border: 3px solid transparent; cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border-color: var(--lime); }
input[type=range] { width: 100%; accent-color: var(--violet); height: 28px; }

/* Certificate */
.seal { width: 84px; height: 84px; border-radius: 50%; border: 2px dashed rgba(212, 242, 90, .8); display: flex; align-items: center; justify-content: center; animation: spin 40s linear infinite; }
.seal span { width: 56px; height: 56px; border-radius: 50%; background: rgba(212, 242, 90, .85); }
@keyframes spin { to { transform: rotate(360deg); } }
dl.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
dl.facts dt { font-size: 13px; color: var(--muted); }
dl.facts dd { margin: 4px 0 0; font-weight: 600; }

/* Dashboard / admin shell */
.dash { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.dash-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--edge); background: var(--glass); padding: 24px 20px; display: flex; flex-direction: column; gap: 28px; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; }
.dash-nav a { padding: 11px 14px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-nav a[aria-current] { background: var(--lime); color: var(--ink); font-weight: 700; }
.dash-nav .count { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--coral); color: var(--ink); }
.dash-main { padding: 36px 44px 80px; display: flex; flex-direction: column; gap: 28px; max-width: 1180px; width: 100%; }
.bars { height: 180px; display: flex; align-items: flex-end; gap: 10px; }
.bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars .bar { width: 100%; min-height: 3px; border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--c) 45%, transparent); border: 1px solid var(--c); }
.bars span { font-size: 11px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photo-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; width: 100%; }

/* Footer */
.site-footer { border-top: 1px solid var(--edge); margin-top: 40px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; font-size: 14px; color: var(--muted); }
.site-footer h3 { font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 10px; font-family: var(--sans); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; }

.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.stars { color: var(--sun); letter-spacing: 2px; } .stars-off { opacity: .3; }
.empty { padding: 48px; border-radius: 20px; border: 1.5px dashed var(--line2); text-align: center; color: var(--muted); }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: 15px; letter-spacing: 1px; padding: 10px 14px; border-radius: 10px; background: var(--glass2); border: 1px solid var(--edge); word-break: break-all; }

@media (max-width: 960px) {
  .nav, .header-actions .search, .header-actions .hide-sm { display: none; }
  .menu { display: block; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 16px; gap: 12px; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav a { padding: 8px 12px; }
  .dash-main { padding: 24px 16px 64px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .band-lime { padding: 32px 22px; }
  .card-pad { padding: 20px; }
  .hero { padding-top: 40px; gap: 40px; }
  .stacked-art { height: 360px; }
  dl.facts { grid-template-columns: 1fr; }
  .brand { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Feature build: prices, countdown, prints, viewing rooms ---------- */
.approx { display: block; font-size: .5em; font-weight: 500; color: var(--muted, #8a8794); letter-spacing: 0; }
.price .approx { font-size: 12px; }
.countdown { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--soft, inherit); }
.chip-filter input[type="radio"] { accent-color: currentColor; margin: 0 4px 0 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: rgba(127,127,127,.14); padding: 2px 6px; border-radius: 6px; }
.prose blockquote { border-left: 3px solid var(--lime, #D4F25A); margin: 0; padding: 4px 16px; }
.photo-grid figure .field input { font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .band-shape, .glow { animation: none !important; } }
.qr svg { width: 100%; height: auto; display: block; }
