/*
 * tokens.css — PIECES design tokens
 * ============================================================================
 * Single source of truth for color, type, spacing, radius, shadow, motion,
 * z-index, and layout values. Every other stylesheet should reference these
 * via custom properties. Do not redefine these values elsewhere.
 *
 * ── Brand contrast refinements (2026-04-29, audit P2-driven) ───────────────
 * --gold (#C9A050) is brand-canonical for non-text uses; --gold-text
 * (#7A5A1C) is the AA-compliant variant for text on cream and cream-dark
 * backgrounds (5.68:1 on cream, 5.01:1 on cream-dark). --text-dim opacity
 * raised from shipped 0.6 to 0.7 for AA compliance on cream/cream-dark.
 * --text-on-dark-faint raised from 0.4 to 0.55 for AA compliance on dark
 * sections. Audit P2 driven.
 *
 * Full rationale and contrast math in the sections below.
 *
 * ── Web vs. iOS divergence ─────────────────────────────────────────────────
 * The web tokens diverge intentionally from the iOS canonical values
 * defined in PiecesArt/AppColors.swift. The web has been hand-tuned for
 * sRGB display temperature and a "fine art frame" warmth. Do NOT align
 * web tokens to iOS without explicit design review — the divergence is
 * the point. Future contributors: leave this alone.
 *
 *   Web --gold   = #C9A050     iOS piecesGold     = #C4973B
 *   Web --cream  = #F5F2ED     iOS piecesCream    = #FAF7F2
 *   Web --dark   = #2A2523     iOS piecesBlack    = #1A1A1A (pure neutral)
 *
 * Other tokens (--bronze, --error, --taupe, --charcoal) match iOS
 * canonical values from AppColors.swift.
 *
 * ── Accessibility ──────────────────────────────────────────────────────────
 * The brand --gold (#C9A050) on --cream achieves only 2.18:1 contrast,
 * which fails WCAG 2.1 AA for any text size. --gold is therefore
 * RESTRICTED to non-text uses on cream: dividers, icon strokes,
 * decorative accents, the wordmark `S`, button fills (paired with
 * dark text). For gold-colored TEXT on cream OR cream-dark, use
 * --gold-text (#7A5A1C — 5.68:1 on cream, 5.01:1 on cream-dark).
 * On --dark backgrounds, --gold itself reaches 6.39:1 and is safe
 * for text.
 *
 * --text-dim opacity was raised from the shipped 0.6 to 0.7 so it
 * clears AA on both --cream (5.32:1) and --cream-dark (5.07:1).
 * --text-on-dark-faint was raised from 0.4 to 0.55 so it clears AA
 * on --dark (4.96:1).
 *
 * Dark mode is not implemented for v1. iOS dark-mode hexes are
 * documented per-token in AppColors.swift; bring those over when
 * dark mode is greenlit.
 * ============================================================================
 */

