/* Coffeethio — shared site styles */

:root {
  --bg: #faf6f0;
  --bg-dark: #2a1a12;
  --brown-900: #2a1a12;
  --brown-800: #3d2417;
  --brown-600: #6b4226;
  --brown-400: #a67c52;
  --cream: #f3ead9;
  --accent: #c0562b;      /* terracotta - roasted bean */
  --accent-dark: #9c421f;
  --gold: #c9a15a;
  --text: #2a1a12;
  --text-muted: #6b5c4f;
  --border: #e2d5c2;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--brown-900);
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark {
  background: var(--brown-900);
  color: #fff;
}
.btn-dark:hover { background: var(--brown-800); }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brown-900);
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }
nav.links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav.links a.active,
nav.links a:hover { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 760px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--brown-900) 0%, var(--brown-800) 55%, var(--accent-dark) 130%);
  color: var(--cream);
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,161,90,0.25), transparent 60%);
}
.hero .wrap { position: relative; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 18px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p.lead {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.9;
}
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 90px 0; }
section.alt { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--text-muted); }

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.stat { text-align: center; padding: 30px 16px; border: 1px solid var(--border); background: #fff; }
.stat .num { font-family: Georgia, serif; font-size: 2.4rem; color: var(--accent); font-weight: 700; }
.stat .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* Ceremony rounds */
.rounds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.round-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 34px 28px;
  text-align: center;
}
.round-card .glyph {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}
.round-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.round-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .rounds { grid-template-columns: 1fr; } }

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card-art {
  height: 190px;
  background: linear-gradient(135deg, var(--brown-600), var(--brown-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.2rem; }
.card-body .region { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.card-body p.desc { color: var(--text-muted); font-size: 0.92rem; margin: 0; flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
}
.price { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--brown-900); }
.price small { font-size: 0.7rem; color: var(--text-muted); font-family: Arial, sans-serif; font-weight: 400; }

/* Roast selector */
.roast-field { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.roast-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.roast-select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  border-radius: 2px;
  color: var(--text);
}

/* Story / two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col .art-block {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--accent), var(--brown-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 16px; margin-bottom: 26px; }
.info-row .ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700;
}
.info-row h4 { margin: 0 0 4px; font-size: 1rem; }
.info-row p, .info-row a { margin: 0; color: var(--text-muted); text-decoration: none; }
.info-row a:hover { color: var(--accent); }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
form.contact-form input, form.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form label { font-size: 0.85rem; font-weight: 600; margin-bottom: -8px; }

.note-box {
  background: var(--cream);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* Footer */
footer.site-footer {
  background: var(--brown-900);
  color: var(--cream);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--cream); opacity: 0.85; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  opacity: 0.7;
}
.social-row { display: flex; gap: 14px; margin-top: 4px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; text-decoration: none; color: var(--cream);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); }
