:root {
  color-scheme: light;
  --bg: #151d18;
  --bg-2: #243227;
  --surface: #202b24;
  --surface-strong: #2d3a31;
  --surface-soft: #19231d;
  --text: #fff7e8;
  --muted: #cfc3a6;
  --line: rgba(226, 196, 148, 0.28);
  --brand: #d98c47;
  --brand-2: #a8bd73;
  --gold: #f2c268;
  --clay: #b9634d;
  --danger: #d96b5f;
  --ink: #101612;
  --shadow: 0 18px 46px rgba(9, 13, 10, 0.36);
  --contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='%23d98c47' stroke-opacity='.42' stroke-width='1.1'%3E%3Cpath d='M40 64c54-50 151-48 207 3 41 37 36 91-6 121-55 40-159 34-204-17-31-35-26-76 3-107Z'/%3E%3Cpath d='M78 88c39-34 111-33 150 3 29 26 25 64-5 85-39 28-113 24-145-12-23-25-19-53 0-76Z'/%3E%3Cpath d='M119 112c24-18 64-17 88 3 18 15 15 36-4 49-24 16-68 14-87-7-14-16-12-31 3-45Z'/%3E%3Cpath d='M286 37c54 8 95 43 92 84-3 45-56 75-115 64-46-8-75-40-67-77 7-34 42-78 90-71Z'/%3E%3Cpath d='M312 77c28 4 51 23 49 46-2 25-31 42-63 36-25-5-41-23-37-43 4-19 24-43 51-39Z'/%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101813;
  --bg-2: #1f2d23;
  --surface: #1a251f;
  --surface-strong: #29382f;
  --surface-soft: #141d18;
  --text: #fff7e8;
  --muted: #c9b99b;
  --line: rgba(226, 196, 148, 0.24);
  --brand: #e09a54;
  --brand-2: #aec87a;
  --gold: #f5ca72;
  --clay: #c36751;
  --danger: #dc7468;
  --ink: #0c120e;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.42;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 330px),
    linear-gradient(140deg, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 44%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--contour);
  background-position: top 42px right -90px;
  background-size: 420px 300px;
  opacity: 0.2;
}

.app-header, main, footer, .modal, .toast {
  position: relative;
  z-index: 1;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 54px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px color-mix(in srgb, var(--brand) 14%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(174px, 20vw, 220px);
  height: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--brand) 82%, var(--clay)) 58%, var(--brand-2));
  color: var(--text);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.desktop-nav {
  display: flex;
  gap: 14px;
  color: var(--text);
  font-size: 0.86rem;
}

.desktop-nav a,
.brand {
  border-radius: 8px;
}

.desktop-nav a {
  padding: 7px 9px;
  color: color-mix(in srgb, var(--text) 78%, transparent);
}

.desktop-nav a.active {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 24%, transparent);
}

.header-actions, .prime-actions, .filters, .hero-search, .page-search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.primary-btn, .secondary-btn, .icon-btn, .link-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold), var(--brand) 62%, var(--clay));
  color: var(--ink);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--brand) 24%, transparent);
}

.secondary-btn, .icon-btn, .link-btn {
  background: color-mix(in srgb, var(--surface-strong) 88%, var(--ink));
  color: var(--text);
  border-color: var(--line);
}

.icon-btn {
  width: 36px;
  padding: 0;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  min-height: auto;
  padding: clamp(26px, 6vw, 54px) clamp(14px, 5vw, 64px) 26px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--brand) 22%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 94%, transparent), color-mix(in srgb, var(--bg) 92%, var(--ink))),
    var(--bg);
  color: var(--text);
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-section::before {
  inset: 0;
  background-image: var(--contour);
  background-size: 520px 370px;
  background-position: right -110px top -34px;
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent 6%, black 38%, black);
}

.hero-section::after {
  top: 18px;
  right: clamp(12px, 7vw, 92px);
  width: min(280px, 30vw);
  height: calc(100% - 36px);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, transparent) 0 1px, transparent 1px 13px),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand-2) 12%, transparent));
  transform: skewX(-8deg);
  opacity: 0.44;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 4.4vw, 3.9rem);
  line-height: 1.02;
  max-width: 950px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
  margin-bottom: 6px;
}