:root {
  /* ── Color ─────────────────────────────────────────────────────────────── */

  /* Backgrounds */
  --cream:        #F5F2ED;     /* primary page background, "paper" */
  --cream-dark:   #E8E4DD;     /* alternating section background */
  --surface:      #FFFFFF;     /* card and elevated surface */

  /* Brand gold — gallery accent */
  --gold:         #C9A050;     /* canonical brand color (NON-TEXT use only on cream) */
  --gold-hover:   #B8924A;     /* CTA hover state */
  --gold-light:   #D4B060;     /* highlight, border-on-dark */
  --gold-text:    #7A5A1C;     /* AA-compliant gold for TEXT — 5.68:1 on cream, 5.01:1 on cream-dark */

  /* Bronze — secondary metallic */
  --bronze:       #B8956A;

  /* Dark frames */
  --dark:         #2A2523;     /* primary "frame" dark — headlines, primary text, dark sections */
  --dark-soft:    #3D3632;     /* slightly lifted, for borders and hover companion */

  /* Text */
  --text:         #333333;     /* default body text on cream */
  --text-dim:     rgba(42, 37, 35, 0.7);   /* secondary text, AA-compliant on cream and cream-dark */
  --text-faint:   rgba(42, 37, 35, 0.5);   /* decorative-only — fails AA, never use for content */
  --taupe:        #8A7D6B;     /* tertiary accent text */
  --charcoal:     #2C2C2C;     /* near-black for inverted contexts */

  /* Inverted text (for dark backgrounds) — both AA-compliant on --dark */
  --text-on-dark:      var(--cream);
  --text-on-dark-dim:  rgba(245, 242, 237, 0.6);    /* 5.58:1 on --dark */
  --text-on-dark-faint:rgba(245, 242, 237, 0.55);   /* 4.96:1 on --dark — subtler emphasis, still AA */

  /* Status */
  --error:        #B85247;     /* destructive actions, error states (iOS piecesError P2-08) */

  /* ── Type ──────────────────────────────────────────────────────────────── */

  --font-display: 'Playfair Display', 'Didot', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Letter-spacing */
  --ls-tight:   -0.0125em;   /* large serif headlines */
  --ls-normal:   0;
  --ls-cta:      0.0625em;   /* button text */
  --ls-wide:     0.1em;      /* nav links, small caps */
  --ls-wider:    0.125em;    /* trust strip labels */
  --ls-widest:   0.333em;    /* eyebrow labels (4px at 12px size) */

  /* Line-height */
  --lh-display:  1.05;
  --lh-title:    1.15;
  --lh-snug:     1.3;
  --lh-normal:   1.5;
  --lh-relaxed:  1.7;

  /* Wordmark letter-spacing — non-negotiable for legibility */
  --ls-wordmark: 0.16em;     /* 4px at 24px wordmark size */

  /* ── Spacing scale ─────────────────────────────────────────────────────── */
  /* 4 / 8 / 12 / 16 / 24 / 32 / 48 / 56 / 72 / 96 / 128 */
  --space-1:  0.25rem;   /*   4px */
  --space-2:  0.5rem;    /*   8px */
  --space-3:  0.75rem;   /*  12px */
  --space-4:  1rem;      /*  16px */
  --space-5:  1.5rem;    /*  24px */
  --space-6:  2rem;      /*  32px */
  --space-7:  3rem;      /*  48px */
  --space-8:  3.5rem;    /*  56px */
  --space-9:  4.5rem;    /*  72px */
  --space-10: 6rem;      /*  96px */
  --space-11: 8rem;      /* 128px */

  /* ── Radius ────────────────────────────────────────────────────────────── */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* ── Shadows ───────────────────────────────────────────────────────────── */
  --shadow-sm:        0 1px 2px rgba(42, 37, 35, 0.04);
  --shadow-md:        0 4px 16px rgba(42, 37, 35, 0.06);
  --shadow-card:      0 12px 40px rgba(42, 37, 35, 0.08);    /* card hover lift */
  --shadow-cta:       0 4px 20px rgba(201, 160, 80, 0.30);   /* gold CTA drop */
  --shadow-cta-hover: 0 8px 30px rgba(201, 160, 80, 0.40);
  --shadow-frame:     inset 0 0 0 1px var(--gold);            /* editorial frame inner border */

  /* ── Motion ────────────────────────────────────────────────────────────── */
  --transition-fast:   150ms;
  --transition-normal: 200ms;
  --transition-slow:   300ms;
  --easing:            cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-index ───────────────────────────────────────────────────────────── */
  --z-skip:    200;     /* skip-to-content link (focused) */
  --z-nav:     100;
  --z-overlay:  60;
  --z-modal:    50;
  --z-banner:   20;     /* iOS smart banner */

  /* ── Layout ────────────────────────────────────────────────────────────── */
  --container-narrow:  720px;     /* legal pages, journal articles */
  --container:        1100px;     /* default sections */
  --container-wide:   1200px;     /* feature grids, storefront */

  /* Section vertical rhythm */
  --section-py:         var(--space-10);   /* 96px desktop */
  --section-py-mobile:  var(--space-9);    /* 72px mobile */

  /* Page horizontal margin */
  --page-px:         var(--space-5);    /* 24px */
  --page-px-mobile:  1.25rem;            /* 20px */

  /* Editorial frame (Direction A hero) */
  --frame-max:       860px;
  --frame-pad:       var(--space-6);     /* 32px gap between borders desktop */
  --frame-pad-mobile:var(--space-4);     /* 16px gap mobile */
  --frame-inner-pad: var(--space-7);     /* 48px content padding inside inner border */
}

