/* =====================================================================
   LISTENING STUDIO · shared design system (every page uses this file)
   ---------------------------------------------------------------------
   HOW TO EDIT (for Hardi):
   - Colours live in section 1. Change a hex there and the whole site follows.
   - Fonts live in section 1 too.
   - Each later section is labelled. Search for its name (Ctrl+F).
   ===================================================================== */

/* ---------- 1. TOKENS: colours, fonts, spacing ---------- */
:root {
  /* "Sunrise listening" palette: calm, but alive */
  --paper: #FFF8EC;        /* page background, warm cream */
  --paper-2: #FFF1D9;      /* a slightly deeper cream */
  --ink: #22384A;          /* text: the navy from the logo */
  --muted: #5B6670;        /* softer text */
  --sun: #FFC93C;          /* marigold yellow, from the Instagram covers */
  --sun-soft: #FFE7A3;
  --sindoor: #D2361C;      /* red: Book buttons and hook banners only */
  --sindoor-dark: #B02B14;
  --coral: #F0875A;        /* logo coral (decoration) */
  --coral-ink: #A3401A;    /* coral dark enough for text */
  --blush: #F9D3CB;        /* logo pink */
  --blush-soft: #FDEBE6;
  --mint: #D7F0E6;         /* the calm, breathing colour */
  --leaf: #1E6E5E;         /* deep green for small calm accents */
  --white: #FFFFFF;
  --line: rgba(34, 56, 74, .14);

  /* fonts: Baloo Bhai 2 (headings, Gujarati + English), Mukta Vaani (body), Fraunces italic (English accents) */
  --display: 'Baloo Bhai 2', 'Mukta Vaani', system-ui, sans-serif;
  --body: 'Mukta Vaani', system-ui, sans-serif;
  --accent: 'Fraunces', Georgia, serif;

  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 36px;
  --shadow: 0 14px 40px rgba(34, 56, 74, .12);
  --shadow-soft: 0 6px 18px rgba(34, 56, 74, .08);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(4rem, 9vw, 8.5rem);          /* vertical space of a section */
  --gutter: clamp(1rem, 5vw, 5rem);         /* side space; 16px on phones */
  --max: 1280px;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.08rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sindoor); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. LANGUAGE SWITCH ----------
   Every text is written twice: <span lang="gu">…</span><span lang="en">…</span>
   Only the chosen language shows. Gujarati is the default. */
html[data-lang="gu"] [lang="en"]:not(html),
html[data-lang="en"] [lang="gu"]:not(html) { display: none !important; }
:lang(gu) { line-height: 1.8; }

/* ---------- 4. TYPE ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0 0 .45em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.45rem, 6.4vw, 5.3rem); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.25; }
h1 :lang(gu), h2 :lang(gu), h3 :lang(gu) { line-height: 1.32; letter-spacing: 0; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 40ch; }
.eyebrow { font: 600 .9rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 1rem; }
.eyebrow :lang(gu) { letter-spacing: .02em; font-size: 1rem; }
.italic { font-family: var(--accent); font-style: italic; font-weight: 400; }

/* marigold highlight bar behind a key word, like the reel covers */
mark, .mark {
  background: linear-gradient(transparent 55%, var(--sun) 55%, var(--sun) 92%, transparent 92%);
  color: inherit; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* the red hook banner, like the reel hook boxes */
.hook {
  display: inline; background: var(--sindoor); color: var(--white);
  padding: .12em .45em; border-radius: 6px; line-height: 1.65;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- 5. LAYOUT ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--pad) 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.center.section-head, .section-head.center { margin-inline: auto; }

/* surfaces */
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--paper-2); }
.bg-sun { background: var(--sun); }
.bg-sun-soft { background: var(--sun-soft); }
.bg-mint { background: var(--mint); }
.bg-blush { background: var(--blush-soft); }
.bg-ink { background: var(--ink); color: var(--paper); }

