/* ==========================================================================
   bharatsinhjidabhi.com — Official website design system
   Palette: Deep Cypress (authority) · Terracotta (people) · Parchment (calm)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Surfaces */
  --parchment:   #FAF7F1;
  --parchment-2: #F4EEE3;
  --sand:        #EAE1D0;
  --sand-deep:   #DED2BC;

  /* Primary — deep cypress */
  --cypress:     #10403A;
  --cypress-900: #082B27;
  --cypress-700: #16564D;
  --cypress-500: #2C7266;
  --cypress-100: #D6E4E0;

  /* Accent — terracotta */
  --clay:        #B4502E;
  --clay-700:    #8E3C21;
  --clay-300:    #E0A88F;
  --clay-100:    #F4E0D5;

  /* Text */
  --ink:         #17211E;
  --ink-2:       #3C4844;
  --ink-3:       #586661;
  --on-dark:     #F2EFE8;
  --on-dark-2:   #C3D0CB;

  /* Lines & shadow */
  --line:        #DED4C2;
  --line-2:      #C9BCA4;
  --line-dark:   rgba(242,239,232,.22);
  --shadow-sm:   0 1px 2px rgba(23,33,30,.06), 0 4px 14px rgba(23,33,30,.05);
  --shadow-md:   0 2px 6px rgba(23,33,30,.07), 0 18px 44px rgba(23,33,30,.09);
  --shadow-lg:   0 4px 12px rgba(23,33,30,.08), 0 34px 74px rgba(23,33,30,.13);

  /* Rhythm */
  --gut:  clamp(1.25rem, 4vw, 2.5rem);
  --sect: clamp(3.75rem, 9vw, 7.5rem);
  --maxw: 1240px;
  --maxw-narrow: 780px;
  --radius:   4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Typography — per-language families are set below */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --lh-display: 1.08;
  --lh-body: 1.75;
  --track-eyebrow: .16em;
}

html[lang="hi"] {
  --font-display: 'Noto Serif Devanagari', 'Tiro Devanagari Hindi', 'Nirmala UI', 'Mangal', serif;
  --font-body: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Segoe UI', Arial, sans-serif;
  --lh-display: 1.38;
  --lh-body: 1.95;
  --track-eyebrow: .08em;
}
html[lang="gu"] {
  --font-display: 'Noto Serif Gujarati', 'Tiro Gujarati', 'Nirmala UI', 'Shruti', serif;
  --font-body: 'Noto Sans Gujarati', 'Nirmala UI', 'Shruti', 'Segoe UI', Arial, sans-serif;
  --lh-display: 1.38;
  --lh-body: 1.95;
  --track-eyebrow: .08em;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--cypress); color: #fff; }

/* ---------- 3. Access gate ---------------------------------------------- */
html[data-access="denied"] body { display: none !important; }
html:not([data-access]) body { visibility: hidden; }
.noscript-note {
  visibility: visible;
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; padding: 2rem;
  background: var(--parchment); color: var(--ink);
  font-family: var(--font-body); text-align: center; line-height: 1.7;
}

/* ---------- 4. Layout helpers ------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--cypress); color: #fff; padding: .8rem 1.25rem;
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 5. Type ------------------------------------------------------ */
.display-1, .display-2, .display-3, .h-lg, .h-md, .h-sm {
  font-family: var(--font-display);
  line-height: var(--lh-display);
  letter-spacing: -.015em;
  font-weight: 600;
  text-wrap: balance;
}
html[lang="hi"] .display-1, html[lang="hi"] .display-2, html[lang="hi"] .display-3,
html[lang="hi"] .h-lg, html[lang="hi"] .h-md, html[lang="hi"] .h-sm,
html[lang="gu"] .display-1, html[lang="gu"] .display-2, html[lang="gu"] .display-3,
html[lang="gu"] .h-lg, html[lang="gu"] .h-md, html[lang="gu"] .h-sm {
  letter-spacing: 0;
  font-weight: 500;
}

