:root {
  --paper: #f4efe8;
  --paper-deep: #e8ddd0;
  --ink: #473d36;
  --ink-soft: #75665c;
  --accent: #b99473;
  --green: #7f8b72;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 48px 24px 70px;
  background:
    radial-gradient(circle at 72% 35%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(135deg, #f8f4ef 0%, var(--paper) 48%, var(--paper-deep) 100%);
}

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

.content {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  text-align: center;
  transform: translateY(-2vh);
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.brand-logo {
  display: block;
  width: clamp(100px, 14vw, 150px);
  height: auto;
  object-fit: contain;
  filter: opacity(.88);
}

.eyebrow {
  margin: 0 0 9px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.045em;
}

.separator {
  width: min(230px, 55vw);
  margin: 31px auto 23px;
  display: grid;
  grid-template-columns: 1fr 7px 1fr;
  gap: 12px;
  align-items: center;
}
.separator span { height: 1px; background: rgba(71,61,54,.35); }
.separator i { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--accent); }

.tagline {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: .025em;
}

.subline {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: clamp(.82rem, 1.7vw, .98rem);
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--ink-soft);
}

.candle {
  position: absolute;
  right: clamp(-62px, 5vw, 100px);
  bottom: -35px;
  width: 260px;
  height: 310px;
  opacity: .55;
  z-index: 1;
  filter: blur(.05px);
}
.glass {
  position: absolute;
  left: 55px; bottom: 28px;
  width: 150px; height: 160px;
  border: 1px solid rgba(71,61,54,.26);
  border-radius: 14px 14px 22px 22px;
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(167,134,107,.09));
  box-shadow: inset 12px 0 18px rgba(255,255,255,.24), inset -10px 0 16px rgba(87,68,54,.08);
}
.glass span {
  position: absolute; inset: 61px 20px auto;
  font-family: "Cormorant Garamond", serif;
  text-align: center; font-size: 22px;
  border-top: 1px solid rgba(71,61,54,.25);
  border-bottom: 1px solid rgba(71,61,54,.25);
  padding: 7px 0;
}
.wax {
  position: absolute;
  left: 59px; bottom: 170px;
  width: 142px; height: 20px;
  border-radius: 50%;
  background: #efe4d4;
  border: 1px solid rgba(71,61,54,.12);
}
.wick {
  position: absolute;
  width: 2px; height: 30px;
  left: 129px; bottom: 187px;
  background: #5f4a3d;
}
.flame {
  position: absolute;
  left: 120px; bottom: 215px;
  width: 20px; height: 34px;
  border-radius: 58% 42% 60% 40% / 70% 45% 55% 30%;
  background: radial-gradient(circle at 50% 70%, #f3d6a1 0 25%, #b98757 55%, transparent 58%);
  transform: rotate(8deg);
  animation: flicker 3.4s ease-in-out infinite;
}
.shadow {
  position: absolute; left: 40px; bottom: 2px;
  width: 185px; height: 28px;
  border-radius: 50%;
  background: rgba(71,61,54,.10);
  filter: blur(10px);
}

.leaf {
  position: absolute;
  width: 270px; height: 110px;
  border-radius: 100% 0 100% 0;
  background: rgba(127,139,114,.14);
  z-index: 0;
}
.leaf::after {
  content: "";
  position: absolute;
  left: 15%; top: 49%; width: 72%; height: 1px;
  background: rgba(88,101,76,.25);
  transform: rotate(-11deg);
}
.leaf-a { left: -110px; top: 12%; transform: rotate(34deg); }
.leaf-b { left: -135px; bottom: 10%; transform: rotate(-18deg) scale(.78); }

footer {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  z-index: 4;
  text-align: center;
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(71,61,54,.58);
}

@keyframes flicker {
  0%,100% { transform: rotate(7deg) scale(1); }
  50% { transform: rotate(-3deg) scale(.94, 1.05); }
}

@media (max-width: 780px) {
  .hero { padding-top: 34px; }
  .content { transform: translateY(-5vh); }
  .candle { right: -92px; bottom: -56px; transform: scale(.76); }
  .leaf-a { left: -170px; }
}

@media (prefers-reduced-motion: reduce) {
  .flame { animation: none; }
}
