/* ─────────────────────────────────────────────
   Rasaa — The Taste of India · Coming Soon
   ───────────────────────────────────────────── */

:root {
  --espresso: #2C1B14;
  --matte-black: #1A1A1A;
  --mocha: #4A2C24;
  --gold: #C6A75E;
  --gold-light: #E8C987;
  --copper: #B87333;
  --terracotta: #8C6239;
  --cream: #F2E6D0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Cinzel Decorative', serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--cream);
  background: var(--matte-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fixed backdrop layer — avoids background-attachment:fixed (broken on mobile Safari) */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, #3a241a 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 110%, #241510 0%, transparent 60%),
    linear-gradient(180deg, var(--matte-black) 0%, var(--espresso) 50%, var(--matte-black) 100%);
}

::selection { background: var(--gold); color: var(--espresso); }

/* ── Film grain ── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 50;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ── Floating beans ── */
.beans { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.bean {
  position: absolute; display: block;
  width: 14px; height: 20px;
  background: radial-gradient(ellipse at 35% 30%, var(--terracotta), var(--mocha) 70%);
  border-radius: 50% / 60%;
  opacity: .18;
  animation: bean-float linear infinite;
}
.bean::after {
  content: ''; position: absolute; left: 50%; top: 8%;
  width: 1.5px; height: 84%;
  background: var(--matte-black);
  border-radius: 2px;
  transform: translateX(-50%) rotate(6deg);
}
.b1 { left: 8%;  animation-duration: 26s; animation-delay: 0s;   transform: scale(.8) rotate(20deg); }
.b2 { left: 22%; animation-duration: 34s; animation-delay: -8s;  transform: scale(1.1) rotate(-15deg); }
.b3 { left: 47%; animation-duration: 29s; animation-delay: -18s; transform: scale(.6) rotate(40deg); }
.b4 { left: 68%; animation-duration: 38s; animation-delay: -4s;  transform: scale(.9) rotate(-30deg); }
.b5 { left: 84%; animation-duration: 31s; animation-delay: -14s; transform: scale(.7) rotate(10deg); }
.b6 { left: 93%; animation-duration: 27s; animation-delay: -22s; transform: scale(1) rotate(-50deg); }
@keyframes bean-float {
  from { top: 110%; }
  to   { top: -8%; }
}

/* ── Shared bits ── */
.kicker {
  font-family: var(--sans); font-weight: 400;
  font-size: .78rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1rem;
}
.script {
  font-family: var(--script); font-weight: 400;
  color: var(--gold-light); font-size: 1.25em;
}
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem; margin: 1.6rem auto;
}
.divider .line {
  width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider .line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.divider .diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(198,167,94,.8);
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  z-index: 2;
}

.mandala-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  color: var(--gold);
  opacity: .14;
}
.mandala-svg { width: min(88vmin, 680px); height: auto; }
.mandala-spin-slow { animation: spin 140s linear infinite; }
.mandala-spin-rev  { animation: spin 100s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; max-width: 720px; }

.logo-hero { margin: 0 auto; }
.logo-hero img {
  width: clamp(260px, 48vw, 430px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(198,167,94,.3));
  animation: logo-glow 6s ease-in-out infinite;
}
@keyframes logo-glow {
  0%,100% { filter: drop-shadow(0 0 22px rgba(198,167,94,.22)); }
  50% { filter: drop-shadow(0 0 44px rgba(198,167,94,.42)); }
}

.tagline {
  font-family: var(--script);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  color: var(--gold-light);
  margin-top: .4rem;
  opacity: .95;
}

.hero-message {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--cream);
}
.hero-message em { color: var(--gold); }

.coming-soon-label {
  margin-top: 1.7rem;
  font-size: .8rem; font-weight: 400;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--copper);
  animation: pulse-soft 3.2s ease-in-out infinite;
}
@keyframes pulse-soft { 0%,100% { opacity: .65; } 50% { opacity: 1; } }

/* ── Countdown ── */
.countdown {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(.6rem, 2.5vw, 1.4rem);
  margin: 2rem auto 2.4rem;
}
.cd-cell {
  display: flex; flex-direction: column; align-items: center;
  min-width: clamp(58px, 9vw, 84px);
  padding: .9rem .4rem .7rem;
  border: 1px solid rgba(198,167,94,.25);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(198,167,94,.07), rgba(26,26,26,.4));
  backdrop-filter: blur(4px);
}
.cd-num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 600;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-label {
  margin-top: .45rem;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(242,230,208,.55);
}
.cd-sep {
  font-family: var(--serif);
  font-size: 1.8rem; color: var(--gold);
  padding-top: .9rem; opacity: .5;
}