.display-1 { font-size: clamp(2.6rem, 1.2rem + 6.2vw, 5.4rem); }
.display-2 { font-size: clamp(2.1rem, 1.1rem + 4.4vw, 4rem); }
.display-3 { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.85rem); }
.h-lg     { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.15rem); }
.h-md     { font-size: clamp(1.24rem, 1.08rem + .8vw, 1.55rem); }
.h-sm     { font-size: clamp(1.08rem, 1rem + .45vw, 1.24rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--clay-700);
}
html[lang="hi"] .eyebrow, html[lang="gu"] .eyebrow { text-transform: none; font-size: .84rem; }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--clay); flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--clay-300); }
.eyebrow--light::before { background: var(--clay-300); }

.lede {
  font-size: clamp(1.1rem, 1.02rem + .5vw, 1.32rem);
  line-height: 1.66; color: var(--ink-2);
}
html[lang="hi"] .lede, html[lang="gu"] .lede { line-height: 1.9; }

.prose > * + * { margin-top: 1.15em; }
.prose p { color: var(--ink-2); }
.prose h3 { margin-top: 2.2em; }
.prose strong { color: var(--ink); font-weight: 650; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Bullet list */
.list-mark { display: grid; gap: .85rem; }
.list-mark li {
  position: relative; padding-left: 1.7rem; color: var(--ink-2);
}
.list-mark li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 2px solid var(--clay);
}
.list-mark--light li { color: var(--on-dark-2); }
.list-mark--light li::before { border-color: var(--clay-300); }

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95em 1.7em;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent;
  border-radius: 100px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { background: var(--cypress); color: #fff; }
.btn--primary:hover { background: var(--cypress-900); }
.btn--accent { background: var(--clay); color: #fff; }
.btn--accent:hover { background: var(--clay-700); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--cypress); background: var(--cypress); color: #fff; }
.btn--on-dark { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn--on-dark:hover { background: var(--on-dark); color: var(--cypress-900); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; font-size: .95rem; text-decoration: none;
  color: var(--cypress); border-bottom: 1.5px solid var(--clay-300);
  padding-bottom: .18em; transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { color: var(--clay-700); border-color: var(--clay); }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); border-color: rgba(242,239,232,.4); }
.link-arrow--light:hover { color: #fff; border-color: var(--clay-300); }

/* ---------- 7. Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Two tiers: identity + language on the first row, navigation on the second.
   Indic navigation labels are long, so the nav needs a full-width row. */
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .8rem clamp(1rem, 2.5vw, 2rem);
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand__mark {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cypress); color: var(--parchment);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(242,239,232,.25);
}
.brand__text { display: grid; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  color: var(--ink); letter-spacing: -.01em;
}
html[lang="hi"] .brand__name, html[lang="gu"] .brand__name { letter-spacing: 0; }
.brand__role {
  font-size: .68rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--clay-700); font-weight: 650; margin-top: .18em;
}
html[lang="hi"] .brand__role, html[lang="gu"] .brand__role {
  text-transform: none; letter-spacing: .02em; font-size: .74rem;
}

.lang { margin-left: auto; }
.nav {
  flex: 1 0 100%; order: 5;
  border-top: 1px solid var(--line); margin-top: .1rem; padding-top: .2rem;
}
.nav__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 clamp(.1rem, .6vw, .5rem);
  margin-left: -.62rem;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .32rem;
  padding: .55rem .62rem; border-radius: var(--radius);
  font-size: .845rem; font-weight: 600; text-decoration: none;
  color: var(--ink-2); white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
html[lang="hi"] .nav__link, html[lang="gu"] .nav__link { font-size: .88rem; }
.nav__link:hover { color: var(--cypress); background: var(--parchment-2); }
.nav__link[aria-current="page"] { color: var(--cypress); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .12rem;
  height: 2px; background: var(--clay); border-radius: 2px;
}
.nav__caret { width: 9px; height: 9px; opacity: .65; transition: transform .2s var(--ease); }
.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + .35rem); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: .5rem; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-menu:hover > .nav__menu,
.nav__item--has-menu:focus-within > .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: block; padding: .6rem .8rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 550; color: var(--ink-2); text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__menu a:hover { background: var(--parchment-2); color: var(--cypress); }
.nav__menu li:last-child a { border-bottom: 0; }

