/* =====================================================================
   S.C.O.B.E.A. — Earth Heritage design system
   Mobile-first: base rules target phones; min-width queries enhance.
   Locked palette (six colours only). Logo colours live in the logo file.
   ===================================================================== */
:root {
  --cocoa: #30251F;      /* dark sections, header variants, footer */
  --khaki: #D8C7A5;      /* primary buttons, highlights */
  --chalk: #F2EEE5;      /* primary light background */
  --clay: #75604D;       /* secondary accents, text details */
  --taupe: #B5A58C;      /* borders, subtle details */
  --limestone: #E5DED1;  /* cards, alternate light sections */
  /* Warm golden accent inspired by the logo — button hovers and subtle accents only */
  --gold: #FBC509;
  --gold-deep: #EFA900;
  --gold-light: #FFD934;
  --gold-grad: linear-gradient(135deg, #FFD934 0%, #FBC509 50%, #EFA900 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --shadow: 0 24px 60px rgba(48, 37, 31, .14);

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --f-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;

  --gutter: 20px;
  --max: 1280px;
  --header-h: 64px;
  --radius: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  --step-5: clamp(3rem, 1.6rem + 6vw, 6.5rem);

  --section-y: clamp(64px, 10vw, 140px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--chalk); color: var(--cocoa); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.dark :focus-visible, .site-header.on-dark :focus-visible { outline-color: var(--khaki); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--cocoa); color: var(--chalk); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
::selection { background: var(--khaki); color: var(--cocoa); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.dark { background: var(--cocoa); color: var(--chalk); }
.alt { background: var(--limestone); }
.grid-12 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pattern-ammonite { background-image: url('../assets/img/pattern-ammonite-1600.jpg'); background-repeat: no-repeat; background-size: min(1200px, 120vw) auto; background-position: right top; background-blend-mode: multiply; }
.pattern-dinosaurs { background-image: url('../assets/img/pattern-dinosaurs-1600.jpg'); background-repeat: no-repeat; background-size: min(1200px, 120vw) auto; background-position: right bottom; background-blend-mode: multiply; }

/* ---------- Typography ---------- */
.display { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.h1 { font-family: var(--f-display); font-size: var(--step-5); font-weight: 600; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; }
.h2 { font-family: var(--f-display); font-size: var(--step-4); font-weight: 600; text-transform: uppercase; line-height: .95; }
.h3 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 600; line-height: 1; }
.h4 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; line-height: 1.1; }
.lead { font-size: var(--step-1); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--clay); }
.dark .muted { color: var(--taupe); }
.mono, .eyebrow, .meta { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--clay); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.dark .eyebrow { color: var(--khaki); }
.meta { color: var(--clay); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dark .meta { color: var(--taupe); }
.hindi { font-family: var(--f-hindi); letter-spacing: 0; text-transform: none; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .lead { margin: 0; }

/* ---------- Buttons & links ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .9375rem; letter-spacing: .01em; text-decoration: none; background: var(--cocoa); color: var(--chalk); border: 1px solid var(--cocoa); transition: color .35s var(--ease), border-color .35s, box-shadow .35s, transform .35s var(--ease); }
/* gold gradient fades in on hover (a pseudo-element, because gradients cannot be transitioned) */
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); opacity: 0; transition: opacity .35s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--cocoa); border-color: var(--gold); box-shadow: 0 10px 26px rgba(239, 169, 0, .28); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:active { transform: translateY(1px); }
.dark .btn, .btn--khaki { background: var(--khaki); color: var(--cocoa); border-color: var(--khaki); }
.btn--gold { background: var(--gold); color: var(--cocoa); border-color: var(--gold); }
.btn--gold::before { opacity: 1; }
.btn--gold:hover { box-shadow: 0 14px 34px rgba(239, 169, 0, .4); }
.btn--ghost, .dark .btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.dark .btn--ghost { color: var(--chalk); border-color: rgba(216,199,165,.6); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--taupe); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Labels / evidence badges ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--taupe); border-radius: var(--radius); color: var(--cocoa); background: var(--chalk); line-height: 1.2; }
.dark .tag { color: var(--chalk); background: transparent; }
.tag--solid { background: var(--khaki); border-color: var(--khaki); color: var(--cocoa); }
.ev { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px 5px 7px; border-radius: var(--radius); line-height: 1.2; border: 1px solid transparent; white-space: nowrap; }
.ev i { width: 10px; height: 10px; border-radius: 50%; flex: none; border: 1.5px solid currentColor; }
.ev--documented { background: var(--cocoa); color: var(--chalk); } .ev--documented i { background: var(--khaki); border-color: var(--khaki); }
.ev--supported { background: var(--clay); color: var(--chalk); } .ev--supported i { background: linear-gradient(90deg, var(--chalk) 50%, transparent 50%); border-color: var(--chalk); }
.ev--ongoing { background: var(--khaki); color: var(--cocoa); } .ev--ongoing i { border-style: dotted; }
.ev--unresolved { background: var(--chalk); color: var(--cocoa); border: 1px dashed var(--cocoa); } .ev--unresolved i { border-radius: 0; transform: rotate(45deg); width: 8px; height: 8px; }
.ev--traditional { background: var(--limestone); color: var(--clay); border-color: var(--taupe); font-style: italic; } .ev--traditional i { border-radius: 0; width: 9px; height: 9px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: currentColor; border: 0; }
.media .ev, .card__media .ev { position: absolute; left: 12px; top: 12px; z-index: 2; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--limestone); }
.dark .media { background: #3a2e27; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ratio-16x9 { aspect-ratio: 16/9; } .ratio-4x3 { aspect-ratio: 4/3; } .ratio-3x4 { aspect-ratio: 3/4; } .ratio-1 { aspect-ratio: 1; } .ratio-21x9 { aspect-ratio: 21/9; } .ratio-3x2 { aspect-ratio: 3/2; }
.img-note { font-family: var(--f-mono); font-size: .6875rem; color: var(--clay); margin-top: 8px; letter-spacing: .03em; }
.dark .img-note { color: var(--taupe); }
figure { margin: 0; }
figcaption { font-size: .8125rem; color: var(--clay); margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
figcaption .credit { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--cocoa); transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s, border-color .35s; border-bottom: 1px solid transparent; will-change: transform; }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.on-dark { color: var(--chalk); }
.site-header.is-solid { background: rgba(242, 238, 229, .92); border-bottom-color: rgba(181, 165, 140, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-solid.on-dark { background: rgba(48, 37, 31, .92); border-bottom-color: rgba(181, 165, 140, .2); }
.site-header.menu-open { background: var(--chalk); color: var(--cocoa); border-bottom-color: rgba(181,165,140,.45); transform: none; }
.site-header.menu-open.on-dark { background: var(--cocoa); color: var(--chalk); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; aspect-ratio: 1; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.wordmark { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .1em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }

.burger { width: 48px; height: 48px; display: grid; place-items: center; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 13px; width: 22px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23.5px; } .burger span:nth-child(3) { top: 30px; width: 14px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 23.5px; width: 22px; transform: rotate(-45deg); }

/* ---------- Mobile off-canvas ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(48, 37, 31, .5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: 140; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--cocoa); color: var(--chalk); z-index: 150; transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease-out), visibility .55s; display: flex; flex-direction: column; overscroll-behavior: contain; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer.is-open + .drawer-backdrop, .drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); height: var(--header-h); border-bottom: 1px solid rgba(181,165,140,.2); flex: none; }
.drawer__top img { width: 42px; height: 42px; object-fit: contain; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); }
.icon-btn svg { width: 22px; height: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; }
.drawer__item { border-bottom: 1px solid rgba(181,165,140,.18); opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.drawer.is-open .drawer__item { opacity: 1; transform: none; }
.drawer__link, .drawer__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 60px; font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; text-align: left; }
.drawer__toggle svg { width: 20px; height: 20px; transition: transform .4s var(--ease); color: var(--khaki); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.drawer__sub > div { overflow: hidden; }
.drawer__toggle[aria-expanded="true"] + .drawer__sub { grid-template-rows: 1fr; }
.drawer__sub ul { list-style: none; padding: 0 0 18px; display: grid; gap: 2px; }
.drawer__sub a { display: block; padding: 10px 0 10px 14px; border-left: 1px solid rgba(181,165,140,.3); color: var(--limestone); text-decoration: none; font-size: .96875rem; }
.drawer__sub a:hover { color: var(--khaki); border-color: var(--khaki); }
.drawer__sub .mono { color: var(--taupe); padding: 12px 0 4px; display: block; }
.drawer__foot { padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(181,165,140,.2); display: grid; gap: 16px; flex: none; }
.drawer__foot .btn { width: 100%; }
.drawer__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .875rem; color: var(--taupe); }
.drawer__contact a { text-decoration: none; }
.socials { display: flex; gap: 6px; }
.socials { gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(181,165,140,.4); border-radius: 50%; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
html.scroll-locked, html.scroll-locked body { overflow: hidden; }

/* =====================================================================
   HERO — six stages
   ===================================================================== */
.hero { position: relative; background: var(--cocoa); color: var(--chalk); }
.hero__viewport { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__track { position: absolute; inset: 0; }
.hero__stage { position: absolute; inset: 0; }
.hero:not(.hero--swipe) .hero__stage:not(:first-child) { visibility: hidden; }
.hero--pinned .hero__stage:not(:first-child) { visibility: visible; }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.5) 0%, rgba(48,37,31,.08) 32%, rgba(48,37,31,.25) 58%, rgba(48,37,31,.9) 100%), linear-gradient(90deg, rgba(48,37,31,.55) 0%, rgba(48,37,31,0) 60%); }
.hero__copy { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) calc(150px + env(safe-area-inset-bottom)); z-index: 3; }
.hero__word { font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 6.6rem); text-transform: uppercase; font-weight: 600; line-height: 1; letter-spacing: .015em; display: block; color: var(--chalk); margin: 0 0 0 -4px; }
/* hand-drawn oval, echoing the rings of the logo; it draws itself on the active stage */
.hero__oval { position: relative; display: inline-block; padding: .16em .42em .1em; }
.hero__ring { position: absolute; inset: -6% -4% -10% -6%; width: 110%; height: 116%; overflow: visible; pointer-events: none; }
.hero__ring path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .35s; }
.hero__stage.is-active .hero__ring path { stroke-dashoffset: 0; }
.hero__phrase { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); max-width: 34ch; margin: 18px 0 0; color: var(--limestone); }
.hero__index { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; color: var(--chalk); margin-bottom: 14px; padding: 6px 12px; border: 1px solid rgba(242,238,229,.35); border-radius: 999px; background: rgba(48,37,31,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__index::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 20; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.hero__progress button { position: relative; text-align: left; padding-top: 10px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; color: var(--taupe); min-height: 44px; }
.hero__progress button::before, .hero__progress button::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; }
.hero__progress button::before { right: 0; background: rgba(216,199,165,.25); }
.hero__progress button::after { width: calc(var(--p, 0) * 100%); background: var(--gold-grad); }
.hero__progress button.is-active { color: var(--chalk); }
.hero__progress .lbl { display: none; }
.hero__scroll { display: none; }

/* Mobile: swipeable panels (scroll-snap) */
.hero--swipe .hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero--swipe .hero__track::-webkit-scrollbar { display: none; }
.hero--swipe .hero__stage { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.hero--swipe .hero__copy > * { transition: opacity .8s var(--ease), transform .9s var(--ease-out); }
.hero--swipe .hero__stage:not(.is-active) .hero__copy > * { opacity: 0; transform: translateY(24px); }
.hero__swipe-hint { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px); z-index: 4; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; color: var(--limestone); display: flex; align-items: center; gap: 8px; }

/* =====================================================================
   HOME SECTIONS
   ===================================================================== */
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.05); }
}

