:root {
  --color-ink: #111111;
  --color-muted: #5f625f;
  --color-line: #e6e6e6;
  --color-paper: #f5f5f5;
  --color-surface: #ffffff;
  --color-field: #f7f7f7;
  --color-accent: #fdcf02;
  --color-coastal: #2f6f73;
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --paper: var(--color-paper);
  --surface: var(--color-surface);
  --field: var(--color-field);
  --moss: var(--color-accent);
  --moss-strong: var(--color-ink);
  --terracotta: #2f2f2f;
  --gold: var(--color-accent);
  --blue: var(--color-coastal);
  --radius-sm: 3px;
  --radius-md: 8px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 28px;
  --space-xl: 56px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.eyebrow-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 9px clamp(16px, 4vw, 56px);
  color: var(--ink);
  background: var(--moss);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.eyebrow-bar span,
.eyebrow-bar a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav,
.admin-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: inset 0 -5px 0 var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--moss);
}

.brand-name {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 850;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-text-cta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--surface);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 850;
}

.nav-links .nav-text-cta:hover {
  color: var(--ink);
  background: var(--moss);
  border-color: var(--moss);
}

.hero {
  position: relative;
  min-height: clamp(460px, calc(100vh - 250px), 560px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 7vw, 72px);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #c8c0b4;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.32) 58%, rgba(0, 0, 0, 0.14));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  max-width: 640px;
  color: var(--surface);
  padding-bottom: clamp(28px, 7vw, 88px);
}

.trust-proof-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.7fr);
  gap: 24px 48px;
  align-items: end;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--surface);
  background: var(--ink);
}

.trust-proof-intro h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.trust-proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.trust-proof-list div {
  min-width: 0;
  padding: 4px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.trust-proof-list dt {
  color: var(--moss);
  font-size: 20px;
  font-weight: 900;
}

.trust-proof-list dd {
  margin: 5px 0 0;
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.4;
}

.trust-proof-links {
  grid-column: 2;
  display: flex;
  gap: 22px;
}

.trust-proof-links .text-link {
  color: var(--surface);
}

.distribution-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #bdbdbd;
  font-size: 12px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--moss);
}

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

h1 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-copy p:not(.kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions,
.admin-actions,
.modal-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: var(--moss);
  border-color: var(--moss);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero .button.secondary {
  color: var(--surface);
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.44);
}

.hero-text-cta {
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

.text-photo-cta {
  display: grid;
  gap: 4px;
  color: var(--surface);
}

.text-photo-cta span {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 850;
  line-height: 1.2;
}

.text-photo-cta strong {
  color: var(--moss);
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 0.92;
}

.button.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--moss-strong);
}

.section,
.section-band {
  padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 56px);
  scroll-margin-top: 112px;
}

.section-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.seller-start-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  color: var(--surface);
  background: var(--ink);
  border-block: 0;
}

.buyer-list-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  color: var(--surface);
  background: var(--ink);
  border-block: 0;
}

.buyer-list-band h2 {
  max-width: 720px;
}

.buyer-list-band p:not(.kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.buyer-list-band .kicker {
  color: var(--moss);
}

.buyer-list-band .button.secondary {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.36);
}

.seller-start-band h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.seller-start-band p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.7vw, 19px);
}

.seller-start-band .kicker {
  color: var(--moss);
}

.seller-start-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.seller-start-actions .button.secondary {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.36);
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.intro-grid p,
.split p {
  color: var(--muted);
}

.seller-objection-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.seller-objection-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.seller-objection-list strong {
  color: var(--ink);
}

.seller-objection-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.velocity-section {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 0.92) 100%);
}

.velocity-header {
  max-width: 920px;
}

.velocity-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.velocity-intro {
  max-width: 920px;
}

.velocity-intro p:not(.kicker) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.velocity-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  list-style: none;
  overflow: visible;
}

.velocity-steps > li {
  display: flex;
  min-width: 0;
}

.velocity-card {
  appearance: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  align-content: start;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(16px, 2vw, 22px);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.velocity-card:last-child {
  border-bottom: 1px solid var(--line);
}

.velocity-card:hover {
  border-color: rgba(17, 17, 17, 0.3);
  transform: translateY(-2px);
}

.velocity-card:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
}

.step-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.step-mark span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--moss);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.velocity-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.08;
}

