/*!
 * hindustanfirst.com — styles
 * Light editorial look: warm newsprint paper, navy ink, saffron used sparingly,
 * India green only as tiny accents. Mobile-first; no framework, no build step.
 */

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
  --ink: #0B1F3A;
  --ink-2: #2E3D55;
  --ink-3: #4A5870;
  --muted: #5E6A7D;

  --paper: #FBF8F3;
  --paper-2: #F5EFE6;
  --paper-3: #FFFDF9;
  --card: #FFFFFF;
  --plate: #FBF4EA;
  --rule: #E8E2D8;
  --rule-2: #D8CFC1;

  --saffron: #F26B1D;
  --saffron-ink: #B4470C;
  --saffron-ink-2: #A8420B;
  --saffron-wash: #FDEBDD;
  --saffron-light: #FFB27F;
  --green: #138A36;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Mukta", "Nirmala UI", "Mangal", serif;
  --f-body: "Mukta", "Nirmala UI", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1240px;
  --header-h: 68px;
  --radius: 18px;
  --radius-l: 28px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-card: 0 1px 0 rgba(11, 31, 58, .03), 0 18px 40px -30px rgba(11, 31, 58, .32);
  --shadow-lift: 0 1px 0 rgba(11, 31, 58, .04), 0 30px 60px -32px rgba(11, 31, 58, .42);

  /* Subtle paper grain (tiled SVG noise, navy-tinted) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}


/* ==========================================================================
   1. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper) var(--grain);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; }

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

p { margin: 0; }

ul[role="list"],
ol[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

button { font: inherit; }

::selection {
  background: var(--saffron-wash);
  color: var(--ink);
}

:focus { outline: none; }

:focus-visible {
  outline: 2.5px solid var(--saffron-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease-out);
}

.skip-link:focus-visible { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease-out);
}


/* ==========================================================================
   2. Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: .7em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .4s var(--ease-out),
    transform .4s var(--ease-out);
}

.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 26px -16px rgba(11, 31, 58, .7);
}

.btn--ghost {
  background: rgba(255, 255, 255, .65);
  border-color: var(--rule-2);
  color: var(--ink);
}

.btn--saffron {
  background: var(--saffron);
  color: var(--ink);
  box-shadow: 0 16px 36px -20px rgba(242, 107, 29, .9);
}

.btn--sm {
  min-height: 42px;
  padding: .5em 1.05em;
  font-size: .93rem;
}

.btn--lg {
  min-height: 58px;
  padding: .85em 1.7em;
  font-size: 1.06rem;
}

.btn--block { width: 100%; }

@media (hover: hover) {
  .btn--primary:hover {
    background: #16325C;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -18px rgba(11, 31, 58, .75);
  }

  .btn--ghost:hover {
    background: var(--card);
    border-color: var(--ink);
    transform: translateY(-2px);
  }

  .btn--saffron:hover {
    background: #FF8443;
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -20px rgba(242, 107, 29, .95);
  }

  .btn:hover .icon--nudge-down { transform: translateY(3px); }
  .btn:hover use[href="#i-arrow-up-right"] { transform: translate(2px, -2px); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 8px;
  border-bottom: 1.5px solid currentColor;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease, gap .35s var(--ease-out);
}

@media (hover: hover) {
  .link-arrow:hover {
    color: var(--saffron-ink);
    gap: 14px;
  }
}


/* ==========================================================================
   3. Header, navigation, mobile menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, .9);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(251, 248, 243, .76);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 12px 30px -26px rgba(11, 31, 58, .45);
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  transition: transform .6s var(--ease-out);
}

@media (hover: hover) {
  .brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__en {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__hi {
  margin-top: 4px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.2;
  white-space: nowrap;
}

.nav { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active { color: var(--ink); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

@media (min-width: 960px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 22px;
  }
}

/* Menu toggle (only when JS is running) */
.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .35s var(--ease-out), transform .35s var(--ease-out), width .35s var(--ease-out);
}

.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10px; width: 68%; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 4px 0 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 100vmax 0 100vmax rgba(11, 31, 58, 0);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity .3s var(--ease),
    transform .45s var(--ease-out),
    box-shadow .4s ease,
    visibility 0s linear .45s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  box-shadow: 0 100vmax 0 100vmax rgba(11, 31, 58, .28);
  transition-delay: 0s;
}

.mobile-menu__list { margin-bottom: 20px !important; }