h3 {
  font-size: 1rem;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.hero-search {
  width: min(100%, 980px);
  padding: 8px;
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 1px color-mix(in srgb, var(--gold) 16%, transparent);
}

.hero-search input {
  flex: 1 1 230px;
}

.hero-search select {
  flex: 0 1 160px;
}

.hero-search button {
  flex: 0 0 auto;
}

.page-search {
  margin-bottom: 12px;
  padding: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 1px color-mix(in srgb, var(--gold) 16%, transparent);
}

.page-search input {
  flex: 1 1 240px;
}

.page-search select {
  flex: 0 1 180px;
}

.page-search button {
  flex: 0 0 auto;
}

input, select, textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 90%, var(--ink));
  color: var(--text);
  padding: 8px 10px;
  font-size: 0.88rem;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand-2) 36%, transparent);
  border-color: color-mix(in srgb, var(--brand-2) 74%, var(--line));
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
}

.hero-stats strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-panel {
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 0.72;
  border: 12px solid color-mix(in srgb, var(--surface-strong) 82%, var(--ink));
  border-radius: 36px;
  background: linear-gradient(155deg, var(--ink), color-mix(in srgb, var(--surface-soft) 70%, var(--clay)));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-top {
  width: 92px;
  height: 22px;
  margin: 10px auto;
  border-radius: 0 0 14px 14px;
  background: var(--surface-strong);
}

.mini-map {
  position: absolute;
  inset: 54px 18px 18px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--brand) 38%, transparent) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 45%, color-mix(in srgb, var(--brand-2) 34%, transparent) 46% 50%, transparent 51%),
    var(--ink);
}

.mini-map span {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--text);
}

.mini-map span:nth-child(1) { left: 18%; top: 22%; }
.mini-map span:nth-child(2) { right: 22%; top: 34%; background: var(--brand-2); }
.mini-map span:nth-child(3) { left: 46%; bottom: 28%; }
.mini-map span:nth-child(4) { right: 16%; bottom: 14%; background: var(--clay); }

.floating-card {
  position: absolute;
  left: 28px;
  right: 28px;
  padding: 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.floating-card small {
  display: block;
  color: var(--muted);
}

.prime-preview { bottom: 92px; }
.chat-preview { bottom: 28px; }

.prime-badge, .standard-badge, .verified-badge, .status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.66rem;
  font-weight: 900;
}

.prime-badge {
  background: linear-gradient(135deg, var(--gold), var(--brand));
  color: var(--ink);
}

.standard-badge {
  background: color-mix(in srgb, var(--brand-2) 22%, var(--surface-strong));
  color: var(--text);
}

.verified-badge {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand);
}

.status-pill {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
}

.onboarding-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 76px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.onboarding-strip article {
  background: var(--surface);
  padding: 16px;
}

.onboarding-strip span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 8px;
}

.section, .workspace-section, .admin-section, .prime-section, .profile-section, footer {
  padding: 42px clamp(14px, 5vw, 64px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.category-tile, .business-card, .chat-panel, .quote-panel, .conversation-list, .admin-card, .profile-card, blockquote {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand-2)), var(--surface));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 70px;
  padding: 10px;
  text-align: left;
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--contour) center / 240px 170px,
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 58%);
  opacity: 0.24;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand-2));
  opacity: 0.76;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold) 52%, var(--line));
}

.category-tile span {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 22px;
  margin-bottom: 7px;
  padding: 2px 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--gold) 82%, var(--brand));
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
}

.filters {
  margin-bottom: 14px;
  align-items: stretch;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.business-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--text);
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--gold), var(--brand-2));
  opacity: 0.9;
}

.business-card.prime {
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--brand) 20%, transparent);
}

.card-media {
  height: 132px;
  background:
    var(--contour) center / 280px 200px,
    linear-gradient(135deg, var(--surface-strong), color-mix(in srgb, var(--brand) 22%, var(--surface)), color-mix(in srgb, var(--brand-2) 18%, var(--surface)));
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  color: var(--text);
}

.category-tile strong,
.business-card h3,
.business-card p,
.business-card .meta-line {
  color: var(--text);
}

.category-tile strong {
  position: relative;
  display: block;
  font-size: 0.82rem;
  line-height: 1.15;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.meta-line, .service-tags, .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.service-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.74rem;
}

.card-actions {
  margin-top: auto;
}

.card-actions button, .card-actions a {
  flex: 1 1 110px;
  display: inline-grid;
  place-items: center;
  text-align: center;
}

