/* ==========================================================================
   Haqq Craft — design system
   Luxury workshop · near-black · warm gold #C9A45B · Cinzel + Montserrat
   ========================================================================== */
:root {
  --black: #0b0a09; --bg-rgb: 11, 10, 9;
  --charcoal: #131110; --surface-rgb: 19, 17, 16;
  --charcoal-2: #1a1714;
  --charcoal-3: #231f1b;
  --fg-rgb: 244, 239, 230;
  --line: rgba(201, 164, 91, .16);
  --line-strong: rgba(201, 164, 91, .34);
  --text: #f4efe6;
  --muted: #b3aa9d;
  --faint: #7b7368;
  --walnut: #5b3a24;
  --walnut-2: #7a5033;
  --walnut-3: #3a2517;
  --gold: #c9a45b; --accent-rgb: 201, 164, 91;
  --gold-2: #e0c083;
  --gold-3: #9c7a3c;
  --gold-soft: rgba(201, 164, 91, .1);
  --on-accent: #140f08;
  --ivory: #f4efe6;
  --field-bg: #0f0d0c;
  --success: #7cc79a;
  --warning: #e5b567;
  --danger: #e27d71;
  --info: #7fb2de;
  --usa: #7fb2de;
  --turkey: #e2a35b;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;

  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 6px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1320px;
  --header-h: 84px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font: 400 16px/1.65 var(--font-body); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-2); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 .5em; }
