:root {
  --black: #090806;
  --panel: #11100d;
  --panel-2: #18150f;
  --gold: #e8b64f;
  --gold-light: #f5cc76;
  --gold-dark: #6b4716;
  --cream: #f4f0e8;
  --muted: #b5ada0;
  --line: rgba(232, 182, 79, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

main {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(160, 99, 23, 0.13), transparent 28%),
    linear-gradient(180deg, #0a0907 0%, #0c0907 100%);
}

.site-header {
  width: 100%;
  min-height: 74px;
  padding: 10px clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 5, 0.93);
  position: relative;
  z-index: 10;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; }
.brand-mark img { width: 90%; height: 90%; object-fit: contain; }
.site-header nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 42px); color: #d8d2ca; font-size: 14px; font-weight: 700; }
.site-header nav a { position: relative; padding: 12px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--gold); transition: right .2s ease; }
.site-header nav a:hover::after, .site-header nav a.active::after { right: 0; }
.header-cta { background: var(--gold); color: #171006; padding: 15px 22px; border-radius: 11px; font-weight: 900; font-size: 14px; }

.ritual-hero {
  min-height: 650px;
  padding: 88px clamp(24px, 5vw, 84px) 64px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 40px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero-glow { position: absolute; width: 680px; height: 680px; border-radius: 50%; right: -80px; top: -80px; background: radial-gradient(circle, rgba(196, 127, 33, .19), transparent 64%); filter: blur(10px); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow { color: var(--gold-light); font-size: 13px; font-weight: 950; letter-spacing: .16em; margin: 0 0 18px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; letter-spacing: .015em; line-height: .91; }
h1 { font-size: clamp(62px, 7vw, 112px); }
h1 span { color: var(--gold-light); }
.hero-description { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; max-width: 620px; margin: 30px 0 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; border-radius: 11px; min-height: 54px; padding: 0 24px; font-weight: 950; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #171006; box-shadow: 0 14px 36px rgba(205, 139, 38, .16); }
.button-primary:hover { background: var(--gold-light); }
.text-link { color: var(--cream); font-weight: 850; border-bottom: 1px solid var(--gold-dark); padding-bottom: 6px; }
.text-link span { color: var(--gold); margin-left: 8px; }

.hero-machine { position: relative; min-height: 520px; display: grid; place-items: center; z-index: 1; }
.hero-machine .halo { position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(232, 182, 79, .22); box-shadow: inset 0 0 120px rgba(171, 104, 20, .13), 0 0 80px rgba(171, 104, 20, .08); }
.hero-machine img { width: min(590px, 100%); max-height: 570px; object-fit: contain; filter: drop-shadow(0 32px 32px rgba(0,0,0,.55)); position: relative; z-index: 2; }
.hero-stamp { position: absolute; right: 4%; bottom: 9%; z-index: 3; width: 108px; height: 108px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--gold-light); font-size: 12px; font-weight: 950; letter-spacing: .14em; transform: rotate(-8deg); background: rgba(10,9,7,.74); }

.trust-strip { padding: 0 clamp(24px, 5vw, 84px); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip div { min-height: 126px; padding: 28px clamp(18px, 3vw, 42px); display: flex; align-items: center; gap: 20px; border-right: 1px solid var(--line); }
.trust-strip div:first-child { border-left: 1px solid var(--line); }
.trust-strip strong { color: var(--gold); font-family: Georgia, serif; font-size: 34px; }
.trust-strip span { color: var(--muted); font-size: 14px; line-height: 1.45; font-weight: 700; }

.products-section { padding: 108px clamp(24px, 5vw, 84px); max-width: 1500px; margin: auto; }
.section-heading { display: grid; grid-template-columns: 1.05fr .7fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2, .coffee-copy h2 { font-size: clamp(50px, 5vw, 84px); }
.section-heading > p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card { background: linear-gradient(145deg, rgba(30,27,21,.9), rgba(15,14,11,.96)); border: 1px solid rgba(255,255,255,.09); border-radius: 24px; overflow: hidden; position: relative; display: grid; grid-template-rows: 430px auto; min-height: 790px; }
.product-card.featured { border-color: rgba(232, 182, 79, .45); }
.product-number { position: absolute; right: 22px; top: 14px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 116px; font-weight: 900; line-height: 1; z-index: 0; }
.product-visual { position: relative; display: grid; place-items: center; padding: 48px 42px 16px; background: radial-gradient(circle at center, rgba(180,112,26,.16), transparent 60%); }
.product-visual::after { content: ""; position: absolute; bottom: 30px; width: 58%; height: 28px; background: rgba(0,0,0,.55); filter: blur(20px); border-radius: 50%; }
.product-visual img { width: 82%; height: 360px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 24px 22px rgba(0,0,0,.4)); }
.product-badge { position: absolute; left: 24px; top: 24px; z-index: 3; border: 1px solid var(--gold-dark); color: var(--gold-light); background: rgba(9,8,6,.82); border-radius: 999px; padding: 10px 14px; font-size: 10px; font-weight: 950; letter-spacing: .13em; }
.product-content { padding: 34px 38px 40px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: flex-start; }
.product-eyebrow { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .12em; margin: 0 0 12px; }
.product-content h3 { font-size: clamp(30px, 3vw, 46px); line-height: 1.06; }
.product-description { color: var(--muted); line-height: 1.65; font-size: 15px; margin: 18px 0 20px; }
.product-content ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-content li { color: #ded8cd; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 750; }
.product-content li::before { content: "✓"; color: var(--gold); margin-right: 6px; }
.button-product { margin-top: auto; background: transparent; border: 1px solid var(--gold); color: var(--gold-light); width: 100%; }
.button-product:hover { background: var(--gold); color: #171006; }

.coffee-cta { margin: 0 clamp(24px, 5vw, 84px) 90px; padding: 36px clamp(28px, 4vw, 58px); border-radius: 26px; background: linear-gradient(110deg, #7f2917, #d63a1f); display: grid; grid-template-columns: 180px 1fr auto; gap: 40px; align-items: center; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.coffee-image { height: 230px; display: grid; place-items: center; overflow: visible; }
.coffee-image img { display: block; width: auto; height: 220px; max-width: 100%; object-fit: contain; transform: none; }
.coffee-copy .eyebrow { color: #ffd993; margin-bottom: 10px; }
.coffee-copy h2 { max-width: 880px; font-size: clamp(38px, 4vw, 62px); }
.coffee-copy p:last-child { margin: 14px 0 0; color: rgba(255,255,255,.82); line-height: 1.6; }
.button-light { background: #fff; color: #8f2415; white-space: nowrap; }

footer { min-height: 150px; padding: 34px clamp(24px, 5vw, 84px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.footer-brand { color: var(--cream); }
footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .ritual-hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-machine { min-height: 440px; }
  .hero-machine img { max-height: 470px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .product-card { grid-template-rows: 360px auto; }
  .product-visual img { height: 300px; }
  .coffee-cta { grid-template-columns: 130px 1fr; }
  .coffee-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header { padding: 10px 18px; min-height: 68px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 42px; height: 42px; }
  .header-cta { padding: 12px 14px; font-size: 12px; }
  .ritual-hero { min-height: auto; padding: 58px 20px 30px; gap: 12px; }
  h1 { font-size: clamp(54px, 16vw, 76px); }
  .hero-machine { min-height: 370px; }
  .hero-machine .halo { width: 330px; height: 330px; }
  .hero-stamp { width: 88px; height: 88px; right: 0; }
  .trust-strip { padding: 0 20px; grid-template-columns: 1fr; }
  .trust-strip div, .trust-strip div:first-child { min-height: 94px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .products-section { padding: 78px 20px; }
  .product-list { grid-template-columns: 1fr; }
  .product-card { min-height: auto; grid-template-rows: 330px auto; }
  .product-content { padding: 28px 24px 30px; }
  .product-visual { padding-inline: 22px; }
  .product-visual img { width: 94%; height: 280px; }
  .coffee-cta { margin: 0 20px 64px; padding: 28px 24px; grid-template-columns: 1fr; text-align: left; }
  .coffee-image { height: 240px; }
  .coffee-image img { height: 230px; }
  .coffee-cta .button { grid-column: auto; }
  footer { flex-direction: column; align-items: flex-start; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