/* Cards */
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; }
.card__media { position: relative; overflow: hidden; background: var(--limestone); border-radius: var(--r); }
.card--boxed .card__media { border-radius: var(--r) var(--r) 0 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card__body { padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.card__title { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.02; font-weight: 600; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--clay); font-size: .9375rem; margin: 0; }
.dark .card__text { color: var(--taupe); }
.card--boxed { background: var(--chalk); border: 1px solid rgba(181,165,140,.55); border-radius: var(--r); }
.alt .card--boxed { background: var(--chalk); }
.card--boxed .card__body { padding: 18px; }
.card .ev, .card .tag { position: relative; z-index: 2; }
.card:focus-within { outline: 2px solid var(--clay); outline-offset: 4px; }

.card-grid { display: grid; gap: 32px 20px; grid-template-columns: 1fr; }
.disc-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .8125rem; margin: 0; }
.disc-facts dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); padding-top: 2px; }
.dark .disc-facts dt { color: var(--taupe); }
.disc-facts dd { margin: 0; }

/* Research */
.research-split { display: grid; gap: 32px; }
.research-list { list-style: none; border-top: 1px solid rgba(181,165,140,.3); }
.research-list li { border-bottom: 1px solid rgba(181,165,140,.3); }
.research-list a { display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.research-list a:hover { padding-left: 10px; color: var(--khaki); }
.research-list .n { font-family: var(--f-mono); font-size: .75rem; color: var(--taupe); }
.research-list b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; display: block; line-height: 1.05; }
.research-list small { color: var(--taupe); font-size: .875rem; display: block; margin-top: 2px; }
.research-list svg { width: 18px; height: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(181,165,140,.3); border: 1px solid rgba(181,165,140,.3); }
.stat-row > div { padding: 20px 16px; background: var(--cocoa); }
.alt .stat-row > div, .stat-row--light > div { background: var(--chalk); }
.stat-row b { display: block; font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--khaki); }
.alt .stat-row b, .stat-row--light b { color: var(--cocoa); }
.stat-row span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.alt .stat-row span, .stat-row--light span { color: var(--clay); }

/* Journal */
.journal-feature { display: grid; gap: 24px; }
.journal-feature .card__title { font-size: var(--step-4); text-transform: uppercase; line-height: .95; }
.journal-list { display: grid; gap: 0; border-top: 1px solid rgba(181,165,140,.6); }
.jl-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(181,165,140,.6); position: relative; }
.jl-item .card__media { aspect-ratio: 1; }
.jl-item h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; line-height: 1.05; margin: 4px 0 6px; }
.jl-item h3 a { text-decoration: none; }
.jl-item h3 a::after { content: ''; position: absolute; inset: 0; }
.jl-item .tag, .jl-item .ev { position: relative; z-index: 1; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { position: relative; background: var(--cocoa); color: var(--limestone); padding: 72px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .9375rem; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold-grad); opacity: .85; }
.footer-top { display: grid; gap: 44px; padding-bottom: 48px; }
.footer-brand .brand img { width: 64px; height: 64px; }
.footer-brand .wordmark { font-size: 2rem; color: var(--chalk); }
.footer-brand p { color: var(--taupe); max-width: 38ch; margin: 18px 0 0; }
.footer-brand .hindi { color: var(--khaki); margin: 10px 0 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.footer-cols h3 { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--chalk); font-weight: 600; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { text-decoration: none; color: var(--taupe); transition: color .25s; }
.footer-cols a:hover { color: var(--gold); }
.footer-note { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--r); background: rgba(242,238,229,.05); border: 1px solid rgba(181,165,140,.22); font-size: .875rem; color: var(--taupe); }
.footer-note__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,197,9,.12); color: var(--gold); }
.footer-note__icon svg { width: 20px; height: 20px; }
.footer-note b { display: block; color: var(--chalk); font-weight: 600; margin-bottom: 4px; }
.footer-note p { margin: 0; line-height: 1.6; }
.footer-note a { color: var(--khaki); font-weight: 600; }
.footer-note a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; margin-top: 28px; border-top: 1px solid rgba(181,165,140,.18); font-size: .8125rem; color: var(--taupe); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.footer-legal a { text-decoration: none; } .footer-legal a:hover { color: var(--gold); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk); min-height: 44px; }
.to-top span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(181,165,140,.4); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.to-top:hover span { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); }
.to-top svg { width: 16px; height: 16px; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 48px) 0 48px; overflow: hidden; }
.page-hero--image { min-height: 72vh; display: flex; align-items: flex-end; color: var(--chalk); background: var(--cocoa); }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.6) 0%, rgba(48,37,31,.2) 40%, rgba(48,37,31,.92) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 10px 0 18px; }
.breadcrumbs { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.breadcrumbs a { text-decoration: none; opacity: .8; } .breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.subnav { position: sticky; top: 0; z-index: 20; background: var(--chalk); border-bottom: 1px solid rgba(181,165,140,.6); transition: top .45s var(--ease); }
body.header-visible .subnav { top: var(--header-h); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a, .subnav button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; white-space: nowrap; font-size: .875rem; text-decoration: none; border-bottom: 2px solid transparent; color: var(--clay); }
.subnav a:hover, .subnav button:hover { color: var(--cocoa); }
.subnav [aria-current="true"], .subnav [aria-pressed="true"] { color: var(--cocoa); border-color: var(--cocoa); font-weight: 600; }

.filters { display: grid; gap: 12px; margin-bottom: 32px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.dark .field label { color: var(--taupe); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--chalk); border: 1px solid var(--taupe); border-radius: var(--radius); color: var(--cocoa); transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2330251F' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(117,96,77,.25); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--cocoa); border-width: 2px; background-image: none; }
.field-error { font-size: .8125rem; color: var(--cocoa); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.field-error::before { content: '!'; width: 16px; height: 16px; border-radius: 50%; background: var(--cocoa); color: var(--chalk); font-size: .625rem; display: grid; place-items: center; flex: none; }
.field-hint { font-size: .8125rem; color: var(--clay); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cocoa); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; gap: 18px; }
.notice { padding: 16px 18px; border: 1px solid var(--taupe); background: var(--limestone); font-size: .9375rem; border-left: 3px solid var(--cocoa); }
.notice--ok { border-left-color: var(--clay); }
.notice a { font-weight: 600; }
.empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--taupe); color: var(--clay); }
.result-count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--clay); margin-bottom: 20px; }

/* Journal listing — varied grid */
.jgrid { display: grid; gap: 40px 20px; grid-template-columns: 1fr; }
.jgrid .card--wide .card__title { font-size: var(--step-3); }

/* =====================================================================
   ARTICLE
   ===================================================================== */
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: var(--clay); }
.article-head { padding: calc(var(--header-h) + 40px) 0 32px; }
.article-head h1 { font-family: var(--f-display); font-size: var(--step-5); text-transform: uppercase; line-height: .92; margin: 18px 0 18px; max-width: 16ch; }
.article-head .subtitle { font-size: var(--step-2); line-height: 1.35; color: var(--clay); max-width: 40ch; font-family: var(--f-body); font-weight: 400; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--taupe); flex-wrap: wrap; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--cocoa); display: grid; place-items: center; flex: none; overflow: hidden; }
.avatar img { width: 72%; height: 72%; object-fit: contain; }
.byline b { display: block; font-size: .9375rem; }
.article-hero-img { margin-bottom: 48px; }
.article-hero-img .media { aspect-ratio: 16/9; }
.article-layout { display: grid; gap: 40px; }
.toc { display: none; }
.toc-mobile { margin-bottom: 32px; border: 1px solid var(--taupe); }
.toc-mobile summary { padding: 14px 16px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; min-height: 48px; align-items: center; }
.toc-mobile summary::after { content: '+'; font-size: 1.1rem; }
.toc-mobile[open] summary::after { content: '\2212'; }
.toc-mobile ol { padding: 0 16px 16px 34px; display: grid; gap: 8px; font-size: .9375rem; }
.prose { font-size: 1.0625rem; line-height: 1.75; max-width: 68ch; }
.prose h2 { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; margin: 2.2em 0 .6em; line-height: 1; }
.prose p { margin-bottom: 1.25em; }
.prose figure { margin: 2.2em 0; }
.prose .media { aspect-ratio: 16/10; }
.pullquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--khaki); font-family: var(--f-display); font-size: var(--step-3); line-height: 1.05; font-weight: 600; text-transform: uppercase; }
.callout { margin: 2em 0; padding: 20px 22px; background: var(--limestone); border-top: 3px solid var(--cocoa); font-size: 1rem; }
.callout b { display: block; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 2em 0; }
.gallery button { display: block; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.diagram { margin: 2.4em 0; padding: 20px; border: 1px solid var(--taupe); background: var(--chalk); }
.diagram__title { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; display: block; }
.diagram svg { width: 100%; height: auto; }
.refs { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--taupe); }
.refs h2 { font-family: var(--f-display); font-size: var(--step-2); text-transform: uppercase; margin-bottom: 16px; }
.refs ol { padding-left: 20px; display: grid; gap: 10px; font-size: .875rem; color: var(--clay); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; }
.share .mono { margin-right: 6px; color: var(--clay); }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--taupe); border-radius: var(--radius); transition: background .3s, color .3s; }
.share a:hover, .share button:hover { background: var(--cocoa); color: var(--chalk); border-color: var(--cocoa); }
.share svg { width: 16px; height: 16px; }
.author-box { margin-top: 48px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; background: var(--limestone); }
.author-box .avatar { width: 64px; height: 64px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(48,37,31,.96); display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-height: 80vh; width: auto; }
.lightbox .icon-btn { position: absolute; right: 12px; top: 12px; color: var(--chalk); }

