/* Beige Club web preview: designer lists and profiles.
   Matches the homepage design system (index.html / site-chrome.css):
   Cormorant + Instrument Sans, ink #1a1410, beige #faf7f2, gold #c4a05a. */
:root {
  --ink: #1a1410;
  --ink-soft: #3a2e22;
  --muted: #6e6152;
  --accent: #c4a05a;
  --accent-hover: #d4b06a;
  --accent-text: #8a6a2e;
  --gold-l: #f0e4c8;
  --bg: #faf7f2;
  --bg2: #f4ede0;
  --card: #ffffff;
  --line: #e8dece;
  --line-strong: #d9ccb6;
  --tag-bg: #f4ede0;
  --tag-ink: #5c4d3c;
  --ok-ink: #2f6b48;
  --ok-bg: #e3f1e8;
  --muted-bg: #efebe4;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --btn-radius: 6px;
  --shadow: 0 2px 16px rgba(26, 20, 16, 0.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
button { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }
.muted { color: var(--muted); margin: 0; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.center { text-align: center; }

/* Store bar, nav and footer: same as the homepage */
.store-bar { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 500; letter-spacing: 0.3px; padding: 10px clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; line-height: 1.4; }
.store-bar a { color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(196, 160, 90, 0.55); }
.store-bar a:hover { color: var(--accent); border-color: var(--accent); }
.store-bar-sep { color: rgba(255, 255, 255, 0.28); }
.store-bar-lead { color: rgba(255, 255, 255, 0.6); }
.nav { position: sticky; top: 0; z-index: 30; height: 68px; padding: 0 clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(244, 237, 224, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1.5px solid var(--line); box-shadow: 0 2px 12px rgba(26, 20, 16, 0.07); }
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; min-width: 0; }
.nav-right { gap: 10px; }
.wordmark { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 30px); font-weight: 600; color: #2c2318; letter-spacing: -0.3px; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: #2c2318; }
.wordmark em, .foot-wordmark em { font-style: normal; color: var(--accent); }
.nav-link { font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.nav-link.is-current { color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.nav-store { display: none; align-items: center; gap: 10px; }
.nav-store-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--btn-radius); background: var(--ink); color: #fff; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: 0.2px; }
.nav-store-btn:hover { background: #2c2318; color: var(--accent); }
.nav-store-btn svg { width: 12px; height: 12px; flex-shrink: 0; }
@media (min-width: 900px) { .nav-store { display: inline-flex; } }
.nav-btn { padding: 8px 22px; border-radius: var(--btn-radius); background: var(--ink); border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; color: #fff; cursor: pointer; white-space: nowrap; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.site-footer { background: var(--ink); padding: 44px clamp(16px, 4vw, 48px) calc(36px + env(safe-area-inset-bottom, 0px)); margin-top: 32px; }
.foot-inner { max-width: 1100px; margin: 0 auto 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-wordmark { font-family: var(--serif); font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.3px; line-height: 1; }
.foot-note { margin: 0; max-width: 560px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.foot-note a { color: rgba(255, 255, 255, 0.8); }
.foot-legal { max-width: 1100px; margin: 0 auto 24px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.foot-legal a { font-size: 13px; color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.foot-legal a:hover { color: var(--accent); }
.foot-legal-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.12); }
.foot-bottom { max-width: 1100px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.35); }
.foot-tag { font-style: italic; letter-spacing: 0.6px; }

/* Buttons: gold primary and dark secondary, as on the homepage */
.btn-primary, .btn-outline, .btn-secondary, .btn-claim, .btn-dark { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--btn-radius); padding: 14px 20px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; min-height: 48px; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.btn-primary { background: var(--accent); color: var(--ink); border: none; }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); transform: translateY(-1px); }
.btn-primary.small { padding: 10px 16px; min-height: 44px; font-size: 13px; }
.btn-primary.inline { width: auto; }
.btn-dark { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.btn-dark:hover { color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); font-weight: 600; }
.btn-outline:hover { border-color: var(--accent); color: var(--ink); }
.btn-secondary { background: var(--card); color: var(--ink); border: 1.5px solid var(--line-strong); font-weight: 600; }
.btn-claim { background: var(--ink); color: #fff; border: none; padding: 10px 16px; min-height: 44px; font-size: 13px; }
.btn-claim:hover { color: var(--accent); }
.link-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 8px; font-size: 14px; }
.link-btn:hover { color: var(--ink); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; font-size: 22px; color: var(--ink); cursor: pointer; }
.icon-btn.outline { border: 1.5px solid var(--line-strong); border-radius: var(--btn-radius); background: var(--card); width: 48px; height: 48px; }

/* List page */
.hero { padding-top: 44px; padding-bottom: 16px; }
.eyebrow { margin: 0 0 8px; font-size: 13px; color: var(--accent-text); font-weight: 500; letter-spacing: 0.06em; }
.page-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.06; max-width: 820px; }
.lead { margin: 14px 0 0; font-size: 17px; color: var(--ink-soft); max-width: 640px; }
.filters { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
select.input-pill, .chip-select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%232C2318' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 11px 7px;
}
select.input-pill { background-position: right 16px center; padding-right: 40px !important; }
.input-pill { font: inherit; font-size: 15px; padding: 13px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background-color: var(--card); color: var(--ink); min-height: 48px; }
.input-pill.grow { flex: 1 1 280px; min-width: 0; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.type-row { gap: 6px; }
.chip-link { font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); text-decoration: none; }
.chip-link.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-select { background-position: right 13px center; font: inherit; font-size: 14px; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background-color: var(--card); color: var(--ink); min-height: 40px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-block; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; }
.chip-check input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.results { padding-top: 12px; padding-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.more-row { margin-top: 32px; display: flex; justify-content: center; }
.more-row .btn-outline { border-radius: 999px; padding: 14px 28px; }
.empty { padding: 32px 0; }
.empty .btn-outline { margin-right: 8px; }

/* Card */
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { color: var(--ink); box-shadow: 0 6px 22px rgba(44, 35, 24, 0.08); transform: translateY(-1px); }
.collage { display: grid; grid-template-columns: 2fr 1fr; gap: 3px; background: var(--card); }
.card-collage { grid-template-rows: 110px 110px; }
.collage-main { grid-row: span 2; position: relative; overflow: hidden; }
.collage-side { overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage.n1 { grid-template-columns: 1fr; }
.collage.n1 .collage-main { grid-row: auto; }
.collage.n2 { grid-template-columns: 1fr 1fr; }
.collage.n2 .collage-main { grid-row: auto; }
.collage.n1.card-collage, .collage.n2.card-collage { grid-template-rows: 223px; }
.collage.n1.hero-collage, .collage.n2.hero-collage { grid-template-rows: 366px; }
.collage img { background: var(--tag-bg); }
.no-photos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--tag-bg); color: var(--tag-ink); text-align: center; padding: 16px; }
.no-photos.card-collage { height: 223px; }
.no-photos.hero-collage { height: 240px; border-radius: 18px; }
.no-photos.project-nophoto { height: 170px; border-radius: 12px; }
.no-photos-mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--accent-text); }
.no-photos-text { font-size: 13px; }
.img-caption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; color: var(--card); background: rgba(44, 35, 24, 0.6); border-radius: 6px; padding: 4px 8px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.card-body { flex: 1 1 auto; }
.card-title { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-areas { margin: 0; font-size: 14px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-chips { flex-wrap: wrap; max-height: 27px; overflow: hidden; }
.card-chips .chip-tag { white-space: nowrap; line-height: 19px; }
.card-foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-foot .badge { flex: 0 0 auto; }
.chip-tag { font-size: 12px; color: var(--tag-ink); background: var(--tag-bg); border-radius: 999px; padding: 4px 10px; }
.chip-tag.soft { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.badge { font-size: 12px; font-weight: 500; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.badge-ok { color: var(--ok-ink); background: var(--ok-bg); }
.badge-muted { color: #5F5F5F; background: var(--muted-bg); }

/* App band */
.band-wrap { margin-bottom: 40px; }
.app-band { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 28px 32px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.app-icon { border-radius: 14px; flex: 0 0 auto; }
.band-text { flex: 1 1 340px; }
.band-title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; }
.band-sub { margin: 6px 0 0; font-size: 15px; color: var(--line-strong); }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.store-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.store-meta { display: flex; flex-direction: column; line-height: 1.1; }
.store-meta small { font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--tag-ink); }
.store-meta span { font-size: 14px; font-weight: 700; }

/* Profile */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.owner-banner { margin-top: 12px; padding: 12px 16px; background: var(--tag-bg); border-radius: 12px; font-size: 14px; }
.profile-layout { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; padding-top: 20px; padding-bottom: 32px; }
.profile-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-collage { grid-template-rows: 180px 180px; gap: 6px; border-radius: 18px; overflow: hidden; }
.section { border-top: 1px solid var(--line); padding-top: 24px; }
.hero-collage + .section, .profile-main > .section:first-child { border-top: none; padding-top: 0; }
.section-sub { margin: -8px 0 16px; font-size: 14px; color: var(--muted); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); min-width: 0; transition: border-color .18s, transform .18s; }
.social-card:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.social-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; background: var(--gold-l); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 22px; height: 22px; }
.social-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.social-platform { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.social-handle { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-go { color: var(--muted); flex: 0 0 auto; }
.section-title { margin: 0 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.project-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.project-card img, .project-card .ph { height: 170px; border-radius: 12px; object-fit: cover; }
.project-title { font-size: 15px; font-weight: 500; }
.project-meta { font-size: 13px; color: var(--muted); }
.about { margin: 0; font-size: 16px; line-height: 1.65; color: #4A3C30; max-width: 680px; white-space: pre-line; }
.review { margin: 0 0 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.review p { margin: 0 0 6px; }
.review footer { font-size: 13px; color: var(--muted); }
.profile-card { box-shadow: var(--shadow); flex: 0 0 360px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.id-row { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.avatar-initial { background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.profile-name { margin: 0 0 6px; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.05; }
.tagline { margin: 0; font-style: italic; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: center; }
.stat { background: var(--bg); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--muted); }
.notice { background: var(--muted-bg); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #555; display: flex; flex-direction: column; gap: 2px; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.links { border-top: 1px solid var(--line); padding-top: 14px; display: flex; gap: 18px; font-size: 14px; }
.claim-box { background: var(--card); border: 1px dashed var(--accent); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.claim-box div { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-soft); }
.claim-box strong { color: var(--ink); font-size: 14px; }
.sticky-actions { display: none; }
.project-page { padding-top: 16px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.gallery img { width: 100%; border-radius: 12px; }

/* Dialogs */
.sheet { border: none; border-radius: 22px; padding: 12px 22px 26px; max-width: 440px; width: calc(100% - 24px); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(44, 35, 24, 0.25); }
.sheet::backdrop { background: rgba(44, 35, 24, 0.45); }
.sheet > * + * { margin-top: 14px; }
.sheet-close-row { display: flex; justify-content: flex-end; margin: 0; }
.sheet-head { display: flex; align-items: center; gap: 14px; }
.sheet-title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.sheet-sub { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.sheet-list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; color: #4A3C30; }
.sheet .btn-primary, .sheet .btn-secondary { width: 100%; }
.eyebrow-sm { margin: 0; font-size: 12px; color: var(--muted); }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sheet input[type="text"], .sheet input[type="tel"], .sheet select, .sheet textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); }
.phone-row { display: flex; gap: 8px; margin-bottom: 12px; }
.phone-prefix { font-size: 16px; padding: 12px; border-radius: 10px; background: var(--tag-bg); border: 1px solid var(--line); }
[data-login-step] > * + * { margin-top: 10px; }
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.chip-field { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-field legend { padding: 0; margin-bottom: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-block; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; }
.chip-radio input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-error { color: #9B2C1F; font-size: 14px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }

.consent { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-size: 14px; width: min(640px, calc(100% - 32px)); box-shadow: 0 10px 30px rgba(44, 35, 24, 0.25); }
.consent span { flex: 1 1 240px; }
.link-btn.on-dark { color: var(--line); }

/* Narrow laptops and tablets: contact card above the projects */
@media (max-width: 1100px) {
  .profile-card { position: static; flex-basis: 100%; }
}

/* Phone width */
@media (max-width: 720px) {
  .nav-link { display: none; }
  .nav-btn { padding: 8px 14px; font-size: 12px; }
  .hero { padding-top: 24px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .filters .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; -webkit-overflow-scrolling: touch; }
  .filters .chip-row::-webkit-scrollbar { display: none; }
  .filters .chip-row > * { flex: 0 0 auto; }
  .chip-link, .chip-check span, .chip-select { white-space: nowrap; font-size: 13px; }
  .search-row .input-pill.grow { flex-basis: 100%; }
  .search-row select.input-pill { flex: 1 1 0; min-width: 0; }
  .no-photos.card-collage, .collage.n1.card-collage, .collage.n2.card-collage { height: 183px; grid-template-rows: 183px; }
  .card-collage { grid-template-rows: 90px 90px; }
  .hero-collage { grid-template-rows: 120px 120px; }
  .profile-card { position: static; }
  .profile-layout { padding-bottom: 96px; }
  .app-band { padding: 22px; }
  .band-title { font-size: 24px; }
  .sticky-actions { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
  .sticky-actions .btn-primary, .sticky-actions .btn-outline { flex: 1 1 0; }
  body:has(.sticky-actions) .consent { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sheet { margin: auto auto 0; border-radius: 22px 22px 0 0; width: 100%; max-width: 100%; }
}

/* ------------------------------------------------------------------ Studio
   Designer web studio (/studio): claim, quick setup, My Studio. */
.studio { padding: 28px 0 64px; }
.studio-col { max-width: 520px; margin: 0 auto; padding: 0 16px; }
.studio-wide { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.studio-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 7vw, 46px); line-height: 1.06; }
.studio-h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.studio-h3 { margin: 0; font-size: 15px; font-weight: 700; }
.studio .lead { font-size: 16px; }
.ticks { list-style: none; padding: 14px 16px; margin: 18px 0; background: var(--bg2); border-radius: 12px; display: grid; gap: 6px; font-size: 14px; }
.ticks li::before { content: "✓"; color: var(--ok-ink); font-weight: 700; margin-right: 8px; }
.studio-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.studio-panel > div { display: grid; gap: 10px; }
.studio input[type="text"], .studio input[type="password"], .studio input[type="tel"], .studio input[type="url"], .studio input[type="number"], .studio select, .studio textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); min-height: 48px; }
.studio textarea { min-height: 96px; resize: vertical; }
.studio input:focus, .studio select:focus, .studio textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 160, 90, 0.18); }
.studio .phone-row { margin-bottom: 0; }
.studio .btn-primary, .studio .btn-outline, .studio .btn-secondary { width: 100%; }
.studio .btn-primary.inline, .studio .btn-outline.inline, .studio .btn-secondary.inline { width: auto; }
.claim-card { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.claim-card img, .claim-card .claim-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: linear-gradient(160deg, #c9ae8e, #8a7560); flex-shrink: 0; }
.claim-card strong { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; line-height: 1.1; }
.claim-card span { font-size: 12px; color: var(--muted); }
.progress { display: flex; gap: 6px; margin-bottom: 6px; }
.progress span { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--line); }
.progress span.on { background: var(--accent); }
.step-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.step-head button { font-size: 12px; padding: 4px; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field .hint.ok { color: var(--ok-ink); }
.field .hint.bad { color: #9B2C1F; }
.prefix-input { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--card); overflow: hidden; }
.prefix-input span { display: flex; align-items: center; padding: 0 2px 0 14px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.studio .prefix-input input { border: none; padding-left: 0; min-width: 0; box-shadow: none; }
.prefix-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 160, 90, 0.18); }
details.more { border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 0 14px; }
details.more[open] { border-style: solid; padding-bottom: 14px; }
details.more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-size: 14px; font-weight: 600; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary small { font-weight: 500; color: var(--muted); font-size: 12px; text-align: right; }
details.more summary::after { content: "▾"; color: var(--muted); }
details.more[open] summary::after { content: "▴"; }
details.more .form-grid { gap: 14px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.studio .chip-radio span { font-size: 13px; padding: 8px 12px; background: var(--card); }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-tile { position: relative; width: 84px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--bg2); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(26, 20, 16, 0.7); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.photo-tile.loading::after { content: ""; position: absolute; inset: 0; background: rgba(250, 247, 242, 0.6) linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); }
.photo-add { width: 84px; height: 72px; border-radius: 8px; border: 1.5px dashed var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent-text); font-weight: 700; font-size: 22px; cursor: pointer; background: transparent; }
.avatar-pick { display: flex; align-items: center; gap: 12px; }
.avatar-pick .photo-tile { width: 56px; height: 56px; border-radius: 50%; }
.proj-list { display: grid; gap: 10px; }
.proj-row { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.proj-row img, .proj-row .proj-ph { width: 72px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--bg2); }
.proj-row .proj-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.proj-row .proj-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-row .proj-text span { font-size: 12px; color: var(--muted); }
.proj-row .link-btn { padding: 6px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.proj-row .link-btn.danger { color: #9B2C1F; }
.add-proj { min-height: 60px; border: 1.5px dashed var(--accent); border-radius: 12px; background: transparent; color: var(--accent-text); font-weight: 700; font-size: 15px; cursor: pointer; width: 100%; }
.proj-form { background: var(--card); border: 1.5px solid var(--accent); border-radius: 12px; padding: 14px; display: grid; gap: 14px; }
.proj-form .row-btns { display: flex; gap: 8px; }
.proj-form .row-btns > * { flex: 1 1 0; }
.step-foot { position: sticky; bottom: 0; margin: 20px -16px 0; padding: 12px 16px 18px; background: rgba(250, 247, 242, 0.96); border-top: 1px solid var(--line); display: grid; gap: 6px; z-index: 5; }
.step-foot .fine { text-align: center; }
.done { text-align: center; display: grid; gap: 16px; justify-items: center; }
.done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-ink); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.link-box { width: 100%; padding: 14px; background: var(--card); border: 1.5px solid var(--accent); border-radius: 12px; font-size: 17px; font-weight: 600; word-break: break-all; }
.two-btns { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tip { width: 100%; padding: 14px; background: var(--bg2); border-radius: 12px; display: flex; gap: 12px; align-items: center; text-align: left; font-size: 14px; line-height: 1.45; }
.tip img { width: 84px; height: 84px; border-radius: 6px; background: #fff; flex-shrink: 0; }
.msg-box { padding: 14px; background: var(--bg2); border-radius: 12px; font-size: 14px; line-height: 1.5; display: grid; gap: 10px; }
.msg-box strong { font-size: 15px; }
.option-list { display: grid; gap: 10px; }

/* My Studio dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.dash-main, .dash-side { display: grid; gap: 16px; }
.dash-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.dash-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.dash-card.dark .fine { color: rgba(255, 255, 255, 0.6); }
.dash-link { font-size: 18px; font-weight: 600; word-break: break-all; }
.dash-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-btns .btn-primary, .dash-btns .btn-outline { width: auto; min-height: 40px; padding: 8px 14px; font-size: 13px; }
.dash-card.dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat-box { padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; }
.stat-box b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.stat-box span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bar { height: 6px; background: var(--bg2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.next-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.next-list button { width: 100%; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; }
.next-list button::after { content: "→"; color: var(--accent-text); }
.lead-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.lead-row:first-of-type { border-top: none; padding-top: 0; }
.lead-row .lead-text { display: flex; flex-direction: column; min-width: 0; }
.lead-row strong { font-size: 14px; }
.lead-row span { font-size: 12px; color: var(--muted); }
.lead-row p { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); }
.wa-btn { padding: 8px 10px; background: var(--ok-bg); color: var(--ok-ink); border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wa-btn:hover { color: var(--ok-ink); filter: brightness(0.96); }
.status-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-ink); }
.status-pill.wait { background: var(--muted-bg); color: var(--muted); }
.edit-sheet { display: grid; gap: 16px; }
.proj-list, .dash-main, .dash-side, .dash-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .dash-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.studio-page .consent { bottom: auto; top: 12px; }
.proj-row .proj-text strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
@media (max-width: 480px) {
  .proj-row { gap: 10px; padding: 8px; }
  .proj-row img, .proj-row .proj-ph { width: 60px; height: 52px; }
  .proj-row .link-btn { padding: 4px 2px; font-size: 12px; }
}
/* Loading states */
@keyframes bc-spin { to { transform: rotate(360deg); } }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: bc-spin 0.8s linear infinite; }
.studio-loading { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.studio-loading[hidden] { display: none !important; }
.is-busy { position: relative; pointer-events: none; opacity: 0.85; }
.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(26, 20, 16, 0.25); border-top-color: var(--ink); animation: bc-spin 0.7s linear infinite; flex-shrink: 0; }
.dash-card.dark .is-busy::before, .btn-outline.is-busy::before { border-color: rgba(0,0,0,0.2); }
.photo-tile.loading img { opacity: 0.55; }
.photo-tile.loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff; animation: bc-spin 0.7s linear infinite; background: none; right: auto; bottom: auto; }
.photo-tile.failed { outline: 2px solid #9B2C1F; }
.link-readonly { min-height: 48px; padding: 12px 14px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); font-size: 15px; color: var(--muted); word-break: break-all; }
.link-readonly strong { color: var(--ink); font-weight: 600; }
.nav-btn.nav-studio { background: var(--accent); color: var(--ink); border-color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; }
.nav-btn.nav-studio:hover { background: var(--accent-hover); color: var(--ink); }
.studio-eyebrow { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.studio-eyebrow a { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.panel-head { display: grid; gap: 4px; }
.studio-panel { scroll-margin-top: 90px; }
@keyframes bc-flash { 0% { box-shadow: 0 0 0 0 rgba(196, 160, 90, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(196, 160, 90, 0); } }
.studio-panel.flash { animation: bc-flash 0.9s ease-out 2; border-color: var(--accent); }
.link-btn.inline-link { padding: 0; font-size: inherit; color: var(--ink); text-decoration: underline; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.agree input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.studio input:disabled { background: var(--bg2); color: var(--muted); }
.invite-page [data-action="login"], .invite-page [data-action="logout"] { display: none !important; }
