/* Tharvano — parent brand stylesheet */

@font-face { font-family: "Mukta"; src: url("../fonts/mukta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/mukta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rozha One"; src: url("../fonts/rozha-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #121b36;
  --gold-decor: #c9a15a;
  --crimson: #b3242f;

  /* Venture accents: one colour per sub-brand */
  --v-media: #b3242f;
  --v-academy: #2e8b6e;
  --v-store: #b8893a;
  --v-apps: #3b6fd8;
  --v-games: #8a4fd6;
  --v-agency: #2c7a8c;
  --v-ai: #0f9bb0;

  --wrap: 1120px;
  --radius-s: 4px;
  --radius-l: 14px;
  --display: "Cormorant", "Rozha One", Georgia, serif;
  --body: "Mukta", "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif;

  /* Light theme (default) */
  --bg: #f7f5f0;
  --surface: #ece7dc;
  --text: #121b36;
  --muted: #535d73;
  --gold: #7f5f24;
  --line: rgba(18, 27, 54, 0.14);
  --on-gold: #ffffff;
  color-scheme: light;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1f;
    --surface: #131c38;
    --text: #f2e7d3;
    --muted: #a3acc2;
    --gold: #d7ae68;
    --line: rgba(215, 174, 104, 0.2);
    --on-gold: #0a0f1f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1f;
  --surface: #131c38;
  --text: #f2e7d3;
  --muted: #a3acc2;
  --gold: #d7ae68;
  --line: rgba(215, 174, 104, 0.2);
  --on-gold: #0a0f1f;
  color-scheme: dark;
}

/* Logo swap: deep gold on light, bright gold on dark */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: block; }
  :root:not([data-theme="light"]) .logo-light { display: none; }
}
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .logo-light { display: none; }

/* Language: show only the active language */
:root[data-lang="en"] [data-l="hi"],
:root[data-lang="hi"] [data-l="en"] { display: none !important; }
:root[data-lang="hi"] body { font-size: 1.15rem; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: var(--radius-s); z-index: 50; }
.skip:focus { left: 12px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.005em; }
:root[data-lang="hi"] h1, :root[data-lang="hi"] h2 { font-family: "Rozha One", var(--display); font-weight: 400; line-height: 1.35; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
h3 { font-size: 1.6rem; }
:root[data-lang="hi"] h3 { font-family: var(--body); font-weight: 600; font-size: 1.3rem; line-height: 1.45; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text);
  height: 36px; min-width: 36px; padding: 0 10px; border-radius: var(--radius-s);
  font: 600 0.9rem/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none; border: 1px solid var(--gold); transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-ghost { color: var(--gold); background: transparent; }
.btn-ghost:hover { background: var(--gold); color: var(--on-gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .intro { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin-bottom: 32px; }
.hero .mark { justify-self: center; width: min(300px, 80%); }
.tagline-hi { font-family: "Rozha One", serif; color: var(--gold); font-size: 1.35rem; margin: 0 0 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 40em; color: var(--muted); font-size: 1.15rem; margin-bottom: 44px; }

/* ---------- Ventures orbit (the signature element) ---------- */
.ventures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; --r: 41%; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.orbit .thread { fill: none; stroke: var(--gold-decor); stroke-width: 1.5; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .thread { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s ease-out .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.orbit .core { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); }
.node {
  position: absolute; left: 50%; top: 50%;
  transform: rotate(var(--a)) translate(var(--orbit-r, 210px)) rotate(calc(-1 * var(--a)));
  translate: -50% -50%;
  appearance: none; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  font: 600 0.95rem/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.node::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.node:hover, .node[aria-selected="true"] { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.node[data-status="planned"] { color: var(--muted); }

.venture-panel { min-height: 330px; }
.venture { display: none; border-left: 3px solid var(--c); padding-left: 28px; }
.venture.is-active { display: block; }
.no-js .venture { display: block; margin-bottom: 36px; }
.venture .status {
  display: inline-block; font-size: .85rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--c); color: var(--text); margin-bottom: 14px;
}
.venture h3 { font-size: 2.1rem; margin-bottom: 6px; }
.venture .domain { color: var(--muted); margin-bottom: 14px; font-size: .98rem; }
.venture p.desc { font-size: 1.1rem; max-width: 30em; }

.venture-list { display: none; }

/* ---------- Feature (latest story) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center;
}
.feature .poster {
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: var(--navy);
}
.kicker { color: var(--v-media); font-weight: 600; margin-bottom: 10px; display: block; }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.promises h3 { font-size: 1.5rem; margin-bottom: 8px; }
.promises p { color: var(--muted); margin: 0; }

/* ---------- Notify band ---------- */
.band { background: var(--navy); color: #f2e7d3; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.band h2 { color: #f2e7d3; margin-bottom: 8px; }
.band p { color: #c3c9d8; margin: 0; }
.band .btn-primary { background: #d7ae68; border-color: #d7ae68; color: #0a0f1f; }
.band .btn-primary:hover { background: #f2e7d3; border-color: #f2e7d3; }

/* ---------- Lists, tables, timeline ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 15em minmax(0, 1fr) auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows h3 { font-size: 1.35rem; }
.rows p { margin: 0; color: var(--muted); }
.tag { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tag.live { color: var(--v-academy); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--gold); background: var(--surface); }
td.when { color: var(--muted); white-space: nowrap; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 40px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.timeline li.now::before { background: var(--gold); }
.timeline .phase { font-weight: 600; color: var(--gold); margin-bottom: 6px; display: block; }
.timeline p { color: var(--muted); margin: 0; }

.notice { background: var(--surface); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 48em; margin: 0 0 32px; }
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 48px 0 12px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 8px; font-family: var(--body); font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 16px; }
.page-head p { color: var(--muted); font-size: 1.2rem; max-width: 38em; margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 16em minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list h3 { font-family: var(--body); font-size: 1.15rem; font-weight: 600; }
.contact-list p { margin: 0 0 6px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid img { height: 20px; width: auto; margin-bottom: 14px; }
.foot-grid h4 { font-size: 1rem; margin: 0 0 12px; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .ventures { grid-template-columns: 1fr; gap: 32px; }
  .venture-panel { min-height: 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero .mark { order: -1; width: 140px; justify-self: start; }
  .orbit { display: none; }
  .venture-list { display: block; }
  .venture-panel { display: none; }
  .no-js .venture-panel { display: block; }
  .promises { grid-template-columns: 1fr; gap: 28px; }
  .rows li, .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 28px 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .venture-list .rows li { grid-template-columns: 1fr auto; }
  .venture-list .rows li p { grid-column: 1 / -1; }
}