/* Comments */
.comments { margin-top: 64px; }
.comment-list { list-style: none; display: grid; gap: 0; margin: 24px 0 40px; }
.comment { padding: 20px 0; border-top: 1px solid rgba(181,165,140,.6); }
.comment .who { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.comment .who b { font-size: .9375rem; }
.comment .initial { width: 36px; height: 36px; border-radius: 50%; background: var(--limestone); border: 1px solid var(--taupe); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; }
.comment.is-team .initial { background: var(--cocoa); color: var(--khaki); }
.comment p { margin: 0 0 8px; white-space: pre-line; }
.comment .reply-btn { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); min-height: 36px; text-decoration: underline; }
.comment .children { list-style: none; margin: 12px 0 0 18px; padding-left: 16px; border-left: 1px solid var(--taupe); }
.comment-form { background: var(--limestone); padding: 24px 20px; display: grid; gap: 16px; }
.comment-form .replying { font-size: .875rem; display: flex; gap: 12px; align-items: center; }
.workflow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--taupe); border: 1px solid var(--taupe); margin: 20px 0; }
.workflow div { background: var(--chalk); padding: 12px; font-size: .8125rem; }
.workflow b { display: block; font-family: var(--f-mono); font-size: .6875rem; color: var(--clay); letter-spacing: .08em; }

/* =====================================================================
   INFOGRAPHICS
   ===================================================================== */
.evidence-scale { display: grid; gap: 1px; background: var(--taupe); border: 1px solid var(--taupe); }
.evidence-scale > div { background: var(--chalk); padding: 18px; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: start; }
.dark .evidence-scale > div { background: var(--cocoa); }
.evidence-scale .bar { height: 6px; background: var(--limestone); position: relative; }
.dark .evidence-scale .bar { background: rgba(181,165,140,.2); }
.evidence-scale .bar i { position: absolute; inset: 0 auto 0 0; background: var(--clay); }
.dark .evidence-scale .bar i { background: var(--khaki); }
.evidence-scale p { margin: 0; font-size: .875rem; color: var(--clay); }
.dark .evidence-scale p { color: var(--taupe); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 28px 56px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; }
.steps li::after { content: ''; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--taupe); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; padding-top: 6px; }
.steps span { color: var(--clay); font-size: .9375rem; }
.dark .steps span { color: var(--taupe); }
.acronym { display: grid; gap: 1px; background: rgba(181,165,140,.3); border: 1px solid rgba(181,165,140,.3); }
.acronym div { display: grid; grid-template-columns: 64px 1fr; align-items: center; background: var(--cocoa); padding: 10px 16px; }
.acronym b { font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--khaki); }
.acronym span { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 600; }
.acronym small { display: block; font-family: var(--f-body); font-size: .8125rem; color: var(--taupe); text-transform: none; font-weight: 400; }

/* Detail pages */
.detail-grid { display: grid; gap: 40px; }
.factbox { border: 1px solid var(--taupe); background: var(--chalk); }
.factbox > div { padding: 14px 18px; border-bottom: 1px solid rgba(181,165,140,.5); display: grid; gap: 2px; }
.factbox > div:last-child { border-bottom: 0; }
.factbox dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.factbox dd { margin: 0; font-weight: 500; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-family: var(--f-display); font-size: var(--step-2); text-transform: uppercase; margin: 2em 0 .5em; }
.legal-body li { margin-bottom: 6px; }
.legal-body ul { padding-left: 20px; margin-bottom: 1em; }

/* =====================================================================
   CONVERSATION WIDGET
   ===================================================================== */