/*
 * Breakpoints (used as min-width media queries)
 * ────────────────────────────────────────────────────────────────────────────
 *   Default               0–767  (mobile-first, 375 baseline)
 *   tablet              768+
 *   desktop            1024+
 *   wide               1440+
 *
 * Use em units in media queries so user font-size preferences are honored:
 *   @media (min-width: 48em)   { ... }   -- 768px
 *   @media (min-width: 64em)   { ... }   -- 1024px
 *   @media (min-width: 90em)   { ... }   -- 1440px
 *
 * NOTE: Do not write nested slash-star comments inside this block. CSS
 * comments don't nest — the first inner close prematurely terminates the
 * outer comment, after which the parser drops the universal reset rule
 * that follows in base.css (cause of off-center mobile rendering bug).
 */
/*
 * base.css — reset, typography, layout primitives, accessibility helpers
 * ============================================================================
 * Loaded after tokens.css on every page. Establishes baseline behavior so
 * components.css only has to handle component-specific styling.
 *
 * Includes:
 *   - Minimal reset (box-sizing, margins, body baseline)
 *   - Typographic defaults bound to design tokens
 *   - Layout primitives: .container, .container-wide, .container-narrow, .section
 *   - Heading helpers: .display-xl through .display-sm, .eyebrow, .body-lg
 *   - Accessibility: skip link, focus-visible, .visually-hidden, reduced motion
 * ============================================================================
 */

/* ── Reset ───────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;          /* respect user preference; 1rem == 16px default */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Defensive: iOS Safari treats <html> as the scrolling element, so body's
     overflow-x: hidden below doesn't clip phantom-fixed descendants like the
     closed .site-nav__drawer (position: fixed; inset: 0; transform:
     translateX(100%)). Use `clip` not `hidden` — `clip` doesn't establish a
     scroll container, so position: sticky elements (e.g. .faq-jumpnav) keep
     anchoring to the viewport. */
  overflow-x: clip;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;          /* 16px */
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;       /* mobile viewport-aware */
}

img, svg, video, canvas, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

/* ── Headings ────────────────────────────────────────────────────────────── */

/*
 * Bare h1–h6 get readable defaults so unstyled markup never looks broken.
 * Pages should still use the .display-* helper classes for hero/section
 * titles to get the full type ramp.
 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-title);
  color: var(--dark);
}

h1 { font-size: 2.25rem; }      /* 36px — inner page H1 */
h2 { font-size: 1.75rem; }      /* 28px */
h3 { font-size: 1.375rem; }     /* 22px */
h4 { font-size: 1.125rem; }     /* 18px */
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  font-size: 1rem;
  line-height: var(--lh-relaxed);
}

strong { font-weight: 600; }

/* ── Type helpers ────────────────────────────────────────────────────────── */

.display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5rem);    /* 48 → 80 */
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  color: var(--dark);
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem); /* 32 → 52 */
  line-height: var(--lh-title);
  letter-spacing: var(--ls-tight);
  color: var(--dark);
}

.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);  /* 28 → 36 */
  line-height: var(--lh-title);
  color: var(--dark);
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;          /* 22px */
  line-height: var(--lh-snug);
  color: var(--dark);
}

.body-lg {
  font-size: 1.125rem;          /* 18px */
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
}

.body {
  font-size: 1rem;              /* 16px */
  line-height: var(--lh-relaxed);
  color: var(--text);
}

.body-sm {
  font-size: 0.9375rem;         /* 15px */
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;           /* 12px */
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold-text);      /* AA-compliant on cream */
}

.eyebrow--on-dark {
  color: var(--gold);           /* gold reaches 6.39:1 on --dark */
}

.caption {
  font-size: 0.75rem;
  line-height: var(--lh-normal);
  color: var(--text-dim);
}

/* ── Layout primitives ───────────────────────────────────────────────────── */

.container,
.container-wide,
.container-narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-px-mobile);
}

@media (min-width: 48em) {     /* 768px */
  .container,
  .container-wide,
  .container-narrow {
    padding-inline: var(--page-px);
  }
}

.container        { max-width: var(--container); }
.container-wide   { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-py-mobile);
}
@media (min-width: 48em) {
  .section { padding-block: var(--section-py); }
}

.section--cream-dark { background: var(--cream-dark); }
.section--dark       { background: var(--dark); color: var(--cream); }
.section--dark .display-xl,
.section--dark .display-lg,
.section--dark .display-md,
.section--dark .display-sm,
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--cream); }
.section--dark .body-lg,
.section--dark .body-sm { color: var(--text-on-dark-dim); }