.mobile-menu__list li + li { border-top: 1px solid var(--rule); }

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.65rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
}

.mobile-menu__hi {
  color: var(--muted);
  font-size: 1.05rem;
}

.mobile-menu__link.is-active { color: var(--saffron-ink); }

.js:not(.reveal-all) .menu-toggle { display: inline-grid; }

@media (min-width: 960px) {
  .js:not(.reveal-all) .menu-toggle,
  .mobile-menu { display: none; }
}

/* No JS (or main.js failed): show a compact, wrapping nav row instead */
@media (max-width: 959.98px) {
  html:not(.js) .mobile-menu,
  html.reveal-all .mobile-menu { display: none; }

  html:not(.js) .header__inner,
  html.reveal-all .header__inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  html:not(.js) .nav,
  html.reveal-all .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    width: 100%;
  }

  html:not(.js) .nav__list,
  html.reveal-all .nav__list { flex-wrap: wrap; }

  html:not(.js) .nav__link,
  html.reveal-all .nav__link { padding: 8px 10px; }
}

/* Reading progress */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), #F7A25F);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}


/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 6vw, 64px) clamp(52px, 7vw, 96px);
}

.hero__grid {
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45em;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.chip [lang="hi"] { font-weight: 400; }

.chip__sep { color: var(--saffron); }

.chip__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(19, 138, 54, .45);
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.45rem, 1rem + 6.6vw, 6.15rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.032em;
  text-wrap: initial;
}

.hero__line { display: block; }

.hero__first {
  position: relative;
  display: inline-block;
  padding-right: .05em;
  font-style: italic;
  font-weight: 460;
}

.hero__swash {
  position: absolute;
  left: -3%;
  bottom: -.2em;
  width: 106%;
  height: auto;
  aspect-ratio: 220 / 24;
  overflow: visible;
  pointer-events: none;
}

.hero__swash path {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 6;
  stroke-linecap: round;
}

.hero__hi {
  display: block;
  margin-top: .5em;
  color: var(--ink-3);
  font-size: clamp(1.5rem, .95rem + 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.38;
}

.hero__lede {
  max-width: 33em;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__actions .btn { flex: 1 1 auto; }

@media (min-width: 480px) {
  .hero__actions .btn { flex: 0 1 auto; }
}

.hero__art {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}

.hero__glow {
  position: absolute;
  inset: 12% 4% 14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 107, 29, .2), rgba(242, 107, 29, .07) 60%, transparent);
  filter: blur(28px);
  pointer-events: none;
}

.hero__parallax {
  position: relative;
  z-index: 1;
  transform: translate3d(0, var(--py, 0px), 0);
}

/* Small screens: crop the 4:5 art to a square around the (vertically centred)
   sun-mandala so the faded rays don't leave a tall empty band. */
.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 49%;
  /* Fade the artwork's cream edges into the page so it sits directly on the paper. */
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 24px;
  }

  .hero__art {
    width: 100%;
    max-width: 560px;
    margin: -24px -28px -24px auto;
  }

  .hero__img {
    aspect-ratio: 1200 / 1490;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  }
}

/* Hero intro (CSS only, so it never depends on JS) */
@media (prefers-reduced-motion: no-preference) {
  [data-intro] {
    animation: intro-up 1s var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }

  [data-intro="art"] {
    animation-name: intro-art;
    animation-duration: 1.5s;
  }

  .hero__swash path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.1s var(--ease-out) .85s forwards;
  }

  .chip__dot { animation: pulse 2.4s ease-out 1s 3; }
}