/* Launcher: a round logo capsule with soft waves; it widens on hover to reveal its label */
.cw-launch { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 120; display: inline-flex; align-items: center; height: 60px; padding: 0; background: var(--cocoa); color: var(--chalk); border: 1px solid rgba(251,197,9,.55); border-radius: 999px; box-shadow: 0 12px 34px rgba(48,37,31,.32); font-weight: 600; font-size: .9375rem; transition: transform .4s var(--ease), opacity .3s, box-shadow .3s; }
.cw-launch__icon { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--chalk); transition: transform .6s var(--ease); }
.cw-launch__icon img { width: 42px; height: 42px; object-fit: contain; }
.cw-launch__label { position: relative; z-index: 1; display: block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; padding-right: 0; transition: max-width .55s var(--ease-out), opacity .3s .05s, padding .55s var(--ease-out); }
.cw-wave { position: absolute; left: 0; top: 0; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; animation: cwWave 3s var(--ease-out) infinite; }
.cw-wave:nth-child(2) { animation-delay: 1s; } .cw-wave:nth-child(3) { animation-delay: 2s; }
@keyframes cwWave { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2); opacity: 0; } }
@media (hover: hover) {
  .cw-launch:hover .cw-launch__label, .cw-launch:focus-visible .cw-launch__label { max-width: 240px; opacity: 1; padding: 0 22px 0 14px; }
  .cw-launch:hover .cw-launch__icon { transform: rotate(-14deg); }
  .cw-launch:hover .cw-wave, .cw-launch:focus-visible .cw-wave { animation-play-state: paused; opacity: 0; }
  .cw-launch:hover { box-shadow: 0 16px 40px rgba(239,169,0,.35); }
}
.cw-launch.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.cw-panel { position: fixed; inset: auto 0 0 0; z-index: 130; background: var(--chalk); color: var(--cocoa); border-radius: 22px 22px 0 0; overflow: hidden; height: min(88vh, 720px); height: min(88svh, 720px); display: flex; flex-direction: column; transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease-out), visibility .5s; box-shadow: 0 -20px 60px rgba(48,37,31,.3); }
.cw-panel.is-open { transform: none; visibility: visible; }
.cw-head { background: var(--cocoa); color: var(--chalk); padding: 14px 10px 14px 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.cw-head__logo { width: 46px; height: 46px; border-radius: 50%; background: var(--chalk); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 3px rgba(251,197,9,.35); }
.cw-head__logo img { width: 34px; height: 34px; object-fit: contain; }
.cw-head b { display: block; font-family: var(--f-display); font-size: 1.3rem; text-transform: uppercase; font-weight: 600; line-height: 1; letter-spacing: .03em; }
.cw-head small { color: var(--taupe); font-size: .75rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.cw-online { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(251,197,9,.25); }
.cw-head .icon-btn { margin-left: auto; color: var(--chalk); border-radius: 50%; }
.cw-head .icon-btn:hover { background: rgba(242,238,229,.1); }
.cw-progress { height: 3px; background: var(--limestone); flex: none; }
.cw-progress i { display: block; height: 100%; background: var(--gold-grad); width: 0; transition: width .5s var(--ease); }
.cw-body { flex: 1; overflow-y: auto; padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.cw-hello { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: var(--limestone); animation: cwIn .45s var(--ease-out); }
.cw-hello b { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.cw-hello span { font-size: .9375rem; color: var(--clay); }
.cw-msg { max-width: 88%; padding: 12px 14px; font-size: .9375rem; line-height: 1.5; border-radius: 16px; animation: cwIn .45s var(--ease-out); }
.cw-msg--bot { background: var(--limestone); align-self: flex-start; border-bottom-left-radius: 4px; }
.cw-msg--me { background: var(--cocoa); color: var(--chalk); align-self: flex-end; border-bottom-right-radius: 4px; }
@keyframes cwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cw-group { display: grid; gap: 8px; animation: cwIn .5s var(--ease-out) both; }
.cw-group:nth-of-type(2) { animation-delay: .06s; } .cw-group:nth-of-type(3) { animation-delay: .12s; } .cw-group:nth-of-type(4) { animation-delay: .18s; }
.cw-group__title { margin: 6px 0 0; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.cw-options { display: grid; gap: 8px; }
.cw-options button { text-align: left; min-height: 60px; padding: 10px 14px 10px 10px; border: 1px solid rgba(181,165,140,.7); background: #fff9ef; display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 12px; font-weight: 600; font-size: .9375rem; border-radius: 14px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.cw-opt__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); transition: background .25s, color .25s; }
.cw-opt__ico svg { width: 22px; height: 22px; }
.cw-options button:hover, .cw-options button:focus-visible { border-color: var(--gold-deep); box-shadow: 0 8px 20px rgba(239,169,0,.18); transform: translateY(-1px); }
.cw-options button:hover .cw-opt__ico { background: var(--gold-grad); color: var(--cocoa); }
.cw-options small { display: block; color: var(--clay); font-weight: 400; font-size: .8125rem; margin-top: 1px; }
.cw-options > button > svg { width: 16px; height: 16px; color: var(--clay); }.cw-form { display: grid; gap: 14px; animation: cwIn .45s var(--ease-out); }
.cw-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(181,165,140,.6); display: flex; gap: 10px; justify-content: space-between; align-items: center; flex: none; background: var(--chalk); }
.cw-foot .step { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; color: var(--clay); }
.cw-review { display: grid; gap: 0; border: 1px solid var(--taupe); font-size: .875rem; }
.cw-review div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(181,165,140,.5); }
.cw-review div:last-child { border: 0; }
.cw-review dt { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; color: var(--clay); letter-spacing: .05em; }
.cw-review dd { margin: 0; word-break: break-word; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }

/* =====================================================================
   MOTION (only when JS is running and motion is allowed)
   ===================================================================== */
html.motion .reveal { opacity: 0; transform: translateY(28px); }
html.motion .reveal-mask { clip-path: inset(0 0 100% 0); }
html.motion .split-line { overflow: hidden; display: block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   ≥ 640px  (large phones / small tablets)
   ===================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .grid-12 { grid-template-columns: repeat(8, 1fr); gap: 20px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .jgrid { grid-template-columns: repeat(2, 1fr); }
  .jgrid .card--wide { grid-column: 1 / -1; }
  .jl-item { grid-template-columns: 140px 1fr; gap: 20px; }
  .workflow { grid-template-columns: repeat(4, 1fr); }
  .evidence-scale > div { grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
  .cw-panel { inset: auto 20px calc(20px + env(safe-area-inset-bottom)) auto; width: 420px; height: min(680px, calc(100vh - 110px)); border-radius: 22px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .span-2 { grid-column: 1 / -1; }
}

/* =====================================================================
   ≥ 960px  (tablet landscape / laptop)
   ===================================================================== */
@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .grid-12 { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .burger { display: none; }
  .header-cta { display: inline-flex; }
  .brand img { width: 52px; height: 52px; }
  .nav-desktop { display: block; flex: 1; }
  .nav-desktop > ul { list-style: none; display: flex; justify-content: center; gap: 2px; }
  .nav-desktop > ul > li > a, .nav-desktop > ul > li > button { display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; font-size: .9375rem; font-weight: 500; text-decoration: none; position: relative; }
  .nav-desktop > ul > li > a::after, .nav-desktop > ul > li > button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; border-radius: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
  .nav-desktop > ul > li > a:hover::after, .nav-desktop > ul > li > button:hover::after, .nav-desktop [aria-expanded="true"]::after, .nav-desktop [aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav-desktop button svg { width: 10px; height: 10px; transition: transform .35s var(--ease); }
  .nav-desktop button[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mega { position: absolute; left: 0; right: 0; top: calc(100% - 4px); padding: 0 24px; color: var(--cocoa); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .45s var(--ease-out), visibility .3s; }
  .mega.is-open { opacity: 1; visibility: visible; transform: none; }
  .mega__panel { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 270px 1fr 270px; background: var(--chalk); border-radius: 24px; box-shadow: 0 40px 80px rgba(48,37,31,.22), 0 0 0 1px rgba(181,165,140,.35); overflow: hidden; }
  .mega__intro { background: var(--cocoa); color: var(--chalk); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
  .mega__intro::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(251,197,9,.3); box-shadow: 0 0 0 26px rgba(251,197,9,.05), 0 0 0 54px rgba(251,197,9,.03); }
  .mega__brand { display: flex; align-items: center; gap: 10px; }
  .mega__brand img { width: 44px; height: 44px; object-fit: contain; }
  .mega__brand .wordmark { font-size: 1.2rem; color: var(--khaki); }
  .mega__intro b { font-family: var(--f-display); font-size: 2.6rem; text-transform: uppercase; font-weight: 600; line-height: 1; margin-top: 18px; }
  .mega__intro p { color: var(--taupe); font-size: .9375rem; margin: 0 0 8px; }
  .mega__intro .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
  .mega__items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 20px; align-content: start; }
  .mega__items a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; transition: background .25s, transform .3s var(--ease); }
  .mega__items a:hover, .mega__items a:focus-visible { background: var(--limestone); }
  .mega__items b { display: block; font-size: .96875rem; font-weight: 600; line-height: 1.25; }
  .mega__items small { display: block; font-size: .8125rem; color: var(--clay); line-height: 1.35; margin-top: 2px; }
  .mega__items a:hover b { color: var(--clay); }
  .mega__side { padding: 26px 24px 24px; border-left: 1px solid rgba(181,165,140,.4); display: flex; flex-direction: column; gap: 6px; }
  .mega__side h3 { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); font-weight: 500; margin-bottom: 6px; }
  .mega__side ul { list-style: none; display: grid; gap: 0; margin-bottom: 16px; }
  .mega__side ul a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-size: .9375rem; border-bottom: 1px solid rgba(181,165,140,.35); transition: color .25s, padding .3s var(--ease); }
  .mega__side ul a svg { flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); color: var(--gold-deep); }
  .mega__side ul a:hover { color: var(--clay); padding-left: 4px; }
  .mega__side ul a:hover svg { opacity: 1; transform: none; }
  .mega__feature { position: relative; display: block; margin-top: auto; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; text-decoration: none; color: var(--chalk); }
  .mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
  .mega__feature:hover img { transform: scale(1.06); }
  .mega__feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,0) 25%, rgba(48,37,31,.88)); }
  .mega__feature > span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
  .mega__feature small { display: block; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
  .mega__feature b { display: block; font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; font-weight: 600; line-height: 1.05; }  .header-inner { position: static; }
  .site-header .container { position: static; }

  .hero__copy { padding: 0 var(--gutter) 150px; max-width: var(--max); margin: 0 auto; left: 0; right: 0; }
  .hero__progress { left: 50%; transform: translateX(-50%); width: calc(min(100%, var(--max)) - 2 * var(--gutter)); bottom: 40px; gap: 10px; }
  .hero__progress .lbl { display: inline; margin-left: 8px; }
  .hero__scroll { display: flex; position: absolute; right: var(--gutter); top: 50%; z-index: 4; writing-mode: vertical-rl; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: var(--taupe); align-items: center; gap: 12px; }
  .hero__scroll::after { content: ''; width: 1px; height: 64px; background: currentColor; animation: scrollcue 2.4s var(--ease) infinite; transform-origin: top; }
  @keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
  .hero__swipe-hint { display: none; }

  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .section-head--stack { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
  .research-split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .research-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
  .journal-feature { grid-template-columns: 7fr 5fr; gap: 48px; }
  .about-split { grid-template-columns: 5fr 6fr; gap: 80px; }
  .footer-top { grid-template-columns: 4fr 8fr; gap: 64px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .site-footer { padding-bottom: 40px; }
  .page-hero { padding: calc(var(--header-h) + 80px) 0 72px; }
  .filters { grid-template-columns: 2fr repeat(4, 1fr); align-items: end; }
  .jgrid { grid-template-columns: repeat(12, 1fr); gap: 56px 24px; }
  .jgrid > * { grid-column: span 4; }
  .jgrid .card--wide { grid-column: span 8; }
  .jgrid .card--tall { grid-column: span 4; }
  .jgrid .card--half { grid-column: span 6; }
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .875rem; }
  .toc b { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: 12px; font-weight: 500; }
  .toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--taupe); }
  .toc a { display: block; padding: 6px 0 6px 14px; text-decoration: none; color: var(--clay); margin-left: -1px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
  .toc a.is-active, .toc a:hover { color: var(--cocoa); border-color: var(--cocoa); }
  .toc-mobile { display: none; }
  .detail-grid { grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
  .detail-grid aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .comment-form { padding: 32px; }
  .site-header .container { max-width: none; padding-inline: 32px; }
}

@media (min-width: 1200px) {
  .nav-desktop > ul > li > a, .nav-desktop > ul > li > button { padding: 0 18px; }
  .nav-desktop > ul > li > a::after, .nav-desktop > ul > li > button::after { left: 18px; right: 18px; }
}

@media print {
  .site-header, .cw-launch, .cw-panel, .drawer, .share, .comments, .read-progress { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================
   2026 REFRESH — softer, image-led components (mobile-first)
   ===================================================================== */
.media { border-radius: var(--r); }
.input, .select, .textarea { border-radius: var(--r-sm); }
.notice { border-radius: var(--r-sm); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; background: var(--limestone); color: var(--cocoa); border: 1px solid rgba(181,165,140,.6); }
.dark .pill, .pill--dark { background: rgba(251,197,9,.12); color: var(--gold); border-color: rgba(251,197,9,.35); }
.pill--img { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(242,238,229,.92); }
.center-cta { margin-top: 56px; text-align: center; }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section--flush { padding-block: 0 var(--section-y); }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px 8px 10px; border-radius: 999px; background: rgba(242,238,229,.1); border: 1px solid rgba(242,238,229,.3); color: var(--chalk); text-decoration: none; font-weight: 500; font-size: .9375rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(251,197,9,.18); color: var(--gold); flex: none; }
a.chip:hover { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); transform: translateY(-2px); }
a.chip:hover svg { background: rgba(48,37,31,.12); color: var(--cocoa); }
.chip-row--light .chip { background: var(--chalk); border-color: rgba(181,165,140,.7); color: var(--cocoa); padding: 8px 16px; }

/* Mega thumbs (shared with the mobile drawer) */
.mega__thumb { display: block; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--limestone); flex: none; }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
a:hover > .mega__thumb img { transform: scale(1.1); }
.drawer__top .brand .wordmark { font-size: 1.3rem; color: var(--chalk); }
.drawer__sub ul.drawer__cards { grid-template-columns: 1fr; gap: 4px; padding-bottom: 14px; }
.drawer__sub .drawer__cards a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border: 0; border-radius: 12px; }
.drawer__sub .drawer__cards a:hover { background: rgba(242,238,229,.06); }
.drawer__cards .mega__thumb { width: 44px; height: 44px; border-radius: 10px; }
.drawer__sub .link-arrow { margin: 4px 0 20px; color: var(--gold); border-color: rgba(251,197,9,.4); }
.drawer__sub p.mono { color: var(--taupe); margin: 8px 0 4px; }

/* ---------- Intro: curiosity / evidence ---------- */
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__text h2 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__text .lead { margin: 22px 0 30px; }
.intro__media { position: relative; }
.intro__media .media { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge { position: absolute; left: 16px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: var(--chalk); border-radius: 999px; box-shadow: var(--shadow); }
.intro__badge img { width: 44px; height: 44px; }
.intro__badge b { display: block; font-family: var(--f-hindi); font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.intro__badge small { display: block; font-size: .75rem; color: var(--clay); }
.pillars { list-style: none; display: grid; gap: 14px; margin-top: 72px; }
.pillar { position: relative; padding: 26px 22px 24px; border-radius: var(--r); background: var(--limestone); border: 1px solid transparent; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, background .3s; }
.pillar__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); margin-bottom: 18px; transition: background .35s, color .35s, transform .5s var(--ease); }
.pillar__ico svg { width: 24px; height: 24px; }
.pillar__n { position: absolute; right: 20px; top: 22px; font-family: var(--f-mono); font-size: .75rem; color: var(--clay); }
.pillar h3 { font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--clay); font-size: .9375rem; }
@media (hover: hover) {
  .pillar:hover { transform: translateY(-6px); background: var(--chalk); border-color: rgba(239,169,0,.45); box-shadow: var(--shadow); }
  .pillar:hover .pillar__ico { background: var(--gold-grad); color: var(--cocoa); transform: rotate(-10deg); }
}

