/* Pinch — Shared CSS — auto-generated from src/shared.ts */

/* ────────────────────────────────────────────────────────────────
   Self-hosted webfonts: Inter + Playfair Display
   Files in /static/fonts/ (downloaded from Google Fonts v20+v40).
   Both fonts are SIL Open Font License 1.1 — self-hosting permitted.
   Variable fonts: each file covers the full weight axis we use, so
   we declare a font-weight range on the @font-face rather than a
   separate rule per discrete weight.
──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/static/fonts/playfair-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/static/fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/static/fonts/playfair-italic-latin.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: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/static/fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ────────────────────────────────────────────────────────────────
   FontAwesome icon subset — only the icons actually used on this site.
   Solid (167) + Brands (5) = 172 glyphs total.
   Generated from a static usage scan; codepoints sourced from
   FontAwesome 6.5 free icon-families.json (CC-BY-4.0 + SIL OFL 1.1).
   font-display: block → icons fall back to nothing during font load,
   same as the public CDN behaviour. After the woff2 is cached,
   icons appear without any further network round-trip.
──────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "FA Pinch Solid";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/static/fonts/fa-solid-subset.woff2") format("woff2");
}
@font-face {
  font-family: "FA Pinch Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/static/fonts/fa-brands-subset.woff2") format("woff2");
}

/* Base layout — identical to FontAwesome 6 free */
.fa, .fas, .fa-solid, .fab, .fa-brands {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.fa, .fas, .fa-solid { font-family: "FA Pinch Solid"; font-weight: 900; }
.fab, .fa-brands { font-family: "FA Pinch Brands"; font-weight: 400; }

/* Modifiers in use */
.fa-2x { font-size: 2em; }
.fa-spin { animation: fa-spin 2s infinite linear; }
@keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Utility: 8px right margin on icons sitting before button/menu text.
   Used 5× across shared.ts (nav menu links, submit button, dynamic
   button innerHTML during loading states). Replaces inline
   style="margin-right:8px;" on FA <i> tags. */
.icon-mr { margin-right: 8px; }

/* about.ts — stats pill row (4 chips in the about-hero strip:
   "Founded 2021", "500+ families", "4 cities", "100+ team members") */
.about-stat-pill { display: flex; align-items: center; gap: 10px; background: white; border-radius: 50px; padding: 10px 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.about-stat-pill-label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }

/* about.ts — bullet rows in the dark "why pinch works" section.
   Each row: <div class="about-bullet-row">
                <div class="about-bullet-dot" style="background:var(--X);"></div>
                <span class="about-bullet-text">...</span>
              </div>
   Dot colour stays inline since each of the 3 bullets has a different colour. */
.about-bullet-row { display: flex; align-items: center; gap: 10px; }
.about-bullet-dot { width: 8px; height: 8px; border-radius: 50%; }
.about-bullet-text { font-size: 0.88rem; color: rgba(255,255,255,0.68); }

/* Spacing utility: 14px top margin (used 3× in about.ts philosophy
   section for the second paragraph in each sevā/siddhi/sukham block). */
.mt-14 { margin-top: 14px; }

/* services.ts — "tech features" 4-card grid (Household Intelligence,
   Pattern Learning, Curated Vendor Network, Task Tracking).
   Icon colour stays inline since each of the 4 cards uses a different
   colour (terracotta / sage / olive / gold). */
.svc-tech-card { background: white; border-radius: 16px; padding: 22px 20px; border: 1px solid var(--sand-dark); }
.svc-tech-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.svc-tech-card-title { font-size: 0.88rem; font-weight: 600; color: var(--charcoal); margin-bottom: 5px; }
.svc-tech-card-body { font-size: 0.78rem; color: var(--warm-gray); line-height: 1.65; margin: 0; }

/* home.ts — small dimmed external-link icon at end of each press-mention
   item in the media-row ticker (26 occurrences). Descendant selector
   means no per-icon class needed in the markup. */
.media-item a i { font-size: 0.65rem; opacity: 0.5; }

/* home.ts — tiny icon prefix inside hero-card status tags (6×) and
   load-status badges in the manager-day ticker (3×). Descendant
   selectors on both parent classes. */
.card-tag i, .ld-status i { font-size: 0.6rem; margin-right: 3px; }

/* home.ts — uppercase label under each big stat number in the
   hero-stats section (4×: Families served / Cities / Tasks monthly /
   Building trust). */
.hero-stat-label { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-top: 8px; }

/* home.ts — plan-grid loading/empty state (3×: initial spinner,
   async-reload spinner, "No plans found" message). */
.grid-empty-state { text-align: center; padding: 60px 0; color: var(--warm-gray); width: 100%; }

/* home.ts — week-of-life grid card (3 sand-coloured cards in the
   "a week with Pinch" section). */
.week-card { background: var(--sand); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }

/* home.ts — week-card internal text elements (each .week-card has
   exactly one of each: day eyebrow / serif title / body paragraph /
   olive outcome badge). 3 cards × 4 elements = 12 inline styles
   collapsed. */
.week-card-day { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--terracotta); }
.week-card-title { font-size: 1rem; font-weight: 700; color: var(--charcoal); font-family: 'Playfair Display', serif; }
.week-card-body { font-size: 0.8rem; color: var(--warm-gray); line-height: 1.65; margin: 0; }
.week-card-outcome { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 0.72rem; color: var(--olive); font-weight: 600; }

