/* Stashd — Brand CSS */

/* --- Tokens --- */
:root {
  --bg: #F7F4EF;
  --bg-alt: #EEE9E0;
  --fg: #1A2E1A;
  --fg-muted: #4A5E4A;
  --accent: #C47B1A;
  --accent-warm: #E8A838;
  --surface: #FFFFFF;
  --border: #D4CCBF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* --- Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 4rem;
  overflow: hidden;
  background: var(--fg);
  color: var(--bg);
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(200,123,26,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(26,46,26,0.5) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 600px;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--bg);
}
.hero-lede {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(247,244,239,0.75);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(232,168,56,0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-warm);
  letter-spacing: 0.05em;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  display: flex;
  align-items: center;
  padding: 0 4rem 0 2rem;
  z-index: 2;
  pointer-events: none;
}
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.card {
  background: rgba(247,244,239,0.06);
  border: 1px solid rgba(247,244,239,0.12);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: rotate(0deg);
}
.card-1 { transform: rotate(-1.5deg); }
.card-2 { transform: rotate(0.8deg); }
.card-3 { transform: rotate(-0.5deg); }
.card-4 { transform: rotate(1deg); }
.card-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(247,244,239,0.8);
}
.card-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(232,168,56,0.4);
}
.bar-1 { width: 75%; }
.bar-2 { width: 90%; }
.bar-3 { width: 60%; }
.bar-4 { width: 80%; }

/* --- Proof --- */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 4rem;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  white-space: nowrap;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex: 1;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.proof-stat {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.proof-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  max-width: 160px;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Section base --- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}
.section-lede {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* --- Niches --- */
.niches {
  padding: 7rem 4rem;
  background: var(--bg);
}
.niches-inner { max-width: 1100px; }
.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.niche-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.niche-card:hover { transform: translateY(-3px); }
.niche-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.niche-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.niche-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.niche-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.niche-tags span {
  padding: 0.3rem 0.8rem;
  background: var(--bg-alt);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}

/* --- How --- */
.how {
  padding: 7rem 4rem;
  background: var(--fg);
  color: var(--bg);
}
.how .section-eyebrow { color: var(--accent-warm); }
.how .section-headline { color: var(--bg); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1rem;
  border: 1px solid rgba(247,244,239,0.12);
  border-radius: 20px;
  overflow: hidden;
}
.how-step {
  display: flex;
  gap: 1.5rem;
  padding: 2.25rem;
  border: 1px solid rgba(247,244,239,0.08);
  transition: background 0.2s;
}
.how-step:hover { background: rgba(247,244,239,0.04); }
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(232,168,56,0.3);
  line-height: 1;
  min-width: 3rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.6);
  line-height: 1.65;
}

/* --- Stats --- */
.stats {
  background: var(--accent-warm);
  padding: 0;
}
.stats-bg {
  padding: 5rem 4rem;
  background: linear-gradient(135deg, #C47B1A 0%, #E8A838 100%);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
}
.stats-col { text-align: center; }
.stats-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stats-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(26,46,26,0.7);
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}

/* --- Closing --- */
.closing {
  padding: 7rem 4rem;
  background: var(--bg);
}
.closing-inner { max-width: 900px; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 3rem;
}
.closing-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 3px solid var(--accent-warm);
  padding-left: 1.5rem;
}
.value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
}
.value-icon {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 3rem 4rem;
  border-top: 1px solid rgba(247,244,239,0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1100px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--bg);
  display: block;
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.5);
}
.footer-note {
  font-size: 0.8rem;
  color: rgba(247,244,239,0.3);
  text-align: right;
  max-width: 240px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { padding: 4rem 2rem; }
  .hero-visual { display: none; }
  .proof { padding: 2rem; }
  .proof-inner { gap: 1.5rem; }
  .niches { padding: 5rem 2rem; }
  .niche-grid { grid-template-columns: 1fr; }
  .how { padding: 5rem 2rem; }
  .how-steps { grid-template-columns: 1fr; }
  .stats-bg { padding: 4rem 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .closing { padding: 5rem 2rem; }
  .footer { padding: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
  .proof-logos { gap: 1.5rem; }
  .proof-divider { display: none; }
}

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