/* ---------- Seven fields: square cards on a horizontal track ---------- */
.fields { position: relative; padding-block: var(--section-y); overflow: hidden; }
.fields__head { display: grid; gap: 20px; margin-bottom: 36px; }
.fields__aside p { margin: 0 0 18px; max-width: 46ch; }
.fields__progress { display: flex; align-items: center; gap: 16px; }
.fields__count { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .1em; color: var(--chalk); min-width: 64px; }
.fields__bar { position: relative; flex: 1; max-width: 260px; height: 2px; background: rgba(242,238,229,.2); border-radius: 2px; overflow: hidden; }
.fields__bar i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(.04); transition: transform .2s linear; }
.fields__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.fields__viewport::-webkit-scrollbar { display: none; }
.fields__track { display: flex; gap: 16px; padding-inline: var(--gutter); width: max-content; }
.fcard { position: relative; display: block; flex: none; width: min(78vw, 360px); aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; color: var(--chalk); text-decoration: none; background: #3a2e27; scroll-snap-align: center; isolation: isolate; }
.fcard__media { position: absolute; inset: 0; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.fcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.1) 20%, rgba(48,37,31,.92) 100%); }
.fcard__num { position: absolute; left: 22px; top: 20px; z-index: 2; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; background: rgba(48,37,31,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fcard__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; }
.fcard__body h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 600; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.fcard__body p { margin: 0; font-size: .9375rem; color: var(--limestone); max-width: 34ch; }
.fcard__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .875rem; color: var(--gold); }
.fcard__cta svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
/* hover: gold lines trace the card edge, one after another */
.fcard__frame { position: absolute; inset: 12px; z-index: 3; pointer-events: none; }
.fcard__frame i { position: absolute; background: var(--gold); transition: transform .35s var(--ease); }
.fcard__frame i:nth-child(1) { left: 18px; right: 18px; top: 0; height: 2px; transform: scaleX(0); transform-origin: left; }
.fcard__frame i:nth-child(2) { top: 18px; bottom: 18px; right: 0; width: 2px; transform: scaleY(0); transform-origin: top; transition-delay: .1s; }
.fcard__frame i:nth-child(3) { left: 18px; right: 18px; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: right; transition-delay: .2s; }
.fcard__frame i:nth-child(4) { top: 18px; bottom: 18px; left: 0; width: 2px; transform: scaleY(0); transform-origin: bottom; transition-delay: .3s; }
.fcard:hover .fcard__frame i, .fcard:focus-visible .fcard__frame i { transform: none; }
.fcard:hover .fcard__media img, .fcard:focus-visible .fcard__media img { transform: scale(1.08); }
.fcard:hover .fcard__cta svg { transform: translateX(4px); }
.fcard--more { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center; background: transparent; border: 1px dashed rgba(251,197,9,.5); font-family: var(--f-display); font-size: 1.8rem; text-transform: uppercase; font-weight: 600; padding: 32px; transition: background .4s; }
.fcard--more svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--gold-grad); color: var(--cocoa); transition: transform .4s var(--ease); }
.fcard--more:hover { background: rgba(251,197,9,.08); }
.fcard--more:hover svg { transform: rotate(-45deg); }
.fgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.fgrid .fcard { width: 100%; }
.frow { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.frow::-webkit-scrollbar { display: none; }
.frow__track { display: flex; gap: 16px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.frow .fcard { width: min(72vw, 320px); }

/* ---------- Discovery / project cards — one consistent image ratio ---------- */
.dgrid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.dcard { height: 100%; }
.dcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fbf8f2; border: 1px solid rgba(181,165,140,.55); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.dcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--limestone); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.dcard__media .ev { position: absolute; left: 14px; top: 14px; z-index: 2; border-radius: 999px; }
.dcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; }
.dcard__title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1.05; }
.dcard__text { margin: 0; color: var(--clay); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(181,165,140,.45); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dcard__loc { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--clay); min-width: 0; }
.dcard__loc svg { width: 16px; height: 16px; flex: none; color: var(--gold-deep); }
.dcard__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(181,165,140,.7); flex: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.dcard__go svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .dcard__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(239,169,0,.5); }
  .dcard__link:hover .dcard__media img { transform: scale(1.06); }
  .dcard__link:hover .dcard__go { background: var(--gold-grad); border-color: var(--gold); transform: rotate(-45deg); }
}

/* ---------- Research bento + counters ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.btile { position: relative; display: block; min-height: 240px; border-radius: var(--r-lg); overflow: hidden; color: var(--chalk); text-decoration: none; isolation: isolate; }
.btile__media { position: absolute; inset: 0; z-index: -1; }
.btile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.btile__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.05) 30%, rgba(48,37,31,.9)); }
.btile__n { position: absolute; left: 22px; top: 20px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--gold); }
.btile__body { position: absolute; left: 22px; right: 76px; bottom: 20px; }
.btile__body h3 { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; font-weight: 600; line-height: 1; }
.btile__body p { margin: 6px 0 0; font-size: .9375rem; color: var(--limestone); }
.btile__go { position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,238,229,.14); border: 1px solid rgba(242,238,229,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .45s var(--ease); }
.btile__go svg { width: 18px; height: 18px; }
.btile:hover .btile__media img { transform: scale(1.06); }
.btile:hover .btile__go { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); transform: rotate(-45deg); }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.counters > div { padding: 22px 20px; border-radius: var(--r); background: rgba(242,238,229,.05); border: 1px solid rgba(181,165,140,.22); }
.counters b { display: block; font-family: var(--f-display); font-size: 3.2rem; font-weight: 600; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counters span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Timeline: four chapters ---------- */
.eras__scale { display: flex; height: 16px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--chalk); padding: 2px; border: 1px solid rgba(181,165,140,.6); }
.eras__scale span { display: block; height: 100%; min-width: 6px; border-radius: 999px; cursor: pointer; opacity: .55; transition: opacity .3s; }
.eras__scale span.is-on { opacity: 1; }
.eras__axis { display: flex; justify-content: space-between; margin: 8px 0 22px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); }
.eras__cards { display: flex; flex-direction: column; gap: 10px; }
.era { position: relative; border-radius: var(--r-lg); overflow: hidden; color: var(--chalk); background: var(--cocoa); isolation: isolate; }
.era__bg { position: absolute; inset: 0; z-index: -1; }
.era__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .6s, transform 1.2s var(--ease-out); }
.era__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.35), rgba(48,37,31,.92)); }
.era.is-open .era__bg img { opacity: .75; transform: scale(1.04); }
.era__btn { width: 100%; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; padding: 20px 22px; text-align: left; min-height: 76px; }
.era__dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(242,238,229,.25); }
.era__num { font-family: var(--f-mono); font-size: .75rem; color: var(--gold); }
.era__name { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; font-weight: 600; line-height: 1; }
.era__dates { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--limestone); }
.era__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.era__panel > div { overflow: hidden; padding: 0 22px; }
.era.is-open .era__panel { grid-template-rows: 1fr; }
.era.is-open .era__panel > div { padding-bottom: 24px; }
.era__pct { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--gold-grad); color: var(--cocoa); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.era__panel p { font-size: .9375rem; color: var(--limestone); margin: 0 0 12px; max-width: 52ch; }
.era__india b { display: block; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; font-weight: 500; }
.era__periods { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.era__periods li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(242,238,229,.3); font-size: .75rem; }
.eras__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 20px; }
.tl-source { font-family: var(--f-mono); font-size: .6875rem; color: var(--clay); margin: 0; }

/* ---------- Journal on the homepage ---------- */
.jhome { display: grid; gap: 20px; }
.jfeat { position: relative; display: block; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; color: var(--chalk); text-decoration: none; isolation: isolate; }
.jfeat__media { position: absolute; inset: 0; z-index: -1; }
.jfeat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.jfeat__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.05) 25%, rgba(48,37,31,.94)); }
.jfeat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.jfeat__body h3 { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); text-transform: uppercase; font-weight: 600; line-height: .95; margin: 14px 0 0; max-width: 18ch; }
.jfeat__body h3 span, .jfeat__body h3 { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.jfeat__body p { margin: 12px 0 10px; color: var(--limestone); max-width: 52ch; }
.jfeat:hover .jfeat__media img { transform: scale(1.05); }
.jfeat:hover h3 { background-size: 100% 2px; }
.jfeat .pill { background: rgba(48,37,31,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jmeta { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.jlist { display: grid; gap: 12px; }
.jrow { display: grid; grid-template-columns: 88px 1fr 40px; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: rgba(242,238,229,.05); border: 1px solid rgba(181,165,140,.22); text-decoration: none; color: var(--chalk); transition: background .35s, border-color .35s, transform .45s var(--ease); }
.jrow__media { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.jrow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.jrow__cat { display: block; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.jrow b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; line-height: 1.05; margin: 4px 0 6px; }
.jrow__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(181,165,140,.4); transition: background .3s, color .3s, transform .4s var(--ease); }
.jrow__go svg { width: 16px; height: 16px; }
.jrow:hover { background: rgba(242,238,229,.09); border-color: rgba(251,197,9,.45); transform: translateX(6px); }
.jrow:hover .jrow__media img { transform: scale(1.1); }
.jrow:hover .jrow__go { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); transform: rotate(-45deg); }

/* ---------- About (home + about page) ---------- */
.about2 { display: grid; gap: 56px; align-items: center; }
.about2__media { position: relative; padding: 0 0 48px; }
.about2__main { aspect-ratio: 4/5; border-radius: var(--r-lg); width: 82%; }
.about2__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-lg); border: 8px solid var(--chalk); }
.about2__media img { width: 100%; height: 100%; object-fit: cover; }
.seal { position: absolute; right: 4%; top: 6%; width: 124px; height: 124px; border-radius: 50%; background: var(--cocoa); display: grid; place-items: center; box-shadow: var(--shadow); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.seal text { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 2.3px; fill: var(--gold); }
.seal img { width: 58px; height: 58px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.about2__text .lead { margin: 22px 0 24px; }
.icon-list { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; }
.icon-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--limestone); font-size: .9375rem; color: var(--clay); transition: background .3s, transform .4s var(--ease); }
.icon-list li:hover { background: #fbf8f2; transform: translateX(4px); }
.icon-list__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); }
.icon-list__ico svg { width: 22px; height: 22px; }
.icon-list b { display: block; font-family: var(--f-display); font-size: 1.3rem; text-transform: uppercase; font-weight: 600; line-height: 1.1; color: var(--cocoa); }