h1, .h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2, .h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.gold { color: var(--gold); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.upper { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.container.narrow { max-width: 900px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.alt { background: var(--charcoal); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 22ch; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.spacer { flex: 1; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4, .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer; white-space: nowrap;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { color: var(--fg); border-color: var(--gold); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); --fg: var(--on-accent); --bd: transparent; box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), .55); }
.btn-gold:hover { --fg: var(--on-accent); box-shadow: 0 16px 40px -12px rgba(var(--accent-rgb), .75); }
.btn-dark { --bg: var(--charcoal-2); }
.btn-ghost { --bd: transparent; padding: 0 12px; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: .7rem; }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-danger { --bd: rgba(226, 125, 113, .4); --fg: var(--danger); }
.btn[disabled], .btn.is-loading { opacity: .5; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.link { color: var(--gold); border-bottom: 1px solid rgba(var(--accent-rgb), .35); padding-bottom: 1px; }
.link:hover { border-color: var(--gold); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font: 600 .76rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); letter-spacing: 0; font-size: 1rem; }
.link-arrow:hover::after { transform: translateX(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header / navigation ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.is-solid, .site-header.always-solid { background: rgba(var(--bg-rgb), .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.site-header .container { max-width: 1560px; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .35); }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .06em; line-height: 1; }
.brand-name span { color: var(--gold); }
.nav-main { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 24px); margin: 0 auto; }
.nav-main a { font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(var(--fg-rgb), .78); padding: 10px 0; position: relative; white-space: nowrap; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-main a:hover, .nav-main a.is-active { color: var(--text); }
.nav-main a:hover::after, .nav-main a.is-active::after { transform: scaleX(1); }
.nav-main a.nav-cta { color: var(--gold); }
.nav-utility { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--text); }
.icon-btn:hover { border-color: var(--line-strong); color: var(--gold-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--on-accent); font: 700 .66rem/18px var(--font-body); text-align: center; }
.nav-utility .btn { min-height: 38px; padding: 0 16px; font-size: .68rem; }
.nav-toggle { display: none; }
.mobile-nav { visibility: hidden; position: fixed; inset: 0; z-index: 60; background: rgba(var(--bg-rgb), .98); padding: 96px 28px 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; transform: translateY(-100%); transition: transform .45s var(--ease); }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.9rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 1640px) { .nav-main > a.opt { display: none; } }
@media (min-width: 1641px) { .nav-more { display: none; } }
.nav-more { position: relative; }
.nav-more > button { background: none; border: 0; cursor: pointer; font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(var(--fg-rgb), .78); padding: 10px 0; }
.nav-more-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 220px; padding: 10px; border-radius: var(--radius); background: rgba(var(--surface-rgb), .98); border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: grid; opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-more-menu a { padding: 10px 12px !important; border-radius: 8px; }
.nav-more-menu a::after { display: none; }
.nav-more-menu a:hover { background: var(--gold-soft); }
@media (max-width: 1080px) { .nav-main { display: none; } .nav-toggle { display: grid; } .brand { margin-right: auto; } .nav-utility .btn { display: none; } }
@media (max-width: 480px) { .brand-name { font-size: 1.3rem; } .icon-btn { width: 38px; height: 38px; } }

/* ---------- Flash ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 80; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--charcoal-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); font-size: .92rem; animation: flashIn .4s var(--ease); }
.flash.success { border-color: rgba(124, 199, 154, .45); }
.flash.error { border-color: rgba(226, 125, 113, .5); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .hero-render { position: absolute; right: -6%; top: 50%; width: min(82vw, 1280px); transform: translateY(-46%); opacity: .95; animation: heroFloat 14s ease-in-out infinite alternate; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, .96) 0%, rgba(11, 10, 9, .78) 36%, rgba(11, 10, 9, .12) 70%, rgba(11, 10, 9, .45) 100%), linear-gradient(0deg, var(--black) 0%, transparent 30%); }
.hero-media .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.hero .lead { margin-bottom: 40px; }
.hero-meta { display: flex; gap: clamp(20px, 4vw, 56px); margin-top: 64px; flex-wrap: wrap; }
.hero-meta div { border-left: 1px solid var(--line-strong); padding-left: 16px; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--gold-2); line-height: 1; margin-bottom: 6px; }
.hero-meta span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes heroFloat { to { transform: translateY(-50%) scale(1.03); } }
@keyframes cue { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero-media .hero-render { right: -35%; top: 16%; width: 160vw; opacity: .7; }
  .hero-media::after { background: linear-gradient(0deg, var(--black) 20%, rgba(11, 10, 9, .6) 60%, rgba(11, 10, 9, .3) 100%); }
}

.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgba(var(--accent-rgb), .10), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(91, 58, 36, .25), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.breadcrumbs { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-pad { padding: clamp(20px, 2.4vw, 32px); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow); color: inherit; }
.tile-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0e0d0c; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media .tile-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.tile-body { padding: 20px 22px 24px; }
.tile-title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; margin: 0 0 6px; }
.tile-meta { font-size: .84rem; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.tile-meta span + span::before { content: "·"; margin-right: 14px; color: var(--faint); }
.tile-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-2); line-height: 1; }
.price s { color: var(--faint); font-size: 1rem; margin-left: 6px; }
.tile.tall .tile-media { aspect-ratio: 4 / 5; }
.tile-overlay { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(0deg, rgba(11, 10, 9, .92), transparent); z-index: 2; }

.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); border: 1px solid var(--line); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease); opacity: .92; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 10, 9, .92) 5%, transparent 55%); }
.cat-card .cat-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.cat-card .cat-label h3 { margin: 0 0 4px; font-size: 1.6rem; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover { color: inherit; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; background: rgba(var(--bg-rgb), .82); border: 1px solid var(--line-strong); color: var(--text); backdrop-filter: blur(6px); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-usa { color: var(--usa); border-color: rgba(127, 178, 222, .45); }
.badge-turkey { color: var(--turkey); border-color: rgba(226, 163, 91, .45); }
.badge-gold { color: var(--gold-2); border-color: rgba(var(--accent-rgb), .5); }
.badge-success { color: var(--success); border-color: rgba(124, 199, 154, .4); }
.badge-warning { color: var(--warning); border-color: rgba(229, 181, 103, .4); }
.badge-danger { color: var(--danger); border-color: rgba(226, 125, 113, .4); }
.badge-muted { color: var(--muted); }
.location-line { display: flex; align-items: center; gap: 10px; font: 600 .76rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.location-line.usa { color: var(--usa); }
.location-line.turkey { color: var(--turkey); }
.location-line .flag { width: 22px; height: 15px; border-radius: 2px; flex-shrink: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font: 500 .8rem/1 var(--font-body); color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active { background: var(--gold-soft); color: var(--gold-2); border-color: var(--gold); }
.chip .n { color: var(--faint); font-size: .72rem; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -4px; padding-left: 4px; }
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .label { font: 600 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea, input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=url], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--field-bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; transition: border-color .2s, background .2s; }
.check:hover { border-color: var(--line-strong); }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.check.is-checked { border-color: rgba(var(--accent-rgb), .5); background: var(--gold-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.help { font-size: .82rem; color: var(--faint); }
.error-text { color: var(--danger); font-size: .86rem; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 44px; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: .9rem; }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.dropzone:hover, .dropzone.is-over { border-color: var(--gold); background: var(--gold-soft); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--charcoal); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font: 600 .66rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(var(--fg-rgb), .03); }
.table .thumb { width: 64px; height: 44px; border-radius: 6px; object-fit: cover; background: #0e0d0c; }
.dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 10px 20px; margin: 0; }
.dl dt { color: var(--faint); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.dl dd { margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-step { background: var(--charcoal); padding: 28px 22px 30px; position: relative; min-height: 200px; transition: background .3s; }
.process-step:hover { background: var(--charcoal-2); }
.process-step .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 18px; display: block; opacity: .9; }
.process-step h4 { font-size: 1.25rem; margin-bottom: 8px; }
.process-step p { font-size: .86rem; color: var(--muted); margin: 0; }
.process-step.ai { background: linear-gradient(160deg, rgba(var(--accent-rgb), .14), var(--charcoal) 60%); }
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } .process-step { min-height: 0; padding: 22px 18px; } }

/* ---------- Feature bands ---------- */
.band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, var(--walnut-3), var(--charcoal) 55%); border: 1px solid var(--line); padding: clamp(32px, 6vw, 80px); }
.band::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .18), transparent); pointer-events: none; }
.quote { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; font-style: italic; max-width: 26ch; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.stat span { color: var(--muted); font-size: .88rem; }
.feature { display: flex; gap: 18px; }
.feature .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .4); display: grid; place-items: center; color: var(--gold); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 4px; font-size: 1.25rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(var(--accent-rgb), .35); background: var(--gold-soft); font-size: .9rem; color: var(--text); }
.notice svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.notice.info { border-color: rgba(127, 178, 222, .35); background: rgba(127, 178, 222, .08); }
.notice.info svg { color: var(--info); }
.notice.warn { border-color: rgba(229, 181, 103, .45); background: rgba(229, 181, 103, .08); }
.notice.danger { border-color: rgba(226, 125, 113, .45); background: rgba(226, 125, 113, .08); }

