/*
 * Beckon Design Studio – Brand Style Sheet
 * Palette: Plum #3d293b | Gold #b29853 | Cream #faf8f2 | Muted #70626f
 * Fonts: Bricolage Grotesque (display) · Inter (body)
 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,600;12..96,700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --plum:        #3d293b;
  --plum-light:  #5a3d57;
  --gold:        #b29853;
  --gold-hover:  #a38c4d;
  --gold-light:  #d4bc88;
  --cream:       #faf8f2;
  --cream-dark:  #f2ede3;
  --white:       #ffffff;
  --muted:       #70626f;
  --muted-light: #a59ba4;
  --border:      #e4dde3;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-pill: 9999px;

  --shadow-sm:  0 1px 3px rgba(61,41,59,.08), 0 1px 2px rgba(61,41,59,.04);
  --shadow-md:  0 4px 16px rgba(61,41,59,.10), 0 2px 6px rgba(61,41,59,.06);
  --shadow-lg:  0 16px 48px rgba(61,41,59,.14), 0 4px 12px rgba(61,41,59,.08);
}

/* ── Reset / Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--plum);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--plum);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; }

p { color: var(--muted); line-height: 1.7; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-header {
  margin-bottom: 2.25rem;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p  { font-size: 1.05rem; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-mark img { display: block; width: 150px; height: auto; }

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 1px;
  vertical-align: super;
}

.tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  margin-left: 0.25rem;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}
.header-nav a:hover {
  background: var(--cream);
  color: var(--plum);
}
.header-nav a.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.header-nav a.btn--primary:hover {
  background: var(--gold-hover);
  color: var(--white);
}
.nav-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: .4rem .5rem; }
.account-page { max-width: 760px; }
.account-page .card h2 { margin-bottom: .6rem; }
.account-page .card p { margin-bottom: 1rem; }
.preference-toggle { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; color: var(--plum); }
.preference-toggle input { width: 1.15rem; height: 1.15rem; accent-color: var(--gold); }
.account-actions { display: grid; gap: .65rem; }
.password-reset-form { display: flex; flex-wrap: wrap; align-items: end; gap: .45rem; }
.password-reset-form label { width: 100%; font-size: .75rem; color: var(--muted); }
.password-reset-form .form__input { width: 190px; max-width: 100%; }
.auth-help { margin-top: 1.25rem; color: var(--muted); font-size: .82rem; }
.recovery-codes ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem 1.5rem; margin: 1.25rem 0; padding-left: 1.5rem; }
.recovery-codes code { font-size: .9rem; letter-spacing: .06em; user-select: all; }
.recovery-reminder { margin-top: 1rem; color: var(--plum); font-weight: 600; }
.zoom-trigger { display: block; line-height: 0; cursor: zoom-in; }
.zoom-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.image-lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 3.5rem 1.25rem 1.25rem; border: 0; background: rgba(22, 16, 27, .96); color: white; text-align: center; }
.image-lightbox::backdrop { background: rgba(22, 16, 27, .96); }
.image-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 4.75rem); width: auto; height: auto; margin: 0 auto; object-fit: contain; }
.image-lightbox__close { position: absolute; top: .8rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; background: var(--plum); color: white; font-size: 1.7rem; cursor: pointer; }
.image-lightbox__close:hover { background: var(--plum-light); }
.image-lightbox__close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.user-chip { color: var(--muted-light); font-size: .75rem; padding: 0 .4rem; }
.wide-container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-grid--focused { grid-template-columns: minmax(0, 1fr); }
.gallery-branch--focused .carousel-slide:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr); }
.gallery-branch--focused .gallery-photo { align-self: start; }
.gallery-branch--focused .gallery-photo img { aspect-ratio: 4/3; }
.gallery-branch--focused .concept-card__body { padding: 2rem; }
.gallery-branch.gallery-branch--focused .concept-card__title,
.gallery-branch--focused .gallery-subtitle { height: auto; min-height: 0; overflow: visible; }
.gallery-branch--focused .revision-brief { height: auto; min-height: 4rem; overflow: visible; }
.gallery-focus-link { display: flex; width: max-content; max-width: 100%; margin: .8rem auto 0; }
.gallery-back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; color: var(--plum); }
.gallery-back:hover { color: var(--gold-hover); }
.gallery-grid img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.gallery-subtitle { height: 3.4rem; overflow-y: auto; }
.gallery-branch .concept-card__title { min-height: 2.7rem; }
.carousel-slide[hidden] { display: none; }
.gallery-photo { position: relative; overflow: hidden; background: var(--cream-dark); }
.carousel-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--gold); border-radius: 50%; background: var(--plum); color: var(--cream); box-shadow: var(--shadow-md); cursor: pointer; transform: translateY(-50%); transition: background .18s ease, box-shadow .18s ease, scale .18s ease; }
.carousel-prev { left: .75rem; }
.carousel-next { right: .75rem; }
.carousel-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:hover { background: var(--plum-light); scale: 1.08; box-shadow: var(--shadow-lg); }
.carousel-arrow:active { scale: .96; }
.carousel-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.carousel-position { position: absolute; bottom: .7rem; left: 50%; display: grid; min-width: 5.25rem; padding: .35rem .75rem; border-radius: var(--radius-pill); background: rgba(61,41,59,.9); text-align: center; line-height: 1.15; transform: translateX(-50%); }
.carousel-position__label { color: var(--gold-light); font-size: .56rem; font-weight: 600; letter-spacing: .18em; }
.carousel-count { color: var(--white); font-family: var(--font-display); font-size: .9rem; font-weight: 700; }
.photo-love { display: none; position: absolute; top: .75rem; right: .75rem; place-items: center; width: 48px; height: 48px; border: 2px solid var(--white); border-radius: 50%; background: rgba(250,248,242,.95); color: var(--plum); box-shadow: var(--shadow-md); cursor: pointer; transition: scale .18s ease, color .18s ease; }
.carousel-slide.autosave-enabled .photo-love { display: grid; }
.photo-love svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.photo-love[aria-pressed="true"] { color: #b7214b; }
.photo-love[aria-pressed="true"] svg { fill: currentColor; }
.photo-love:hover { scale: 1.08; }
.photo-love:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.photo-love:disabled { opacity: .7; cursor: wait; }
.compact-love-form { display: none; }
.compact-love-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.compact-love-status[data-state="error"] { bottom: .65rem; left: .65rem; width: auto; height: auto; padding: .3rem .55rem; border-radius: var(--radius-sm); background: var(--white); color: #a32858; clip: auto; white-space: normal; font-size: .75rem; }
.autosave-enabled .manual-save { display: none; }
.autosave-enabled .love-toggle { display: none; }
.autosave-status { display: none; color: var(--muted); font-size: .78rem; }
.autosave-enabled .autosave-status { display: block; }
.autosave-status[data-state="saved"] { color: var(--plum); }
.autosave-status[data-state="error"] { color: #a32858; }
.image-action-form { display: grid; gap: .5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.image-action-form .btn { justify-self: start; }
.gallery-download { display: flex; justify-content: center; margin-top: .75rem; }
.refine-form .btn { justify-self: center; }
.love-toggle { color: var(--plum); font-size: .85rem; font-weight: 600; }
.love-toggle input { accent-color: var(--gold); }
.loved-badge { color: #a32858; font-size: .78rem; font-weight: 700; margin-left: .35rem; }
.revision-brief { height: 5rem; margin-top: .6rem; overflow-y: auto; font-size: .82rem; scrollbar-width: thin; }
.filter-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.customer-filter { display: flex; align-items: center; gap: .65rem; }
.customer-filter .form__input { width: 210px; }
.filter-love-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--gold); border-radius: var(--radius-pill); background: var(--white); color: var(--plum); font-size: .85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.filter-love-toggle svg { width: 21px; height: 21px; fill: none; stroke: #b7214b; stroke-width: 1.9; stroke-linejoin: round; }
.filter-love-toggle.is-active svg { fill: #b7214b; }
.filter-love-toggle:hover { background: var(--cream-dark); color: var(--plum); box-shadow: var(--shadow-md); }
.filter-love-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.management-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--border); }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.empty-state { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .management-grid { grid-template-columns: 1fr; } .user-chip { display: none; } .header-nav { gap: 0; } }
@media (max-width: 760px) { .filter-row { flex-wrap: wrap; } .gallery-branch--focused .carousel-slide:not([hidden]) { display: block; } .gallery-branch--focused .concept-card__body { padding: 1.5rem; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--plum);
  color: rgba(250,248,242,.6);
  text-align: center;
  padding: 1.75rem 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
}
.site-footer p + p { margin-top: 0.25rem; }
.site-footer .disclaimer { font-size: 0.72rem; opacity: 0.65; }

/* ── Flash messages ─────────────────────────────────────────────────────── */
.flash {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1rem auto;
  max-width: 780px;
  font-size: 0.9rem;
  font-weight: 500;
}
.flash--error   { background: #fdecea; color: #b00020; border: 1px solid #f5c2c7; }
.flash--success { background: #edfaf3; color: #1a6640; border: 1px solid #b7e8cb; }
.flash--info    { background: #edf3ff; color: #1a3a80; border: 1px solid #c3d5fc; }

.alert { padding: 0.9rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: 0.9rem; font-weight: 500; }
.alert--error   { background: #fdecea; color: #b00020; border: 1px solid #f5c2c7; }
.alert--success { background: #edfaf3; color: #1a6640; border: 1px solid #b7e8cb; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover:not(:disabled) {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(178,152,83,.35);
}

.btn--outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--border);
}
.btn--outline:hover:not(:disabled) {
  border-color: var(--plum);
  background: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn--ghost:hover:not(:disabled) {
  background: var(--cream-dark);
  color: var(--plum);
}

.btn--dark {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
}
.btn--dark:hover:not(:disabled) {
  background: var(--plum-light);
  border-color: var(--plum-light);
  color: var(--white);
}

.btn--large { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm    { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form__group { margin-bottom: 1.5rem; }

.form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--plum);
  margin-bottom: 0.5rem;
}
.form__label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--plum);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.form__input::placeholder { color: var(--muted-light); }
.form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(178,152,83,.15);
}

.form__textarea { resize: vertical; min-height: 88px; }

.form__hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted-light);
}