.prime-section {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(118deg, color-mix(in srgb, var(--surface-soft) 90%, var(--brand-2)), color-mix(in srgb, var(--brand) 38%, var(--bg)) 58%, color-mix(in srgb, var(--clay) 42%, var(--bg))),
    var(--bg);
  color: var(--text);
  overflow: hidden;
}

.prime-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--contour);
  background-size: 520px 370px;
  background-position: right -90px center;
  opacity: 0.18;
  pointer-events: none;
}

.prime-section > * {
  position: relative;
  z-index: 1;
}

.prime-section p, .prime-section .eyebrow {
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

.prime-actions {
  min-width: min(100%, 480px);
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
  box-shadow: inset 0 1px color-mix(in srgb, var(--gold) 16%, transparent);
  flex-wrap: wrap;
}

.prime-actions select {
  flex: 1 1 170px;
}

.gateway-lock {
  flex: 1 1 170px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--brand-2) 42%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand-2) 16%, var(--surface));
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
}

.prime-status-text {
  flex-basis: 100%;
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.toggle-row {
  min-width: 118px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-row input {
  width: auto;
  min-height: auto;
}

.profile-hero {
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--brand-2)));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.profile-picture-field {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 44%, transparent);
}

.profile-picture-field legend {
  padding: 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-logo-editor {
  display: grid;
  align-items: center;
}

.business-cover-editor {
  display: grid;
}

.business-logo-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.business-cover-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  border-radius: 8px;
  background: var(--surface);
}

.business-cover-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 3.2;
  object-fit: cover;
}

.business-cover-preview .icon-btn {
  position: absolute;
  top: 8px;
  right: 8px;
}

.business-logo-preview img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  background: var(--surface);
}

.business-logo-placeholder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  color: var(--muted);
}

.business-cover-placeholder {
  display: grid;
  min-height: 82px;
  place-items: center start;
  gap: 4px;
  padding: 12px;
  border: 1px dashed color-mix(in srgb, var(--gold) 28%, transparent);
  border-radius: 8px;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, transparent) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--surface) 70%, transparent);
}

.business-cover-placeholder strong {
  color: var(--text);
}

.business-logo-placeholder span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--brand), var(--clay));
  color: var(--ink);
  font-weight: 900;
}

.business-logo-placeholder strong {
  color: var(--text);
}

.business-logo-placeholder small {
  font-size: 0.78rem;
}

.profile-gallery {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.profile-gallery h3 {
  margin: 0;
}

.project-gallery-groups,
.profile-project-group {
  display: grid;
  gap: 10px;
}

.profile-project-group {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 40%, transparent);
}

.profile-project-group h4 {
  margin: 0;
  font-size: 0.92rem;
}

.profile-reviews {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.review-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 64%, transparent);
}

.review-form h3,
.review-form p {
  margin: 0;
}

.review-form p {
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-cover {
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-strong);
  background-image: var(--contour), linear-gradient(135deg, color-mix(in srgb, var(--brand) 24%, transparent), color-mix(in srgb, var(--brand-2) 14%, transparent));
}

.profile-content {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
  padding: 18px;
}

.profile-logo {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--brand), var(--clay));
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
  margin-top: -52px;
  border: 4px solid var(--surface);
}

.profile-logo.has-image {
  background: var(--surface);
  overflow: hidden;
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 8px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 290px;
  gap: 12px;
}

.conversation-list, .chat-panel, .quote-panel {
  min-height: 390px;
}

.conversation-list {
  padding: 10px;
}

.conversation-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 10px;
}

.conversation-item.active, .conversation-item:hover {
  background: var(--surface-strong);
}

.chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chat-header {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.chat-messages {
  padding: 12px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  max-width: 76%;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-strong);
}

.message.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand), var(--clay));
  color: var(--ink);
}

.chat-form {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.quote-panel {
  padding: 12px;
}

.quote-panel form {
  display: grid;
  gap: 8px;
}

.quote-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.quote-item {
  padding: 10px;
  background: var(--surface-strong);
  border-radius: 8px;
}

.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

blockquote {
  margin: 0;
  padding: 16px;
  color: var(--text);
  line-height: 1.45;
}

blockquote span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-card {
  padding: 12px;
}

.admin-card.wide {
  grid-column: span 2;
}

.admin-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.admin-row {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-strong);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--text);
}

.legal-footer {
  display: grid;
  gap: 12px;
  padding-top: 26px;
  padding-bottom: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 38%),
    var(--bg);
}