.velocity-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 15px);
  line-height: 1.32;
}

.velocity-card.is-active {
  color: var(--surface);
  background: var(--moss-strong);
  border-color: var(--moss-strong);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.velocity-card.is-active h3,
.velocity-card.is-active p {
  color: inherit;
}

.velocity-detail-panel {
  position: static;
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: clamp(14px, 2.5vw, 26px);
  min-height: 0;
  padding: clamp(18px, 2.8vw, 28px);
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius-md);
}

.velocity-detail-panel.is-copy-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  padding: clamp(16px, 2.4vw, 24px);
}

.velocity-detail-panel.is-copy-only .detail-copy {
  max-width: 560px;
}

.mobile-step-detail {
  display: none;
}

.detail-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.velocity-detail-panel .kicker,
.mobile-step-detail .kicker {
  color: var(--moss);
}

.velocity-detail-panel h3,
.mobile-step-detail h3 {
  max-width: 460px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.04;
}

.velocity-detail-panel p:not(.kicker),
.mobile-step-detail p:not(.kicker) {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.38;
}

.detail-visual {
  min-width: 0;
}

.posting-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posting-channel-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: start;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  padding: 7px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
}

.posting-channel-grid li > span:last-child {
  min-width: 0;
  line-height: 1.15;
}

.marketplace-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.marketplace-logo img,
.marketplace-logo .logo-fallback {
  grid-area: 1 / 1;
}

.marketplace-logo img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  object-fit: contain;
  background: var(--surface);
}

.logo-fallback {
  color: var(--ink);
}

.heritage-logo {
  color: var(--ink);
  background: var(--moss);
}

.detail-checklist,
.detail-timeline,
.coordination-board,
.payout-grid {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-checklist {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-checklist li,
.detail-timeline li,
.coordination-board li,
.payout-grid li,
.text-preview-card {
  min-width: 0;
  padding: 12px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
}

.detail-checklist strong,
.detail-timeline strong,
.coordination-board strong,
.payout-grid strong {
  display: block;
  margin-bottom: 2px;
  color: var(--surface);
  font-size: 14px;
}

.detail-checklist span,
.detail-timeline span,
.coordination-board span,
.payout-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.text-intake-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.text-preview-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 214px;
}

.text-preview-card span {
  width: fit-content;
  padding: 6px 8px;
  color: var(--ink);
  background: var(--moss);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 900;
}

.text-preview-card p {
  margin: 0;
  color: var(--surface);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 850;
  line-height: 1.05;
}

.detail-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-timeline li {
  min-height: 0;
}

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

.coordination-board li {
  display: grid;
  gap: 8px;
}

.coordination-board em {
  width: fit-content;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--moss);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.payout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payout-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.metric-row div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.metric-row span,
.item-meta,
.form-note,
.record-row span,
.inventory-row span {
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-error,
.buyer-form-note.is-error {
  color: #9b2f22;
}

.form-consent-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.form-consent-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.admin-tab {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  min-height: 36px;
  padding: 0 13px;
  font-weight: 700;
}

.filter-button.active,
.admin-tab.active {
  color: var(--surface);
  background: var(--moss-strong);
  border-color: var(--moss-strong);
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 20px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.category-card {
  display: grid;
  flex: 1 1 165px;
  align-content: center;
  min-height: 88px;
  min-width: 0;
  padding: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
}

.category-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.category-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.02;
}

.category-card.active {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.category-card.active span {
  color: var(--moss);
}

.category-card-muted {
  color: rgba(17, 17, 17, 0.42);
  background: #fafafa;
  cursor: not-allowed;
}

.category-card-muted span {
  color: rgba(95, 98, 95, 0.58);
}

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

.inventory-empty {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.inventory-empty h3 {
  margin: 0 0 0.35rem;
}

.inventory-empty p {
  margin: 0;
  color: var(--muted);
}

.item-card,
.journal-card,
.panel,
.lead-form,
.stat-card,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
}

.item-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.item-image-button,
.item-image-link {
  display: block;
  border: 0;
  padding: 0;
  background: var(--field);
}

.item-image-button img,
.item-image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.item-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.item-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.12;
}

.item-meta,
.item-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.item-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-card-facts li {
  max-width: 100%;
  padding: 4px 7px;
  color: var(--muted);
  background: var(--field);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.item-detail-link {
  font-size: 13px;
}

.item-card p {
  color: var(--muted);
  font-size: 14px;
}

.policy-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff3ad;
  font-size: 12px;
  font-weight: 800;
}

.policy-chip.watch {
  color: #694214;
  background: #f3e4ca;
}

.policy-chip.urgent {
  color: #7d2c1f;
  background: #f4d5cd;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--field);
  padding: 12px;
}

textarea {
  resize: vertical;
}

.photo-upload-field {
  position: relative;
}

.photo-upload-field > span:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.photo-upload-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.photo-upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone {
  display: grid;
  gap: 3px;
  min-height: 92px;
  padding: 18px;
  color: var(--ink);
  background: var(--field);
  border: 1px dashed #bbb7ad;
}

.upload-dropzone strong {
  font-size: 17px;
}

.upload-dropzone em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.photo-upload-field:focus-within .upload-dropzone,
.photo-upload-field:hover .upload-dropzone {
  border-color: var(--ink);
  background: #fffdf4;
}

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

.photo-preview-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--field);
  border: 1px solid var(--line);
}