/* ---------- Get-involved panel ---------- */
.cta-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 64px 22px; text-align: center; isolation: isolate; }
.cta-panel__bg { position: absolute; inset: 0; z-index: -1; }
.cta-panel__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(48,37,31,.72) 0%, rgba(48,37,31,.93) 75%); }
.cta-panel__body { max-width: 780px; margin: 0 auto; }
.cta-panel .eyebrow { justify-content: center; }
.cta-panel .lead { margin: 18px auto 0; color: var(--limestone); }
.cta-panel .chip-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq__intro .lead { margin: 18px 0 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: var(--r); background: var(--limestone); border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.faq__item[open] { background: #fbf8f2; border-color: rgba(239,169,0,.45); box-shadow: 0 14px 40px rgba(48,37,31,.08); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--cocoa); flex: none; transition: background .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--chalk); border-radius: 2px; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--gold-grad); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--cocoa); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 22px 20px; color: var(--clay); }
.faq__a p { margin: 0; max-width: 62ch; }

/* ---------- Light closing band (before the footer) ---------- */
.cta-strip-wrap { background: var(--chalk); }
.cta-strip { display: grid; gap: 20px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--limestone); border: 1px solid rgba(181,165,140,.5); }
.cta-strip img { width: 56px; height: 56px; }
.cta-strip h2 { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; font-weight: 600; line-height: 1; margin-bottom: 6px; }
.cta-strip p { margin: 0; color: var(--clay); max-width: 56ch; }

/* ---------- Topic page ---------- */
.topic-intro { display: grid; gap: 40px; align-items: start; }
.topic-intro__lead { font-size: var(--step-2); line-height: 1.45; margin: 0; max-width: 46ch; }
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--cocoa); color: var(--chalk); }
.glance__title { grid-column: 1 / -1; margin: 4px 4px 0; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.glance > div { padding: 18px 16px; border-radius: var(--r); background: rgba(242,238,229,.06); }
.glance__ico { display: block; width: 24px; height: 24px; color: var(--gold); margin-bottom: 10px; }
.glance__ico svg { width: 24px; height: 24px; }
.glance b { display: block; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.glance div > span:last-child { font-size: .8125rem; color: var(--taupe); }
.soon { display: grid; gap: 20px; align-items: center; padding: 32px 26px; border-radius: var(--r-lg); background: #fbf8f2; border: 1px dashed rgba(117,96,77,.5); }
.soon__ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); }
.soon__ico svg { width: 32px; height: 32px; }
.soon h3 { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.soon p { color: var(--clay); max-width: 58ch; margin-bottom: 20px; }

/* ---------- Icon cards, desks, process ---------- */
.icards { display: grid; gap: 16px; }
.icard { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--limestone); transition: transform .45s var(--ease), box-shadow .45s; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icard__ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); margin-bottom: 18px; }
.icard__ico svg { width: 24px; height: 24px; }
.icard__n { position: absolute; right: 22px; top: 24px; font-family: var(--f-mono); font-size: .75rem; color: var(--clay); }
.icard h3 { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.icard p { margin: 0; color: var(--clay); }
.desks { display: grid; gap: 16px; grid-template-columns: 1fr; }
.desk { padding: 28px 24px; border-radius: var(--r); background: #fbf8f2; border: 1px solid rgba(181,165,140,.55); display: flex; flex-direction: column; gap: 8px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.desk:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(239,169,0,.5); }
.desk__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); margin-bottom: 10px; overflow: hidden; }
.desk__ico svg { width: 28px; height: 28px; }
.desk h3 { font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; font-weight: 600; line-height: 1; }
.desk__role { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.desk p { margin: 6px 0 0; color: var(--clay); font-size: .9375rem; }
.process { list-style: none; display: grid; gap: 16px; }
.process li { position: relative; padding: 26px 24px; border-radius: var(--r); background: #fbf8f2; border: 1px solid rgba(181,165,140,.55); }
.process__n { position: absolute; right: 22px; top: 16px; font-family: var(--f-display); font-size: 3rem; font-weight: 700; line-height: 1; color: rgba(117,96,77,.2); }
.process__ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--cocoa); margin-bottom: 16px; }
.process__ico svg { width: 22px; height: 22px; }
.process h3 { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.process p { margin: 0; color: var(--clay); font-size: .9375rem; }

/* ---------- Research page: fieldwork + records ---------- */
.fieldwork { display: grid; gap: 28px; }
.fieldwork__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; }
.fieldwork__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fieldwork__code { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 20px; border-radius: var(--r); background: rgba(48,37,31,.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fieldwork__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.fieldwork__code ul { list-style: none; display: grid; gap: 12px; }
.fieldwork__code li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; font-size: .875rem; color: var(--limestone); }
.fieldwork__code li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,197,9,.15); color: var(--gold); }
.fieldwork__code li svg { width: 18px; height: 18px; }
.fieldwork__code b { display: block; color: var(--chalk); font-weight: 600; }
.fieldwork__list { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.visit { width: 100%; display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px; border-radius: var(--r); background: rgba(242,238,229,.05); border: 1px solid rgba(181,165,140,.25); }
.visit__date { width: 72px; height: 80px; border-radius: 14px; background: var(--gold-grad); color: var(--cocoa); display: grid; place-content: center; text-align: center; font-family: var(--f-mono); font-size: .75rem; }
.visit__date b { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.visit h3 { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 600; line-height: 1.05; margin: 10px 0 6px; }
.visit p { margin: 0 0 8px; font-size: .9375rem; color: var(--taupe); }
.visit .visit__loc, .visit .visit__meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--limestone); }
.visit .visit__meta { display: grid; gap: 4px; font-size: .8125rem; margin: 0; }
.visit svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.records { display: grid; gap: 16px; }
.record { padding: 24px; border-radius: var(--r); background: var(--limestone); display: flex; flex-direction: column; gap: 16px; }
.record__head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.record__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); }
.record__ico svg { width: 22px; height: 22px; }
.record h3 { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 600; line-height: 1.05; margin-bottom: 8px; }
.record dl { margin: 0; display: grid; gap: 10px; }
.record dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.record dd { margin: 2px 0 0; font-size: .9375rem; }
.record .link-arrow { align-self: flex-start; margin-top: auto; }

/* ---------- About page: letters + mission ---------- */
.letters { display: grid; gap: 14px; }
.letter { position: relative; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.letter__bg { position: absolute; inset: 0; z-index: -1; }
.letter__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.letter__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,37,31,.45), rgba(48,37,31,.92)); }
.letter:hover .letter__bg img { transform: scale(1.06); }
.letter__mark { align-self: flex-start; font-family: var(--f-display); font-size: 4.2rem; font-weight: 700; line-height: 1; color: var(--chalk); }
.letter__mark .hero__ring path { stroke-dashoffset: 0; }
.letter__body h3 { font-family: var(--f-display); font-size: 2rem; text-transform: uppercase; font-weight: 600; line-height: 1; color: var(--gold); }
.letter__body p { margin: 6px 0 0; color: var(--limestone); }
.mcards { display: grid; gap: 16px; }
.mcard { border-radius: var(--r-lg); overflow: hidden; background: #fbf8f2; border: 1px solid rgba(181,165,140,.5); }
.mcard__media { aspect-ratio: 16/10; overflow: hidden; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.mcard:hover .mcard__media img { transform: scale(1.05); }
.mcard__body { padding: 24px; }
.mcard__body h3 { font-family: var(--f-display); font-size: 1.8rem; text-transform: uppercase; font-weight: 600; line-height: 1; margin: 14px 0 10px; }
.mcard__body p { margin: 0; color: var(--clay); }
.evidence-scale { border-radius: var(--r); overflow: hidden; }

/* ---------- Get-involved tiles + contact ---------- */
.ptiles { display: grid; gap: 14px; }
.ptile { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: var(--r); background: var(--limestone); text-decoration: none; color: inherit; border: 1px solid transparent; transition: transform .45s var(--ease), box-shadow .45s, background .3s, border-color .3s; }
.ptile__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cocoa); color: var(--gold); margin-bottom: 10px; transition: background .3s, color .3s, transform .5s var(--ease); }
.ptile__ico svg { width: 26px; height: 26px; }
.ptile h3 { font-family: var(--f-display); font-size: 1.7rem; text-transform: uppercase; font-weight: 600; line-height: 1; }
.ptile p { margin: 0; color: var(--clay); font-size: .9375rem; }
.ptile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .875rem; }
.ptile__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.ptile:hover { transform: translateY(-5px); background: #fbf8f2; border-color: rgba(239,169,0,.5); box-shadow: var(--shadow); }
.ptile:hover .ptile__ico { background: var(--gold-grad); color: var(--cocoa); transform: rotate(-8deg); }
.ptile:hover .ptile__go svg { transform: translateX(4px); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__info .lead { margin: 18px 0 28px; }
.contact__list { list-style: none; display: grid; gap: 12px; }
.contact__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: rgba(242,238,229,.05); border: 1px solid rgba(181,165,140,.2); }
.contact__list li > span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,197,9,.14); color: var(--gold); }
.contact__list svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.contact__list a { color: var(--chalk); }
.contact__card { background: var(--chalk); color: var(--cocoa); padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); display: grid; gap: 22px; }
.contact__card .field label { color: var(--clay); }
.contact__card .btn { background: var(--cocoa); color: var(--chalk); border-color: var(--cocoa); }
.contact__card .btn:hover { color: var(--cocoa); }

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .fcard { width: min(52vw, 380px); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .btile:first-child { grid-column: 1 / -1; min-height: 320px; }
  .counters { grid-template-columns: repeat(4, 1fr); }
  .jrow { grid-template-columns: 120px 1fr 40px; }
  .cta-panel { padding: 88px 48px; }
  .cta-strip { grid-template-columns: 56px 1fr; }
  .cta-strip .btn-row { grid-column: 2; }
  .soon { grid-template-columns: 72px 1fr; padding: 40px; }
  .desks, .icards, .process, .records, .ptiles, .letters, .mcards { grid-template-columns: repeat(2, 1fr); }
  .fieldwork__code ul { grid-template-columns: 1fr 1fr; }
}