/* ---------- Gallery detail / product ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.detail-media { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.detail-main { border-radius: var(--radius); overflow: hidden; background: #0e0d0c; aspect-ratio: 3 / 2; border: 1px solid var(--line); }
.detail-main img, .detail-main video { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.detail-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #0e0d0c; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.detail-thumbs button.is-active, .detail-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.spec-list div { background: var(--charcoal); padding: 16px 18px; }
.spec-list dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.spec-list dd { margin: 0; font-size: .98rem; }
.spec-list div.full { grid-column: 1 / -1; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail-media { position: static; } }

/* ---------- Filters bar ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 32px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--charcoal); }
.filter-bar select { min-height: 40px; padding: 6px 36px 6px 14px; width: auto; font-size: .86rem; border-radius: 999px; }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.shop-side h5 { font: 600 .68rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.shop-side .opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--muted); font-size: .92rem; cursor: pointer; }
.shop-side .opt input { accent-color: var(--gold); width: 16px; height: 16px; min-height: 0; }
.shop-side .opt:hover { color: var(--text); }
@media (max-width: 960px) { .shop-layout { grid-template-columns: 1fr; } .shop-side { position: static; grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--charcoal); padding: 80px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h5 { font: 600 .7rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 40px; font-size: .82rem; }
.seo-links a { color: var(--faint); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } body:not(.ai-body) * { animation: none !important; transition: none !important; } }

/* ---------- Timeline (production) ---------- */
.progress-bar { height: 8px; border-radius: 999px; background: rgba(var(--fg-rgb), .08); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2)); border-radius: inherit; transition: width 1s var(--ease); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 22px 40px; color: var(--faint); font-size: .92rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 5px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--black); }
.timeline li.done { color: var(--muted); }
.timeline li.done::before { background: var(--gold-3); border-color: var(--gold-3); }
.timeline li.current { color: var(--text); }
.timeline li.current::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18); }
.timeline li strong { display: block; font-weight: 600; color: inherit; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.timeline-h { display: flex; overflow-x: auto; gap: 0; scrollbar-width: thin; padding-bottom: 8px; }
.timeline-h .t { flex: 1 0 96px; position: relative; padding-top: 26px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: center; }
.timeline-h .t::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line-strong); }
.timeline-h .t::after { content: ""; position: absolute; top: 3px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--black); border: 1px solid var(--line-strong); }
.timeline-h .t.done { color: var(--muted); }
.timeline-h .t.done::before { background: var(--gold-3); }
.timeline-h .t.done::after { background: var(--gold-3); border-color: var(--gold-3); }
.timeline-h .t.current { color: var(--gold-2); }
.timeline-h .t.current::after { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .2); }