.photo-preview-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-preview-card figcaption {
  display: grid;
  gap: 2px;
  padding: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.photo-preview-card strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.process-grid div {
  min-height: 210px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.process-grid span {
  color: var(--gold);
  font-weight: 850;
}

.process-grid p {
  color: var(--muted);
}

.estate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.estate-cta h3 {
  margin: 0 0 4px;
  font-size: clamp(22px, 2vw, 30px);
}

.estate-cta p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.journal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px) clamp(16px, 4vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.journal-hero.compact-hero {
  display: block;
}

.journal-hero-copy {
  max-width: 620px;
}

.journal-hero-copy h1 {
  max-width: 600px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 0.98;
}

.journal-hero-copy p:not(.kicker) {
  max-width: 520px;
}

.journal-hero-copy p:not(.kicker),
.journal-feature p,
.journal-card p,
.article-header p,
.article-body p,
.journal-cta p {
  color: var(--muted);
}

.journal-feature {
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.journal-image-frame,
.journal-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--field);
}

.journal-image-frame::after,
.journal-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.journal-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.journal-image-frame > span,
.journal-card-image > span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--ink);
  background: var(--moss);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journal-feature div {
  display: grid;
  align-content: center;
  padding: 4px 4px 4px 0;
}

.journal-feature div > span,
.journal-card div > span,
.article-meta,
.back-link,
.tag-list span {
  color: var(--muted);
  font-size: 13px;
}

.journal-feature h2 {
  margin-top: 8px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.04;
}

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

.journal-hero + .section {
  padding-top: clamp(28px, 4vw, 44px);
}

.journal-card {
  overflow: hidden;
}

.journal-card a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
}

.journal-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.journal-card div {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.journal-card h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.18;
}

.journal-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.42;
}

.post-cover-estate img {
  object-position: center 58%;
}

.post-cover-market img {
  object-position: center 48%;
}

.post-cover-selling img {
  object-position: center 52%;
}

.post-cover-guide img {
  object-position: center 45%;
}

.journal-cta {
  align-items: center;
}

.journal-cta .button {
  justify-self: start;
}

.journal-article {
  padding-bottom: clamp(44px, 7vw, 84px);
}

.article-header {
  max-width: 820px;
  padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 56px) 28px;
}

.article-header h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 66px);
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 800;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  font-weight: 750;
}

.article-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 56px) 0;
}

.article-body p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.62;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  padding: 18px clamp(16px, 4vw, 56px) 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: var(--field);
  font-weight: 750;
}

.modal {
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  border: 1px solid var(--line);
  padding: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(29, 30, 26, 0.54);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  font-weight: 850;
}

.modal-product {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 28px;
  padding: 28px;
}

.modal-product > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--field);
}

.modal-product-enhanced {
  align-items: start;
}

.item-detail-page {
  padding: clamp(28px, 5vw, 72px) var(--page-pad);
}

.item-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.item-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.item-detail-gallery img {
  width: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--field);
}

.item-detail-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.item-detail-copy {
  display: grid;
  gap: 14px;
}

.item-detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.item-detail-list div {
  border: 1px solid var(--line);
}

.item-not-found {
  max-width: 760px;
}

.buyer-item-cta {
  margin-top: 0;
}