/* ── Accessibility ───────────────────────────────────────────────────────── */

/*
 * Skip-to-content link. Hidden until focused; jumps to <main id="main">.
 */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: var(--z-skip);
  padding: var(--space-3) var(--space-4);
  background: var(--dark);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform var(--transition-fast) var(--easing);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/*
 * Site-wide focus ring. Gold, 2px, 2px offset. Applied via :focus-visible
 * so mouse clicks never paint a ring but keyboard tabs always do.
 */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Visually hidden but available to assistive tech. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */

/*
 * Honor user preference. Nuke animations and transitions sitewide
 * but keep instant transforms for things like menu open/close.
 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Print ───────────────────────────────────────────────────────────────── */

@media print {
  body { background: #fff; color: #000; }
  nav, footer, .skip-link, .smart-banner { display: none !important; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.85em; }
}
/*
 * components.css — PIECES marketing site components
 * ============================================================================
 * Loaded after tokens.css and base.css on every page.
 *
 * Naming: BEM-ish kebab-case with `__` for elements and `--` for modifiers.
 * Components are self-contained and never depend on each other for layout —
 * a component can be used standalone or composed with others.
 *
 * Sections (in order):
 *   1.  Wordmark
 *   2.  Site nav  (desktop + mobile drawer)
 *   3.  Site footer
 *   4.  Section header  (eyebrow + divider + title + subhead)
 *   5.  Buttons
 *   6.  Editorial frame  (Direction A hero scaffold)
 *   7.  Stat block
 *   8.  Trust strip
 *   9.  Feature card
 *   10. Audience card
 *   11. Steps
 *   12. Form
 *   13. Smart banner
 *   14. Generic card / featured strip
 *   15. Hero variants reserved (Direction B, C — not implemented)
 * ============================================================================
 */


/* ────────────────────────────────────────────────────────────────────────── */
/* 1. Wordmark                                                                 */
/* ────────────────────────────────────────────────────────────────────────── */

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--ls-wordmark);
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark__accent { color: var(--gold); }

.wordmark--lg { font-size: 1.75rem; }      /* 28px — about/press hero */
.wordmark--md { font-size: 1.5rem; }       /* 24px — nav default */
.wordmark--sm { font-size: 1.25rem; }      /* 20px — footer, mobile nav */

.section--dark .wordmark { color: var(--cream); }


/* ────────────────────────────────────────────────────────────────────────── */
/* 2. Site nav                                                                 */
/* ────────────────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--page-px-mobile);
  background: linear-gradient(to bottom, rgba(245,242,237,0.98), rgba(245,242,237,0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 37, 35, 0.06);
  transition: border-color var(--transition-normal) var(--easing),
              background var(--transition-normal) var(--easing);
}
/* Scroll-aware: tighten the bottom hairline once the page has scrolled,
   so the nav reads as a layer above content rather than sitting on it. */
.site-nav[data-scrolled="true"] {
  border-bottom-color: rgba(42, 37, 35, 0.12);
}
@media (min-width: 48em) {
  .site-nav { padding: var(--space-5) var(--space-7); }   /* 24px / 48px */
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-6);   /* 32px between links — tight enough to fit at 72em+ */
}
@media (min-width: 72em) {     /* 1152px — show full nav once 5 links + CTA fit comfortably */
  .site-nav__links { display: flex; }
}

.site-nav__link {
  font-size: 0.8125rem;        /* 13px */
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color var(--transition-normal) var(--easing);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--dark);
}

.site-nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--ls-cta);
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition-normal) var(--easing),
              transform var(--transition-fast) var(--easing);
}
.site-nav__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Mobile menu toggle — hamburger that morphs to X */
.site-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
}
@media (min-width: 72em) {
  .site-nav__toggle { display: none; }
}
.site-nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition-fast) var(--easing),
              opacity var(--transition-fast) var(--easing);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.site-nav__drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: 6rem var(--page-px-mobile) var(--space-7);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform var(--transition-slow) var(--easing);
  visibility: hidden;
}
.site-nav__drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
@media (min-width: 72em) {
  .site-nav__drawer { display: none; }
}