/* ---------- ≥ 960px ---------- */
@media (min-width: 960px) {
  .site-header .brand .wordmark { font-size: 1.55rem; }
  .intro__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .intro__media .media { aspect-ratio: 5/4; }
  .intro__badge { left: -32px; bottom: 32px; }
  .pillars { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .pillars .pillar:nth-child(even) { margin-top: 36px; }
  .fields__head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .fields__aside { max-width: 420px; }
  .fields--pinned { height: 100vh; padding: 0; display: flex; }
  .fields--pinned .fields__inner { display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: calc(var(--header-h) + 8px); padding-bottom: 32px; }
  .fields--pinned .fields__head { margin-bottom: 28px; }
  .fields--pinned .fields__viewport { overflow: visible; scroll-snap-type: none; }
  .fields__track { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); gap: 22px; }
  .fcard { width: clamp(240px, min(30vw, 54vh), 440px); }
  .fgrid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .dgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .dgrid--4 { grid-template-columns: repeat(4, 1fr); }
  .dgrid--4 .dcard__title { font-size: 1.4rem; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; gap: 16px; }
  .bento .btile:first-child { grid-column: span 2; grid-row: span 2; min-height: 0; }
  .bento .btile:first-child .btile__body h3 { font-size: 2.8rem; }
  .bento .btile:nth-child(4) { grid-column: span 2; }
  .btile { min-height: 0; }
  .counters { margin-top: 16px; gap: 16px; }
  .eras__cards { flex-direction: row; height: 600px; gap: 12px; }
  .era { flex: 1; min-width: 0; transition: flex .7s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; }
  .era.is-open { flex: 3.4; }
  .era__btn { padding: 26px; }
  .era:not(.is-open) .era__btn { grid-template-columns: auto 1fr; padding: 22px 18px; }
  .era:not(.is-open) .era__name { grid-column: 1 / -1; font-size: clamp(1.15rem, 1.7vw, 1.6rem); overflow-wrap: anywhere; }
  .era:not(.is-open) .era__dates { font-size: .6875rem; }
  .era__panel > div { padding: 0 26px; min-width: 420px; }
  .era.is-open .era__panel > div { padding-bottom: 28px; }
  .jhome { grid-template-columns: 1.35fr 1fr; gap: 24px; }
  .jfeat { min-height: 560px; }
  .jfeat__body { padding: 36px; }
  .jlist { grid-template-rows: repeat(3, 1fr); gap: 16px; }
  .jrow { grid-template-columns: 140px 1fr 44px; padding: 14px; }
  .jrow b { font-size: 1.5rem; }
  .about2 { grid-template-columns: 1fr 1fr; gap: 96px; }
  .seal { width: 150px; height: 150px; }
  .seal img { width: 70px; height: 70px; }
  .cta-panel { padding: 120px 64px; }
  .faq { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .cta-strip { grid-template-columns: 64px 1fr auto; padding: 32px 40px; }
  .cta-strip img { width: 64px; height: 64px; }
  .cta-strip .btn-row { grid-column: auto; }
  .topic-intro { grid-template-columns: 1.4fr 1fr; gap: 80px; }
  .desks { grid-template-columns: repeat(4, 1fr); }
  .icards--3, .ptiles, .letters, .mcards { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .process--4 { grid-template-columns: repeat(4, 1fr); }
  .fieldwork { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
  .fieldwork__media { min-height: 640px; }
  .letter { min-height: 340px; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .footer-top { grid-template-columns: 5fr 7fr; gap: 64px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .footer-note { grid-template-columns: 44px 1fr; padding: 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-wave, .seal svg { animation: none !important; }
}

/* =====================================================================
   ROUND 3 — feedback refinements
   ===================================================================== */
.section--snug { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Brand intro (preloader) ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 24px; background: var(--cocoa); color: var(--chalk); transition: opacity .9s var(--ease), visibility .9s; animation: plAuto .6s 8s forwards; }
html.intro .preloader { display: grid; }
.preloader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.preloader__logo { position: relative; z-index: 1; width: clamp(136px, 30vw, 168px); height: clamp(136px, 30vw, 168px); object-fit: contain; animation: plLogo 1.3s cubic-bezier(.22, 1, .36, 1) .1s both; }
.preloader__name { display: flex; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: .14em; line-height: 1; margin-top: 0; }
.preloader__name span { display: inline-block; opacity: 0; transform: translateY(26px); animation: plLetter .7s cubic-bezier(.22, 1, .36, 1) forwards; }
.preloader__name span:nth-child(odd) { color: var(--chalk); }
.preloader__name span:nth-child(even) { color: var(--gold); }
.preloader__name span:nth-child(1) { animation-delay: 1.05s; } .preloader__name span:nth-child(2) { animation-delay: 1.1s; }
.preloader__name span:nth-child(3) { animation-delay: 1.15s; } .preloader__name span:nth-child(4) { animation-delay: 1.2s; }
.preloader__name span:nth-child(5) { animation-delay: 1.25s; } .preloader__name span:nth-child(6) { animation-delay: 1.3s; }
.preloader__name span:nth-child(7) { animation-delay: 1.35s; } .preloader__name span:nth-child(8) { animation-delay: 1.4s; }
.preloader__name span:nth-child(9) { animation-delay: 1.45s; } .preloader__name span:nth-child(10) { animation-delay: 1.5s; }
.preloader__name span:nth-child(11) { animation-delay: 1.55s; } .preloader__name span:nth-child(12) { animation-delay: 1.6s; }
.preloader__tag { max-width: 30ch; font-family: var(--f-mono); font-size: clamp(.6875rem, 1.6vw, .8125rem); letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; color: var(--khaki); opacity: 0; transform: translateY(10px); animation: plLetter .8s 1.85s cubic-bezier(.22, 1, .36, 1) forwards; }
@media (min-width: 640px) { .preloader__tag { max-width: none; } }
@keyframes plLogo { from { opacity: 0; transform: translateY(14px) scale(.9); filter: blur(12px); } 60% { opacity: 1; } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes plRingIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes plLetter { to { opacity: 1; transform: none; } }
@keyframes plFade { to { opacity: 1; } }
@keyframes plAuto { to { opacity: 0; visibility: hidden; } }
html.is-loading, html.is-loading body { overflow: hidden; }
html.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
html.is-loaded .preloader__inner { opacity: 0; transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .preloader__logo, .preloader__name span, .preloader__tag { animation: none !important; opacity: 1; transform: none; } }

/* ---------- Header: gold Get Involved (header only) ---------- */
.site-header .btn.header-cta { background: var(--gold-grad); color: var(--cocoa); border-color: var(--gold); }
.site-header .btn.header-cta::before { background: var(--cocoa); }
.site-header .btn.header-cta:hover, .site-header .btn.header-cta:focus-visible { color: var(--gold); border-color: var(--cocoa); box-shadow: 0 10px 26px rgba(239, 169, 0, .35); }

/* ---------- Floating widget: brown disc behind the logo ---------- */
.cw-launch__icon { background: var(--cocoa); box-shadow: inset 0 0 0 1px rgba(251, 197, 9, .35); }

/* ---------- Hero: plain word, no drawn line ---------- */
.hero__oval { padding: 0; }
.hero__ring { display: none; }

/* ---------- Principles strip (no boxes) ---------- */
.pillars { gap: 0; margin-top: 56px; border-top: 1px solid rgba(117, 96, 77, .28); }
.pillar { padding: 28px 4px 26px; border: 0; border-bottom: 1px solid rgba(117, 96, 77, .28); border-radius: 0; background: none; overflow: hidden; }
.pillar::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pillar__n { position: static; font-family: var(--f-display); font-size: 3.2rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--clay); }
.pillar__ico { width: 46px; height: 46px; margin: 0; background: var(--limestone); color: var(--cocoa); }
.pillar__ico svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.6rem; }
@media (hover: hover) {
  .pillar:hover { transform: none; background: none; box-shadow: none; border-color: rgba(117, 96, 77, .28); }
  .pillar:hover::before { transform: scaleX(1); }
  .pillar:hover .pillar__ico { background: var(--gold-grad); color: var(--cocoa); transform: rotate(-10deg); }
  .pillar:hover .pillar__n { -webkit-text-stroke-color: var(--gold-deep); }
}

/* ---------- Field cards: bottom line sweep + gold "all fields" card ---------- */
.fcard__frame { display: none; }
.fcard__line { position: absolute; left: 24px; right: 24px; bottom: 14px; z-index: 3; height: 3px; border-radius: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); pointer-events: none; }
.fcard:hover .fcard__line, .fcard:focus-visible .fcard__line { transform: scaleX(1); }
.fcard--more { background: var(--gold-grad); color: var(--cocoa); border: 0; }
.fcard--more svg { background: var(--cocoa); color: var(--gold); }
.fcard--more:hover { background: var(--gold-grad); filter: saturate(1.1) brightness(1.04); }

/* ---------- About block: one tall image + rotating seal ---------- */
.about2__media--solo { padding: 0; }
.about2__media--solo .about2__main { width: 100%; aspect-ratio: 4 / 4.4; }
.about2__media--solo .seal { top: auto; right: 16px; bottom: 16px; }

/* ---------- Timeline pinned on scroll ---------- */
@media (min-width: 960px) {
  .eras-pinned { min-height: 100vh; padding-block: calc(var(--header-h) + 16px) 28px; display: flex; flex-direction: column; justify-content: center; }
  .eras-pinned .section-head { margin-bottom: 24px; }
  .eras-pinned .eras__cards { height: clamp(360px, calc(100vh - 330px), 640px); }
  #timeline .section-head { display: block; }
  #timeline .h2 { white-space: nowrap; max-width: none; }
  .eras-pinned .era__btn { cursor: pointer; }
  .eras-pinned .eras__foot { margin-top: 14px; }
}
@media (min-width: 960px) and (max-height: 820px) {
  .eras-pinned .section-head .lead { display: none; }
  .eras-pinned .eras__cards { height: clamp(320px, calc(100vh - 290px), 640px); }
  .eras-pinned .h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
  .eras-pinned .era__periods, .eras-pinned .era__india { display: none; }
  .eras-pinned .era__panel p { font-size: .875rem; }
  .eras-pinned .era__btn { padding: 18px 22px; min-height: 0; }
}

/* ---------- Explore with us: full-width brown band ---------- */
.involve-band { overflow: hidden; isolation: isolate; }
.involve-band__bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.involve-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.involve-band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cocoa) 0%, rgba(48, 37, 31, .6) 60%, rgba(48, 37, 31, .2) 100%); }
.involve-band__grid { display: grid; gap: 40px; align-items: center; }
.involve-band__text .lead { margin: 18px 0 30px; max-width: 46ch; }
.involve-band__paths { list-style: none; display: grid; gap: 10px; }
.ipath { display: grid; grid-template-columns: 48px 1fr 40px; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: rgba(242, 238, 229, .06); border: 1px solid rgba(181, 165, 140, .25); color: var(--chalk); text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .35s, border-color .35s, color .35s, transform .45s var(--ease); }
.ipath__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 197, 9, .14); color: var(--gold); transition: background .35s, color .35s; }
.ipath__ico svg { width: 22px; height: 22px; }
.ipath__txt b { display: block; font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; font-weight: 600; line-height: 1.05; }
.ipath__txt small { display: block; font-size: .8125rem; color: var(--taupe); margin-top: 2px; transition: color .35s; }
.ipath__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(181, 165, 140, .4); transition: transform .45s var(--ease), border-color .35s; }
.ipath:hover, .ipath:focus-visible { background: var(--gold-grad); border-color: var(--gold); color: var(--cocoa); transform: translateX(6px); }
.ipath:hover .ipath__ico { background: var(--cocoa); color: var(--gold); }
.ipath:hover .ipath__txt small { color: var(--clay); }
.ipath:hover .ipath__go { border-color: var(--cocoa); transform: rotate(-45deg); }