.item-gallery {
  display: grid;
  gap: 8px;
}

.item-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--field);
}

.item-gallery img + img {
  aspect-ratio: 4 / 3;
}

.modal-price {
  color: var(--moss-strong);
  font-size: 26px;
  font-weight: 850;
}

.buyer-cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  background: var(--field);
  border: 1px solid var(--line);
}

.buyer-cta-panel .button {
  flex: 1 1 180px;
}

.buyer-cta-panel p {
  flex: 1 1 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.details-list,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.details-list div,
.review-grid div {
  padding: 12px;
  background: var(--field);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

.inquiry-form,
.buyer-inquiry-form {
  display: grid;
  gap: 12px;
}

.buyer-inquiry-form {
  margin: 18px 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.buyer-inquiry-form h2,
.buyer-inquiry-form h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
}

.buyer-inquiry-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.buyer-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.buyer-form-note {
  color: var(--muted);
  font-size: 12px;
}

.success-box {
  padding: 16px;
  color: var(--ink);
  background: #fff3ad;
}

.footer {
  display: grid;
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px clamp(16px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
  font-weight: 900;
}

.footer-links,
.footer-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-end;
}

.footer-link-group {
  margin-top: 6px;
}

.footer-link-group span {
  color: var(--muted);
}

.breadcrumb-nav {
  padding: 18px clamp(16px, 4vw, 56px) 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb-nav a {
  color: var(--muted);
}

.breadcrumb-nav span {
  color: var(--ink);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 64px);
}

.legal-page h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95;
}

.legal-updated {
  margin: 0 0 40px;
  color: var(--muted);
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-callout {
  margin-top: 18px;
  padding: 18px;
  background: #fff3ad;
  color: var(--ink);
}

.seo-town-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-town-list span {
  color: var(--muted);
}

.how-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  padding: clamp(44px, 8vw, 96px) clamp(16px, 4vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.how-hero-copy {
  max-width: 950px;
}

.how-hero-copy h1 {
  max-width: 920px;
  font-size: clamp(46px, 7vw, 94px);
}

.how-hero-copy p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.how-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.how-hero-panel div {
  display: grid;
  gap: 6px;
  min-height: 144px;
  padding: 22px;
  color: var(--surface);
  background: var(--ink);
}

.how-hero-panel span,
.how-policy-grid span,
.how-process-row > span {
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-hero-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 0.95;
}

.how-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.how-process-section,
.how-fit-section {
  padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 56px);
  background: var(--paper);
}

.how-section-heading {
  max-width: 920px;
  margin-bottom: 30px;
}

.how-section-heading p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.how-process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.how-process-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(16px, 4vw, 44px);
  align-items: start;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
}

.how-process-row > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--moss);
  border-radius: 999px;
}

.how-process-row h3 {
  max-width: 880px;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1;
}

.how-process-row p {
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.how-policy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
  color: var(--surface);
  background: var(--ink);
}

.how-policy-band h2 {
  color: var(--surface);
}

.how-policy-band p:not(.kicker),
.how-policy-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.how-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.how-policy-grid div {
  display: grid;
  gap: 9px;
  min-height: 206px;
  padding: 20px;
  background: #242424;
}

.how-policy-grid strong {
  color: var(--surface);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.02;
}

.how-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.how-fit-grid article {
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.how-fit-grid h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
}

.how-fit-grid ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.how-fit-grid li {
  padding: 14px 16px;
  color: var(--muted);
  background: var(--surface);
}

.how-trust-section {
  background: var(--surface);
}

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

.how-trust-grid article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.how-trust-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
}

.how-trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.how-cta {
  text-align: center;
}

.how-cta h2 {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.how-cta .hero-actions {
  justify-content: center;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.seo-hero-copy {
  max-width: 820px;
}

.seo-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.5vw, 72px);
}

.seo-hero-copy p:not(.kicker),
.seo-section-heading p,
.seo-split p,
.seo-card-grid p,
.seo-list span {
  color: var(--muted);
}

.seo-hero-copy p:not(.kicker) {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
}

.seo-photo-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.seo-photo-card img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.seo-section {
  padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 56px);
}

.seo-section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.seo-section-heading p {
  max-width: 720px;
  font-size: 17px;
}

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

.seo-card-grid div {
  min-height: 210px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.seo-card-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.seo-split > div {
  max-width: 720px;
}

.seo-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.seo-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--surface);
}