.site-nav__drawer-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--dark);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(42, 37, 35, 0.08);
}
.site-nav__drawer-cta {
  margin-top: var(--space-6);
}

/* Body scroll lock helper — applied via JS when drawer is open */
body[data-nav-open="true"] { overflow: hidden; }


/* ────────────────────────────────────────────────────────────────────────── */
/* 3. Site footer                                                              */
/* ────────────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--dark);
  color: var(--text-on-dark-dim);
  padding: var(--space-9) var(--page-px-mobile) var(--space-6);
}
@media (min-width: 48em) {
  .site-footer { padding: var(--space-10) var(--page-px) var(--space-7); }
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(245, 242, 237, 0.1);
}
@media (min-width: 48em) {
  .site-footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.site-footer__brand .wordmark { color: var(--cream); }
.site-footer__tagline {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  line-height: var(--lh-relaxed);
  color: var(--text-on-dark-dim);
  max-width: 28ch;
}

.site-footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.site-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.site-footer__col-links a {
  font-size: 0.875rem;
  color: var(--text-on-dark-dim);
  transition: color var(--transition-normal) var(--easing);
}
.site-footer__col-links a:hover { color: var(--gold); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  font-size: 0.75rem;
  color: var(--text-on-dark-faint);
}
@media (min-width: 48em) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 4. Section header                                                           */
/* ────────────────────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-9);
}
.section-header--left {
  text-align: left;
  margin-inline: 0;
}

.section-header .eyebrow { display: block; margin-bottom: var(--space-4); }

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto var(--space-5);
  border: 0;
}
.section-header--left .section-divider { margin-inline: 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-tight);
  color: var(--dark);
  margin-bottom: var(--space-4);
}
.section--dark .section-title { color: var(--cream); }
/* Default accent uses --gold-text (AA on cream, 4.69:1). On dark sections,
   --gold reaches 6.39:1 against --dark and is preferred for the brighter
   accent feel. */
.section-title__accent { color: var(--gold-text); }
.section--dark .section-title__accent { color: var(--gold); }

.section-sub {
  font-size: 1rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
}
.section-header--left .section-sub { margin-inline: 0; }
.section--dark .section-sub { color: var(--text-on-dark-dim); }


/* ────────────────────────────────────────────────────────────────────────── */
/* 5. Buttons                                                                  */
/* ────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 1rem 2.5rem;            /* 16 / 40 */
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: var(--ls-cta);
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-normal) var(--easing),
              transform var(--transition-fast) var(--easing),
              box-shadow var(--transition-normal) var(--easing),
              border-color var(--transition-normal) var(--easing),
              color var(--transition-normal) var(--easing);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  color: var(--dark);
  background: var(--gold);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  color: var(--dark);
  background: transparent;
  border: 2px solid var(--dark);
  padding: calc(1rem - 2px) calc(2.5rem - 2px);
}
.btn--secondary:hover {
  color: var(--cream);
  background: var(--dark);
  transform: translateY(-2px);
}

/* On dark backgrounds */
.btn--secondary-on-dark {
  color: var(--cream);
  background: transparent;
  border: 2px solid var(--cream);
  padding: calc(1rem - 2px) calc(2.5rem - 2px);
}
.btn--secondary-on-dark:hover {
  color: var(--dark);
  background: var(--cream);
}

.btn--ghost {
  color: var(--dark);
  background: transparent;
  padding: var(--space-3) var(--space-4);
}
.btn--ghost:hover { color: var(--gold-text); }