.form__actions {
  padding-top: 0.75rem;
  text-align: center;
}

.palette-section { padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.palette-section .form__label { margin-bottom: 0; }
.palette-pull-label { display: inline-flex; align-items: center; gap: .55rem; margin: 1rem 0; color: var(--plum); cursor: pointer; }
.palette-pull-label input { accent-color: var(--gold); width: 1.1rem; height: 1.1rem; }
.palette-colors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.palette-color { display: flex; flex-direction: column; align-items: center; gap: .4rem; min-width: 0; }
.palette-color label { font-size: .8rem; color: var(--plum); }
.palette-color__picker { width: 3.4rem; height: 3.4rem; padding: 0; border: 2px solid var(--gold); border-radius: 50%; overflow: hidden; background: none; cursor: pointer; }
.palette-color__picker::-webkit-color-swatch-wrapper { padding: 0; }
.palette-color__picker::-webkit-color-swatch { border: 0; border-radius: 50%; }
.palette-color__picker::-moz-color-swatch { border: 0; border-radius: 50%; }
.palette-color__hex { text-align: center; padding: .55rem .25rem; font-size: .85rem; }
@media (max-width: 600px) { .palette-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Card ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-body { padding: 1.75rem; }

/* ── Upload page ─────────────────────────────────────────────────────────── */
.upload-form { }

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 600px) {
  .upload-grid { grid-template-columns: 1fr; }
}

.zone-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--white);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
}
.drop-zone:hover,
.drop-zone--active {
  border-color: var(--gold);
  background: rgba(178,152,83,.04);
}
.drop-zone--has-file {
  border-color: var(--gold);
  background: rgba(178,152,83,.04);
}
.drop-zone__input { display: none; }