/* ---------- Footer image band ---------- */
.footer-art { position: relative; height: clamp(150px, 22vw, 340px); margin: -72px 0 40px; }
.footer-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.footer-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48, 37, 31, .15) 0%, rgba(48, 37, 31, .35) 45%, var(--cocoa) 100%); }

/* ---------- Topic page: Journal strip ---------- */
.readmore { display: grid; gap: 22px; align-items: center; padding: 30px 26px; border-radius: var(--r-lg); background: var(--cocoa); color: var(--chalk); position: relative; overflow: hidden; }
.readmore::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(251, 197, 9, .25); box-shadow: 0 0 0 30px rgba(251, 197, 9, .04), 0 0 0 60px rgba(251, 197, 9, .03); pointer-events: none; }
.readmore__ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--cocoa); }
.readmore__ico svg { width: 30px; height: 30px; }
.readmore h2 { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; font-weight: 600; line-height: 1; margin: 10px 0 8px; }
.readmore p { margin: 0; color: var(--taupe); max-width: 52ch; }
.readmore .btn-row { position: relative; z-index: 1; }

/* ---------- Journal page ---------- */
.jfeat__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .9375rem; color: var(--gold); }
.jfeat__cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.jfeat:hover .jfeat__cta svg { transform: translateX(4px); }
.jbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.jsearch { position: relative; flex: 1 1 280px; max-width: 420px; }
.jsearch svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--clay); pointer-events: none; }
.jsearch .input { padding-left: 48px; border-radius: 999px; min-height: 52px; }
.jtabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 28px 0 20px; padding-bottom: 2px; }
.jtabs::-webkit-scrollbar { display: none; }
.jtabs button { flex: none; min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(117, 96, 77, .35); font-size: .875rem; font-weight: 500; color: var(--cocoa); transition: background .3s, color .3s, border-color .3s; }
.jtabs button:hover { border-color: var(--gold-deep); }
.jtabs button[aria-pressed="true"] { background: var(--cocoa); color: var(--chalk); border-color: var(--cocoa); }

/* ---------- Contact (light variant) + Get Involved order ---------- */
.contact__follow { color: var(--khaki); margin: 32px 0 12px; }
.contact--top { padding-top: calc(var(--header-h) + 36px); }
.contact--top .breadcrumbs { margin-bottom: 28px; }
.contact--light { background: var(--chalk); }
.contact--light .contact__follow { color: var(--clay); }
.contact--light .contact__list li { background: var(--limestone); border-color: transparent; }
.contact--light .contact__list li > span { background: var(--cocoa); color: var(--gold); }
.contact--light .contact__list small { color: var(--clay); }
.contact--light .contact__list a { color: var(--cocoa); }
.contact--light .socials a { color: var(--cocoa); border-color: rgba(117, 96, 77, .4); }
.contact--light .contact__card { background: #fbf8f2; border: 1px solid rgba(181, 165, 140, .6); box-shadow: 0 24px 60px rgba(48, 37, 31, .08); }
.ptiles--dark .ptile { background: rgba(242, 238, 229, .05); border-color: rgba(181, 165, 140, .22); color: var(--chalk); }
.ptiles--dark .ptile p { color: var(--taupe); }
.ptiles--dark .ptile__ico { background: rgba(251, 197, 9, .14); color: var(--gold); }
.ptiles--dark .ptile__go { color: var(--gold); }
.ptiles--dark .ptile:hover { background: rgba(242, 238, 229, .09); border-color: rgba(251, 197, 9, .5); }

@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: 28px 24px 26px; }
  .pillar:nth-child(even) { border-left: 1px solid rgba(117, 96, 77, .28); }
  .readmore { grid-template-columns: 72px 1fr; padding: 36px 40px; }
  .readmore .btn-row { grid-column: 2; }
}
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .pillars .pillar:nth-child(even) { margin-top: 0; }
  .pillar { border-bottom: 0; }
  .pillar + .pillar { border-left: 1px solid rgba(117, 96, 77, .28); }
  .pillars { border-bottom: 1px solid rgba(117, 96, 77, .28); }
  .about2__media--solo .about2__main { aspect-ratio: 4 / 4.6; }
  .about2__media--solo .seal { right: -40px; bottom: 48px; }
  .involve-band__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .involve-band__bg { left: 40%; opacity: .5; }
  .involve-band__bg::after { background: linear-gradient(90deg, var(--cocoa) 0%, rgba(48, 37, 31, .75) 35%, rgba(48, 37, 31, .35) 100%); }
  .readmore { grid-template-columns: 72px 1fr auto; }
  .readmore .btn-row { grid-column: auto; }
}

/* =====================================================================
   ROUND 4 — contact picker, research, journal spacing, article layout
   ===================================================================== */

/* ---------- Contact: image + topic picker ---------- */
.contact__media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); margin: 0 0 24px; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.topic-pick__label, .topic-pick__step { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; font-size: 1rem; color: var(--cocoa); }
.topic-pick__label span, .topic-pick__step span { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--gold-grad); color: var(--cocoa); font-weight: 500; }
.topic-pick__step { margin: 4px 0 -6px; padding-top: 20px; border-top: 1px solid rgba(181, 165, 140, .5); }
.topic-pick__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topic-pick__opts button { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid rgba(181, 165, 140, .6); background: var(--chalk); color: var(--cocoa); font-size: .875rem; font-weight: 500; text-align: left; line-height: 1.25; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.topic-pick__ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--limestone); color: var(--clay); transition: background .3s, color .3s; }
.topic-pick__ico svg { width: 18px; height: 18px; }
.topic-pick__opts button:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.topic-pick__opts button[aria-checked="true"] { background: var(--cocoa); color: var(--chalk); border-color: var(--cocoa); box-shadow: 0 10px 24px rgba(48, 37, 31, .18); }
.topic-pick__opts button[aria-checked="true"] .topic-pick__ico { background: var(--gold-grad); color: var(--cocoa); }
.contact__card #contact-form .form-grid > h3:first-child { display: none; }
@media (min-width: 640px) { .topic-pick__opts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Research: desks on dark, records with image ---------- */
.dark .desk { background: rgba(242, 238, 229, .05); border-color: rgba(181, 165, 140, .22); color: var(--chalk); }
.dark .desk p { color: var(--taupe); }
.dark .desk__role { color: var(--khaki); }
.dark .desk__ico { background: rgba(251, 197, 9, .14); }
.dark .desk:hover { border-color: rgba(251, 197, 9, .5); box-shadow: none; }
.record { padding: 0; overflow: hidden; background: #fbf8f2; border: 1px solid rgba(181, 165, 140, .55); gap: 0; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.record__media { aspect-ratio: 16 / 7; overflow: hidden; }
.record__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.record__head, .record dl, .record .link-arrow { margin-left: 24px; margin-right: 24px; }
.record__head { margin-top: -26px; position: relative; }
.record__ico { box-shadow: 0 0 0 4px #fbf8f2; }
.record dl { margin-top: 16px; }
.record .link-arrow { margin-top: 18px; margin-bottom: 24px; }
.record:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(239, 169, 0, .5); }
.record:hover .record__media img { transform: scale(1.05); }
.record__head h3 { margin-top: 30px; }

/* ---------- Tighter gap before the closing band ---------- */
.section:not(.dark):not(.alt) + .cta-strip-wrap { padding-top: 0; }
#latest { padding-bottom: clamp(40px, 5vw, 56px); }
#latest div:has(> #jmore) { margin-top: 32px !important; }
#latest div:has(> #jmore[hidden]) { display: none; }

/* ---------- Article: cover image, full-width title ---------- */
.acover { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: flex-end; color: var(--chalk); background: var(--cocoa); overflow: hidden; isolation: isolate; }
.acover__img { position: absolute; inset: 0; z-index: -1; }
.acover__img img { width: 100%; height: 100%; object-fit: cover; }
.acover__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48, 37, 31, .7) 0%, rgba(48, 37, 31, .1) 35%, rgba(48, 37, 31, .2) 65%, rgba(48, 37, 31, .75) 100%); }
.acover__inner { width: 100%; padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; }
.acover .breadcrumbs, .acover .breadcrumbs a { color: var(--limestone); }
.acover__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--gold-grad); color: var(--cocoa); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; text-decoration: none; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.acover__badge:hover { transform: translateY(-2px); }
.acover__credit { position: absolute; right: 16px; bottom: 12px; font-size: .6875rem; color: var(--limestone); opacity: .8; }
.atitle { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 36px); border-bottom: 1px solid rgba(181, 165, 140, .45); margin-bottom: clamp(32px, 4vw, 48px); }
.atitle h1 { font-family: var(--f-display); font-size: var(--step-5); text-transform: uppercase; line-height: .95; font-weight: 700; max-width: none; }
.atitle .subtitle { font-size: var(--step-2); line-height: 1.4; color: var(--clay); margin: 18px 0 0; max-width: 60ch; }
.atitle__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); }
.atitle__meta b { color: var(--cocoa); font-weight: 500; }
.atitle__meta .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cocoa); display: grid; place-items: center; overflow: hidden; }
.atitle__meta .avatar img { width: 26px; height: 26px; object-fit: contain; }
.acontrib { display: grid; gap: 18px; margin: 48px 0 0; padding: 28px; border-radius: var(--r-lg); background: var(--cocoa); color: var(--chalk); }
.acontrib__ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--cocoa); }
.acontrib__ico svg { width: 26px; height: 26px; }
.acontrib h2 { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; font-weight: 600; line-height: 1; margin: 10px 0 8px; }
.acontrib p { color: var(--taupe); margin: 0 0 20px; }
.arelated { background: var(--chalk); border-top: 1px solid rgba(181, 165, 140, .45); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 640px) { .acontrib { grid-template-columns: 60px 1fr; padding: 36px; } }