@keyframes intro-up {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes intro-art {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(19, 138, 54, .45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(19, 138, 54, 0); }
}


/* ==========================================================================
   5. Topic ticker (marquee)
   ========================================================================== */
.ticker {
  position: relative;
  padding-block: 18px 16px;
  overflow: hidden;
  background: var(--card);
  border-block: 1px solid var(--rule);
}

.ticker__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker__track {
  display: flex;
  flex: none;
  width: max-content;
  animation: marquee 80s linear infinite;
}

.ticker__row--hi { margin-top: 4px; }

.ticker__row--hi .ticker__track {
  animation-duration: 95s;
  animation-direction: reverse;
}

.ticker__list {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker__list li::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-inline: clamp(18px, 3vw, 34px);
  border: 1.5px solid var(--saffron);
  border-radius: 50%;
  background: radial-gradient(circle, var(--saffron) 0 28%, transparent 33%);
}

.ticker__row--en .ticker__list {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 1rem + 2.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.ticker__row--en li:nth-child(even) { font-style: italic; }

.ticker__row--hi .ticker__list {
  color: var(--muted);
  font-size: clamp(1.05rem, .9rem + .9vw, 1.45rem);
  line-height: 1.6;
}

.ticker__row--hi .ticker__list li::after {
  width: 5px;
  height: 5px;
  border: 0;
  background: var(--green);
  opacity: .8;
}

.ticker:hover .ticker__track,
.ticker.is-paused .ticker__track,
.ticker.is-offscreen .ticker__track { animation-play-state: paused; }

.ticker__toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s ease, border-color .2s ease;
}

.ticker__toggle:hover,
.ticker__toggle:focus-visible {
  opacity: 1;
  border-color: var(--ink);
}

.ticker__toggle .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.ticker__icon-play,
.ticker.is-paused .ticker__icon-pause { display: none; }

.ticker.is-paused .ticker__icon-play { display: block; }

.hf-ready .ticker__toggle { display: inline-grid; }

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__row {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker__track {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    animation: none;
  }

  .ticker__list {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 26px;
    padding-inline: var(--gutter);
  }

  .ticker__list + .ticker__list,
  .ticker__list li::after,
  .hf-ready .ticker__toggle { display: none; }
}


/* ==========================================================================
   6. Sections & headings
   ========================================================================== */
.section { padding-block: clamp(64px, 8vw, 116px); }

.section-head { max-width: 46rem; }

.section-head--split {
  display: grid;
  gap: 18px 56px;
  max-width: none;
  margin-bottom: clamp(32px, 5vw, 60px);
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

.kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 18px;
  color: var(--saffron-ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.kicker__num::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--saffron);
}

.kicker__hi {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.section-title {
  font-size: clamp(2.15rem, 1.3rem + 3.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-hi {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem);
  line-height: 1.45;
}

.section-intro {
  max-width: 30em;
  color: var(--ink-3);
  font-size: 1.1rem;
}

.lede {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.42rem, 1.1rem + 1.25vw, 2.05rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.014em;
}


/* ==========================================================================
   7. About
   ========================================================================== */
.about__grid {
  display: grid;
  gap: 28px;
}

.about__copy > p + p {
  max-width: 38em;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 1.1rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .about__copy { padding-top: 46px; }
}

.pillars {
  display: grid;
  margin-top: clamp(48px, 7vw, 92px) !important;
  border-top: 1px solid var(--ink);
}

.pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.pillar__num {
  grid-row: span 3;
  color: var(--saffron);
  font-size: 2.4rem;
  line-height: 1.1;
}

.pillar__title {
  font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem);
  letter-spacing: -0.02em;
}

.pillar__hi {
  margin-top: 2px;
  color: var(--muted);
  font-size: 1.05rem;
}

.pillar__text {
  margin-top: 10px;
  color: var(--ink-3);
}

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .pillar {
    display: block;
    padding: 34px 30px 6px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .pillar:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .pillar__num {
    display: block;
    margin-bottom: 18px;
    font-size: 2.8rem;
  }
}


/* ==========================================================================
   8. Topics
   ========================================================================== */
.topics__grid {
  display: grid;
  gap: 18px;
}

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s ease;
}

.topic::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  z-index: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform .6s var(--ease-out);
}

.topic__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 896;
  border-radius: calc(var(--radius) - 7px);
  background: var(--plate);
}

.topic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.topic__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px 14px;
}

.topic__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.topic__num {
  color: var(--saffron-ink);
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-style: italic;
}

.topic__hi {
  color: var(--ink-3);
  font-size: 1.04rem;
  line-height: 1.45;
}

.topic__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  letter-spacing: -0.022em;
}

.topic__desc {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 1.04rem;
  line-height: 1.55;
}

.topic__tags {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--rule-2);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}


@media (hover: hover) {
  .topic:hover {
    transform: translateY(-5px);
    border-color: var(--rule-2);
    box-shadow: var(--shadow-lift);
  }

  .topic:hover::before { transform: scaleX(1); }
  .topic:hover .topic__media img { transform: scale(1.045); }
}

@media (min-width: 640px) {
  .topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .topic--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .topic--feature .topic__body { padding: 20px 22px; }
  .topic--feature .topic__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.3rem); }
  .topic--feature .topic__tags { margin-top: 10px; }
}