.btn--small {
  padding: var(--space-3) var(--space-5);
  font-size: 0.75rem;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* App Store badge — image-link wrapper */
.btn--app-store {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.btn--app-store img,
.btn--app-store svg {
  height: 48px;
  width: auto;
  display: block;
}
.btn--app-store:hover { transform: translateY(-2px); }


/* ────────────────────────────────────────────────────────────────────────── */
/* 6. Editorial frame  (Direction A hero scaffold)                            */
/* ────────────────────────────────────────────────────────────────────────── */
/*
 * Two concentric 1px gold borders on a cream surface — the literal
 * "frame" device from the OG image, scaled up to a hero block.
 *
 * Markup:
 *   <section class="editorial-frame">
 *     <div class="editorial-frame__inner">
 *       <!-- hero content -->
 *     </div>
 *   </section>
 */

.editorial-frame {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: var(--frame-pad-mobile);
  border: 1px solid var(--gold);
  background: transparent;
}
@media (min-width: 48em) {
  .editorial-frame { padding: var(--frame-pad); }
}

.editorial-frame__inner {
  border: 1px solid var(--gold);
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
@media (min-width: 48em) {
  .editorial-frame__inner {
    padding: var(--frame-inner-pad) var(--frame-inner-pad);
  }
}

/* On small screens the double border feels claustrophobic — collapse to
   single border below the tablet breakpoint. */
@media (max-width: 47.99em) {
  .editorial-frame { border: none; padding: 0; }
  .editorial-frame__inner { padding: var(--space-7) var(--space-5); }
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 7. Stat block                                                               */
/* ────────────────────────────────────────────────────────────────────────── */

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-7);              /* 48px desktop, 32px mobile via media */
  padding-top: var(--space-7);
  margin-top: var(--space-9);
  border-top: 1px solid rgba(42, 37, 35, 0.1);
}
@media (max-width: 47.99em) {
  .stats { gap: var(--space-6); }
}
.section--dark .stats { border-color: rgba(245, 242, 237, 0.1); }

.stat { text-align: center; min-width: 0; }

.stat__number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.75rem;               /* 44px */
  line-height: 1;
  /* Stat numbers are content (live data), not decoration — must clear AA.
     Default to --gold-text on cream; brand --gold on dark sections. */
  color: var(--gold-text);
}
.section--dark .stat__number { color: var(--gold); }

.stat__label {
  margin-top: var(--space-2);
  font-size: 0.6875rem;             /* 11px */
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-dim);
}
.section--dark .stat__label { color: var(--text-on-dark-dim); }

/* Loading skeleton state */
.stat__number--loading {
  opacity: 0.4;
  animation: stat-pulse 1.2s ease-in-out infinite;
}
@keyframes stat-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 8. Trust strip                                                              */
/* ────────────────────────────────────────────────────────────────────────── */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  padding-top: var(--space-7);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(42, 37, 35, 0.1);
}
.section--dark .trust-strip { border-color: rgba(245, 242, 237, 0.1); }

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-dim);
}
.section--dark .trust-strip__item { color: var(--text-on-dark-dim); }

.trust-strip__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 9. Feature card                                                             */
/* ────────────────────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 48em) {     /* 768px */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 80em) {     /* 1280px — only flatten to a single 4-up row when there's real width */
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}
/*
 * .feature-grid--3 modifier: 1 col on mobile, 3 cols at desktop. Skips the
 * 2-col tablet step entirely — 3 cards in a 2-col grid leaves an awkward
 * 2+1 row. Use compound selector (.feature-grid.feature-grid--3) for higher
 * specificity than the base .feature-grid breakpoints. Don't use for 4 cards.
 */
.feature-grid.feature-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 64em) {
  .feature-grid.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(42, 37, 35, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  transition: border-color var(--transition-slow) var(--easing),
              transform var(--transition-slow) var(--easing),
              box-shadow var(--transition-slow) var(--easing);
}
.feature-card:hover,
.feature-card:focus-within {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 160, 80, 0.12);
  border-radius: var(--radius-md);
  color: var(--gold);
}
.feature-card__icon svg { width: 28px; height: 28px; }

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;       /* 22px */
  line-height: var(--lh-snug);
  color: var(--dark);
  margin-bottom: var(--space-3);
}
.feature-card__text {
  font-size: 0.9375rem;      /* 15px */
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 10. Audience card                                                           */
/* ────────────────────────────────────────────────────────────────────────── */
/*
 * Three-up routing card for /collectors, /sellers, /galleries. The whole
 * card is one anchor; arrow nudges right on hover.
 */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 64em) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(42, 37, 35, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  color: var(--dark);
  text-decoration: none;
  position: relative;
  isolation: isolate;
  transition: border-color var(--transition-slow) var(--easing),
              transform var(--transition-slow) var(--easing),
              box-shadow var(--transition-slow) var(--easing);
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: -1;
}
.audience-card:hover,
.audience-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.audience-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--space-3);
}
.audience-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.625rem;        /* 26px */
  line-height: var(--lh-title);
  margin-bottom: var(--space-3);
}
.audience-card__text {
  font-size: 0.9375rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
  margin-bottom: var(--space-5);
}
.audience-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--dark);
}
.audience-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal) var(--easing);
}
.audience-card:hover .audience-card__link svg,
.audience-card:focus-visible .audience-card__link svg {
  transform: translateX(4px);
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 11. Steps                                                                   */
/* ────────────────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  counter-reset: step;
}
@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step { text-align: center; }
.step--left { text-align: left; }

.step__num {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--gold);
  border-radius: 50%;
}
.step--left .step__num { margin-inline: 0 var(--space-4); }

.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;             /* 20px */
  font-weight: 500;
  line-height: var(--lh-snug);
  margin-bottom: var(--space-3);
  color: var(--dark);
}