.footer-brand {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand strong {
  color: var(--text);
  font-size: 0.98rem;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 6px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.legal-links a:hover {
  background: color-mix(in srgb, var(--brand) 22%, transparent);
  border-color: var(--brand);
}

.legal-page {
  display: grid;
  gap: 12px;
  padding: 34px clamp(14px, 5vw, 64px) 48px;
}

.legal-doc {
  max-width: 980px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--brand-2)), var(--surface)),
    var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.legal-doc h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-doc p {
  color: var(--muted);
}

.legal-doc a {
  color: var(--brand-2);
  font-weight: 900;
}

.legal-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--text);
  font-size: 0.76rem;
}

.modal {
  border: 0;
  background: transparent;
  width: min(94vw, 720px);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
}

.tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tab {
  flex: 1;
  border: 0;
  min-height: 36px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.tab.active {
  background: var(--brand);
  color: var(--ink);
}

.business-tab {
  flex: 1;
  border: 0;
  min-height: 36px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.business-tab.active {
  background: var(--brand);
  color: var(--ink);
}

.business-profile-select,
.business-pane {
  width: 100%;
}

.business-pane {
  display: grid;
  gap: 8px;
}

.auth-pane, .business-form-grid {
  display: grid;
  gap: 8px;
}

.business-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-form-grid textarea, .business-form-grid input[type="file"] {
  grid-column: 1 / -1;
}

.upload-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 800;
}

.project-gallery-editor {
  display: grid;
  gap: 10px;
}

.project-editor {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 46%, transparent);
}

.project-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.project-photo-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.project-photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.project-photo-tile .icon-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
}

.project-upload {
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 1px dashed color-mix(in srgb, var(--brand-2) 35%, transparent);
  border-radius: 8px;
  color: var(--muted);
}

.project-upload span {
  color: var(--text);
  font-weight: 800;
}

.empty-gallery-note {
  grid-column: 1 / -1;
  color: var(--muted);
  margin: 0;
}

.verification-docs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.verification-docs legend {
  padding: 0 6px;
  color: var(--text);
  font-weight: 900;
}

.verification-docs label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 800;
}

.verification-docs input[type="file"] {
  grid-column: auto;
}

.form-message {
  min-height: 18px;
  color: var(--muted);
  margin: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  max-width: min(420px, calc(100vw - 36px));
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.hidden {
  display: none !important;
}

.payment-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 18px;
}

.success-card {
  width: min(100%, 520px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.success-logo {
  display: block;
  width: min(100%, 250px);
  height: auto;
}

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero-section, .profile-content, .workspace-grid {
    grid-template-columns: 1fr;
  }
  .business-grid, .review-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
  .admin-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .app-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand {
    width: 100%;
  }
  .brand-logo {
    width: min(202px, 68vw);
  }
  .header-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
  }
  .header-actions .secondary-btn,
  .header-actions .primary-btn {
    flex: 1 1 0;
  }
  .header-actions .icon-btn {
    flex: 0 0 36px;
  }
  .hero-search, .page-search, .filters, .prime-section, .prime-actions, .section-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-section {
    min-height: auto;
  }
  .onboarding-strip, .business-grid, .review-row, .admin-dashboard, .business-form-grid, .gallery-grid, .verification-docs, .project-gallery-editor {
    grid-template-columns: 1fr;
  }
  .project-editor-head {
    grid-template-columns: 1fr;
  }
  .project-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-card.wide {
    grid-column: auto;
  }
  .chat-form {
    grid-template-columns: 1fr;
  }
  .message {
    max-width: 92%;
  }
}

/* Organic premium final layer */
:root {
  --bg: #151d18;
  --bg-2: #243227;
  --surface: #202b24;
  --surface-strong: #2d3a31;
  --surface-soft: #19231d;
  --text: #fff7e8;
  --muted: #cfc3a6;
  --line: rgba(226, 196, 148, 0.28);
  --brand: #d98c47;
  --brand-2: #a8bd73;
  --gold: #f2c268;
  --clay: #b9634d;
  --danger: #d96b5f;
  --ink: #101612;
  --shadow: 0 18px 46px rgba(9, 13, 10, 0.36);
}