.seo-list strong {
  font-size: 16px;
}

.seo-town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-town-list span,
.seo-town-list a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.seo-town-list a {
  font-weight: 850;
}

.seller-inline-cta {
  display: grid;
  gap: 8px;
  margin: 20px 0 12px;
  padding: 18px;
  background: var(--ink);
  color: var(--surface);
}

.seller-inline-cta h2,
.seller-inline-cta h3 {
  margin: 0;
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.seller-inline-cta p:not(.kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.seller-inline-cta .text-link {
  color: var(--gold);
}

.seo-cta {
  text-align: center;
}

.seo-cta h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.seo-faq {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 26px);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.text-number-link {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(40px, 8vw, 86px);
  font-weight: 900;
  line-height: 0.95;
}

.text-number-link.compact-number {
  color: var(--moss);
  font-size: clamp(34px, 5vw, 60px);
}

.mobile-sticky-cta {
  display: none;
}

.mobile-sticky-dismiss {
  display: none;
}

.admin-body {
  min-height: 100vh;
  background: var(--paper);
}

.admin-shell-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: calc(100vh - 69px);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.admin-tab {
  width: 100%;
  justify-content: start;
  text-align: left;
}

.admin-workspace {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-title h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.lead-stat-grid {
  max-width: 900px;
}

.manual-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.stat-card {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.stat-card strong {
  font-size: 32px;
}

.backend-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  background: var(--ink);
  color: var(--surface);
}

.backend-hero h2 {
  max-width: 860px;
  margin: 0 0 10px;
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.96;
}

.backend-hero p:not(.kicker) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.backend-score {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.backend-score strong {
  color: var(--gold);
  font-size: 58px;
  line-height: 1;
}

.backend-score span {
  max-width: 140px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.backend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.backend-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.backend-card p {
  margin: 0;
  color: var(--muted);
}

.backend-next {
  margin-top: 18px;
}

.setup-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-list li {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.setup-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.setup-list strong {
  color: var(--ink);
}

.setup-list span {
  color: var(--muted);
}

.compact-list {
  gap: 8px;
  font-size: 14px;
}

.admin-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 18px;
}

.lower-admin-grid {
  margin-top: 18px;
}

.journal-admin-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: start;
}

.syndication-admin-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  align-items: start;
}

.panel {
  min-width: 0;
  padding: 18px;
}

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

.panel-heading h2 {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 850;
}

.panel-heading h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.record-row,
.message-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.record-row:first-of-type,
.message-row:first-of-type {
  border-top: 0;
}

.record-row > div:first-child,
.message-row > div:first-child {
  min-width: 0;
}

.record-row strong,
.record-row span {
  display: block;
}

.inventory-table {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.inventory-row {
  display: grid;
  grid-template-columns: 68px minmax(220px, 1fr) 110px 120px 160px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  background: var(--surface);
}

.inventory-row img {
  width: 68px;
  height: 54px;
  object-fit: cover;
}

.message-row {
  align-items: start;
}

.message-row p {
  color: var(--muted);
}

.agent-draft {
  margin-top: 10px;
  padding: 12px;
  background: #eef2f3;
  border-left: 3px solid var(--blue);
}

.agent-draft span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-draft p {
  margin: 0;
}

.agent-draft.warning {
  background: #fff3d6;
  border-left-color: var(--gold);
}

.agent-draft.warning span {
  color: var(--ink);
}

.production-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.production-toolbar h2 {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
}

.production-list .record-row p,
.production-lead-row p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
}

.production-inventory-row {
  grid-template-columns: minmax(280px, 1fr) 120px 130px 150px;
}

.status-pill.success {
  background: #dcefe9;
  color: #145844;
}

.admin-auth-panel {
  max-width: 620px;
}

.admin-auth-panel h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.production-error {
  border: 1px solid #f0c36d;
  background: #fff9e8;
}

.modal-error {
  margin-bottom: 16px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form label,
.admin-editor-form label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.checkbox-label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

.syndication-channel-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.syndication-channel-card {
  padding: 16px;
}

.syndication-channel-card p {
  white-space: pre-line;
}

.admin-post-image {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  margin: 14px 0;
  background: var(--field);
}

.admin-article-preview {
  padding: 0;
}

.admin-article-preview p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
}

.syndication-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 16px 0 22px;
}

.syndication-summary img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--field);
}