@media (min-width: 1024px) {
  .topics__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
  }

  .topic { grid-column: span 2; }

  .topic--feature,
  .topic--wide {
    grid-column: span 3;
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .topic--feature .topic__body,
  .topic--wide .topic__body { padding: 22px 18px 16px; }

  .topic--feature .topic__title,
  .topic--wide .topic__title { font-size: 2.15rem; }

  .topic--feature .topic__tags { margin-top: auto; }
}


/* ==========================================================================
   9. Formats
   ========================================================================== */
.formats {
  background: var(--paper-2) var(--grain);
  border-block: 1px solid var(--rule);
}

.formats__grid {
  display: grid;
  gap: 16px;
}

.format {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s ease;
}

.format__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.format__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  transition: background-color .35s ease, color .35s ease, transform .5s var(--ease-out), border-color .35s ease;
}

.format__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--soon {
  background: var(--saffron-wash);
  color: var(--saffron-ink-2);
}

.status--later {
  border: 1px solid var(--rule-2);
  color: var(--muted);
}

.format__title {
  font-size: clamp(1.4rem, 1.25rem + .5vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.format__hi {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.45;
}

.format__text {
  flex: 1;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 1.02rem;
  line-height: 1.55;
}

.format__where {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: .94rem;
  font-weight: 600;
}

.format__label {
  margin-right: 4px;
  color: var(--muted);
  font-weight: 500;
}

@media (hover: hover) {
  .format:hover {
    transform: translateY(-5px);
    border-color: var(--rule-2);
    box-shadow: var(--shadow-lift);
  }

  .format:hover .format__icon {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    transform: rotate(-5deg);
  }
}

@media (min-width: 720px) {
  .formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .formats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Reserve two title lines so the Hindi lines and copy align across the row */
  .format__title { min-height: 2.3em; }
}


/* ==========================================================================
   10. Principles — printed manifesto card
   ========================================================================== */
.manifesto {
  position: relative;
  padding: clamp(8px, 1.4vw, 14px);
  border-radius: 6px;
  background: var(--paper-3) var(--grain);
  box-shadow:
    0 1px 0 rgba(11, 31, 58, .05),
    0 3px 8px -4px rgba(11, 31, 58, .12),
    0 44px 90px -44px rgba(11, 31, 58, .4);
}

.manifesto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 72px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--saffron);
  transform: translateX(-50%);
}

.manifesto__inner {
  display: grid;
  gap: 36px;
  padding: clamp(30px, 5vw, 64px) clamp(18px, 5vw, 64px) clamp(24px, 4vw, 44px);
  border: 4px double #D3C6B2;
  border-radius: 3px;
}

.manifesto__intro {
  max-width: 26em;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 1.1rem;
}

.seal {
  width: clamp(116px, 20vw, 168px);
  margin-top: 32px;
  color: var(--saffron-ink);
}

.seal__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  transform: rotate(var(--spin, 0deg));
}

.seal__rim {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.seal__text {
  fill: currentColor;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 700;
}

.seal__wheel {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.promise {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0 8px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 600px) {
  .promise {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0 14px;
    padding: 24px 0;
  }
}

.promise:first-child {
  padding-top: 4px;
  border-top: 0;
}

.promise__num {
  padding-top: .12em;
  color: var(--saffron-ink);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.1;
}

.promise__title {
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.016em;
}

.promise__hi {
  margin-top: 4px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.promise__text {
  margin-top: 8px;
  color: var(--ink-3);
}

.manifesto__sign {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-2);
  color: var(--ink-2);
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
}

.manifesto__sign [lang="hi"] {
  color: var(--muted);
  font-style: normal;
}

@media (min-width: 960px) {
  .manifesto__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px 72px;
  }

  .manifesto__head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    align-self: start;
  }

  .manifesto__sign { grid-column: 1 / -1; }
}


/* ==========================================================================
   11. Founder strip
   ========================================================================== */
.founder { padding-bottom: clamp(64px, 8vw, 112px); }

.founder__inner {
  display: grid;
  gap: 18px;
  padding-block: clamp(28px, 4vw, 40px);
  border-block: 1px solid var(--rule);
}

.founder__mono {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--rule);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: -0.04em;
}

.kicker--plain { margin-bottom: 8px; }

.founder__title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  letter-spacing: -0.022em;
}

.founder__text {
  max-width: 40em;
  margin-top: 8px;
  color: var(--ink-3);
}

.founder__link { justify-self: start; }