/* ---------- 6. BUTTONS & LINKS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .7em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1.05rem/1.2 var(--body); text-decoration: none; text-align: center;
  transition: transform .3s var(--ease), background-color .2s, box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--sindoor); color: var(--white); box-shadow: 0 8px 22px rgba(210, 54, 28, .28); }
.btn-red:hover { background: var(--sindoor-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-wa::before { content: ''; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }
:root { --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.3-.4.8-1.3a.5.5 0 0 0 0-.5l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E"); }
.arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.arrow::after { content: '→'; transition: transform .3s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center .actions { justify-content: center; }

/* ---------- 7. HEADER & NAVIGATION ---------- */
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; }
.site-head {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 236, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-head.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(34, 56, 74, .06); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand b { font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand b span { font-weight: 500; }
.nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav-list a { display: block; white-space: nowrap; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--sun-soft); }
.lang-btn {
  min-height: 40px; padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; font-weight: 600; font-size: .95rem;
}
.lang-btn:hover { background: var(--ink); color: var(--paper); }
.head-book { display: none; min-height: 44px; padding: .5rem 1.15rem; font-size: .98rem; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
/* phone menu panel */
.mobile-nav { display: none; padding: .5rem 0 1.5rem; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: .85rem .25rem; font: 600 1.3rem/1.3 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1.2rem; width: 100%; }
@media (min-width: 1180px) {
  .nav-list { display: flex; }
  .head-book { display: inline-flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- 8. CARDS, QUOTES, LISTS (shared pieces) ---------- */
.card { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-soft); padding: clamp(1.4rem, 3vw, 2rem); }
.pill { display: inline-flex; align-items: center; gap: .4em; padding: .3em .85em; border-radius: 999px; font: 600 .85rem/1.3 var(--body); background: var(--paper); }
.pill.live::before { content: ''; width: .55em; height: .55em; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(30, 110, 94, .5); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .55em rgba(30, 110, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 110, 94, 0); } }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 .9rem; font: 500 clamp(1.2rem, 2vw, 1.5rem)/1.5 var(--display); }
.quote blockquote::before { content: '“'; display: block; font: 400 3.2rem/0.6 var(--accent); color: var(--coral); margin-bottom: .4rem; }
.quote figcaption { font-size: .95rem; color: var(--muted); }

/* placeholder Hardi must confirm: a soft dotted underline, easy to spot but quiet */
.todo { text-decoration: underline dotted var(--coral); text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ---------- 8b. BACKGROUND DOODLES ----------
   Hand-drawn line icons that float slowly behind a section, so it feels alive.
   Each <svg> sets its own place: --x, --y (position), --s (size), --r (tilt), --d (delay). */
.has-doodles { position: relative; overflow: hidden; isolation: isolate; }
.doodles { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--doodle, rgba(34, 56, 74, .13)); }
.doodles svg { position: absolute; left: var(--x); top: var(--y); width: var(--s, 54px); height: var(--s, 54px);
  transform: rotate(var(--r, 0deg)); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  animation: floaty 9s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes floaty { to { transform: rotate(calc(var(--r, 0deg) + 8deg)) translateY(-14px); } }
@media (max-width: 700px) { .doodles svg:nth-child(n+5) { display: none; } }

/* a big quote between sections */
.quote-band { text-align: center; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.quote-band blockquote { margin: 0 auto; max-width: 30ch; font: 600 clamp(1.7rem, 4vw, 3rem)/1.25 var(--display); }
.quote-band blockquote :lang(gu) { line-height: 1.45; }
.quote-band cite { display: block; margin-top: 1rem; font: 500 1rem/1.4 var(--body); font-style: normal; letter-spacing: .08em; }

/* ---------- 9. FOOTER ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-brand img { width: 84px; height: 84px; background: var(--paper); border-radius: 50%; padding: 4px; margin-bottom: 1rem; }
.foot-tag { font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--display); color: var(--sun); margin: 0 0 .6rem; }
.foot-line { font-weight: 600; margin-bottom: .6rem; }
.foot-services { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; opacity: .85; }
.foot-col h3 { font: 600 .85rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-soft); margin-bottom: .9rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 248, 236, .18); font-size: .9rem; opacity: .8; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- 10. PHONE BOOKING BAR ---------- */
.book-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .55rem .55rem .55rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow); transform: translateY(150%); transition: transform .5s var(--ease);
}
.book-bar.show { transform: none; }
.book-bar small { font-size: .9rem; line-height: 1.3; }
.book-bar .btn { min-height: 46px; padding: .5rem 1.2rem; flex: none; }
@media (min-width: 1180px) { .book-bar { display: none; } }
@media (max-width: 1179px) { .site-foot { padding-bottom: 6.5rem; } }

/* ---------- 11. GENTLE REVEAL ON SCROLL (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 12. RESPECT "REDUCE MOTION" ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 13. SMOOTH PAGE CHANGES (2026 browsers) ----------
   Pages gently cross-fade into each other instead of blinking. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.site-head { view-transition-name: site-head; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* highlight on dark sections: keep the text light, softer marigold bar */
.bg-ink mark, .game mark, .tunnel mark { color: var(--paper); background: linear-gradient(transparent 60%, rgba(255, 201, 60, .6) 60%, rgba(255, 201, 60, .6) 92%, transparent 92%); }

/* =====================================================================
   SITE-04 · A MORE HUMAN LOOK (overrides above)
   Fewer "template" signs: no half-highlight bars, no shouty labels,
   softer cards, a paper feel, and photos held like real printed photos.
   ===================================================================== */
/* key words: just a warm colour, the way a person would underline with their voice */
mark, .mark { background: none; color: var(--sindoor); padding: 0; }
.bg-ink mark, .game mark, .tunnel mark, .bg-sindoor mark { background: none; color: var(--sun); }
.bg-sun mark { color: var(--sindoor-dark); }

/* small labels above headings: quiet, sentence case, with a short hand-drawn dash */
.eyebrow { text-transform: none; letter-spacing: .01em; font-size: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: .55rem; }
.eyebrow::before { content: ''; width: 26px; height: 8px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 5c4-3 7 2 11 0s7-3 13-1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 5c4-3 7 2 11 0s7-3 13-1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }

/* a faint paper grain over everything, like a printed page */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: .05; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* softer surfaces: a hairline instead of a heavy shadow */
:root { --shadow-soft: 0 1px 0 rgba(34, 56, 74, .06); --shadow: 0 10px 30px rgba(34, 56, 74, .08); }
.card, .box, .event, .feed, .quote, .vcard, .price, .faq details, .steps li, .choice, .read-item, .on-banner, .past, .ring, .door, .note-card { box-shadow: none; border: 1px solid var(--line); }

/* a real printed photo: white border, a slight tilt, a strip of tape */
.photo-print { position: relative; background: var(--white); padding: 12px 12px 46px; box-shadow: 0 14px 34px rgba(34, 56, 74, .14); transform: rotate(-2deg); max-width: 420px; margin-inline: auto; }
.photo-print.tilt-r { transform: rotate(2deg); }
.photo-print img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block; }
.photo-print figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 1.05rem/1.2 var(--display); color: var(--muted); }
.photo-print::before { content: ''; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 201, 60, .55); }
@media (prefers-reduced-motion: no-preference) { .photo-print { transition: transform .6s var(--ease); } .photo-print:hover { transform: rotate(0); } }