/* ── Notify form ── */
.notify {
  display: flex; max-width: 440px; margin: 0 auto;
  border: 1px solid rgba(198,167,94,.4);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(26,26,26,.55);
  backdrop-filter: blur(6px);
  transition: border-color .4s, box-shadow .4s;
}
.notify:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 26px rgba(198,167,94,.18);
}
.notify input {
  flex: 1; min-width: 0;
  padding: .95rem 1.2rem;
  background: transparent; border: 0; outline: 0;
  font-family: var(--sans); font-weight: 300; font-size: .95rem;
  color: var(--cream);
}
.notify input::placeholder { color: rgba(242,230,208,.4); letter-spacing: .04em; }
.notify button {
  position: relative;
  padding: 0 1.7rem;
  border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: .8rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--espresso);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--copper));
  transition: filter .3s;
}
.notify button:hover { filter: brightness(1.12); }
.notify-success {
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--gold-light);
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s, transform .6s;
}
.notify-success.show { opacity: 1; transform: translateY(0); }

/* ── Scroll cue ── */
.scroll-cue {
  display: inline-block; margin-top: 2.6rem;
  animation: bob 2.6s ease-in-out infinite;
}
.scroll-cue .cup { display: block; width: 44px; }
.scroll-cue svg { width: 100%; }
.steam { opacity: 0; }
.s1 { animation: steam-rise 2.4s ease-in-out infinite; }
.s2 { animation: steam-rise 2.4s ease-in-out infinite 1.2s; }
@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(3px); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ─────────────────────────────────────────────
   MARQUEE
   ───────────────────────────────────────────── */
.marquee {
  position: relative; z-index: 2;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(198,167,94,.18);
  border-bottom: 1px solid rgba(198,167,94,.18);
  background: rgba(26,26,26,.5);
}
.marquee-track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(232,201,135,.75);
  white-space: nowrap;
}
.marquee-track i { color: var(--copper); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────────────────────────────────────────
   BLENDS
   ───────────────────────────────────────────── */
.blends {
  position: relative; z-index: 2;
  padding: 6.5rem 1.5rem 5rem;
  max-width: 1240px; margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.1rem);
  color: var(--cream);
}
.section-sub {
  margin-top: .9rem;
  font-size: .95rem; color: rgba(242,230,208,.55);
  letter-spacing: .06em;
}

.blend-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.blend-card {
  position: relative;
  padding: 1.1rem 1.1rem 1.6rem;
  border: 1px solid rgba(198,167,94,.18);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(74,44,36,.25), rgba(26,26,26,.55));
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s, border-color .5s;
}
.blend-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px -18px var(--glow), 0 0 0 1px var(--accent) inset;
}
.blend-card .frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
}
.blend-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .65s ease, transform .9s ease;
}
.blend-card .img-box { opacity: 0; transform: scale(1.06); }
.blend-card:hover .img-box { opacity: 1; transform: scale(1); }
.blend-card:hover .img-sachet { opacity: 0; }
.blend-card h3 {
  margin-top: 1.3rem;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.35rem; letter-spacing: .04em;
  color: var(--gold-light);
}
.blend-card .mood {
  margin-top: .4rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(242,230,208,.5);
}

.combo-line {
  margin-top: 3.2rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--cream);
}

/* ─────────────────────────────────────────────
   STORY
   ───────────────────────────────────────────── */
.story {
  position: relative; z-index: 2;
  padding: 6rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(74,44,36,.35), transparent 75%);
  text-align: center;
}
.story-inner { max-width: 880px; margin: 0 auto; }
.story h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.3;
  color: var(--cream);
}
.story-text {
  margin: 1.8rem auto 0;
  max-width: 640px;
  font-size: 1rem; line-height: 1.9;
  color: rgba(242,230,208,.7);
}

.regions {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.4rem;
  text-align: left;
}
.region {
  padding: 1.4rem 1.3rem;
  border-left: 1px solid rgba(198,167,94,.35);
  transition: border-color .4s, background .4s;
}
.region:hover {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(198,167,94,.07), transparent);
}
.region-num {
  font-family: var(--serif); font-style: italic;
  font-size: .85rem; color: var(--copper);
}
.region h4 {
  margin-top: .5rem;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.15rem; color: var(--gold-light);
  letter-spacing: .03em;
}
.region p {
  margin-top: .45rem;
  font-size: .85rem; line-height: 1.6;
  color: rgba(242,230,208,.55);
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  position: relative; z-index: 2;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.footer-mark {
  font-family: var(--display); font-weight: 400;
  font-size: 1.9rem; letter-spacing: .08em;
  color: var(--gold);
}
.footer-tag {
  margin-top: .4rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: rgba(242,230,208,.6);
}
.socials {
  margin-top: 1.6rem;
  display: flex; justify-content: center; gap: 1.1rem;
}
.socials a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(198,167,94,.35);
  border-radius: 50%;
  color: var(--gold);
  transition: all .35s;
}
.socials a:hover {
  background: var(--gold); color: var(--espresso);
  box-shadow: 0 0 24px rgba(198,167,94,.45);
  transform: translateY(-3px);
}
.socials svg { width: 18px; height: 18px; }
.copyright {
  margin-top: 2rem;
  font-size: .72rem; letter-spacing: .12em;
  color: rgba(242,230,208,.35);
}

/* ── Motion preferences & small screens ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .cd-sep { display: none; }
  .countdown { gap: .5rem; }
  .notify { flex-direction: column; }
  .notify button { padding: .9rem; }
  .blend-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
}
