/* ── Fonts ────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Tobias';
  src: url('/fonts/Tobias-Light.woff2') format('woff2'),
       url('/fonts/Tobias-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tobias';
  src: url('/fonts/Tobias-LightItalic.woff2') format('woff2'),
       url('/fonts/Tobias-LightItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas:    #f5f2f0;
  --maroon:    #8d0002;
  --maroon-dk: #6b0001;
  --white:     #ffffff;
  --black:     #000000;
  --mid:       #6b6560;
  --rule:      #ddd8d4;
  --lime:      #96ffaf;
  --pink:      #ff5569;
  --blue:      #5fe6dc;

  --font: 'Tobias', Georgia, serif;
  --mono: 'Courier New', monospace;

  --radius: 3px;
  --shadow: 0 1px 4px rgba(0,0,0,0.10);
}

html { font-size: 16px; }

body {
  background: var(--canvas);
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--maroon); }
a:hover { color: var(--maroon-dk); }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container { max-width: 680px; margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Brand wordmark ───────────────────────────────────────────────────────── */
.brand-wordmark {
  display: block;
  font-family: var(--font);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--maroon);
  letter-spacing: 0.01em;
}
/* ── Logo ─────────────────────────────────────────────────────────────────── */
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
}
/* Larger centred version on login card */
.brand-logo-login {
  height: 56px;
  margin: 0 auto;
}
/* Logo sits in a canvas-coloured inset inside the maroon nav */
.nav-logo-wrap {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}
.brand-logo-nav {
  height: 36px;
  display: block;
}

.brand-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Site header ──────────────────────────────────────────────────────────── */
.site-header {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

/* ── Form intro ───────────────────────────────────────────────────────────── */
.form-intro {
  margin-bottom: 2rem;
}
.form-intro h1 {
  font-family: var(--font);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--maroon);
  font-weight: normal;
  margin-bottom: 0.5rem;
}
.form-intro p {
  color: var(--mid);
  font-size: 0.95rem;
}

/* ── Fieldsets ────────────────────────────────────────────────────────────── */
.submission-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2.25rem;
}
.submission-form legend {
  font-family: var(--font);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--maroon);
  font-weight: normal;
  padding: 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  width: 100%;
  padding-bottom: 0.5rem;
}

/* ── Fields ───────────────────────────────────────────────────────────────── */
.field {
  margin-bottom: 1.1rem;
  flex: 1;
}
.field-narrow { flex: 0 0 120px; }

.field-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.35rem;
}
label .req { color: var(--maroon); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 2px rgba(141,0,2,0.1);
}
input::placeholder, textarea::placeholder { color: #bbb4af; font-style: italic; }
textarea { resize: vertical; }

.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.3rem;
  font-style: italic;
}

/* Instagram prefix */
.input-prefix-wrap { display: flex; align-items: center; }
.input-prefix {
  padding: 0.6rem 0.5rem 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--canvas);
  color: var(--mid);
  font-size: 0.95rem;
  user-select: none;
}
.input-prefix-wrap input {
  border-radius: 0 var(--radius) var(--radius) 0;
  flex: 1;
}

/* ── Upload area ──────────────────────────────────────────────────────────── */
.upload-area {
  border: 2px dashed var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  background: var(--white);
  transition: border-color 0.15s;
}
.upload-area:hover { border-color: var(--maroon); }
.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-label { pointer-events: none; }
.upload-icon { display: block; font-size: 2rem; color: var(--maroon); margin-bottom: 0.4rem; }
.upload-text { display: block; font-size: 0.95rem; }
.upload-hint { display: block; font-size: 0.8rem; color: var(--mid); margin-top: 0.25rem; font-style: italic; }
.upload-preview { text-align: center; }
.upload-preview img { max-height: 180px; max-width: 100%; border-radius: var(--radius); }
#previewName { display: block; font-size: 0.8rem; color: var(--mid); margin-top: 0.4rem; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dk); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--maroon);
}
.btn-secondary:hover { background: var(--maroon); color: var(--white); }
.btn-full { width: 100%; text-align: center; }
.btn-link {
  background: none;
  border: none;
  color: var(--mid);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: var(--font);
}
.btn-link:hover { color: var(--maroon); }

