:root {
  --bg: #140f0b;
  --panel: #211712;
  --panel-soft: #2c1f18;
  --coffee: #7b4a2f;
  --cream: #ffe8c7;
  --foam: #fff6e7;
  --caramel: #d49a5b;
  --muted: #c8aa89;
  --line: rgba(255, 232, 199, .14);
  --shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--foam);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 154, 91, .22), transparent 34rem),
    radial-gradient(circle at 84% 22%, rgba(123, 74, 47, .38), transparent 32rem),
    linear-gradient(135deg, #100b08, #1c120d 55%, #0f0a07);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 232, 199, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}

.site-header {
  width: min(1120px, calc(100% - 28px));
  margin: 16px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 10;
  background: rgba(33, 23, 18, .78);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foam);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.3px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 15px;
  font-size: 1.45rem;
}

nav a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
  transition: color .18s ease;
}

nav a:hover { color: var(--cream); }

.hero {
  width: min(1120px, calc(100% - 28px));
  margin: 34px auto 0;
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
    repeating-linear-gradient(-18deg, rgba(255,232,199,.045) 0 1px, transparent 1px 64px),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero::after {
  content: 'coffee coffee coffee coffee coffee coffee coffee coffee';
  position: absolute;
  right: -60px;
  bottom: -24px;
  color: rgba(255, 232, 199, .06);
  font-size: clamp(3.2rem, 11vw, 8rem);
  font-weight: 950;
  white-space: nowrap;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  color: #2b170d;
  background: var(--caramel);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .96;
  letter-spacing: -2.5px;
  font-weight: 950;
}

.hero p, .ritual p { max-width: 630px; color: var(--muted); font-size: 1.06rem; }

.button {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 24px;
  color: #2a160c;
  background: linear-gradient(135deg, var(--cream), var(--caramel));
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(212,154,91,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(212,154,91,.3); }

.hero-cup {
  min-height: 310px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.cup {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle at 35% 25%, #fff, var(--cream) 45%, #d49a5b 46%, #7b4a2f 72%);
  border-radius: 50%;
  font-size: 5.2rem;
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.22), 0 28px 60px rgba(0,0,0,.34);
  animation: cupFloat 3.4s ease-in-out infinite;
}

.saucer {
  position: absolute;
  bottom: 28px;
  width: 260px;
  height: 38px;
  background: rgba(255,232,199,.12);
  border: 1px solid var(--line);
  border-radius: 50%;
  filter: blur(.2px);
}

.steam {
  position: absolute;
  top: 28px;
  width: 16px;
  height: 86px;
  border-radius: 50%;
  border-left: 3px solid rgba(255,232,199,.38);
  animation: steam 2.8s ease-in-out infinite;
}

.steam-one { left: 38%; }
.steam-two { left: 49%; animation-delay: .45s; }
.steam-three { left: 60%; animation-delay: .9s; }

@keyframes cupFloat { 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes steam {
  0%, 100% { opacity: .18; transform: translateY(10px); }
  50% { opacity: .75; transform: translateY(-10px); }
}

.section, .ritual {
  width: min(1120px, calc(100% - 28px));
  margin: 72px auto 0;
}

.section h2, .ritual h2 {
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -1px;
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mode-card {
  padding: 24px;
  min-height: 230px;
  background: rgba(33,23,18,.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
  transition: transform .18s ease, border-color .18s ease;
}

.mode-card:hover { transform: translateY(-6px); border-color: rgba(255,232,199,.32); }
.mode-card span { font-size: 2.4rem; }
.mode-card h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.mode-card p { color: var(--muted); }

.ritual {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: rgba(33,23,18,.72);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.ritual ul { list-style: none; display: grid; gap: 12px; }
.ritual li {
  padding: 14px 16px;
  color: var(--cream);
  background: rgba(255,232,199,.07);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 800;
}

footer {
  width: min(1120px, calc(100% - 28px));
  margin: 68px auto 22px;
  padding: 22px;
  color: var(--muted);
  text-align: center;
  background: rgba(33,23,18,.72);
  border: 1px solid var(--line);
  border-radius: 24px;
}

@media (max-width: 780px) {
  .site-header { flex-direction: column; gap: 10px; top: 8px; }
  nav a { margin: 0 8px; font-size: .92rem; }
  .hero, .ritual { grid-template-columns: 1fr; }
  .hero-cup { min-height: 240px; }
  .cup { width: 170px; height: 170px; }
  .modes { grid-template-columns: 1fr; }
}