[data-theme="dark"] {
  --bg: #101813;
  --bg-2: #1f2d23;
  --surface: #1a251f;
  --surface-strong: #29382f;
  --surface-soft: #141d18;
  --text: #fff7e8;
  --muted: #c9b99b;
  --line: rgba(226, 196, 148, 0.24);
  --brand: #e09a54;
  --brand-2: #aec87a;
  --gold: #f5ca72;
  --clay: #c36751;
  --danger: #dc7468;
  --ink: #0c120e;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

body {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 330px),
    linear-gradient(140deg, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 44%),
    var(--bg);
}

body::before {
  z-index: 0;
  background-image: var(--contour);
  background-position: top 42px right -90px;
  background-size: 420px 300px;
  opacity: 0.2;
}

body::after {
  content: none;
}

.app-header {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: inset 0 -1px color-mix(in srgb, var(--brand) 14%, transparent);
}

.brand-mark {
  border-radius: 8px 16px 8px 14px;
  background:
    linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--brand) 82%, var(--clay)) 58%, var(--brand-2));
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent);
}

.desktop-nav {
  color: var(--text);
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold), var(--brand) 62%, var(--clay));
  color: var(--ink);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--brand) 24%, transparent);
}

.secondary-btn, .icon-btn, .link-btn {
  background: color-mix(in srgb, var(--surface-strong) 88%, var(--ink));
  color: var(--text);
  border-color: var(--line);
}

.hero-section {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.42fr);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--brand) 22%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 94%, transparent), color-mix(in srgb, var(--bg) 92%, var(--ink))),
    var(--bg);
  color: var(--text);
}

.hero-section::before {
  background-image: var(--contour);
  background-size: 520px 370px;
  background-position: right -110px top -34px;
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent 6%, black 38%, black);
}

.hero-section::after {
  top: 18px;
  right: clamp(12px, 7vw, 92px);
  bottom: auto;
  width: min(280px, 30vw);
  height: calc(100% - 36px);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, transparent) 0 1px, transparent 1px 13px),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand-2) 12%, transparent));
  transform: skewX(-8deg);
  opacity: 0.44;
}

.hero-copy, .hero-panel {
  position: relative;
  z-index: 1;
}

.hero-panel::before {
  content: "";
  top: 18px;
  right: 12px;
  width: 64px;
  height: 86px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 28%, transparent) 0 1px, transparent 1px 9px),
    color-mix(in srgb, var(--surface) 12%, transparent);
  transform: rotate(8deg);
  color: transparent;
}

.eyebrow {
  color: var(--gold);
}

.hero-text, .hero-stats {
  color: var(--muted);
}

.hero-stats span {
  border-color: color-mix(in srgb, var(--gold) 20%, transparent);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
}

.hero-stats strong {
  color: var(--text);
}

.hero-search {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-color: var(--line);
}

.hero-search::before {
  background: linear-gradient(90deg, var(--gold), var(--brand-2));
}

.phone-shell {
  border-color: color-mix(in srgb, var(--surface-strong) 82%, var(--ink));
  background: linear-gradient(155deg, var(--ink), color-mix(in srgb, var(--surface-soft) 70%, var(--clay)));
}

.phone-top {
  background: var(--surface-strong);
}

.mini-map {
  background:
    var(--contour) center / 360px 260px,
    linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--gold) 42%, transparent) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 45%, color-mix(in srgb, var(--brand-2) 34%, transparent) 46% 50%, transparent 51%),
    var(--ink);
}

.mini-map span {
  background: var(--brand);
  border-color: var(--text);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 14%, transparent);
}

.floating-card {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text);
}

.prime-badge {
  background: linear-gradient(135deg, var(--gold), var(--brand));
  color: var(--ink);
}

.standard-badge, .verified-badge, .status-pill {
  background: color-mix(in srgb, var(--brand-2) 16%, var(--surface));
  color: var(--brand-2);
}

.onboarding-strip article::after {
  right: 12px;
  bottom: 10px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand-2));
}

.category-tile, .business-card, .chat-panel, .quote-panel, .conversation-list, .admin-card, .profile-card, blockquote,
.profile-hero, .legal-doc, .success-card, .modal-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand-2)), var(--surface));
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.category-tile::before {
  background:
    var(--contour) center / 240px 170px,
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 58%);
  opacity: 0.24;
}

.category-tile::after {
  inset: auto 10px 8px 10px;
  width: auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand-2));
  opacity: 0.76;
}

.category-tile:hover::after {
  transform: none;
}

