/* ================================================================
   RECLAIM | CHICAGO
   Marketplace for used construction materials
   Aesthetic: warm sand + deep forest + ink. Editorial meets trade.
   Type: Zodiak (display serif) + Work Sans (UI sans)
   ================================================================ */

:root {
  /* ── Palette ─────────────────────────────────────────────── */
  --bg:            #f5f1e8;
  --bg-2:          #ede6d4;
  --surface:       #ffffff;
  --surface-2:     #faf6ec;
  --ink:           #1c1c1a;
  --ink-2:         #3a3935;
  --muted:         #6b6860;
  --faint:         #a9a499;
  --line:          #d9d2bf;
  --line-2:        #c8bfa6;

  --accent:        #2d4a2b;
  --accent-hover:  #213820;
  --accent-soft:   #e8eee2;

  --rust:          #a8492a;
  --rust-soft:     #f3e1d6;

  --excellent:     #2d6a3e;
  --excellent-bg:  #e1efe2;
  --good:          #8a6418;
  --good-bg:       #f4ead0;
  --asis:          #5a5650;
  --asis-bg:       #e6e1d4;

  /* ── Type ─────────────────────────────────────────────── */
  --font-display: 'Zodiak', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Work Sans', system-ui, -apple-system, sans-serif;

  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.0625rem;
  --t-lg:   1.25rem;
  --t-xl:   clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-2xl:  clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  --t-3xl:  clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);
  --t-hero: clamp(2.5rem, 1.4rem + 3vw, 4rem);

  /* ── Geometry ─────────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-sm:  0 1px 2px rgba(28, 28, 26, 0.06);
  --shadow:     0 2px 8px rgba(28, 28, 26, 0.08), 0 1px 2px rgba(28, 28, 26, 0.04);
  --shadow-lg:  0 12px 32px rgba(28, 28, 26, 0.12), 0 4px 12px rgba(28, 28, 26, 0.06);

  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.5rem, 4vw, 3rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   RESET / BASE
   ================================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea, select { font-family: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 241, 232, 0.95);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--accent);
  position: relative;
  transform: rotate(45deg);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg);
}

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

.logo-city {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--muted);
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.header-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 150ms var(--ease);
}

.header-nav a:hover { color: var(--accent); }

.btn-nav {
  padding: 0.6rem 1.15rem;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: var(--radius);
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 150ms var(--ease);
}

.btn-nav:hover { background: var(--accent) !important; }

@media (max-width: 720px) {
  .header-nav a:not(.btn-nav) { display: none; }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 180ms var(--ease);
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}

/* ================================================================
   HERO
   ================================================================ */

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 0%, rgba(168, 73, 42, 0.06), transparent 60%),
    radial-gradient(ellipse 600px 500px at 0% 100%, rgba(45, 74, 43, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(3.5rem, 8vw, 7rem);
  row-gap: 3rem;
  align-items: center;
  z-index: 1;
}

.hero-content {
  min-width: 0;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 1.75rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px rgba(168, 73, 42, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 1.75rem;
  text-wrap: balance;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-sub {
  font-size: var(--t-md);
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero visual — sized for breathing room */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  aspect-ratio: 4 / 5;
  min-width: 0;
  isolation: isolate;
}

.hero-card {
  position: absolute;
  top: 8%;
  right: 0;
  width: 92%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transform: rotate(-1.5deg);
  transition: transform 400ms var(--ease);
}

.hero-card:hover { transform: rotate(0deg) translateY(-4px); }

.hero-card-stack {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 400ms var(--ease);
}

.hero-card-stack--2 {
  width: 38%;
  aspect-ratio: 4/5;
  top: 0;
  left: 4%;
  z-index: 1;
  transform: rotate(-6deg);
}

.hero-card-stack--3 {
  width: 42%;
  aspect-ratio: 5/4;
  bottom: 4%;
  left: 0;
  z-index: 2;
  transform: rotate(4deg);
}

.hero-card-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   LISTING CARD
   ================================================================ */

.listing-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

.listing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.condition-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.condition-badge.excellent { background: var(--excellent-bg); color: var(--excellent); }
.condition-badge.good      { background: var(--good-bg);      color: var(--good); }
.condition-badge.asis      { background: var(--asis-bg);      color: var(--asis); }

.listing-info { padding: 1.25rem 1.25rem 1.375rem; }

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.meta-tag {
  background: var(--bg);
  color: var(--ink-2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.6875rem;
  font-weight: 600;
}

.meta-dot { color: var(--faint); }

.listing-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.listing-detail {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.listing-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.listing-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.listing-vs {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.listing-vs s { color: var(--faint); }

/* ================================================================
   SOCIAL PROOF STRIP
   ================================================================ */

.strip {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
}

.strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strip-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid rgba(245, 241, 232, 0.2);
  padding-left: 1.125rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 720px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ================================================================
   SECTIONS
   ================================================================ */

.section {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 30px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--rust);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 1.125rem;
  text-wrap: balance;
}

.section-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-sub {
  font-size: var(--t-md);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 580px;
}

/* ================================================================
   CATEGORIES
   ================================================================ */

.categories-section {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.category-card {
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 180ms var(--ease);
  cursor: pointer;
}

.category-card:hover { background: var(--bg); }

.category-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: all 180ms var(--ease);
}

.category-card:hover .category-icon {
  background: var(--accent);
  color: var(--surface);
}

.category-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.category-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   LAUNCH / COUNTDOWN
   ================================================================ */

.launch-section {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}

.launch-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.launch-heading {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.launch-sub {
  font-size: var(--t-md);
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}

.launch-perks {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.launch-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.countdown-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 12px,
      rgba(245, 241, 232, 0.025) 12px,
      rgba(245, 241, 232, 0.025) 13px
    );
  pointer-events: none;
}

.countdown-label {
  position: relative;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 1.75rem;
}

.countdown-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 64px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 500;
}

.countdown-divider {
  width: 1px;
  height: 40px;
  background: rgba(245, 241, 232, 0.2);
}

.countdown-cta {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bg);
  padding: 0.7rem 1.35rem;
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: var(--radius);
  transition: background 180ms var(--ease);
}

.countdown-cta:hover { background: rgba(245, 241, 232, 0.18); }

@media (max-width: 860px) {
  .launch-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   LISTING FORMATS
   ================================================================ */

.formats-section {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.format-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 220ms var(--ease);
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

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

.format-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 1.125rem;
}

.format-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 1.375rem;
}

.format-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-preview--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.format-overlay {
  position: absolute;
  left: 0.875rem;
  bottom: 0.875rem;
  right: 0.875rem;
  background: rgba(28, 28, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.format-overlay .condition-badge { position: static; }

.format-overlay .format-title {
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.format-overlay .format-price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.format-overlay .price-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(245, 241, 232, 0.7);
}

.format-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.format-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Project preview */

.format-preview--project {
  aspect-ratio: auto;
  background: var(--bg);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-badge {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.project-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.project-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pitem-name {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.5rem 0.15rem;
  color: var(--ink);
  line-height: 1.3;
}

.pitem-price {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0 0.5rem 0.55rem;
}

.project-item--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font-display);
}

@media (max-width: 860px) {
  .formats-grid { grid-template-columns: 1fr; }
  .format-card--wide { grid-column: span 1; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   CONDITION GRADING
   ================================================================ */

.grades-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grade-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all 220ms var(--ease);
}

.grade-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.grade-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.125rem;
}

.grade-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.grade-dot--excellent { background: var(--excellent); }
.grade-dot--good      { background: var(--good); }
.grade-dot--asis      { background: var(--asis); }

.grade-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.grade-desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 1.125rem;
}

.grade-example {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.grade-example strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .grades-row { grid-template-columns: 1fr; }
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */

.how-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.track {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
}

.track--alt { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.track-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.track--alt .track-label {
  background: rgba(245, 241, 232, 0.1);
  color: var(--bg);
}

.track-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 2.25rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  flex: 1;
}

.steps li {
  display: flex;
  gap: 1rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rust);
  padding-top: 0.15rem;
  flex-shrink: 0;
  width: 28px;
}

.steps li strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: -0.005em;
}

.steps li p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.track--alt .steps li p { color: rgba(245, 241, 232, 0.65); }

.track-note {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
}

.track--alt .track-note {
  border-top-color: rgba(245, 241, 232, 0.12);
  color: rgba(245, 241, 232, 0.55);
}

@media (max-width: 960px) {
  .how-tracks { grid-template-columns: 1fr; }
  .track { padding: 2.25rem 2rem; }
}

/* ================================================================
   INVENTORY SCROLL
   ================================================================ */

.inventory-section { padding-bottom: clamp(5rem, 9vw, 8rem); }

.inventory-scroll {
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  max-width: var(--container);
  margin: 0 auto;
}

.inventory-scroll::-webkit-scrollbar { height: 6px; }
.inventory-scroll::-webkit-scrollbar-track { background: transparent; }
.inventory-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.inventory-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.inv-card {
  flex: 0 0 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 220ms var(--ease);
}

.inv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.inv-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}

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

.inv-body { padding: 1.125rem 1.25rem 1.25rem; }

.inv-cat {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.inv-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.inv-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.inv-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
}

.inv-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.inv-vs {
  font-size: 0.7125rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

/* ================================================================
   REGISTER
   ================================================================ */

.register-section {
  background:
    radial-gradient(ellipse 800px 400px at 100% 0%, rgba(45, 74, 43, 0.06), transparent 60%),
    var(--surface-2);
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}

.register-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.register-heading {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.125rem;
}

.register-sub {
  font-size: var(--t-md);
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.register-perks {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.register-perks li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.perk-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.register-perks li > div { display: flex; flex-direction: column; gap: 0.2rem; }

.register-perks li strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.register-perks li span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Form */

.register-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.optional {
  color: var(--faint);
  font-weight: 400;
  font-size: 0.75rem;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 150ms var(--ease);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(45, 74, 43, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--faint); }

.role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.role-btn {
  padding: 0.7rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  transition: all 150ms var(--ease);
  text-align: center;
}

.role-btn.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.role-btn:not(.active):hover { color: var(--ink); }

.seller-only.hidden { display: none; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: var(--surface);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 180ms var(--ease);
  margin-top: 0.25rem;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-submit:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.form-fine {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.25rem;
}

.form-success {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.25rem;
  text-align: center;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .register-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   FOUNDER QUOTE
   ================================================================ */

.founder-section {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(5rem, 9vw, 7rem) var(--gutter);
}

.founder-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}

.founder-section .section-label { color: var(--rust); }
.founder-section .section-label::before { background: var(--rust); }

.founder-quote {
  margin: 1.5rem 0 0;
  padding: 0;
}

.founder-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 2.25rem;
  text-wrap: balance;
}

.founder-quote p::before { content: '\201C'; }
.founder-quote p::after  { content: '\201D'; }

.founder-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-style: normal;
}

.founder-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.founder-title {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.55);
  letter-spacing: 0.02em;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 3.25rem var(--gutter) 2.25rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  align-self: flex-start;
}

.footer-tag {
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 460px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 500;
}

.footer-bottom a:hover { text-decoration: underline; }

/* ================================================================
   HERO RESPONSIVE
   ================================================================ */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-visual {
    justify-self: center;
    max-width: 480px;
  }
}

@media (max-width: 540px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { justify-content: center; }
  .hero-visual { aspect-ratio: 1 / 1; }
}