@media (min-width: 820px) {
  .founder__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 40px;
  }
}


/* ==========================================================================
   12. CTA
   ========================================================================== */
.cta { padding-bottom: clamp(72px, 9vw, 128px); }

.cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 96px) clamp(22px, 6vw, 88px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(242, 107, 29, .2), transparent 70%),
    radial-gradient(120% 140% at 0% 0%, #163563 0%, var(--ink) 58%);
  color: #C9D2E0;
}

.cta__wheel {
  position: absolute;
  top: 50%;
  right: -42%;
  z-index: -1;
  width: 560px;
  max-width: none;
  height: 560px;
  margin-top: -280px;
  fill: none;
  stroke: rgba(251, 248, 243, .1);
  stroke-width: .35;
  transform: rotate(var(--spin, 0deg));
}

@media (min-width: 720px) {
  .cta__wheel {
    right: -12%;
    width: 720px;
    height: 720px;
    margin-top: -360px;
  }
}

.cta__copy {
  position: relative;
  max-width: 41rem;
}

.kicker--light { color: var(--saffron-light); }
.kicker--light .kicker__hi { color: #A9B4C6; }

.cta__title {
  color: var(--paper);
  font-size: clamp(2.45rem, 1.2rem + 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.032em;
}

.cta__hi {
  margin-top: 14px;
  color: var(--saffron-light);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem);
  line-height: 1.4;
}

.cta__text {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.12rem;
}

.cta .btn { margin-top: 32px; }

@media (max-width: 479.98px) {
  .cta .btn {
    width: 100%;
    padding-inline: 16px;
  }
}

@media (max-width: 399.98px) {
  .cta .btn .icon { display: none; }
}

.cta__note {
  margin-top: 16px;
  color: #A9B4C6;
  font-size: .92rem;
}

.cta :focus-visible { outline-color: var(--saffron-light); }


/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--rule);
}

.footer__top {
  display: grid;
  gap: 36px;
}

.footer__tagline {
  margin-top: 18px;
  color: var(--ink-2);
  font-family: var(--f-display);
  font-size: 1.2rem;
}

.footer__tagline [lang="hi"] {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 1.05rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 24px clamp(48px, 12vw, 120px);
}

.footer__heading {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.footer__col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer__signoff {
  margin-top: clamp(32px, 5vw, 56px);
  color: #ECE3D4;
  font-size: clamp(3.2rem, 14.5vw, 12.5rem);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .93rem;
}

.footer__bottom a { color: var(--ink-2); }

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

@media (hover: hover) {
  .footer__top-link:hover .icon { transform: translateY(-3px); }
}

@media (min-width: 760px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }
}


/* ==========================================================================
   14. 404 page
   ========================================================================== */
.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  min-height: calc(100dvh - var(--header-h) - 80px);
  padding-block: 48px 72px;
  text-align: center;
}

.notfound__num {
  color: var(--saffron);
  font-size: clamp(5rem, 3rem + 12vw, 10rem);
  line-height: 1.05;
}

.notfound__latin {
  margin-top: 4px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.notfound__title {
  margin-top: 22px;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  letter-spacing: -0.03em;
}

.notfound__hi {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem);
}

.notfound__text {
  max-width: 30em;
  margin: 18px auto 0;
  color: var(--ink-3);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.simple-footer {
  padding-block: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .93rem;
  text-align: center;
}


/* ==========================================================================
   15. Scroll reveal (progressive enhancement)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .9s var(--ease-out) var(--d, 0ms),
    translate 1s var(--ease-out) var(--d, 0ms);
}

/* Cards keep their hover transitions alongside the reveal */
.js .topic[data-reveal],
.js .format[data-reveal] {
  transition:
    opacity .9s var(--ease-out) var(--d, 0ms),
    translate 1s var(--ease-out) var(--d, 0ms),
    transform .55s var(--ease-out),
    box-shadow .55s var(--ease-out),
    border-color .3s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Failsafe (added by the inline head script after 4s if main.js never ran) */
html.reveal-all [data-reveal] {
  opacity: 1 !important;
  translate: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }

  .hero__parallax,
  .seal__svg,
  .cta__wheel { transform: none !important; }
}


/* ==========================================================================
   16. Hindi typography (kept last so it wins over Latin type rules)
   ========================================================================== */
:lang(hi) {
  font-family: var(--f-hindi);
  letter-spacing: 0;
  text-transform: none;
  font-style: normal;
}
