/* ═══════════════════════════════════════
   BREWSDAY — THEME
   ═══════════════════════════════════════ */

:root {
  --bg: #1A0F0A;
  --bg-2: #231510;
  --bg-3: #2D1A12;
  --surface: #2A1A10;
  --cream: #F5EDE4;
  --cream-muted: #D4C4B5;
  --copper: #C8853A;
  --copper-light: #E8A85A;
  --amber: #F2C572;
  --text-primary: #F5EDE4;
  --text-secondary: #B89F8A;
  --text-muted: #7A6455;
  --border: rgba(200, 133, 58, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 5vw;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, #2D1A12 0%, var(--bg) 70%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-rings {
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  z-index: 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 133, 58, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 100%; height: 100%; border-color: rgba(200, 133, 58, 0.08); }
.ring-2 { width: 72%; height: 72%; border-color: rgba(200, 133, 58, 0.12); }
.ring-3 { width: 44%; height: 44%; border-color: rgba(200, 133, 58, 0.18); background: radial-gradient(circle, rgba(200,133,58,0.05) 0%, transparent 70%); }

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--copper);
  font-weight: 700;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 440px;
}

/* ── HERO CTA ── */

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--cream);
  border-color: var(--text-muted);
}

/* ── COFFEE CARD ── */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coffee-card {
  width: 280px;
  background: linear-gradient(135deg, #2A1A10 0%, #1E1208 100%);
  border: 1px solid rgba(200, 133, 58, 0.2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(200,133,58,0.06);
}

.card-origin {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.card-process {
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.card-notes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.card-notes span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(200,133,58,0.12);
  color: var(--copper-light);
  border: 1px solid rgba(200,133,58,0.2);
}

.card-tip {
  background: rgba(200,133,58,0.06);
  border: 1px solid rgba(200,133,58,0.15);
  border-radius: 12px;
  padding: 14px;
}

.tip-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
  font-weight: 500;
}

.tip-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}

/* ── PHILOSOPHY ── */

.philosophy {
  padding: 100px 5vw;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 40px;
}

.philosophy-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 48px;
  padding-left: 32px;
  border-left: 2px solid var(--copper);
}

.philosophy-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 48px;
}

.philosophy-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ── FEATURES ── */

.features {
  padding: 100px 5vw 120px;
  background: var(--bg);
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  color: var(--cream);
  margin-top: 16px;
  letter-spacing: -0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  padding: 48px;
  background: var(--surface);
  transition: background 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.feature-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── ORIGINS ── */

.origins {
  padding: 100px 5vw 120px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.origins-header {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.origins-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--cream);
  margin-top: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.origins-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.origins-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.origin-item {
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 160px 1fr;
  gap: 24px;
  align-items: center;
  transition: background 0.2s;
}

.origin-item:last-child { border-bottom: none; }

.origin-item:hover {
  background: rgba(200,133,58,0.04);
}

.origin-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

.origin-location {
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.05em;
}

.origin-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── CLOSING ── */

.closing {
  padding: 120px 5vw;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

.cr {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cr-1 {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(200,133,58,0.06);
}

.cr-2 {
  width: 65%;
  height: 65%;
  border: 1px solid rgba(200,133,58,0.09);
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 56px;
}

.closing-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sig-from {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--copper);
}

.sig-tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── FOOTER ── */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 5vw 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--cream);
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .origin-item {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .origin-note {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 6vw;
  }

  .hero-headline {
    font-size: 48px;
  }

  .philosophy-quote {
    font-size: 22px;
    padding-left: 20px;
  }

  .feature-card {
    padding: 32px;
  }

  .origin-item {
    padding: 20px 24px;
    grid-template-columns: 1fr;
  }

  .origin-location {
    order: -1;
    margin-bottom: 4px;
  }
}