/* plain lists: no dots, no box, just calm lines */
.list-lines { list-style: none; padding: 0; margin: 0 0 1.2rem; border-top: 1px solid var(--line); }
.list-lines li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
/* portraits on Home ("Meet Hardi") and inner-page heroes: printed photos, not arches */
.meet-photo::before, .hero-photo::before { display: none; }
.meet-photo, .hero-photo { background: var(--white); padding: 12px 12px 44px; box-shadow: 0 14px 34px rgba(34, 56, 74, .14); transform: rotate(-2deg); }
.meet-photo img, .hero-photo img { border-radius: 0 !important; }
.meet-photo::after, .hero-photo::after { content: ''; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 201, 60, .55); }
[hidden] { display: none !important; }
/* the tilt uses its own property so the scroll reveal cannot straighten it */
.photo-print, .meet-photo, .hero-photo { transform: none; rotate: -2deg; }
.photo-print.tilt-r { rotate: 2deg; }
@media (prefers-reduced-motion: no-preference) { .photo-print, .meet-photo, .hero-photo { transition: rotate .6s var(--ease), opacity .9s var(--ease), translate .9s var(--ease); } .photo-print:hover, .meet-photo:hover, .hero-photo:hover { rotate: 0deg; } }
.link-btn { background: none; border: 0; padding: .4rem 0; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; color: inherit; }