/* home.ts — hero stats grid (4 cells: 500+ families / 4 cities /
   5000+ tasks / 4 yrs trust). First 3 cells have a right divider
   border; the 4th omits it (stays inline since one-off). The 4th
   number also uses terracotta-light color instead of white (stays
   inline). */
.hero-stat-cell { padding: 24px 16px; border-right: 1px solid rgba(255,255,255,0.07); }
.hero-stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: white; line-height: 1; }

/* Per-icon codepoint mappings */
.fa-archive::before { content: "\f187"; }
.fa-arrow-left::before { content: "\f060"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-balance-scale::before { content: "\f24e"; }
.fa-ban::before { content: "\f05e"; }
.fa-bell::before { content: "\f0f3"; }
.fa-birthday-cake::before { content: "\f1fd"; }
.fa-bold::before { content: "\f032"; }
.fa-bolt::before { content: "\f0e7"; }
.fa-book::before { content: "\f02d"; }
.fa-book-open::before { content: "\f518"; }
.fa-box::before { content: "\f466"; }
.fa-brain::before { content: "\f5dc"; }
.fa-briefcase::before { content: "\f0b1"; }
.fa-broom::before { content: "\f51a"; }
.fa-building::before { content: "\f1ad"; }
.fa-bullseye::before { content: "\f140"; }
.fa-calendar::before { content: "\f133"; }
.fa-calendar-alt::before { content: "\f073"; }
.fa-calendar-check::before { content: "\f274"; }
.fa-car::before { content: "\f1b9"; }
.fa-chart-area::before { content: "\f1fe"; }
.fa-chart-bar::before { content: "\f080"; }
.fa-chart-line::before { content: "\f201"; }
.fa-check::before { content: "\f00c"; }
.fa-check-circle::before { content: "\f058"; }
.fa-check-double::before { content: "\f560"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-chevron-left::before { content: "\f053"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-child::before { content: "\f1ae"; }
.fa-circle::before { content: "\f111"; }
.fa-circle-half-stroke::before { content: "\f042"; }
.fa-circle-notch::before { content: "\f1ce"; }
.fa-city::before { content: "\f64f"; }
.fa-clipboard-list::before { content: "\f46d"; }
.fa-clock::before { content: "\f017"; }
.fa-cloud-upload-alt::before { content: "\f0ee"; }
.fa-coffee::before { content: "\f0f4"; }
.fa-cogs::before { content: "\f085"; }
.fa-coins::before { content: "\f51e"; }
.fa-comment-alt::before { content: "\f4ad"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-comments::before { content: "\f086"; }
.fa-concierge-bell::before { content: "\f562"; }
.fa-credit-card::before { content: "\f09d"; }
.fa-crown::before { content: "\f521"; }
.fa-download::before { content: "\f019"; }
.fa-drafting-compass::before { content: "\f568"; }
.fa-edit::before { content: "\f044"; }
.fa-ellipsis-h::before { content: "\f141"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-envelope-open-text::before { content: "\f658"; }
.fa-exclamation-circle::before { content: "\f06a"; }
.fa-exclamation-triangle::before { content: "\f071"; }
.fa-expand-arrows-alt::before { content: "\f0b2"; }
.fa-external-link-alt::before { content: "\f35d"; }
.fa-eye::before { content: "\f06e"; }
.fa-eye-slash::before { content: "\f070"; }
.fa-feather-alt::before { content: "\f52d"; }
.fa-file-alt::before { content: "\f15c"; }
.fa-file-contract::before { content: "\f56c"; }
.fa-file-invoice::before { content: "\f570"; }
.fa-file-pdf::before { content: "\f1c1"; }
.fa-file-signature::before { content: "\f573"; }
.fa-filter::before { content: "\f0b0"; }
.fa-flag::before { content: "\f024"; }
.fa-font::before { content: "\f031"; }
.fa-gem::before { content: "\f3a5"; }
.fa-gift::before { content: "\f06b"; }
.fa-globe::before { content: "\f0ac"; }
.fa-globe-asia::before { content: "\f57e"; }
.fa-graduation-cap::before { content: "\f19d"; }
.fa-hand-holding-heart::before { content: "\f4be"; }
.fa-handshake::before { content: "\f2b5"; }
.fa-heading::before { content: "\f1dc"; }
.fa-heart::before { content: "\f004"; }
.fa-heartbeat::before { content: "\f21e"; }
.fa-history::before { content: "\f1da"; }
.fa-home::before { content: "\f015"; }
.fa-id-card::before { content: "\f2c2"; }
.fa-image::before { content: "\f03e"; }
.fa-inbox::before { content: "\f01c"; }
.fa-infinity::before { content: "\f534"; }
.fa-info-circle::before { content: "\f05a"; }
.fa-italic::before { content: "\f033"; }
.fa-laptop::before { content: "\f109"; }
.fa-layer-group::before { content: "\f5fd"; }
.fa-leaf::before { content: "\f06c"; }
.fa-lightbulb::before { content: "\f0eb"; }
.fa-link::before { content: "\f0c1"; }
.fa-list::before { content: "\f03a"; }
.fa-list-ol::before { content: "\f0cb"; }
.fa-list-ul::before { content: "\f0ca"; }
.fa-lock::before { content: "\f023"; }
.fa-magic::before { content: "\e2ca"; }
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-map-pin::before { content: "\f276"; }
.fa-microchip::before { content: "\f2db"; }
.fa-minus::before { content: "\f068"; }
.fa-minus-circle::before { content: "\f056"; }
.fa-mobile-alt::before { content: "\f3cd"; }
.fa-network-wired::before { content: "\f6ff"; }
.fa-newspaper::before { content: "\f1ea"; }
.fa-paint-brush::before { content: "\f1fc"; }
.fa-palette::before { content: "\f53f"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-paragraph::before { content: "\f1dd"; }
.fa-paw::before { content: "\f1b0"; }
.fa-pen::before { content: "\f304"; }
.fa-pen-fancy::before { content: "\f5ac"; }
.fa-pen-nib::before { content: "\f5ad"; }
.fa-phone::before { content: "\f095"; }
.fa-plane::before { content: "\f072"; }
.fa-plane-departure::before { content: "\f5b0"; }
.fa-play::before { content: "\f04b"; }
.fa-play-circle::before { content: "\f144"; }
.fa-plug::before { content: "\f1e6"; }
.fa-plus::before { content: "\2b"; }
.fa-plus-circle::before { content: "\f055"; }
.fa-project-diagram::before { content: "\f542"; }
.fa-question-circle::before { content: "\f059"; }
.fa-quote-left::before { content: "\f10d"; }
.fa-receipt::before { content: "\f543"; }
.fa-redo::before { content: "\f01e"; }
.fa-rocket::before { content: "\f135"; }
.fa-route::before { content: "\f4d7"; }
.fa-rupee-sign::before { content: "\f156"; }
.fa-satellite-dish::before { content: "\f7c0"; }
.fa-save::before { content: "\f0c7"; }
.fa-search::before { content: "\f002"; }
.fa-seedling::before { content: "\f4d8"; }
.fa-shield-alt::before { content: "\f3ed"; }
.fa-shopping-basket::before { content: "\f291"; }
.fa-shopping-cart::before { content: "\f07a"; }
.fa-sign-in-alt::before { content: "\f2f6"; }
.fa-sign-out-alt::before { content: "\f2f5"; }
.fa-sort-amount-down::before { content: "\f160"; }
.fa-spinner::before { content: "\f110"; }
.fa-star::before { content: "\f005"; }
.fa-stethoscope::before { content: "\f0f1"; }
.fa-suitcase-rolling::before { content: "\f5c1"; }
.fa-sun::before { content: "\f185"; }
.fa-sync::before { content: "\f021"; }
.fa-sync-alt::before { content: "\f021"; }
.fa-table::before { content: "\f0ce"; }
.fa-tag::before { content: "\f02b"; }
.fa-th-large::before { content: "\f009"; }
.fa-times::before { content: "\f00d"; }
.fa-times-circle::before { content: "\f057"; }
.fa-tools::before { content: "\f7d9"; }
.fa-trash::before { content: "\f1f8"; }
.fa-trash-alt::before { content: "\f2ed"; }
.fa-trophy::before { content: "\f091"; }
.fa-tshirt::before { content: "\f553"; }
.fa-undo-alt::before { content: "\f0e2"; }
.fa-upload::before { content: "\f093"; }
.fa-user::before { content: "\f007"; }
.fa-user-check::before { content: "\f4fc"; }
.fa-user-circle::before { content: "\f2bd"; }
.fa-user-clock::before { content: "\f4fd"; }
.fa-user-cog::before { content: "\f4fe"; }
.fa-user-friends::before { content: "\f500"; }
.fa-user-nurse::before { content: "\f82f"; }
.fa-user-plus::before { content: "\f234"; }
.fa-user-shield::before { content: "\f505"; }
.fa-user-slash::before { content: "\f506"; }
.fa-user-tie::before { content: "\f508"; }
.fa-users::before { content: "\f0c0"; }
.fa-users-cog::before { content: "\f509"; }
.fa-utensils::before { content: "\f2e7"; }
.fa-wrench::before { content: "\f0ad"; }
.fa-instagram::before { content: "\f16d"; }
.fa-linkedin::before { content: "\f08c"; }
.fa-linkedin-in::before { content: "\f0e1"; }
.fa-spotify::before { content: "\f1bc"; }
.fa-whatsapp::before { content: "\f232"; }

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

  :root {
    --sand: #F5F0E8;
    --sand-dark: #EDE5D5;
    --cream: #FAF7F2;
    --terracotta: #C4622D;
    --terracotta-light: #D4784A;
    --terracotta-dark: #A04E20;
    --sage: #6B7C5E;
    --sage-light: #8A9E7A;
    --olive: #7A7A3A;
    --olive-light: #9A9A55;
    --olive-muted: #EAEAD5;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --warm-gray: #8C8275;
    --white: #FFFFFF;
    --gold: #C9A84C;
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--charcoal); overflow-x: hidden; }
  h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; }

  /* ── NAV — floating island ── */
  nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 40px);
    z-index: 1000;
    /* uniform 8px all sides — every gap A–F in the pill matches */
    padding: 8px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-radius: 60px;
    /* true glass: low alpha so background bleeds through */
    background: rgba(22,15,9,0.62);
    backdrop-filter: blur(22px) saturate(1.6);
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.13);
    /* top inset highlight simulates glass edge */
    box-shadow: 0 8px 32px rgba(0,0,0,0.32),
                0 1.5px 0 rgba(255,255,255,0.12) inset,
                0 -1px 0 rgba(0,0,0,0.18) inset;
    transition: background 0.4s ease, box-shadow 0.4s ease, top 0.35s ease;
    white-space: nowrap;
  }
  /* Scrolled — slightly denser glass */
  nav.scrolled {
    top: 12px;
    background: rgba(18,12,6,0.80);
    box-shadow: 0 14px 44px rgba(0,0,0,0.42),
                0 1.5px 0 rgba(255,255,255,0.1) inset;
  }
  /* Light pages — frosted cream glass */
  nav.light-nav {
    background: rgba(250,247,242,0.72);
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10),
                0 1.5px 0 rgba(255,255,255,0.9) inset;
  }
  nav.light-nav.scrolled {
    background: rgba(250,247,242,0.88);
    box-shadow: 0 14px 44px rgba(0,0,0,0.12),
                0 1.5px 0 rgba(255,255,255,0.9) inset;
  }
  /* Dark variant (home page) */
  nav.dark-nav {
    background: rgba(22,15,9,0.62);
    border-color: rgba(255,255,255,0.13);
  }
  nav.dark-nav.scrolled {
    background: rgba(18,12,6,0.82);
  }
  .nav-logo { display: flex; align-items: center; padding: 0; margin-left: 1px; }
  .nav-logo img { height: 32px; display: block; opacity: 0.92; transition: opacity 0.2s; }
  .nav-logo img:hover { opacity: 1; }
  .nav-links { display: flex; align-items: center; gap: 6px; }
  .nav-links > a, .nav-links > .nav-dropdown > a {
    text-decoration: none; color: rgba(255,255,255,0.78);
    font-size: 0.87rem; font-weight: 500; letter-spacing: 0.15px;
    transition: color 0.2s; position: relative;
    padding: 6px 12px; border-radius: 40px;
  }
  .nav-links > a::after, .nav-links > .nav-dropdown > a::after {
    display: none;
  }
  .nav-links > a:hover { color: #fff; background: rgba(255,255,255,0.08); }
  .nav-links > a.active { color: var(--terracotta-light); }
  /* Light nav overrides */
  nav.light-nav .nav-links > a,
  nav.light-nav .nav-links > .nav-dropdown > a { color: var(--charcoal-light); }
  nav.light-nav .nav-links > a:hover { color: var(--terracotta); background: rgba(196,98,45,0.07); }
  nav.light-nav .nav-links > a.active { color: var(--terracotta); }
  .nav-cta {
    background: var(--terracotta) !important; color: var(--white) !important;
    padding: 8px 18px !important; border-radius: 50px !important;
    font-weight: 600 !important; font-size: 0.87rem !important;
    transition: background 0.2s, transform 0.2s !important;
    white-space: nowrap;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--terracotta-dark) !important; transform: translateY(-1px); }
  .nav-quiz-btn::after { display: none !important; }
  /* ── NAV DROPDOWN ── */
  .nav-dropdown { position: relative; }
  .nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); width: 100%; height: 18px;
  }
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    background: rgba(28,20,14,0.97); border-radius: 16px; padding: 10px; min-width: 210px;
    box-shadow: 0 16px 44px rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.1);
    opacity: 0; pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 100;
  }
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
  .nav-dropdown-menu:hover { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
  .nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-radius: 10px;
    font-size: 0.87rem; color: rgba(255,255,255,0.72) !important;
    text-decoration: none; transition: all 0.18s; font-weight: 500;
  }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: white !important; }
  .nav-dropdown-menu a i { width: 18px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.38); }
  .nav-dropdown-menu a::after { display: none !important; }
  .nav-more { cursor: pointer; }
  /* Light-nav dropdown gets light styling */
  nav.light-nav .nav-dropdown-menu {
    background: var(--white);
    border-color: rgba(0,0,0,0.07);
    box-shadow: 0 16px 44px rgba(0,0,0,0.12);
  }
  nav.light-nav .nav-dropdown-menu a { color: var(--charcoal-light) !important; }
  nav.light-nav .nav-dropdown-menu a:hover { background: var(--sand); color: var(--terracotta) !important; }
  /* Fix: icons were inheriting white colour on light-nav — make them visible */
  nav.light-nav .nav-dropdown-menu a i { color: var(--warm-gray) !important; }
  nav.light-nav .nav-dropdown-menu a:hover i { color: var(--terracotta) !important; }
  nav.light-nav .nav-quiz-btn { background: var(--olive) !important; color: white !important; border: none !important; }
  nav.light-nav .nav-quiz-btn:hover { background: rgba(122,122,58,0.14) !important; }

  .hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
  .hamburger span { width: 22px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: 0.3s; display: block; }
  nav.light-nav .hamburger span { background: var(--charcoal); }
  .mobile-menu {
    display: none; position: fixed; inset: 0;
    background: rgba(22,16,10,0.97); backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { text-decoration: none; color: rgba(255,255,255,0.88); font-size: 1.3rem; font-weight: 500; font-family: 'Playfair Display', serif; }
  .mobile-menu a:hover { color: var(--terracotta-light); }
  .mobile-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.1); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: white; }

  /* ── SHARED UTILITIES ── */
  .max-w { max-width: 1200px; margin: 0 auto; }
  .section-label {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--terracotta); font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
  }
  .section-label::before { content: ''; width: 22px; height: 2px; background: var(--terracotta); }
  .section-label.olive { color: var(--olive); }
  .section-label.olive::before { background: var(--olive); }
  .section-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 600; line-height: 1.2; margin-bottom: 18px; color: var(--charcoal); }
  .section-desc { font-size: 1rem; color: var(--warm-gray); line-height: 1.85; max-width: 580px; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--terracotta); color: var(--white);
    padding: 13px 28px; border-radius: 50px; font-size: 0.92rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer; letter-spacing: 0.2px;
  }
  .btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,98,45,0.35); }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 9px;
    background: transparent; color: var(--terracotta);
    padding: 12px 28px; border-radius: 50px; font-size: 0.92rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    border: 1.5px solid var(--terracotta); cursor: pointer;
  }
  .btn-outline:hover { background: var(--terracotta); color: white; }
  .btn-olive {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--olive); color: var(--white);
    padding: 13px 28px; border-radius: 50px; font-size: 0.92rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer;
  }
  .btn-olive:hover { background: #636330; transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer { background: var(--charcoal); padding: 72px 5% 32px; color: rgba(255,255,255,0.6); }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; max-width: 1200px; margin-left: auto; margin-right: auto; }
  .footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 260px; margin-top: 14px; }
  .footer-brand img { height: 36px; width: auto; }
  .footer-tagline-sanskrit { font-family:'Playfair Display',serif; font-size:0.82rem; color:rgba(201,168,76,0.6); letter-spacing:1.2px; margin-top:8px !important; margin-bottom:0 !important; font-style:italic; }
  .footer-social { display: flex; gap: 10px; margin-top: 20px; }
  .social-icon { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: all 0.2s; }
  .social-icon:hover { background: var(--terracotta); color: white; }
  .footer-col h5 { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 18px; font-family: 'Inter', sans-serif; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-links a { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 0.86rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--terracotta-light); }
  .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
  .footer-bottom p { font-size: 0.8rem; }
  .footer-bottom-links { display: flex; gap: 22px; }
  .footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
  .footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
  .float-btn { position: fixed; bottom: 28px; right: 28px; background: var(--terracotta); color: white; border: none; padding: 13px 24px; border-radius: 50px; font-weight: 600; font-size: 0.88rem; cursor: pointer; box-shadow: 0 8px 28px rgba(196,98,45,0.45); z-index: 999; transition: all 0.3s; display: flex; align-items: center; gap: 9px; text-decoration: none; }
  .float-btn:hover { background: var(--terracotta-dark); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(196,98,45,0.55); }

  /* ── MODAL ── */
  .modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 20px; }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal { background: var(--white); border-radius: 22px; padding: 44px 40px; max-width: 500px; width: 100%; position: relative; transform: scale(0.95); transition: transform 0.3s; }
  .modal-overlay.open .modal { transform: scale(1); }
  .modal-close { position: absolute; top: 18px; right: 18px; background: var(--sand); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 0.95rem; color: var(--charcoal); display: flex; align-items: center; justify-content: center; }
  .modal h3 { font-size: 1.55rem; font-weight: 600; color: var(--charcoal); margin-bottom: 7px; }
  .modal > p { color: var(--warm-gray); font-size: 0.88rem; margin-bottom: 26px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--charcoal-light); margin-bottom: 5px; }
  .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 15px; border: 1.5px solid var(--sand-dark); border-radius: 10px; font-size: 0.88rem; color: var(--charcoal); background: var(--cream); outline: none; transition: border-color 0.2s; font-family: 'Inter', sans-serif; }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--terracotta); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .btn-submit { width: 100%; padding: 14px; background: var(--terracotta); color: white; border: none; border-radius: 12px; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: all 0.3s; margin-top: 6px; font-family: 'Inter', sans-serif; }
  .btn-submit:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
  .form-success { text-align: center; padding: 20px 0; display: none; }
  .form-success i { font-size: 2.8rem; color: var(--olive); margin-bottom: 14px; display: block; }
  .form-success h4 { font-size: 1.25rem; margin-bottom: 7px; }
  .form-success p { color: var(--warm-gray); font-size: 0.88rem; }

  /* ── GLASS UTILITIES ── */
  /* Light glass — for elements on dark/image backgrounds */
  .glass {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 4px 24px rgba(0,0,0,0.14), 0 1px 0 rgba(255,255,255,0.1) inset;
  }
  /* Dark glass — for elements on light/cream backgrounds */
  .glass-light {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255,255,255,0.70);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 0 rgba(255,255,255,0.9) inset;
  }

  /* ── ANIMATIONS ── */
  .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up.d1 { transition-delay: 0.1s; } .fade-up.d2 { transition-delay: 0.2s; }
  .fade-up.d3 { transition-delay: 0.3s; } .fade-up.d4 { transition-delay: 0.4s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .float-btn span { display: none; }
    .float-btn { padding: 13px 16px; }
  }
  @media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
  }