/* ── Form footer ──────────────────────────────────────────────────────────── */
.form-footer { margin-top: 0.5rem; }
.form-small {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.75rem;
  font-style: italic;
}
.form-error {
  background: var(--pink);
  color: var(--black);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ── Confirm page ─────────────────────────────────────────────────────────── */
.confirm-wrap {
  padding: 3rem 0;
  max-width: 480px;
}
.confirm-wrap h1 {
  font-family: var(--font);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--maroon);
  font-weight: normal;
  margin-bottom: 1rem;
}
.confirm-message {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.confirm-sub {
  color: var(--mid);
  margin-bottom: 2rem;
}
.confirm-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Field errors ─────────────────────────────────────────────────────────── */
.field-error {
  color: #c0000a;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  margin-bottom: 0;
}
.field-has-error input,
.field-has-error textarea,
.field-has-error select {
  border-color: #c0000a;
}

/* ── Login page ───────────────────────────────────────────────────────────── */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.login-wrap { width: 100%; max-width: 400px; padding: 1.25rem; }
.login-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}
.login-brand { margin-bottom: 2rem; text-align: center; }

/* ── Admin layout ─────────────────────────────────────────────────────────── */
.admin-page { background: var(--canvas); }

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.admin-nav {
  background: var(--maroon);
  color: var(--white);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.admin-nav .brand-wordmark { color: var(--white); font-size: 1.25rem; }
.admin-nav ul {
  list-style: none;
  margin-top: 2rem;
  flex: 1;
}
.admin-nav ul li a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.1s;
}
.admin-nav ul li a:hover,
.admin-nav ul li a.active { color: var(--white); }

.admin-nav-footer {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-nav-footer .admin-user { font-style: italic; }
.admin-nav .btn-link { color: rgba(255,255,255,0.55); }
.admin-nav .btn-link:hover { color: var(--white); }

.admin-main { padding: 2rem 2.5rem; overflow-x: auto; }

.admin-header {
  margin-bottom: 1.75rem;
}
.admin-header h1 {
  font-family: var(--font);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--maroon);
  font-weight: normal;
  margin-bottom: 0.25rem;
}
.back-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--mid);
  text-decoration: none;
  margin-bottom: 0.6rem;
}
.back-link:hover { color: var(--maroon); }

.admin-filters { margin-bottom: 1.25rem; }
.admin-filters select { width: auto; font-size: 0.88rem; padding: 0.4rem 0.6rem; }

.admin-empty { color: var(--mid); font-style: italic; padding: 2rem 0; }

