:root {
  --peacock: #0F4C4A;
  --peacock-deep: #0A3533;
  --marigold: #E8A33D;
  --sandal: #F4C7A1;
  --turmeric: #FDF1DE;
  --mist: #F3F5F4;
  --ink: #1F2A2A;
  --muted: #4A5656;
  --on-dark-muted: #CFE0DE;
  --radius-card: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: 'Mukta', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Baloo 2', system-ui, sans-serif; line-height: 1.05; margin: 0; }
p { margin: 0; }
.ta { font-family: 'Baloo Thambi 2', 'Baloo 2', sans-serif; }
/* Two-tone focus ring: visible on peacock, white and marigold alike. */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--peacock-deep);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--peacock);
  color: #FFFFFF;
  padding: 20px clamp(16px, 5vw, 72px) clamp(56px, 8vw, 110px);
}
.glow {
  position: absolute;
  inset: auto;
  left: 8%;
  top: 22%;
  width: min(760px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,0.38) 0%, rgba(232,163,61,0.12) 38%, rgba(232,163,61,0) 68%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
.glow.small { left: 50%; top: -40%; transform: translateX(-50%); width: min(620px, 140vw); }
@keyframes breathe { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 28px; }
.nav-cta { color: var(--sandal); font-weight: 600; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav-cta:hover { color: #FFFFFF; }

.hero-grid {
  position: relative;
  max-width: 1180px;
  margin: clamp(40px, 7vw, 88px) auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.mark { width: 92px; height: 92px; filter: drop-shadow(0 0 18px rgba(232,163,61,0.55)); }
.hero h1 { font-weight: 800; font-size: clamp(52px, 8.5vw, 104px); letter-spacing: -1.5px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-dark-muted); max-width: 34em; }

.clocks { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.clock { display: flex; flex-direction: column; }
.clock-time { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.clock-label { font-size: 14px; color: var(--sandal); }
.clock-link { width: 60px; height: 20px; }

.cta, .join button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 27px; border: none;
  background: var(--marigold); color: var(--peacock-deep);
  font: 600 18px 'Mukta', sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(232,163,61,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover, .join button:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(232,163,61,0.5); }

/* Voice card */
.hero-card-wrap { flex: 1 1 340px; display: flex; justify-content: center; perspective: 900px; }
.voice-card {
  position: relative;
  width: min(380px, 100%);
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.4) inset;
}
.vc-head { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sandal); color: var(--peacock); font-weight: 600; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.vc-name { font-weight: 600; font-size: 18px; }
.vc-meta { font-size: 14px; color: var(--muted); }
.play {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--marigold); display: flex; align-items: center; justify-content: center;
  animation: arrive 2s ease-out 1.6s 3;
}
.play .icon-pause { display: none; }
.play[aria-pressed="true"] .icon-play { display: none; }
.play[aria-pressed="true"] .icon-pause { display: inline; }
@keyframes arrive { 0% { box-shadow: 0 0 0 0 rgba(232,163,61,.6); } 100% { box-shadow: 0 0 0 18px rgba(232,163,61,0); } }
.wave { display: flex; align-items: center; gap: 4px; height: 58px; }
.wave i { display: block; width: 4px; height: calc(var(--h) * 1.4px); border-radius: 2px; background: #B9C4C2; transition: background .2s; }
.wave i.on { background: var(--peacock); }
.playing .wave i { animation: talk .9s ease-in-out infinite; }
.playing .wave i:nth-child(3n) { animation-delay: .15s; }
.playing .wave i:nth-child(4n) { animation-delay: .3s; }
@keyframes talk { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1.1); } }
.vc-time { grid-column: 2; font-size: 14px; color: var(--muted); margin-top: -10px; font-variant-numeric: tabular-nums; }
.transcript {
  grid-column: 1 / -1; font-size: 17px; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s ease, opacity .6s ease;
}
.transcript .ta { display: block; font-weight: 700; color: var(--peacock); font-size: 19px; }
.voice-card.heard .transcript { max-height: 220px; opacity: 1; }
.tap-hint { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.voice-card.heard .tap-hint { display: none; }

/* Shine that follows the pointer */
.tilt { position: relative; transform-style: preserve-3d; transition: transform .25s ease; will-change: transform; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.28), rgba(255,255,255,0) 40%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity .3s;
}
.tilt:hover::after, .tilt.touching::after { opacity: 1; }

/* Sections */
main section { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 72px); }
main section > h2, .section-lede { max-width: 1180px; margin-left: auto; margin-right: auto; }
main h2 { font-weight: 800; font-size: clamp(34px, 4.5vw, 54px); color: var(--peacock); }
.section-lede { margin-top: 16px; color: var(--muted); max-width: 40em; font-size: 19px; }

.timeline {
  list-style: none; padding: 0; max-width: 1180px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.timeline li { background: #FFFFFF; border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.timeline li:nth-child(2) { background: var(--turmeric); }
.t-when { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; color: var(--marigold); }
.timeline li:nth-child(2) .t-when { color: #9A5B0F; }
.timeline h3 { font-size: 26px; color: var(--ink); }
.timeline p:last-child { color: var(--muted); }

.keep {
  background: #FFFFFF;
  display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); align-items: center; justify-content: center;
}
.keep-copy { flex: 1 1 420px; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.keep-copy p { color: var(--muted); font-size: 19px; }
.recipe {
  flex: 0 1 360px; background: var(--peacock); color: #FFFFFF; border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px rgba(15,76,74,0.3);
}
.r-tag { font-size: 14px; color: var(--sandal); }
.recipe h3 { font-size: 34px; }
.r-ta { color: var(--sandal); font-size: 20px; font-weight: 600; }
.r-voice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--peacock-deep); font-size: 15px; }
.r-voice .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 12px var(--marigold); }
.recipe ul { margin: 4px 0 0; padding-left: 20px; color: var(--on-dark-muted); font-size: 16px; }

.homes .map { position: relative; max-width: 720px; height: 260px; margin: 48px auto 0; }
.map svg { position: absolute; inset: 20px 40px; width: calc(100% - 80px); height: calc(100% - 40px); }
.home {
  position: absolute; z-index: 1; background: #FFFFFF; border-radius: 16px; padding: 10px 16px;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.15; text-align: center;
  box-shadow: 0 8px 24px rgba(15,76,74,0.12);
}
.home small { font-family: 'Mukta', sans-serif; font-weight: 400; font-size: 13px; color: var(--muted); }
.h-you { left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--peacock); color: #FFFFFF; }
.h-you small { color: var(--sandal); }
.h-erode { left: 0; top: 0; }
.h-hyd { right: 0; top: 0; }
.h-sea { right: 0; bottom: 0; }
.promises { list-style: none; padding: 0; max-width: 1180px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.promises li { padding: 18px 20px; border-radius: 16px; background: #FFFFFF; border-left: 0; font-size: 17px; }

.join { position: relative; overflow: hidden; background: var(--peacock-deep); color: #FFFFFF; text-align: center; }
.join h2 { color: #FFFFFF; position: relative; }
.join > p { position: relative; max-width: 36em; margin: 16px auto 0; color: var(--on-dark-muted); font-size: 19px; }
#waitlist { position: relative; max-width: 560px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
#waitlist > label[for="email"] { font-weight: 600; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
.field input { flex: 1 1 240px; min-height: 54px; border-radius: 27px; border: none; padding: 0 22px; font: 400 18px 'Mukta', sans-serif; color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark-muted); }
.check input { width: 20px; height: 20px; accent-color: var(--marigold); }
.form-msg { min-height: 1.5em; font-weight: 600; color: var(--sandal); }
.fine { font-size: 14px; color: var(--on-dark-muted); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(16px, 5vw, 72px); background: var(--peacock-deep); color: var(--on-dark-muted); font-size: 14px; border-top: 1px solid rgba(255,255,255,0.08); }

/* The one signature moment: two roof halves meet, the lamp comes on, the words rise */
.roof-l { animation: roofL 1s cubic-bezier(.2,.8,.2,1) both; }
.roof-r { animation: roofR 1s cubic-bezier(.2,.8,.2,1) both; }
.lamp { transform-box: fill-box; transform-origin: center; animation: lamp .7s ease-out .9s both; }
.reveal { animation: rise .8s ease-out both; }
@keyframes roofL { from { transform: translate(-30px, 16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes roofR { from { transform: translate(30px, 16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lamp { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 640px) {
  .homes .map { height: 300px; }
  .home { font-size: 16px; padding: 8px 12px; }
}

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