.step__text {
  font-size: 0.875rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 12. Form                                                                    */
/* ────────────────────────────────────────────────────────────────────────── */

.form { max-width: 480px; margin: 0 auto; }

.form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.form__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-2);
  display: block;
}
.section--dark .form__label { color: var(--text-on-dark-dim); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(42, 37, 35, 0.15);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-normal) var(--easing),
              background var(--transition-normal) var(--easing);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-dim); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
}

/* Inverted (on dark) variant — used in waitlist section */
.form--on-dark .form__input,
.form--on-dark .form__select,
.form--on-dark .form__textarea {
  color: var(--cream);
  background: rgba(245, 242, 237, 0.08);
  border-color: rgba(245, 242, 237, 0.15);
}
.form--on-dark .form__input::placeholder { color: var(--text-on-dark-faint); }
.form--on-dark .form__input:focus { background: rgba(245, 242, 237, 0.12); }

.form__toggle {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-5);
}
.form__toggle-btn {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: var(--ls-cta);
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  background: transparent;
  border: 1px solid rgba(245, 242, 237, 0.15);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal) var(--easing);
}
.form__toggle-btn[aria-pressed="true"] {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}
.form__toggle-btn:hover:not([aria-pressed="true"]) {
  color: var(--cream);
  border-color: rgba(245, 242, 237, 0.3);
}

.form__error {
  font-size: 0.8125rem;
  color: var(--error);
  text-align: center;
  margin-bottom: var(--space-3);
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--transition-normal) var(--easing),
              height var(--transition-normal) var(--easing);
}
.form__error[data-show="true"] {
  opacity: 1;
  height: auto;
  padding-bottom: var(--space-2);
}

.form__submit {
  width: 100%;
}

.form__note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: var(--space-4);
}
.section--dark .form__note { color: var(--text-on-dark-faint); }

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-7) 0;
}
.form__success[data-show="true"] { display: block; }
.form__success-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: var(--space-4);
  line-height: 1;
}
.form__success-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--dark);
}
.section--dark .form__success-title { color: var(--cream); }
.form__success-text {
  font-size: 0.9375rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
}
.section--dark .form__success-text { color: var(--text-on-dark-dim); }


/* ────────────────────────────────────────────────────────────────────────── */
/* 13. Smart banner  (mobile iOS, JS-injected)                                */
/* ────────────────────────────────────────────────────────────────────────── */

.smart-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-banner);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--dark);
  color: var(--cream);
  font-size: 0.875rem;
}
.smart-banner[data-show="true"] { display: flex; }
.smart-banner__cta {
  color: var(--gold);
  font-weight: 600;
  margin-left: var(--space-3);
}
.smart-banner__close {
  background: transparent;
  border: 0;
  color: var(--cream);
  opacity: 0.6;
  font-size: 1.125rem;
  cursor: pointer;
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 14. Generic card / featured strip                                          */
/* ────────────────────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid rgba(42, 37, 35, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal) var(--easing),
              box-shadow var(--transition-normal) var(--easing);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--cream-dark);
  background-size: cover;
  background-position: center;
}
.card__body { padding: var(--space-4) var(--space-5) var(--space-5); }
.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  margin-bottom: var(--space-1);
}
.card__meta {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/*
 * Featured strip — horizontal scrollable row of cards on mobile,
 * grid on tablet+. Used for "featured artists" / "featured listings"
 * placeholder section on the homepage.
 */
.featured-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 48em) {
  .featured-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .featured-strip { grid-template-columns: repeat(4, 1fr); }
}