.drop-zone__icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--muted-light);
  line-height: 1;
  pointer-events: none;
}
.drop-zone__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--plum);
  margin-bottom: 0.2rem;
  pointer-events: none;
}
.drop-zone__sublabel {
  font-size: 0.75rem;
  color: var(--muted-light);
  pointer-events: none;
}
.drop-zone__preview {
  max-height: 160px;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: none;
  pointer-events: none;
}
.drop-zone--has-file .drop-zone__preview    { display: block; }
.drop-zone--has-file.drop-zone--no-preview .drop-zone__preview { display: none; }
.drop-zone--has-file .drop-zone__placeholder { display: none; }
.drop-zone__placeholder { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.drop-zone__filename {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.5rem;
  font-weight: 600;
  word-break: break-all;
  pointer-events: none;
}
.drop-zone__change {
  font-size: 0.72rem;
  color: var(--muted-light);
  margin-top: 0.2rem;
  text-decoration: underline;
  pointer-events: none;
}

/* Concept checkboxes */
.concept-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.concept-option:hover { border-color: var(--gold-light); background: rgba(178,152,83,.03); }
.concept-option input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); width: 16px; height: 16px; }
.concept-option strong { color: var(--plum); display: block; margin-bottom: 0.1rem; }
.concept-option small  { color: var(--muted-light); font-size: 0.8rem; line-height: 1.4; }