/* Language switcher */
.lang {
  display: flex; align-items: center; flex: none;
  border: 1px solid var(--line-2); border-radius: 100px;
  padding: 3px; background: var(--parchment-2);
}
.lang__btn {
  padding: .38rem .72rem; border-radius: 100px; text-decoration: none;
  font-size: .8rem; font-weight: 650; color: var(--ink-3); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang__btn:hover { color: var(--cypress); }
.lang__btn[aria-current="true"] { background: var(--cypress); color: #fff; }

.nav-toggle {
  display: none; flex: none; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .lang { order: 2; margin-left: auto; }
  .nav {
    order: 4; margin-top: 0; padding-top: 0;
    display: none;
    padding-bottom: 1rem; max-height: min(72vh, 640px); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; margin-left: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item:last-child { border-bottom: 0; }
  .nav__link { padding: .95rem .35rem; font-size: 1rem; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--clay-700); }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .7rem .35rem;
    background: transparent; min-width: 0; display: none;
  }
  .nav__item--has-menu.is-expanded > .nav__menu { display: grid; }
  .nav__menu a { padding: .55rem .6rem; }
  .nav__caret { transition: transform .2s var(--ease); }
  .nav__item--has-menu.is-expanded .nav__caret { transform: rotate(180deg); }
  .nav__item--has-menu:hover .nav__caret { transform: none; }
  .nav__item--has-menu:hover > .nav__menu,
  .nav__item--has-menu:focus-within > .nav__menu { display: none; }
  .nav__item--has-menu.is-expanded:hover > .nav__menu { display: grid; }
}
@media (max-width: 560px) {
  .header-inner { padding-block: .55rem; gap: .55rem 1rem; }
  .brand { flex: 1 1 100%; }
  .brand__mark { width: 38px; height: 38px; font-size: .92rem; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 1rem; }
  .brand__role { font-size: .64rem; }
  html[lang="hi"] .brand__role, html[lang="gu"] .brand__role { font-size: .7rem; }
  .lang__btn { padding: .35rem .55rem; font-size: .76rem; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* ---------- 8. Figures & media ------------------------------------------ */
.figure { margin: 0; }
.figure__frame {
  position: relative; overflow: hidden;
  background: var(--parchment-2); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.figure__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure__frame--contain { background: var(--sand); }
.figure__frame--contain img { object-fit: contain; }
.figure figcaption {
  margin-top: .85rem; font-size: .82rem; line-height: 1.55; color: var(--ink-3);
  padding-left: .9rem; border-left: 2px solid var(--clay-300);
}
.figure--light figcaption { color: var(--on-dark-2); border-left-color: var(--clay); }

.ar-4-3   { aspect-ratio: 4 / 3; }
.ar-3-2   { aspect-ratio: 3 / 2; }
.ar-5-4   { aspect-ratio: 5 / 4; }
.ar-1-1   { aspect-ratio: 1 / 1; }
.ar-4-5   { aspect-ratio: 4 / 5; }
.ar-3-4   { aspect-ratio: 3 / 4; }
.ar-16-9  { aspect-ratio: 16 / 9; }

/* Safe focal points — keep faces inside the frame */
.pos-top    img { object-position: 50% 18%; }
.pos-upper  img { object-position: 50% 30%; }
.pos-center img { object-position: 50% 50%; }

/* ---------- 9. Page masthead -------------------------------------------- */
.masthead {
  background: var(--cypress-900); color: var(--on-dark);
  padding-block: clamp(2.6rem, 6vw, 4.5rem) clamp(2.6rem, 6vw, 4.25rem);
  position: relative; overflow: hidden;
}
.masthead::after {
  content: ""; position: absolute; right: -12%; top: -40%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(180,80,46,.24), transparent 62%);
  pointer-events: none;
}
.masthead__inner { position: relative; z-index: 1; max-width: 900px; }
.masthead h1 { margin-top: .9rem; color: #fff; }
.masthead p { margin-top: 1.2rem; max-width: 62ch; color: var(--on-dark-2); }

.crumbs { font-size: .8rem; color: var(--on-dark-2); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.crumbs a { text-decoration: none; color: var(--on-dark-2); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: #fff; border-color: var(--clay-300); }
.crumbs li + li::before { content: "\203A"; margin-right: .45rem; opacity: .6; }
.crumbs [aria-current="page"] { color: var(--clay-300); }

/* In-page section jump bar */
.jumpbar { background: var(--cypress); border-top: 1px solid rgba(242,239,232,.12); }
.jumpbar ul {
  display: flex; gap: .3rem; overflow-x: auto; padding-block: .5rem;
  scrollbar-width: thin;
}
.jumpbar a {
  display: block; white-space: nowrap; text-decoration: none;
  padding: .5rem .85rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600; color: var(--on-dark-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.jumpbar a:hover { background: rgba(242,239,232,.12); color: #fff; }

/* ---------- 10. Reusable blocks ----------------------------------------- */
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.panel--sand { background: var(--parchment-2); }
.panel--dark { background: var(--cypress-900); border-color: rgba(242,239,232,.14); color: var(--on-dark); }
.panel--dark p { color: var(--on-dark-2); }

.band-dark { background: var(--cypress-900); color: var(--on-dark); }
.band-dark p, .band-dark .lede { color: var(--on-dark-2); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-sand { background: var(--parchment-2); }
.band-clay { background: var(--clay-100); }

.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.section-head { display: grid; gap: 1rem; max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- 11. Footer --------------------------------------------------- */
.site-footer { background: var(--cypress-900); color: var(--on-dark); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.footer-brand p { margin-top: .9rem; color: var(--on-dark-2); font-size: .93rem; max-width: 38ch; }
.footer-title {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-300); font-weight: 700; margin-bottom: 1.1rem;
}
html[lang="hi"] .footer-title, html[lang="gu"] .footer-title { text-transform: none; letter-spacing: .03em; font-size: .84rem; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a {
  text-decoration: none; color: var(--on-dark-2); font-size: .92rem;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: .9rem; font-size: .92rem; }
.footer-contact a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(242,239,232,.3); }
.footer-contact a:hover { color: #fff; border-color: var(--clay-300); }
.footer-contact dt { color: var(--clay-300); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: .2rem; }
html[lang="hi"] .footer-contact dt, html[lang="gu"] .footer-contact dt { text-transform: none; letter-spacing: .02em; font-size: .82rem; }
.footer-contact dd { margin: 0; }

.social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.social a, .social span {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-base {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem 2rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .84rem; color: var(--on-dark-2);
}
.footer-base a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(242,239,232,.35); }
.footer-base a:hover { color: #fff; border-color: var(--clay-300); }

/* ---------- 12. Forms ---------------------------------------------------- */
.field { display: grid; gap: .45rem; }
.field label { font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.field .req { color: var(--clay); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cypress); box-shadow: 0 0 0 3px var(--cypress-100);
}
.field .error {
  font-size: .8rem; color: var(--clay-700); min-height: 1.1em; font-weight: 600;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--clay);
}
.form-status {
  margin-top: 1.1rem; padding: .95rem 1.1rem; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; display: none;
}
.form-status.is-visible { display: block; }
.form-status[data-tone="ok"] { background: var(--cypress-100); color: var(--cypress-900); }
.form-status[data-tone="err"] { background: var(--clay-100); color: var(--clay-700); }

/* ---------- 13. Print ---------------------------------------------------- */
@media print {
  .site-header, .jumpbar, .site-footer, .btn-row, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .masthead { background: #fff; color: #000; }
  .masthead h1, .masthead p { color: #000; }
}

/* ---------- 14. Sign out (access gate) ----------------------------------- */
.footer-signout {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: .84rem; color: var(--on-dark-2);
  border-bottom: 1px solid rgba(242,239,232,.35);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-signout:hover { color: #fff; border-color: var(--clay-300); }