.category-tile span {
  background: color-mix(in srgb, var(--gold) 82%, var(--brand));
  color: var(--ink);
}

.category-tile strong,
.business-card h3,
.business-card p,
.business-card .meta-line,
.business-card,
.card-body {
  color: var(--text);
}

.business-card::before {
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--gold), var(--brand-2));
}

.business-card.prime::before {
  inset: 0 auto 0 0;
  border-top: 0;
}

.card-media {
  background:
    var(--contour) center / 280px 200px,
    linear-gradient(135deg, var(--surface-strong), color-mix(in srgb, var(--brand) 22%, var(--surface)), color-mix(in srgb, var(--brand-2) 18%, var(--surface)));
}

.service-tags span, .quote-item, .admin-row {
  background: var(--surface-strong);
  color: var(--text);
}

.prime-section {
  background:
    linear-gradient(118deg, color-mix(in srgb, var(--surface-soft) 90%, var(--brand-2)), color-mix(in srgb, var(--brand) 38%, var(--bg)) 58%, color-mix(in srgb, var(--clay) 42%, var(--bg))),
    var(--bg);
  color: var(--text);
}

.prime-section::before {
  background-image: var(--contour);
  background-size: 520px 370px;
  background-position: right -90px center;
  opacity: 0.18;
}

.prime-actions {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-color: color-mix(in srgb, var(--gold) 26%, transparent);
}

.profile-logo {
  background: linear-gradient(135deg, var(--gold), var(--brand), var(--clay));
  color: var(--ink);
}

.profile-logo.has-image {
  background: var(--surface);
}

.profile-logo.has-image img {
  display: block;
}

blockquote::before {
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand-2));
}

.legal-footer {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), transparent 38%),
    var(--bg);
}

.footer-brand strong, .footer-brand span {
  color: var(--text);
}

.legal-links a, .legal-resource-links a {
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--text);
}

.legal-links a:hover {
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
}

.tab.active, .business-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--brand));
  color: var(--ink);
}

.message.mine {
  background: linear-gradient(135deg, var(--brand), var(--clay));
  color: var(--ink);
}

.toast {
  background: var(--surface-strong);
  color: var(--text);
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-section::after {
    display: none;
  }

  .hero-panel {
    display: none;
  }
}

/* Split-screen hero */
.hero-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  min-height: min(72vh, 720px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 720px;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.hero-cta {
  display: inline-grid;
  place-items: center;
  min-width: 148px;
  text-align: center;
}

.hero-panel {
  display: grid;
  align-self: stretch;
  min-height: 390px;
  place-items: stretch;
}

.hero-panel::before {
  content: none;
}

.hero-image-placeholder {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  border-radius: 8px 28px 8px 28px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--surface) 58%, transparent), color-mix(in srgb, var(--ink) 74%, transparent)),
    var(--contour) center / 620px 440px,
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 36%, var(--surface)), color-mix(in srgb, var(--brand-2) 24%, var(--ink)));
  box-shadow: var(--shadow), inset 0 1px color-mix(in srgb, var(--gold) 20%, transparent);
}

.hero-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 8px 24px 8px 24px;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 18%, transparent) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 38%, transparent));
}

.hero-image-placeholder::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px auto;
  width: 86px;
  height: 86px;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, transparent);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--gold) 48%, transparent) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, color-mix(in srgb, var(--brand-2) 44%, transparent) 48% 52%, transparent 53%);
  opacity: 0.78;
}

.image-placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), color-mix(in srgb, var(--text) 14%, transparent) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent 0 calc(50% - 1px), color-mix(in srgb, var(--text) 14%, transparent) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.image-placeholder-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 36px, 420px);
  margin: 18px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 8px 18px 8px 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(16px);
}

.image-placeholder-copy span,
.image-placeholder-copy small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.image-placeholder-copy span {
  margin-bottom: 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.68rem;
}

.image-placeholder-copy strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.08;
}

.placeholder-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .hero-section {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-panel {
    display: grid;
    min-height: 150px;
  }

  .hero-actions {
    margin: 12px 0 10px;
  }

  .hero-cta {
    width: 100%;
  }

  .page-search {
    flex-direction: column;
    align-items: stretch;
  }

  .image-placeholder-copy {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px;
  }

  .image-placeholder-copy small {
    display: none;
  }

  .placeholder-chip {
    top: 10px;
    left: 10px;
  }
}