.syndication-section {
  margin-top: 22px;
}

.syndication-section h3 {
  margin-bottom: 12px;
}

.comp-grid,
.channel-grid {
  display: grid;
  gap: 12px;
}

.comp-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comp-card,
.channel-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
}

.comp-card span {
  display: block;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.comp-card strong {
  display: block;
  margin-top: 6px;
}

.comp-card p {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 850;
}

.comp-card small {
  color: var(--muted);
}

.channel-card {
  display: grid;
  gap: 12px;
}

.channel-card textarea,
.channel-card input {
  background: var(--surface);
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}

.empty-state p {
  color: var(--muted);
}

.admin-modal {
  width: min(860px, calc(100vw - 28px));
}

#adminModalContent {
  padding: 28px;
}

.lead-detail h2 {
  margin-bottom: 8px;
}

.lead-message {
  color: var(--muted);
}

.lead-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.lead-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--field);
}

.draft-label {
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .velocity-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-columns,
  .backend-grid,
  .journal-hero,
  .journal-feature,
  .journal-admin-grid,
  .syndication-admin-grid,
  .intro-grid,
  .split,
  .how-hero,
  .how-policy-band,
  .seo-hero,
  .seo-split {
    grid-template-columns: 1fr;
  }

  .syndication-summary,
  .backend-hero,
  .comp-grid {
    grid-template-columns: 1fr;
  }

  .inventory-row {
    grid-template-columns: 68px minmax(180px, 1fr) 100px;
  }

  .inventory-row > div:nth-child(4),
  .inventory-row > span {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .nav-text-cta {
    display: none;
  }

  .velocity-header,
  .velocity-layout {
    grid-template-columns: 1fr;
  }

  .velocity-detail-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .posting-channel-grid {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) {
    padding-bottom: 56px;
  }

  .footer,
  .nav,
  .admin-shell-header,
  .section-heading,
  .admin-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .trust-proof-band,
  .trust-proof-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-proof-intro,
  .trust-proof-list,
  .trust-proof-links {
    grid-column: 1 / -1;
  }

  .trust-proof-list div:nth-child(odd) {
    border-left: 0;
  }

  .footer-links,
  .footer-link-group {
    justify-content: flex-start;
  }

  .nav-text-cta {
    display: none;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: auto;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 112px;
    min-height: 42px;
    padding: 0 13px;
    color: var(--surface);
    background: var(--ink);
    border: 1px solid var(--moss);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-sticky-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  .mobile-sticky-cta.is-dismissed,
  .mobile-sticky-dismiss.is-dismissed {
    display: none;
  }

  .mobile-sticky-dismiss {
    position: fixed;
    right: 8px;
    bottom: 43px;
    z-index: 61;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--surface);
    background: var(--ink);
    border: 1px solid var(--moss);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
  }

  .mobile-sticky-cta.is-hidden + .mobile-sticky-dismiss {
    opacity: 0;
    pointer-events: none;
  }

  .eyebrow-bar {
    min-height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 12px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .hero {
    min-height: clamp(430px, 58vh, 500px);
  }

  .seller-start-band,
  .buyer-list-band {
    grid-template-columns: 1fr;
  }

  .seller-start-actions {
    width: 100%;
  }

  .seller-start-actions .button {
    width: 100%;
  }

  .seller-objection-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .estate-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .estate-cta .button {
    width: 100%;
  }

  .hero-media img {
    object-position: 56% center;
  }

  .journal-grid,
  .process-grid,
  .metric-row,
  .modal-product,
  .details-list,
  .review-grid,
  .buyer-inquiry-grid,
  .item-detail-shell,
  .item-detail-list,
  .seo-card-grid,
  .how-policy-grid,
  .how-fit-grid,
  .how-trust-grid,
  .faq-grid,
  .lead-photos {
    grid-template-columns: 1fr;
  }

  .journal-hero {
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .journal-hero-copy h1 {
    font-size: 40px;
  }

  .journal-feature {
    gap: 10px;
    padding: 8px;
  }

  .journal-image-frame img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .journal-feature div {
    padding: 4px 2px 2px;
  }

  .journal-feature h2 {
    font-size: 24px;
  }

  .journal-feature p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.42;
  }

  .journal-hero + .section {
    padding-top: 28px;
  }

  .item-detail-gallery {
    grid-template-columns: 1fr;
  }

  .item-detail-gallery img,
  .item-detail-gallery img:first-child {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .seo-hero,
  .how-hero,
  .seo-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .how-process-section,
  .how-fit-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .how-hero-panel div,
  .how-policy-grid div {
    min-height: 0;
  }

  .how-hero-copy h1 {
    font-size: 42px;
  }

  .how-hero-panel div {
    align-content: start;
    gap: 4px;
    padding: 16px;
  }

  .how-hero-panel strong {
    font-size: 34px;
  }

  .how-hero-panel p {
    display: none;
  }

  .how-process-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .how-process-row > span {
    width: 42px;
    height: 42px;
    font-size: 11px;
  }

  .how-process-row h3 {
    font-size: 28px;
  }

  .photo-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-photo-card img {
    min-height: 260px;
  }

  .seo-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px;
  }

  .inventory-grid,
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-grid {
    gap: 10px;
  }

  .category-strip {
    margin-bottom: 16px;
  }

  .category-card {
    min-height: 92px;
    padding: 12px;
  }

  .item-card-body {
    gap: 8px;
    padding: 12px;
  }

  .item-meta {
    display: grid;
    gap: 2px;
  }

  .item-card h3 {
    font-size: 15px;
  }

  .item-card p {
    display: none;
  }

  .item-card-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .item-card-actions {
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
  }

  .item-card-actions .button {
    flex: 1;
    width: auto;
  }

  .metric-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row div:last-child {
    border-bottom: 0;
  }

  .velocity-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .velocity-steps > li {
    display: grid;
    gap: 8px;
  }

  .velocity-detail-panel {
    display: none;
  }

  .velocity-section {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .velocity-intro p:not(.kicker) {
    font-size: 15px;
    line-height: 1.35;
  }

  .velocity-card {
    gap: 7px;
    padding: 10px 12px;
  }

  .velocity-card h3 {
    font-size: 18px;
  }

  .velocity-card p {
    display: none;
    font-size: 13px;
    line-height: 1.28;
  }

  .mobile-step-detail {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 10px;
    padding: 12px;
    color: var(--surface);
    background: var(--ink);
    border-radius: var(--radius-md);
  }

  .mobile-step-detail.is-copy-only {
    gap: 6px;
    padding: 12px;
  }

  .step-mark span {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .mobile-step-detail .detail-copy {
    gap: 6px;
  }

  .mobile-step-detail .kicker {
    margin-bottom: 0;
    font-size: 10px;
  }

  .mobile-step-detail h3 {
    font-size: 24px;
    line-height: 1.04;
  }

  .mobile-step-detail p:not(.kicker) {
    font-size: 13px;
    line-height: 1.32;
  }

  .posting-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .posting-channel-grid li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-height: 48px;
    padding: 6px 4px;
    font-size: 10px;
    text-align: center;
  }

  .marketplace-logo {
    width: 26px;
    height: 26px;
  }

  .marketplace-logo img {
    width: 18px;
    height: 18px;
  }

  .text-intake-visual,
  .detail-checklist,
  .detail-timeline,
  .coordination-board,
  .payout-grid {
    grid-template-columns: 1fr;
  }

  .detail-checklist,
  .detail-timeline,
  .coordination-board,
  .payout-grid {
    gap: 6px;
  }

  .detail-checklist li,
  .detail-timeline li,
  .payout-grid li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
  }

  .coordination-board li {
    padding: 9px 10px;
  }

  .detail-checklist strong,
  .detail-timeline strong,
  .coordination-board strong,
  .payout-grid strong {
    font-size: 13px;
    margin-bottom: 0;
  }

  .detail-checklist span,
  .detail-timeline span,
  .payout-grid span {
    font-size: 12px;
    text-align: right;
  }

  .coordination-board span {
    font-size: 12px;
  }

  .coordination-board li {
    gap: 4px;
  }

  .coordination-board em {
    padding: 2px 6px;
    font-size: 9px;
  }

  .payout-grid strong {
    font-size: 24px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 69px;
    z-index: 8;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-tab {
    width: auto;
    white-space: nowrap;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .record-row,
  .message-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .inventory-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .inventory-row > div,
  .inventory-row > span {
    grid-column: 2 / -1;
  }
}
