/* Take n Pay Fireworks: shared tokens for the three hero options.
   Palette taken from the owner's Diwali promos: plum-maroon night, gold, saffron/fire. */
:root {
  --night: #15030b;
  --plum: #2b0616;
  --maroon: #4d0d1d;
  --ember: #7d1e12;
  --gold: #f8cf57;
  --gold-soft: #ffe7a3;
  --saffron: #ff9124;
  --fire: #e8361f;
  --cream: #fff3db;
  --muted: #eccfb4;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Hind', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { background: var(--night); color: var(--cream); font: 400 1.0625rem/1.55 var(--body); -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  /* night sky that warms toward the horizon, like city light under smoke */
  background:
    radial-gradient(130% 60% at 50% 112%, var(--ember) 0%, var(--maroon) 32%, var(--plum) 62%, var(--night) 100%);
  -webkit-tap-highlight-color: transparent;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.nav-mark {
  font: italic 900 1.25rem/1 var(--display); font-stretch: 112.5%;
  letter-spacing: -0.01em; color: #fff; text-decoration: none; white-space: nowrap;
}
.nav-mark .n { color: var(--gold); font-size: 0.7em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 999px; }

/* the wordmark, set in type so it stays crisp at any size */
.mark {
  display: block;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 112.5%;
  font-size: clamp(3.4rem, 15vw, 9.75rem);
  line-height: 0.92; letter-spacing: -0.03em;
  color: #fff; white-space: nowrap;
  text-shadow: 0 0.04em 0.5em rgba(255, 120, 30, 0.22);
}
.mark .n { color: var(--gold); font-size: 0.6em; letter-spacing: 0; }
.sub {
  display: block;
  font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.15rem, 4.6vw, 2.6rem); line-height: 1;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-top: 0.4em;
}
.lede { max-width: 32ch; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); text-wrap: pretty; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--saffron); color: #2a0900; }
.btn-ghost { color: var(--gold-soft); box-shadow: inset 0 0 0 1.5px rgba(248, 207, 87, 0.55); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #ffa443; }
  .btn-ghost:hover { background: rgba(248, 207, 87, 0.1); }
  .nav-links a:hover { background: rgba(255, 243, 219, 0.08); }
}
.hint { font-size: 0.9375rem; color: rgba(255, 231, 163, 0.72); }

/* entrance: only hidden when JS has said motion is on, so no-JS still shows everything */
.motion .reveal { opacity: 0; transform: translateY(10px); filter: blur(6px); }
.reveal {
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), filter 600ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion .reveal.in { opacity: 1; transform: none; filter: none; }

/* option switcher: review chrome only, not part of the design */
.switcher {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 20;
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(10, 2, 6, 0.82); box-shadow: 0 0 0 1px rgba(255, 231, 163, 0.14);
  font: 500 0.875rem/1 var(--body);
}
.switcher a { padding: 11px 14px; border-radius: 999px; text-decoration: none; color: var(--cream); white-space: nowrap; }
.switcher a[aria-current] { background: var(--gold); color: var(--night); }

@media (prefers-reduced-motion: reduce) {
  .motion .reveal { transform: none; filter: none; }
  .reveal { transition: opacity 300ms ease; }
}

/* New Year season: same gold and saffron, the night turns midnight blue */
:root[data-season="newyear"] { --night: #050a18; --plum: #0c1736; --maroon: #15265a; --ember: #23397a; --muted: #c9d3ea; }

/* season greeting (replaces the owner's posters; their wording, set in type) */
.greet { text-align: center; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.greet-lamps { display: block; width: min(100%, 420px); height: auto; margin: 0 auto 28px; overflow: visible; }
#gl .fl { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.4s ease-in-out infinite alternate; }
@keyframes flick { 0% { transform: scale(1, 1); } 50% { transform: scale(0.94, 1.06); } 100% { transform: scale(1.03, 0.97); } }
.greet-h { font: italic 900 clamp(2.6rem, 8vw, 5.5rem)/0.95 var(--display); font-stretch: 112.5%; letter-spacing: -0.025em; color: var(--greet-h, #fff); }
.greet-p { max-width: 40ch; margin: 18px auto 0; font-size: clamp(1.0625rem, 1.8vw, 1.3rem); color: var(--greet-p, var(--muted)); text-wrap: balance; }
.greet-line { margin-top: 10px; font: italic 800 clamp(1.05rem, 2vw, 1.35rem)/1.3 var(--display); color: var(--greet-a, var(--gold)); }
[data-season="newyear"] .greet-lamps, [data-season="newyear"] .diwali-only { display: none; }

/* about: mission and vision */
.about-h { font: italic 900 clamp(2.1rem, 5vw, 3.6rem)/1 var(--display); font-stretch: 112.5%; letter-spacing: -0.02em; color: var(--about-h, #fff); text-wrap: balance; }
.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 32px; }
.mv h3 { font: 600 1rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--about-a, var(--gold)); margin-bottom: 8px; }
.mv p { font-size: clamp(1.125rem, 2vw, 1.4rem); line-height: 1.45; color: var(--about-p, var(--cream)); }

/* review bar: back to the options list and the season switch (preview chrome, not part of the design) */
.review { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background: rgba(10, 2, 6, 0.9); box-shadow: 0 0 0 1px rgba(255, 231, 163, 0.18); font: 500 0.875rem/1 var(--body); white-space: nowrap; }
.review a { padding: 11px 13px; border-radius: 999px; color: var(--cream); text-decoration: none; }
.review a[aria-current] { background: var(--gold); color: #15030b; }
.review .sep { width: 1px; height: 20px; background: rgba(255, 231, 163, 0.2); margin: 0 4px; }
@media (prefers-reduced-motion: reduce) { #gl .fl { animation: none; } }