/* ── Admin table ──────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--rule);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(141,0,2,0.03); }
.td-thumb { width: 52px; }
.td-meta { color: var(--mid); font-size: 0.85rem; }
.td-old { color: var(--mid); text-decoration: line-through; font-size: 0.85rem; }

.thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.thumb-empty {
  background: var(--rule);
}

.artist-link { font-weight: normal; }

/* ── Status select (inline) ───────────────────────────────────────────────── */
.inline-status-form { display: inline; }
.status-select {
  font-size: 0.8rem;
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
  font-family: var(--font);
  width: auto;
  cursor: pointer;
}
.status-submitted  { border-color: var(--blue);   background: #edfbfa; }
.status-approved   { border-color: #58c96a;        background: #edfff2; }
.status-rejected   { border-color: var(--pink);    background: #fff0f2; }
.status-hold       { border-color: #e8a838;        background: #fff9ed; }
.status-onboarding { border-color: #8ab4f8;        background: #eef3ff; }
.status-live       { border-color: var(--lime);    background: #f0fff4; }
.status-reserved   { border-color: #c084fc;        background: #faf0ff; }
.status-sold       { border-color: var(--mid);     background: #f5f5f5; }

/* ── Status badge ─────────────────────────────────────────────────────────── */
.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* ── Alert ────────────────────────────────────────────────────────────────── */
.alert {
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.alert-warn { background: #fff9ed; border: 1px solid #e8a838; }

/* ── Admin detail grid ────────────────────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.detail-section { margin-bottom: 2rem; }
.detail-section h2 {
  font-family: var(--font);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--maroon);
  font-weight: normal;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.edit-form .field { margin-bottom: 0.8rem; }
.edit-form label { font-size: 0.78rem; }
.edit-form input, .edit-form textarea, .edit-form select { font-size: 0.9rem; }

/* ── Artwork card ─────────────────────────────────────────────────────────── */
.artwork-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.artwork-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  background: var(--canvas);
}

/* ── Audit table ──────────────────────────────────────────────────────────── */
.audit-section { grid-column: 1 / -1; }
.audit-table { font-size: 0.85rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .field-row { flex-direction: column; gap: 0; }
  .field-narrow { flex: 1; }
}

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .admin-nav ul { margin-top: 0; display: flex; gap: 1rem; flex: 1; }
  .admin-nav ul li a { border-bottom: none; padding: 0; }
  .admin-nav-footer { margin-top: 0; flex-direction: row; align-items: center; gap: 0.75rem; }
  .admin-main { padding: 1.25rem; }
  .detail-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE
   ════════════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

/* ── Public site header ───────────────────────────────────────────────────── */
.pub-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.pub-header-logo { height: 54px; }

.pub-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.pub-nav a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.pub-nav a:hover { color: var(--maroon); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('/gradient-hero.webp');
  background-size: cover;
  background-position: center center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.38) 55%, rgba(0,0,0,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 900px;
}
.hero-headline {
  font-family: var(--font);
  font-style: normal;
  font-weight: normal;
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-headline em {
  font-style: italic;
  color: var(--canvas);
}
.hero-subtagline {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: rgba(255,255,255,0.90);
  font-style: italic;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scroll-arrow {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 1.75rem;
  text-decoration: none;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 1;
  line-height: 1;
}
.scroll-arrow:hover { color: rgba(255,255,255,0.85); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── About section ────────────────────────────────────────────────────────── */
.about-section {
  padding: 6rem 2rem;
  background: var(--canvas);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.about-section > h2 {
  font-family: var(--font);
  font-style: italic;
  font-weight: normal;
  font-size: 2.5rem;
  color: var(--maroon);
  margin-bottom: 2.5rem;
}
.about-section p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  color: var(--black);
}
.about-section p:last-child {
  margin-bottom: 0;
}

/* ── Register section ─────────────────────────────────────────────────────── */
.register-section {
  padding: 5.5rem 2rem;
  background: var(--white);
}
.register-inner {
  max-width: 680px;
  margin: 0 auto;
}
.register-inner > h2 {
  font-family: var(--font);
  font-style: italic;
  font-weight: normal;
  font-size: 2.5rem;
  color: var(--maroon);
  text-align: center;
  margin-bottom: 2.25rem;
}
.register-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  text-align: center;
}
.register-message-success { background: #edfff2; border: 1px solid #58c96a; }
.register-message-info    { background: #eef3ff; border: 1px solid #8ab4f8; }

/* Role cards */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.role-card {
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.25rem;
  cursor: pointer;
  background: var(--canvas);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center;
  user-select: none;
}
.role-card:hover {
  border-color: var(--maroon);
  background: var(--white);
}
.role-card.selected {
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(141,0,2,0.08);
}
.role-card-title {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.6rem;
  font-family: var(--font);
}
.role-card-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.55;
  font-style: italic;
}

/* Fields — hidden until role selected */
.register-fields {
  display: none;
  animation: fadeUp 0.2s ease;
}
.register-fields.visible { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-section {
  padding: 6rem 2rem;
  background: var(--black);
}
.how-section > h2 {
  font-family: var(--font);
  font-style: italic;
  font-weight: normal;
  font-size: 2.5rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 3.5rem;
}
.how-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto 1.25rem;
  align-items: stretch;
}
.how-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.how-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.how-step h3 {
  font-family: var(--font);
  font-weight: normal;
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}
.how-step p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
}
.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  padding: 0 0.5rem;
  line-height: 1;
  user-select: none;
}
.how-footer {
  max-width: 980px;
  margin: 2.5rem auto 0;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.how-cycle {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.how-commission {
  font-size: 0.88rem;
  color: rgba(245, 242, 240, 0.55);
  font-style: italic;
}

/* ── Site footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--maroon);
  padding: 3.5rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-logo-wrap {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-wrap .brand-logo { height: 36px; }
.footer-social {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-social a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.footer-social a:hover { color: var(--white); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}
.footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}


/* ════════════════════════════════════════════════════════════════════════════
   FAQ PAGE
   ════════════════════════════════════════════════════════════════════════════ */

.faq-page { background: var(--canvas); }

.faq-pub-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.faq-pub-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-pub-header .brand-logo { height: 36px; }
.faq-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.faq-nav a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.faq-nav a:hover,
.faq-nav a.active { color: var(--maroon); }

.faq-main {
  padding: 3.5rem 0 5rem;
}
.faq-page-intro {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.faq-page-intro h1 {
  font-family: var(--font);
  font-style: italic;
  font-weight: normal;
  font-size: 2rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}
.faq-page-intro p {
  color: var(--mid);
  font-size: 0.95rem;
}

/* FAQ sections */
.faq-section {
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0;
}
.faq-section:last-of-type { border-bottom: none; }

.faq-section-title {
  font-family: var(--font);
  font-style: italic;
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

/* FAQ item accordion */
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  cursor: pointer;
  gap: 1rem;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--maroon); }
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--maroon);
  font-style: normal;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* FAQ footer */
.faq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.faq-top-link {
  color: var(--mid);
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.faq-top-link:hover { color: var(--maroon); }


/* ── Lead status / role badges ────────────────────────────────────────────── */
.lead-status-new       { border-color: var(--blue);   background: #edfbfa; }
.lead-status-contacted { border-color: #e8a838;        background: #fff9ed; }
.lead-status-active    { border-color: #58c96a;        background: #edfff2; }
.lead-status-inactive  { border-color: var(--mid);     background: #f5f5f5; }
.lead-role-collector   { border-color: #c084fc;        background: #faf0ff; }
.lead-role-curator     { border-color: #8ab4f8;        background: #eef3ff; }

/* ── Homepage responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pub-header { padding: 1rem 1.25rem; }
  .pub-header-logo { height: 42px; }
  .pub-nav { gap: 1.25rem; }
  .pub-nav a { font-size: 0.8rem; }

  .hero-inner { padding: 2.5rem 1.25rem; }

  .role-cards { grid-template-columns: 1fr; }
  .role-card { padding: 1.25rem; text-align: left; display: flex; align-items: flex-start; gap: 1rem; }
  .role-card-title { flex-shrink: 0; width: 80px; text-align: left; margin-bottom: 0; margin-top: 0.1rem; }
  .role-card-desc { flex: 1; }

  /* How it works — single column on mobile */
  .how-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .how-arrow { display: none; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}

@media (max-width: 480px) {
  .register-section { padding: 4rem 1.25rem; }
  .about-section { padding: 4rem 1.25rem; }
  .how-section { padding: 4rem 1.25rem; }
  .site-footer { padding: 3rem 1.25rem 1.75rem; }
}

/* ── Submit form — subheading ─────────────────────────────────────────────── */
.form-subheading {
  font-size: 0.85rem;
  color: var(--mid);
  font-style: italic;
  margin: -0.5rem 0 0.5rem;
}

/* ── Price breakdown (submit form) ───────────────────────────────────────── */
.price-breakdown {
  margin-top: 0.6rem;
  border-left: 3px solid var(--maroon);
  padding: 0.6rem 0.75rem;
  background: var(--canvas);
  font-size: 0.88rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: var(--mid);
}
.price-row-payment {
  font-weight: 600;
  color: var(--black);
  background: #96ffaf;
  margin: 0.3rem -0.75rem -0.6rem;
  padding: 0.4rem 0.75rem;
}

/* ── Confirmation checkboxes ─────────────────────────────────────────────── */
.confirmations {
  margin-bottom: 1.25rem;
}
.field-checkbox {
  margin-bottom: 0.6rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--black);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--maroon);
  width: 1rem;
  height: 1rem;
}
.checkbox-label a {
  color: var(--maroon);
}
.confirm-error {
  color: var(--pink);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ── Privacy page ────────────────────────────────────────────────────────── */
.privacy-page .site-header {
  background: var(--maroon);
}
.privacy-page .site-header .brand-link,
.privacy-page .site-header .back-link {
  color: var(--white);
  text-decoration: none;
}
.privacy-page .site-header .back-link {
  font-size: 0.85rem;
  margin-left: auto;
}
.privacy-page .site-header .container {
  display: flex;
  align-items: center;
}
.privacy-content {
  max-width: 680px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.privacy-content h1 {
  font-size: 2rem;
  color: var(--maroon);
  margin-bottom: 0.25rem;
}
.privacy-updated {
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 2rem;
}
.privacy-content h2 {
  font-size: 1.05rem;
  color: var(--maroon);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.privacy-content p,
.privacy-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
}
.privacy-content ul {
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}
.privacy-content li {
  margin-bottom: 0.25rem;
}
.privacy-content a {
  color: var(--maroon);
}

/* ── Submit form footer ──────────────────────────────────────────────────── */
.sub-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.sub-footer a {
  font-size: 0.82rem;
  color: var(--mid);
  text-decoration: none;
}
.sub-footer a:hover { color: var(--maroon); }

/* ── Privacy page (in faq-page layout) ──────────────────────────────────── */
.privacy-content {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* ── Admin pricing breakdown ─────────────────────────────────────────────── */
.price-breakdown-admin {
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  margin-top: 0.5rem;
  background: #fafafa;
  font-size: 0.85rem;
}
.price-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
}
.price-label { color: var(--mid); }
.price-value { font-weight: 600; }
.price-breakdown-payment {
  border-top: 1px solid #e5e5e5;
  margin-top: 0.3rem;
  padding-top: 0.4rem;
  background: #96ffaf;
  margin: 0.3rem -0.75rem -0.6rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ── Button variants ──────────────────────────────────────────────────────── */
.btn-danger {
  background: #b71c1c;
  color: #fff;
  border: none;
}
.btn-danger:hover { background: #8b0000; color: #fff; }
.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

/* ── Admin-only label ─────────────────────────────────────────────────────── */
.admin-only-label {
  font-size: 0.72rem;
  color: var(--mid);
  font-style: italic;
}

/* ── Artwork deleted state ────────────────────────────────────────────────── */
.artwork-card-deleted {
  opacity: 0.5;
  border-color: #ccc;
}
.artwork-card-deleted:hover { opacity: 0.75; }
.artwork-deleted-banner {
  background: #f0ece8;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 0.78rem;
  color: #888;
  padding: 0.35rem 0.75rem;
  margin: -1rem -1rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.restore-link {
  color: var(--maroon) !important;
  font-size: 0.82rem;
}
.status-badge.status-deleted {
  background: #eee;
  color: #888;
}