.update-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.update-card:last-child { border-bottom: 0; }
.update-card .when { font-size: .78rem; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.update-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.update-media a, .update-media video { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #0e0d0c; display: block; width: 100%; object-fit: cover; }
.update-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .update-card { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: min(72vh, 720px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--charcoal); overflow: hidden; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.chat-head .avatars { display: flex; }
.chat-head .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--charcoal); margin-left: -8px; display: grid; place-items: center; font: 700 .64rem/1 var(--font-body); background: var(--walnut); color: var(--gold-2); }
.chat-head .avatars span:first-child { margin-left: 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(80% 60% at 50% 0%, rgba(91, 58, 36, .12), transparent); }
.msg { max-width: min(76%, 560px); display: grid; gap: 4px; }
.msg .who { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.msg .bubble { padding: 12px 16px; border-radius: 16px; background: var(--charcoal-3); border: 1px solid var(--line); white-space: pre-wrap; word-wrap: break-word; font-size: .94rem; line-height: 1.55; }
.msg.mine { align-self: flex-end; }
.msg.mine .who { text-align: right; }
.msg.mine .bubble { background: linear-gradient(135deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .1)); border-color: rgba(var(--accent-rgb), .35); border-bottom-right-radius: 4px; }
.msg.staff:not(.mine) .bubble { border-bottom-left-radius: 4px; }
.msg.system { align-self: center; max-width: 90%; text-align: center; }
.msg.system .bubble { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-size: .84rem; border-radius: 999px; padding: 8px 16px; }
.msg.important .bubble { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.msg.internal .bubble { border-style: dashed; border-color: rgba(127, 178, 222, .5); background: rgba(127, 178, 222, .06); }
.msg .time { font-size: .68rem; color: var(--faint); }
.msg.mine .time { text-align: right; }
.msg .files { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 6px; }
.msg .files img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.msg .files a.doc { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: .8rem; word-break: break-all; }
.msg-actions { display: flex; gap: 8px; }
.msg-actions button { background: none; border: 0; color: var(--faint); font-size: .7rem; cursor: pointer; padding: 0; letter-spacing: .08em; text-transform: uppercase; }
.msg-actions button:hover { color: var(--gold); }
.chat-form { border-top: 1px solid var(--line); padding: 12px; display: grid; gap: 10px; background: var(--charcoal-2); }
.chat-form .row { gap: 8px; flex-wrap: nowrap; align-items: flex-end; }
.chat-form textarea { min-height: 48px; max-height: 160px; resize: none; border-radius: 24px; padding: 13px 18px; }
.chat-form .attach { flex-shrink: 0; position: relative; overflow: hidden; }
.chat-form .attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chat-form .pending-files { display: flex; gap: 6px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.chat-form .pending-files span { padding: 4px 10px; border-radius: 999px; background: var(--charcoal-3); }
.chat-form .staff-opts { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); }
.chat-form .staff-opts label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.chat-form .staff-opts input { width: 16px; height: 16px; min-height: 0; accent-color: var(--gold); }

/* ---------- Portal (customer / studio / admin) ---------- */
.portal { padding-top: var(--header-h); min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.portal-nav { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; border-right: 1px solid var(--line); padding: 28px 16px; background: var(--charcoal); }
.portal-nav .group { font: 600 .64rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 22px 12px 10px; }
.portal-nav .group:first-child { margin-top: 0; }
.portal-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: .9rem; color: var(--muted); }
.portal-nav a svg { width: 18px; height: 18px; opacity: .8; }
.portal-nav a:hover { color: var(--text); background: rgba(var(--fg-rgb), .05); }
.portal-nav a.is-active { color: var(--gold-2); background: var(--gold-soft); }
.portal-nav a .pill { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: var(--on-accent); font: 700 .66rem/20px var(--font-body); text-align: center; }
.portal-main { padding: clamp(20px, 3.5vw, 48px); min-width: 0; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.portal-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.portal-head .sub { color: var(--muted); margin-top: 6px; }
.portal-mobile-nav { display: none; }
@media (max-width: 960px) {
  .portal { grid-template-columns: 1fr; }
  .portal-nav { display: none; }
  .portal-mobile-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--charcoal); position: sticky; top: var(--header-h); z-index: 20; scrollbar-width: none; }
  .portal-mobile-nav a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .8rem; color: var(--muted); }
  .portal-mobile-nav a.is-active { color: var(--gold-2); border-color: var(--gold); }
}
.panel { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.2vw, 28px); }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-title h3 { margin: 0; font-size: 1.5rem; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.kpi .v { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--text); margin: 10px 0 4px; }
.kpi .l { font: 600 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.kpi .d { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { padding: 12px 16px; border: 0; background: none; color: var(--muted); font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs .is-active { color: var(--gold-2); border-bottom-color: var(--gold); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty h3 { color: var(--text); }
.project-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--charcoal); margin-bottom: 24px; }
.project-hero .ph-media { background: #0e0d0c; min-height: 320px; position: relative; }
.project-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-hero .ph-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.project-hero .stage { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin: 6px 0 20px; }
@media (max-width: 900px) { .project-hero { grid-template-columns: 1fr; } .project-hero .ph-media { min-height: 240px; aspect-ratio: 3 / 2; } }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.file-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--charcoal-2); display: flex; flex-direction: column; }
.file-card .fc-media { aspect-ratio: 4 / 3; background: #0e0d0c; display: grid; place-items: center; color: var(--gold); font: 700 .8rem/1 var(--font-body); letter-spacing: .1em; }
.file-card .fc-media img, .file-card .fc-media video { width: 100%; height: 100%; object-fit: cover; }
.file-card .fc-body { padding: 10px 12px; font-size: .8rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.file-card .fc-body span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; background: #0e0d0c; overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.auth-art .quote { position: absolute; left: 48px; bottom: 48px; right: 48px; z-index: 2; font-size: 2.2rem; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 10, 9, .9), transparent 60%); }
.auth-form { display: grid; place-items: center; padding: calc(var(--header-h) + 32px) 24px 48px; }
.auth-form > div { width: 100%; max-width: 420px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- Misc ---------- */
.divider-gold { width: 64px; height: 1px; background: var(--gold); margin: 24px 0; }
.kbd { font-family: ui-monospace, monospace; font-size: .82rem; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--charcoal-2); }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: middle; border: 1px solid rgba(255, 255, 255, .25); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(var(--fg-rgb), .06); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.s-draft { color: var(--faint); }
.status.s-submitted, .status.s-quote_pending, .status.s-new, .status.s-awaiting_payment, .status.s-pending { color: var(--warning); }
.status.s-design_help { color: var(--info); }
.status.s-quoted, .status.s-approved, .status.s-partially_paid, .status.s-contacted, .status.s-qualified { color: var(--gold-2); }
.status.s-in_production { color: var(--gold); }
.status.s-ready_to_ship, .status.s-shipped { color: var(--usa); }
.status.s-delivered, .status.s-paid, .status.s-succeeded, .status.s-available, .status.s-won, .status.s-fulfilled { color: var(--success); }
.status.s-cancelled, .status.s-failed, .status.s-sold, .status.s-lost, .status.s-refunded { color: var(--danger); }
.status.s-reserved { color: var(--turkey); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img, .lightbox video { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; top: 18px; right: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-mobile { } @media (max-width: 760px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none !important; } @media (max-width: 760px) { .show-mobile { display: initial !important; } }
.prose h2 { font-size: 2.2rem; margin-top: 1.4em; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose ul { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.45rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--font-body); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 14px 0 0; max-width: 72ch; }

/* Procedural renders: always show the whole piece */
.tile-media img[src*=".svg"] { object-fit: contain; background: #0f0d0c; }
.cat-card img[src*=".svg"] { object-fit: contain; object-position: center 22%; transform: scale(1.18); }
.cat-card:hover img[src*=".svg"] { transform: scale(1.24); }
.detail-main img[src*=".svg"] { object-fit: contain; }
.tile-media, .cat-card, .detail-main { background: radial-gradient(75% 75% at 50% 38%, #221d19, #0c0b0a 80%); }
.flag { width: 22px; height: 15px; display: inline-block; vertical-align: -2px; border-radius: 2px; flex-shrink: 0; }
.badge { white-space: nowrap; }
.dl dd, .table td { overflow-wrap: anywhere; }
.portal-main { overflow-x: hidden; }

/* ==========================================================================
   Luxury workshop layer — black / warm gold / Cinzel + Montserrat
   ========================================================================== */
h1, h2, .h1, .h2, .display { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.08; }
h3, h4 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.tile-title, .price, .dropzone strong { font-family: var(--font-body); font-weight: 600; }
.serif-caps { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.eyebrow { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .28em; color: var(--gold); }
.lead { color: var(--muted); }
.script { font-family: var(--font-script); color: var(--gold); font-weight: 400; letter-spacing: 0; text-transform: none; }

/* Buttons */
.btn { border-radius: 2px; font: 600 .74rem/1 var(--font-body); letter-spacing: .16em; }
.btn-gold { --bg: var(--gold); --fg: var(--on-accent); --bd: var(--gold); box-shadow: none; }
.btn-gold:hover { --bg: var(--gold-2); --fg: var(--on-accent); color: var(--on-accent); border-color: var(--gold-2); box-shadow: 0 10px 30px -12px rgba(201, 164, 91, .6); }
.btn-outline { --bd: var(--gold); --fg: var(--gold); }
.btn-outline:hover { --bg: var(--gold-soft); color: var(--gold-2); }
.btn-arrow::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { height: var(--header-h); background: linear-gradient(180deg, rgba(8, 7, 6, .82), rgba(8, 7, 6, 0)); border-bottom: 1px solid transparent; }
.site-header.is-solid, .site-header.always-solid { background: rgba(10, 9, 8, .94); border-bottom-color: var(--line); }
.site-header .container { max-width: 1440px; gap: 28px; }
.brand { position: relative; z-index: 2; align-self: flex-start; margin-top: 8px; }
.brand-mark { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(201, 164, 91, .45), 0 10px 30px rgba(0, 0, 0, .6); transition: width .3s var(--ease), height .3s var(--ease); }
.site-header.is-solid .brand-mark, .site-header.always-solid .brand-mark { width: 64px; height: 64px; }
.nav-main { gap: clamp(22px, 3vw, 52px); }
.nav-main a { font: 500 .76rem/1 var(--font-body); letter-spacing: .16em; color: rgba(244, 239, 230, .88); padding: 12px 0; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-main a:hover { color: var(--gold-2); }
.nav-main a.is-active { color: var(--gold); }
.nav-main a.is-active::after, .nav-main a:hover::after { transform: scaleX(1); }
.nav-utility { gap: 4px; }
.icon-btn { color: var(--text); }
.icon-btn:hover { color: var(--gold); border-color: transparent; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .count { top: 2px; right: 0; background: var(--gold); color: var(--on-accent); }
.icon-btn .count.is-zero { opacity: .85; }
.search-bar { position: absolute; left: 0; right: 0; top: 100%; background: rgba(10, 9, 8, .98); border-bottom: 1px solid var(--line); padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.search-bar.is-open { opacity: 1; visibility: visible; transform: none; }
.search-bar .container { display: flex; align-items: center; gap: 12px; height: auto; max-width: 900px; }
.search-bar .container > svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.search-bar input { min-height: 46px; }
.mobile-nav .mn-main { font: 500 1.6rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .06em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .mn-sub { display: grid; gap: 2px; margin-top: 22px; }
.mobile-nav .mn-sub a { font: 500 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 0; }
@media (max-width: 1080px) { .brand { margin-top: 6px; } .brand-mark { width: 64px; height: 64px; } }
@media (max-width: 480px) { .brand-mark, .site-header.is-solid .brand-mark { width: 54px; height: 54px; } .icon-btn { width: 38px; height: 38px; } .nav-utility { gap: 0; } }

/* Footer */
.site-footer { background: #080706; border-top: 1px solid var(--line); }
.footer-brand .brand { margin-top: 0; }
.footer-brand .brand-mark { width: 96px; height: 96px; }
.footer-line { font: 500 1.05rem/1.4 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 18px 0 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.site-footer h5 { color: var(--gold); letter-spacing: .2em; }

/* Surfaces */
.panel, .card, .table-wrap { background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); }
.tile { border-radius: var(--radius); border-color: var(--line); }
.tile:hover { border-color: var(--line-strong); }
.section.alt { background: #0e0c0b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chip { border-radius: 2px; }
.feature .ico { border-color: var(--line-strong); }

/* ---------- Cinematic image hero (all pages) ---------- */
.cine { position: relative; min-height: min(92svh, 860px); display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 90px; overflow: hidden; background: #0a0908; }
.cine.short { min-height: 0; padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); }
.cine-bg { position: absolute; inset: 0; z-index: 0; }
.cine-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.cine::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, .7) 34%, rgba(8, 7, 6, .15) 70%), linear-gradient(0deg, var(--black) 0%, rgba(8, 7, 6, 0) 28%); }
.cine .container { position: relative; z-index: 2; }
.cine-copy { max-width: 640px; }
.cine h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin: 10px 0 18px; }
.cine .kicker { font: 500 clamp(.85rem, 1.3vw, 1rem)/1.5 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.cine .lead { color: #d8cfc2; margin-bottom: 30px; }
.cine .script { position: absolute; right: clamp(16px, 6vw, 90px); top: 50%; transform: translateY(-50%) rotate(-8deg); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; text-align: center; z-index: 2; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.lines { line-height: 1.7; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #e6ddd0; margin: 0 0 32px; }
@media (max-width: 760px) {
  .cine { min-height: 86svh; align-items: flex-end; padding-bottom: 56px; }
  .cine::after { background: linear-gradient(0deg, rgba(8, 7, 6, .96) 12%, rgba(8, 7, 6, .55) 55%, rgba(8, 7, 6, .25)); }
  .cine .script { display: none; }
}

/* Section heading row */
.sec-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0; }
.sec-title .lead { margin: 8px 0 0; }

/* Three big step cards */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.step-card { position: relative; display: block; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0e0c0b; color: var(--text); }
.step-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 7, 6, .95) 8%, rgba(8, 7, 6, .35) 55%, rgba(8, 7, 6, .05)); }
.step-card .sc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.4vw, 32px); }
.step-card .sc-num { font: 500 2.4rem/1 var(--font-display); color: var(--gold); display: block; margin-bottom: 10px; }
.step-card h3 { font: 500 clamp(1.25rem, 1.8vw, 1.6rem)/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.step-card p { color: #d0c7ba; margin: 0 0 16px; font-size: .95rem; }
.step-card .link-arrow { font-size: .7rem; }
.step-card:hover img { transform: scale(1.05); }
.step-card:hover { color: var(--text); border-color: var(--line-strong); }
@media (max-width: 900px) {
  .steps3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 48px)); padding: 0 clamp(16px, 4vw, 48px); }
  .steps3::-webkit-scrollbar { display: none; }
  .step-card { scroll-snap-align: start; aspect-ratio: 4 / 5.2; }
}

/* Horizontal rail + arrows (slabs, categories) */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 3 * 18px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10, 9, 8, .85); color: var(--gold); display: grid; place-items: center; cursor: pointer; transform: translateY(-50%); }
.rail-btn:hover { border-color: var(--gold); }
.rail-btn.prev { left: -22px; } .rail-btn.next { right: -22px; }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn.prev svg { transform: rotate(180deg); }
@media (max-width: 900px) { .rail { grid-auto-columns: 72%; } .rail-btn { display: none; } }

.slab-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--charcoal); color: var(--text); transition: border-color .3s, transform .4s var(--ease); }
.slab-card:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--text); }
.slab-card .sl-img { aspect-ratio: 3 / 4; background: #0e0c0b; overflow: hidden; }
.slab-card .sl-img img { width: 100%; height: 100%; object-fit: cover; }
.slab-card .sl-body { padding: 16px 18px 18px; }
.slab-card .sl-species { font: 500 1.05rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.slab-card .sl-id { font: 600 .72rem/1 var(--font-body); letter-spacing: .18em; color: var(--gold); margin: 6px 0 10px; display: block; }
.slab-card .sl-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.avail { display: inline-flex; align-items: center; gap: 6px; font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--success); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail.reserved { color: var(--warning); }

/* Tree to timeless piece */
.tree { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tree h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 20px; }
.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.collage figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0e0c0b; }
.collage figure:first-child { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 12px; bottom: 10px; font: 600 .62rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: #efe6d8; background: rgba(8, 7, 6, .7); padding: 6px 9px; border-radius: 2px; }
@media (max-width: 900px) { .tree { grid-template-columns: minmax(0, 1fr); } }

/* Value strip (5 icons) */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values > div { text-align: center; padding: clamp(26px, 3.5vw, 44px) 16px; }
.values > div + div { border-left: 1px solid var(--line); }
.values svg { width: 38px; height: 38px; color: var(--gold); margin: 0 auto 14px; stroke-width: 1.2; }
.values h4 { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.values p { font-size: .86rem; color: var(--muted); margin: 0; }
.values.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .values, .values.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values > div + div { border-left: 0; } .values > div { border-bottom: 1px solid var(--line); } .values > div:nth-child(even) { border-left: 1px solid var(--line); } .values > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Shop ---------- */
.cat-rail { grid-auto-columns: minmax(150px, calc((100% - 5 * 14px) / 6)); gap: 14px; }
.cat-tile { display: block; border: 1px solid var(--line-strong); border-radius: 2px; overflow: hidden; background: var(--charcoal); color: var(--text); transition: border-color .3s; }
.cat-tile .ct-img { aspect-ratio: 1 / 0.86; background: radial-gradient(80% 80% at 50% 40%, #2a221b, #0e0c0b); overflow: hidden; display: grid; place-items: center; }
.cat-tile .ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-tile .ct-img svg { width: 42px; height: 42px; color: var(--gold); opacity: .8; stroke-width: 1.2; }
.cat-tile .ct-name { display: block; text-align: center; padding: 12px 8px; font: 500 .82rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); }
.cat-tile:hover, .cat-tile.is-active { border-color: var(--gold); color: var(--gold-2); }
.cat-tile:hover img { transform: scale(1.06); }

.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--charcoal); padding: 20px 22px; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.filters-head b { font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.filters-head a { font-size: .78rem; color: var(--muted); text-decoration: underline; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup h6 { margin: 0 0 12px; font: 600 .7rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .86rem; color: #d3cabd; cursor: pointer; }
.fopt input { width: 16px; height: 16px; min-height: 0; accent-color: var(--gold); margin: 0; }
.fopt .n { color: var(--faint); font-size: .78rem; }
.fopt .wood-sw { width: 22px; height: 16px; border-radius: 2px; margin-left: auto; border: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .35); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--gold); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range input { min-height: 40px; padding: 8px 10px; font-size: .88rem; }
.filters .btn { margin-top: 16px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-bar b { font: 600 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.shop-bar select { width: auto; min-height: 42px; padding: 8px 40px 8px 14px; font-size: .86rem; }
.filters-toggle { display: none; }
.filters-scrim { display: none; }
@media (max-width: 1000px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 95; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); max-height: none; border-radius: 0; transform: translateX(-105%); transition: transform .35s var(--ease); padding-bottom: 90px; }
  .filters-open .filters { transform: none; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .3s; }
  .filters-open .filters-scrim { opacity: 1; visibility: visible; }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: inline-grid !important; }
}
.filters-close { display: none !important; }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
@media (max-width: 1200px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pgrid { gap: 10px; } }
.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--charcoal); transition: border-color .3s, transform .4s var(--ease); }
.pcard:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pcard .pc-img { position: relative; display: block; aspect-ratio: 4 / 3; background: radial-gradient(75% 75% at 50% 38%, #221d19, #0c0b0a 80%); overflow: hidden; }
.pcard .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pc-img img { transform: scale(1.05); }
.pcard .pc-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pbadge { display: inline-block; font: 600 .58rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border-radius: 2px; background: rgba(8, 7, 6, .82); color: #efe6d8; border: 1px solid rgba(255, 255, 255, .12); }
.pbadge.ready { color: #9fdcb5; border-color: rgba(124, 199, 154, .35); }
.pbadge.stock { color: #9fdcb5; }
.pbadge.gold { color: var(--gold-2); border-color: rgba(201, 164, 91, .45); }
.pbadge.custom { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.pbadge.concept { background: rgba(8, 7, 6, .82); color: var(--gold-2); border-color: rgba(201, 164, 91, .45); }
.pcard .pc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.pcard .pc-name { font: 500 .98rem/1.3 var(--font-body); color: var(--text); margin: 0 0 4px; }
.pcard .pc-name a { color: inherit; }
.pcard .pc-dims { font-size: .8rem; color: var(--muted); }
.pcard .pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; }
.pcard .pc-price { font: 600 1.08rem/1 var(--font-body); color: var(--text); }
.pcard .pc-price s { color: var(--faint); font-size: .82rem; font-weight: 400; margin-left: 6px; }
.pcard .pc-loc { font-size: .72rem; color: var(--faint); letter-spacing: .06em; margin-top: 4px; display: block; }
.cart-btn { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 2px; background: transparent; color: var(--gold); cursor: pointer; transition: background .2s, color .2s; }
.cart-btn:hover { background: var(--gold); color: var(--on-accent); }
.cart-btn svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .pcard .pc-body { padding: 10px 11px 12px; } .pcard .pc-name { font-size: .86rem; } .pcard .pc-price { font-size: .95rem; } .cart-btn { width: 36px; height: 36px; } .pbadge { font-size: .5rem; padding: 5px 6px; } }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: .88rem; }
.pager .is-current { background: var(--gold); border-color: var(--gold); color: var(--on-accent); font-weight: 700; }
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 48px 24px; text-align: center; }

/* ---------- Custom Projects ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.flow > div { text-align: center; padding: 10px 18px; position: relative; }
.flow > div + div::before { content: "→"; position: absolute; left: -10px; top: 58px; color: var(--gold); font-size: 1.2rem; }
.flow .fnum { font: 600 .72rem/1 var(--font-body); letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 12px; }
.flow .fico { width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; margin: 0 auto 18px; color: var(--gold); }
.flow .fico svg { width: 32px; height: 32px; stroke-width: 1.3; }
.flow h4 { font: 600 .82rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.flow p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .flow > div + div::before { display: none; } }
.ptype-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .ptype-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ptype-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ptype { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--charcoal); color: var(--text); transition: border-color .3s; }
.ptype:hover { border-color: var(--gold); color: var(--text); }
.ptype .pt-img { aspect-ratio: 4 / 3; background: radial-gradient(75% 75% at 50% 38%, #221d19, #0c0b0a 80%); overflow: hidden; display: grid; place-items: center; }
.ptype .pt-img img { width: 100%; height: 100%; object-fit: cover; }
.ptype .pt-img svg { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.2; }
.ptype .pt-body { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; }
.ptype .pt-body b { font: 600 .9rem/1.2 var(--font-body); }
.ptype .pt-body small { display: block; color: var(--muted); font-size: .74rem; margin-top: 3px; }
.ptype .pt-body span.arr { color: var(--gold); }
.story-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-split h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.idea-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 24px 0 30px; padding: 0; list-style: none; }
.idea-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #d3cabd; }
.idea-list li::before { content: "◆"; color: var(--gold); font-size: .6rem; margin-top: 6px; }
.note-small { font-size: .78rem; color: var(--faint); }
@media (max-width: 900px) { .story-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-cards { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 60px); margin-top: 34px; }
.contact-cards > div { min-width: 180px; }
.contact-cards svg { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.2; margin-bottom: 14px; }
.contact-cards h4 { font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.contact-cards a, .contact-cards p { color: #e3dacd; margin: 0; font-size: .95rem; }
.contact-cards small { display: block; color: var(--muted); margin-top: 4px; font-size: .78rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.contact-layout .panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 22px; }
.loc-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--charcoal); }
.loc-card .lc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.loc-card .lc-img img { width: 100%; height: 100%; object-fit: cover; }
.loc-card .lc-body { padding: 22px 24px 26px; }
.loc-card h3 { font: 500 1.3rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.opt-fields summary { cursor: pointer; font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 10px 0 16px; list-style: none; }
.opt-fields summary::-webkit-details-marker { display: none; }
.opt-fields summary::before { content: "+ "; }
.opt-fields[open] summary::before { content: "– "; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; padding: 18px 0; font-size: .98rem; color: #e8dfd2; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex-shrink: 0; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: 0 0 18px; font-size: .92rem; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Concept labelling */
.concept-tag { position: absolute; top: 12px; right: 12px; z-index: 3; font: 600 .56rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; padding: 6px 8px; border-radius: 2px; background: rgba(8, 7, 6, .8); color: var(--gold-2); border: 1px solid rgba(201, 164, 91, .4); }
.fulfil .check { align-items: flex-start; }
.buy-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 2px; height: 58px; }
.qty button { width: 44px; height: 100%; background: none; border: 0; color: var(--gold); cursor: pointer; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty input { width: 52px; min-height: 0; height: 100%; border: 0; background: transparent; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
@media (max-width: 760px) { .buy-box { position: sticky; bottom: 0; z-index: 30; background: rgba(10, 9, 8, .96); margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); } .buy-box .btn { flex: 1; min-height: 50px; } .qty { height: 50px; } }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 18px; } .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; gap: 6px; } }

/* Legal pages */
.legal { max-width: 820px; padding-top: 140px; padding-bottom: 80px; line-height: 1.7; }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 6px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--gold-2); margin: 32px 0 8px; letter-spacing: .04em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal a { color: var(--gold-2); }
.legal-meta { font-size: .8rem; color: var(--faint) !important; margin-bottom: 28px; }
.legal blockquote { margin: 10px 0 24px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(201,164,91,.06); color: var(--text); font-size: .92rem; }
.legal-shot { display: block; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; margin: 10px 0 24px; }

/* SMS consent checkbox (optional, unchecked by default) */
.sms-consent { margin: 14px 0; }
.sms-consent-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .85rem; line-height: 1.5; text-transform: none; letter-spacing: normal; font-weight: 400; }
.sms-consent-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: #c9a45b; }
.sms-consent-links { margin: 6px 0 0 30px; font-size: .8rem; opacity: .85; }
.sms-consent-links a { text-decoration: underline; }
/* /sms-consent evidence page */
.sms-demo { border: 1px dashed var(--line-strong, #555); border-radius: 12px; padding: 4px 16px; margin: 10px 0; }
.sms-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 24px; }
.sms-shot { margin: 0; border: 1px solid var(--line, #333); border-radius: 12px; overflow: hidden; background: #0d0c0b; }
.sms-shot img { display: block; width: 100%; height: auto; }
.sms-shot figcaption { padding: 8px 12px; font-size: .82rem; opacity: .85; }
.sms-samples { list-style: none; padding: 0; display: grid; gap: 10px; }
.sms-samples li { border: 1px solid var(--line, #333); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.sms-samples li span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-bottom: 4px; }
.legal h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: .02em; margin: 26px 0 10px; color: var(--text); }

/* ---------- Admin: product intake ---------- */
.intake-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed var(--line-strong); border-radius: 14px; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.intake-drop:hover, .intake-drop.is-over { border-color: var(--gold-2); background: rgba(var(--accent-rgb), .06); }
.intake-drop.is-busy { opacity: .6; pointer-events: none; }
.intake-drop-i svg { width: 30px; height: 30px; color: var(--gold-2); }
.intake-progress { margin-top: 12px; }
.intake-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.intake-bar span { display: block; height: 100%; width: 0; background: var(--gold-2); transition: width .3s; }
.intake-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 180px; overflow: auto; columns: 2 260px; }
.intake-list li { padding: 2px 0; color: var(--muted); }
.intake-list li.is-up { color: var(--text); } .intake-list li.is-ok { color: var(--success); } .intake-list li.is-bad { color: var(--danger); }
.intake-list li.is-ok::before { content: '✓ '; } .intake-list li.is-bad::before { content: '✕ '; }
.intake-work { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.intake-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--gold-2); animation: intake-spin .8s linear infinite; }
@keyframes intake-spin { to { transform: rotate(360deg); } }
.intake-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.intake-thumb-empty { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-strong); color: var(--faint, #777); font-size: .8rem; }
.intake-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.intake-card { background: var(--charcoal, #141210); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.intake-card.is-ai { border-color: rgba(229, 181, 103, .5); } .intake-card.is-cover { border-color: var(--gold-2); }
.intake-card img, .intake-card video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #0d0c0b; }
.intake-vid { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; color: var(--muted); }
.intake-vid svg { width: 28px; height: 28px; }
.intake-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 8px 0; }
.intake-tags .badge { font-size: .56rem; padding: 0 8px; }
.intake-actions { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; }
.intake-actions .btn { padding: 0 9px; min-height: 28px; font-size: .62rem; }
.intake-move { padding: 0 8px 8px; } .intake-move select { width: 100%; min-height: 32px; font-size: .78rem; }
.intake-ai { display: inline-block; font-size: .55rem; letter-spacing: .1em; padding: 1px 5px; border-radius: 4px; background: rgba(229, 181, 103, .18); color: var(--warning); vertical-align: middle; }