/* ── Status page ─────────────────────────────────────────────────────────── */
.status-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 3rem 2rem;
  text-align: center;
}

.progress-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--cream-dark);
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--gold);
  transition: width 0.4s ease;
}

/* ── Results page ────────────────────────────────────────────────────────── */
.palette-strip {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(61,41,59,.1);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.swatch-label {
  font-size: 0.72rem;
  color: var(--muted-light);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.concepts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.concept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.concept-card:hover { box-shadow: var(--shadow-lg); }

.concept-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream-dark);
}
.concept-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.concept-card:hover .concept-card__img-wrap img { transform: scale(1.02); }

.concept-card__body {
  padding: 1.5rem 1.75rem;
}

.concept-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(178,152,83,.1);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}

.concept-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.concept-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.concept-card__prompt-toggle {
  font-size: 0.78rem;
  color: var(--muted-light);
  cursor: pointer;
  text-decoration: underline;
  user-select: none;
  display: block;
  margin-top: 0.5rem;
}
.concept-card__prompt {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 0.6rem;
  display: none;
}
.concept-card__prompt.open { display: block; }

/* error state */
.concept-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  background: var(--cream-dark);
  color: var(--muted);
  font-size: 0.875rem;
  gap: 0.5rem;
}

/* ── Landing page ─────────────────────────────────────────────────────────── */
.landing-hero {
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  background: linear-gradient(160deg, var(--cream) 0%, #ede8e0 100%);
}

.landing-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.landing-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--plum);
  max-width: 15ch;
  margin: 0 auto 1.25rem;
}

.landing-hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.landing-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.how-it-works {
  padding: 5rem 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step {
  text-align: center;
  padding: 1rem;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p   { font-size: 0.875rem; }

/* ── Auth page ─────────────────────────────────────────────────────────────── */
.auth-card {
  max-width: 380px;
  margin: 5rem auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.auth-card h2 { margin-bottom: 0.4rem; }
.auth-card > p { font-size: 0.9rem; margin-bottom: 1.75rem; }
.auth-card .btn { width: 100%; margin-top: 1.25rem; }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

.include-logo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.include-logo-toggle:hover { border-color: var(--gold-light); }
.include-logo-toggle input { accent-color: var(--gold); }
