/* Shared styles for the landing pages (Diwali, Kazhakoottam & Technopark). The homepage keeps its own inline styles. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/jost.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cocoa-800: #2a1812;
  --caramel-400: #d9a877;
  --caramel-300: #e8c393;
  --cream: #f6eadb;
  --gold: #d2ab64;
  --bg: #482e22;
  --surface: #3b2419;
  --deep: #2e1c14;
  --text: var(--cream);
  --text-muted: #d6c0a6;
  --accent: var(--caramel-400);
  --on-accent: var(--cocoa-800);
  --line: rgba(246, 234, 219, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 .78rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--caramel-300); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
h1, h2, h3 { text-wrap: balance; }
h1 { font: 600 clamp(2.6rem, 6vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.025em; margin: 0 0 22px; }
h2 { font: 600 clamp(2.1rem, 4.4vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -.02em; margin: 0; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--caramel-300); }

/* ---------- nav ---------- */
.nav { background: rgba(46, 28, 20, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 40; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(20, 10, 6, .35)); }
.brand span { font: 600 1.25rem/1 var(--font-display); }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--text-muted); font-size: .95rem; transition: color .2s; }
.nav ul a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 500 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(217, 168, 119, .6); }
.btn-primary:hover { background: var(--caramel-300); }
.btn-ghost { border-color: rgba(246, 234, 219, .32); color: var(--text); }
.btn-ghost:hover { border-color: rgba(246, 234, 219, .6); }
.btn-dark { min-height: 44px; padding: 0 18px; background: var(--cocoa-800); color: var(--cream); font-size: .95rem; }
.btn-dark:hover { background: #3d2318; }
.nav .btn { min-height: 42px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* a few warm lamp glows: Diwali, without the clip-art */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(232, 195, 147, .22), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgba(210, 171, 100, .16), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; padding: 72px 0 96px; }
.lead { color: var(--text-muted); font-size: 1.15rem; max-width: 48ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 36px 0 0; color: var(--text-muted); font-size: .95rem; }
.facts b { color: var(--text); font-weight: 500; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(10, 5, 3, .8); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(42, 24, 18, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .88rem; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section.alt { background: var(--deep); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 20px 64px; margin-bottom: 52px; }
.section-head p { margin: 0; color: var(--text-muted); max-width: 46ch; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.product { display: flex; flex-direction: column; background: #fbf3e7; color: var(--cocoa-800); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(60, 30, 15, .06), 0 20px 40px -30px rgba(60, 30, 15, .55); transition: transform .3s var(--ease-out), box-shadow .3s; }
.product:hover { transform: translateY(-4px); }
.product-art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.product .tag { align-self: flex-start; margin: 0 0 10px; font: 500 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; background: #ead7b9; color: #6b4027; padding: 6px 10px; border-radius: 999px; }
.product h3 { font: 600 1.45rem/1.2 var(--font-display); margin: 0 0 8px; }
.product p { margin: 0 0 20px; color: #5c3d2c; font-size: .98rem; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(90, 50, 30, .14); }
.price { font: 600 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.price small { font: 400 .85rem/1 var(--font-body); color: #7a5440; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.feature { border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; background: linear-gradient(180deg, rgba(246, 234, 219, .04), transparent); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(217, 168, 119, .14); color: var(--caramel-300); margin-bottom: 22px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font: 600 1.3rem/1.2 var(--font-display); margin: 0 0 8px; }
.feature p { margin: 0; color: var(--text-muted); }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.split > div > p { color: var(--text-muted); max-width: 50ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font: italic 400 2rem/1 var(--font-display); color: var(--caramel-400); }
.steps h3 { font: 600 1.25rem/1.2 var(--font-display); margin: 0 0 4px; }
.steps p { margin: 0; color: var(--text-muted); }

.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.areas li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; background: rgba(246, 234, 219, .04); }
.areas li.hot { border-color: rgba(217, 168, 119, .6); background: rgba(217, 168, 119, .14); color: var(--caramel-300); }
.note { margin: 18px 0 0; color: var(--text-muted); font-size: .95rem; }
.callout { padding: 28px; border-radius: 22px; border: 1px solid rgba(217, 168, 119, .45); background: rgba(217, 168, 119, .1); }
.callout h3 { font: 600 1.35rem/1.2 var(--font-display); margin: 0 0 8px; }
.callout p { margin: 0; color: var(--text-muted); }

.faq-list { max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 1.25rem/1.3 var(--font-display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--caramel-400); transition: transform .25s var(--ease-out); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 24px; color: var(--text-muted); max-width: 64ch; }

.cta-band { border-radius: 28px; padding: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(217, 168, 119, .28), transparent 60%), var(--surface); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--text-muted); }

footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--text-muted); font-size: .92rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
footer p { margin: 12px 0 0; max-width: 44ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; margin-top: 16px; font-size: .85rem; opacity: .8; }

@media (max-width: 1023px) {
  .nav ul { display: none; }
  .hero-inner, .section-head, .split { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 11; max-width: 640px; }
  .features { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .products .product:last-child { grid-column: span 2; }
  .split { gap: 48px; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .hero-inner { padding: 40px 0 72px; }
  .section { padding: 80px 0; }
  .features, .products { grid-template-columns: 1fr; }
  .products .product:last-child { grid-column: auto; }
  .cta-band { padding: 36px 24px; }
  footer .wrap { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .features.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features.three { grid-template-columns: 1fr; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; width: max-content; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--cream); color: var(--cocoa-800); font-size: .95rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