/* TODO-block — visible placeholder for content that's not real yet */
.todo-block {
  padding: var(--space-7) var(--space-6);
  border: 1px dashed rgba(42, 37, 35, 0.25);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-style: italic;
  background: rgba(232, 228, 221, 0.4);
}
.todo-block strong { font-style: normal; color: var(--dark); }


/* ────────────────────────────────────────────────────────────────────────── */
/* 15. Hero variants — Direction A is in section 6 (editorial frame).          */
/* Direction C (gallery wall) is deferred indefinitely.                        */
/* ────────────────────────────────────────────────────────────────────────── */


/* ────────────────────────────────────────────────────────────────────────── */
/* 16. Direction B hero — data-pane scaffold  (used by /how-it-works)         */
/* ────────────────────────────────────────────────────────────────────────── */
/*
 * Hero scaffold for /how-it-works. The page-scoped CSS in how-it-works.html
 * collapses .hero-data__layout to a single centered column.
 */

.hero-data {
  position: relative;
  padding: 7.5rem 0 var(--section-py-mobile);
  overflow: hidden;
}
.hero-data::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(201,160,80,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(42,37,35,0.025) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-data > * { position: relative; z-index: 1; }
@media (min-width: 48em) {
  .hero-data { padding-bottom: var(--section-py); }
}

.hero-data__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (min-width: 64em) {
  .hero-data__layout {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-9);
  }
}

.hero-data__pitch { max-width: 540px; }
.hero-data__pitch .eyebrow { display: block; margin-bottom: var(--space-4); }
.hero-data__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  color: var(--dark);
  margin-bottom: var(--space-5);
}
.hero-data__title-accent {
  color: var(--gold-text);
  font-style: italic;
}
.hero-data__subtitle {
  font-size: 1.0625rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dim);
  max-width: 50ch;
  margin-bottom: var(--space-6);
}
@media (min-width: 48em) {
  .hero-data__subtitle { font-size: 1.125rem; }
}
.hero-data__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.hero-data__inline-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);     /* row 16, column 24 — gives wrapped rows breathing room */
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--ls-wide);          /* 0.1em — tighter than wider so all three fit at 375 */
  text-transform: uppercase;
  color: var(--text-dim);
  list-style: none;
}
@media (max-width: 24em) {                  /* < 384px — stack to single column */
  .hero-data__inline-trust { flex-direction: column; gap: var(--space-3); }
}
.hero-data__inline-trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-data__inline-trust li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 17. Flow steps — alternating two-column step blocks                        */
/* ────────────────────────────────────────────────────────────────────────── */
/*
 * Used on /how-it-works for buyer-flow and seller-flow sequences. Each step
 * is a media block (placeholder screenshot mount) plus a content block. On
 * desktop, alternates left/right; on mobile, stacks media-then-content.
 */

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
}
@media (min-width: 64em) {
  .flow-steps { gap: var(--space-10); }
}

.flow-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 64em) {
  .flow-step {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
  .flow-step--reverse .flow-step__media { order: 2; }
  .flow-step--reverse .flow-step__content { order: 1; }
}

.flow-step__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #DDD9CE 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(42, 37, 35, 0.15);
}
.flow-step__media-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-4);
  font-weight: 500;
}

.flow-step__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.flow-step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: var(--lh-snug);
  color: var(--dark);
  margin-bottom: var(--space-3);
}
.flow-step__text {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: var(--lh-relaxed);
  max-width: 50ch;
}


/* ────────────────────────────────────────────────────────────────────────── */
/* 18. Page CTA strip                                                          */
/* ────────────────────────────────────────────────────────────────────────── */
/*
 * Dark-band CTA used at the bottom of inner pages (how-it-works, collectors,
 * sellers, galleries, about). One title + subhead + button row.
 */

.page-cta {
  padding: var(--space-9) var(--page-px-mobile);
  background: var(--dark);
  color: var(--cream);
  text-align: center;
}
@media (min-width: 48em) { .page-cta { padding: var(--space-10) var(--page-px); } }

.page-cta__inner {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.page-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: var(--lh-title);
  color: var(--cream);
  margin-bottom: var(--space-3);
}

.page-cta__sub {
  color: var(--text-on-dark-dim);
  font-size: 1rem;
  line-height: var(--lh-relaxed);
  max-width: 50ch;
  margin: 0 auto var(--space-6);
}

.page-cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
