/* Home page. Warm paper, espresso ink, terracotta accent: the same look as the
   coffee pass app, so the studio and its next product feel like one place.
   The Buy the Dip page keeps its own dark styles.css. */

@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/fraunces-600.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/fraunces-700.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/fraunces-400-italic.woff2') format('woff2'); }

:root {
  --paper: #f7f1e7;
  --paper-2: #efe5d6;
  --card: #fffbf4;
  --ink: #24180f;
  --ink-2: #5d4a3b;
  --ink-3: #786353;
  --line: #e4d7c5;
  --accent: #b9481a;
  --accent-press: #9d3c14;
  --accent-ink: #ffffff;
  --accent-soft: #f7dccb;
  --accent-soft-ink: #74290a;
  --shadow: 0 1px 2px rgba(60, 35, 15, .06), 0 6px 20px rgba(60, 35, 15, .07);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16100b;
    --paper-2: #110c08;
    --card: #211811;
    --ink: #f6ece0;
    --ink-2: #d3c1ae;
    --ink-3: #a99481;
    --line: #382a1f;
    --accent: #ef7a43;
    --accent-press: #f58f5f;
    --accent-ink: #1d0f06;
    --accent-soft: #3c2214;
    --accent-soft-ink: #ffc6a6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
  .stamp.done { filter: brightness(1.55) saturate(1.15); }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; gap: 16px; }
.wordmark {
  font-weight: 800; letter-spacing: 0.12em; font-size: 14px; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.wordmark .c-left { fill: var(--ink-3); }
.wordmark .c-right { fill: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6.2vw, 66px); line-height: 1.04; }
h1 em, h2 em { font-weight: 400; font-style: italic; color: var(--accent); }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.25; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.lede { color: var(--ink-2); font-size: clamp(17px, 2vw, 19px); max-width: 560px; margin-top: 22px; }
.muted { color: var(--ink-2); }

/* ---- Buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 650; font-size: 16px;
  border-radius: 999px; padding: 13px 22px; border: 1.5px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-press); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); }
.text-link { color: var(--accent); font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---- Hero ---- */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-stamps { position: relative; aspect-ratio: 1 / 0.92; max-width: 420px; margin-left: auto; width: 100%; }
.hero-stamps .stamp { position: absolute; width: 46%; filter: drop-shadow(0 6px 14px rgba(60, 30, 10, .12)); }
.hero-stamps .s1 { left: 2%; top: 6%; }
.hero-stamps .s2 { right: 0; top: 0; }
.hero-stamps .s3 { left: 14%; bottom: 0; }
.hero-stamps .s4 { right: 2%; bottom: 6%; width: 36%; color: var(--ink-3); filter: none; }

/* ---- Sections ---- */
section { padding: 88px 0; border-top: 1px solid var(--line); }

/* ---- Coming soon ---- */
.pass { background: var(--paper-2); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-soft-ink);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pass-head { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; list-style: none; counter-reset: step; }
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li::before {
  content: "0" counter(step); display: block; font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 22px; margin-bottom: 12px;
}
.steps p { color: var(--ink-2); font-size: 16px; margin-top: 6px; }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.join-card { border-radius: 18px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.join-card p { margin-top: 8px; font-size: 16px; flex: 1; }
.join-card .btn { margin-top: 22px; }
.join-card.fans { background: var(--ink); color: var(--paper); }
.join-card.fans p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.join-card.shops { background: var(--card); border: 1px solid var(--line); }
.join-card.shops p { color: var(--ink-2); }
.join-card.fans .btn-primary { background: var(--accent); }
@media (prefers-color-scheme: dark) {
  .join-card.fans { background: var(--accent-soft); color: var(--ink); }
  .join-card.fans p { color: var(--ink-2); }
}

/* ---- Other products ---- */
.product {
  display: flex; align-items: center; gap: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px; margin-top: 28px; box-shadow: var(--shadow);
}
.product img { width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0; }
.product .body { flex: 1; min-width: 0; }
.product .meta { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.product p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.product .links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; flex-shrink: 0; }

/* ---- About / contact ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split p { color: var(--ink-2); margin-top: 16px; max-width: 480px; }
.contact-list { list-style: none; margin-top: 18px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { color: var(--ink-2); }
.contact-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--ink-3); font-size: 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero { padding: 32px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stamps { margin: 0 auto; max-width: 340px; }
  section { padding: 68px 0; }
  .steps, .join, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .product { flex-wrap: wrap; align-items: flex-start; gap: 18px; }
  .product img { width: 56px; height: 56px; border-radius: 13px; }
  .product .links { width: 100%; }
}
@media (max-width: 480px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .wordmark { font-size: 12.5px; letter-spacing: 0.1em; gap: 8px; }
  .nav-links .opt { display: none; }
}
@media (max-width: 350px) {
  .wordmark span { display: none; }
}
