/* ==========================================================================
   Neerja International — site styles
   Plain CSS, no build step. Mobile-first; breakpoints at 640 / 900 / 1200px.
   ========================================================================== */

:root {
  --ivory: #faf6ef;
  --paper: #f2ebdf;
  --sand: #e7dccb;
  --line: #e2d7c5;
  --ink: #1f1b16;
  --ink-soft: #3b342c;
  --muted: #6e6458;
  --brand: #117ec1; /* Neerja logo blue */
  --cobalt: #1d3b72;
  --cobalt-deep: #142a52;
  --turquoise: #3f8f9b;
  --gold: #a4844f;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: 16px;
  --radius: 2px;
  --header-h: 128px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--muted); }
em, .italic { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--cobalt-deep); color: #e9e4da; }
.section-ink h2, .section-ink h3, .section-ink p { color: #f4efe6; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); }
.divider { width: 56px; height: 1px; background: var(--gold); margin: 22px auto; border: 0; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.g-2 { grid-template-columns: 1fr; }
.g-3 { grid-template-columns: 1fr; }
.g-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .g-2 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .g-3 { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px;
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.btn-solid:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--cobalt); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--cobalt-deep); color: #efe9de;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  text-align: center; padding: 9px var(--gutter);
}
.announce a { border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .97);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(31,27,22,.45); }
.header-main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 18px; }
.header-right { justify-content: flex-end; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -10px; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; }
.header-meta { display: none; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.header-meta a:hover { color: var(--cobalt); }
.header-shop { display: none; }

.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--brand); }
.brand svg.logo { height: 42px; width: auto; display: block; }
.brand-tag { font-size: .55rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: none; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .header-main { height: 92px; }
  .brand svg.logo { height: 54px; }
  .brand-tag { display: block; }
  .header-meta { display: inline-flex; gap: 22px; }
  .header-shop { display: inline-flex; min-height: 40px; padding: 0 20px; }
  .menu-toggle, .shop-icon { display: none !important; }
  .main-nav { display: block; border-top: 1px solid var(--line); }
  .main-nav > ul { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a, .main-nav > ul > li > button {
    display: inline-flex; align-items: center; gap: 6px; height: 50px;
    font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
    position: relative;
  }
  .main-nav > ul > li > a::after, .main-nav > ul > li > button::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--cobalt);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .main-nav > ul > li:hover > a::after, .main-nav > ul > li:hover > button::after,
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav .caret { width: 9px; height: 9px; transition: transform .3s; }
  .main-nav li:hover .caret { transform: rotate(180deg); }
  .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
    min-width: 240px; background: var(--ivory); border: 1px solid var(--line);
    box-shadow: 0 18px 40px -24px rgba(31,27,22,.35);
    padding: 18px 0; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dropdown a { display: block; padding: 8px 28px; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
  .dropdown a:hover { color: var(--cobalt); background: var(--paper); }
}

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20,17,13,.45); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 400px);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .4s var(--ease);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-top .brand svg.logo { height: 38px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer nav > ul > li > a, .drawer nav > ul > li > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); font-family: var(--serif); font-size: 1.35rem; text-align: left;
}
.drawer nav button svg { width: 14px; height: 14px; transition: transform .3s; }
.drawer nav button[aria-expanded="true"] svg { transform: rotate(45deg); }
.drawer .sub { display: none; padding: 0 var(--gutter) 14px; }
.drawer .sub.is-open { display: block; }
.drawer .sub a { display: block; padding: 8px 0 8px 14px; color: var(--muted); border-left: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding: 24px var(--gutter) 32px; font-size: .9rem; color: var(--muted); }
.drawer-foot .btn { width: 100%; margin-bottom: 18px; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(460px, 78vh, 820px); overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%); }
.hero-caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(64px, 11vh, 120px);
  text-align: center; color: var(--white); padding: 0 var(--gutter);
}
.hero-caption .eyebrow { color: #f1e6cf; }
.hero-caption h1, .hero-caption h2 { color: var(--white); font-size: clamp(2.2rem, 5.6vw, 4.6rem); margin-bottom: 26px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-caption > * { opacity: 0; transform: translateY(18px); transition: opacity .9s .35s, transform .9s .35s var(--ease); }
.hero-slide.is-active .hero-caption > * { opacity: 1; transform: none; }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-dots button { width: 34px; height: 24px; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.4); }
.hero-dots button.is-active::before { background: var(--white); }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: none; align-items: center; justify-content: center; color: var(--white); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background .3s; }
.hero-arrow:hover { background: rgba(255,255,255,.15); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev { left: 28px; } .hero-arrow.next { right: 28px; }
@media (min-width: 900px) { .hero-arrow { display: inline-flex; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: clamp(280px, 46vh, 460px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--cobalt-deep); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.58)); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(32px, 6vw, 64px); }
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero .eyebrow { color: #f1e6cf; }
.page-hero.plain { background: var(--paper); color: var(--ink); min-height: 0; padding-top: clamp(48px, 8vw, 96px); }
.page-hero.plain::after { display: none; }
.page-hero.plain h1 { color: var(--ink); }
.page-hero.plain .eyebrow { color: var(--gold); }
.crumbs { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 14px; opacity: .85; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Intro / stats ---------- */
.intro { text-align: center; }
.intro .lead { max-width: 820px; margin: 0 auto 28px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(36px, 6vw, 64px); }
.stat { background: var(--ivory); padding: clamp(22px, 3vw, 36px) 12px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); color: var(--cobalt); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 22px); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: block; }
.tile .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile-label { padding: 14px 4px 4px; }
.tile-label h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin: 0 0 2px; }
.tile-label span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tile.wide { grid-column: span 2; }
.tile.wide .ph { aspect-ratio: 8 / 5; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.landscape img { aspect-ratio: 3 / 2; }
.split-body { max-width: 520px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: 2; }
}
.split-body .btn, .split-body .link-arrow { margin-top: 10px; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
@media (max-width: 899px) { .frame::before { inset: 12px -10px -12px 10px; } }

/* ---------- Product rail (horizontal scroll) ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rail-head h2 { margin: 0; }
.rail-nav { display: none; gap: 10px; }
.rail-nav button { width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.rail-nav button:hover { background: var(--ink); color: var(--ivory); }
.rail-nav svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .rail-nav { display: flex; } }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%;
  gap: clamp(14px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .rail { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 3 * 26px) / 4); margin-right: 0; padding-right: 0; } }
.product { scroll-snap-align: start; display: block; }
.product .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover img { transform: scale(1.05); }
.product h3 { font-size: 1.15rem; margin: 14px 0 4px; }
.product span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.3; color: var(--white); }
.quote-band cite { display: block; margin-top: 22px; font-style: normal; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #d9c9a6; }

/* ---------- Video ---------- */
.video-card { position: relative; display: block; width: 100%; overflow: hidden; }
.video-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.video-card:hover img { transform: scale(1.03); }
.video-card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; color: var(--white); transition: background .3s; }
.video-card:hover .play { background: rgba(255,255,255,.18); }
.play svg { width: 22px; height: 22px; margin-left: 4px; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Cards (journal / team) ---------- */
.card { display: block; }
.card .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card-body { padding-top: 18px; }
.card-date { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); margin: 8px 0 10px; }
.card p { font-size: .95rem; color: var(--muted); }

.team-card { text-align: left; width: 100%; }
.team-card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.9); transition: transform 1s var(--ease), filter .5s; }
.team-card:hover img { transform: scale(1.03); filter: none; }
.team-card h3 { margin: 16px 0 2px; font-size: 1.4rem; }
.team-card .role { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.team-card .more { display: inline-block; margin-top: 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cobalt); border-bottom: 1px solid currentColor; }

/* ---------- Gallery / masonry ---------- */
.masonry { columns: 2; column-gap: clamp(10px, 1.6vw, 20px); }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1200px) { .masonry.m4 { columns: 4; } }
.masonry figure { break-inside: avoid; margin: 0 0 clamp(10px, 1.6vw, 20px); }
.masonry button { display: block; width: 100%; overflow: hidden; position: relative; }
.masonry img { width: 100%; transition: transform 1s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry figcaption { font-size: .82rem; color: var(--muted); padding: 8px 2px 0; }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(6, 1fr); } }
.strip a { overflow: hidden; display: block; aspect-ratio: 1; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.strip a:hover img { transform: scale(1.06); opacity: .9; }

/* ---------- Lightbox / modal ---------- */
.lightbox, .modal { position: fixed; inset: 0; z-index: 300; display: none; }
.lightbox.is-open, .modal.is-open { display: flex; }
.lightbox { background: rgba(15,12,9,.94); align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lightbox-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #ddd3c3; font-size: .9rem; padding: 0 70px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.modal { background: rgba(15,12,9,.6); align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: var(--ivory); width: min(980px, 100%); max-height: 90vh; overflow: auto; position: relative; display: grid; grid-template-columns: 1fr; }
.modal-box .lb-close { color: var(--ink); background: var(--ivory); border-radius: 50%; top: 8px; right: 8px; z-index: 2; }
.modal-media img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; object-position: top; }
.modal-body { padding: clamp(24px, 4vw, 48px); }
.modal-video { width: min(1100px, 100%); }
@media (min-width: 900px) {
  .modal-box.bio { grid-template-columns: 2fr 3fr; }
  .modal-media img { max-height: none; }
}

/* ---------- Prose (long-form pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.05rem; line-height: 1.85; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .4em; }
.prose > p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--cobalt); }
.prose.no-drop > p:first-of-type::first-letter { all: unset; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--cobalt); border-left: 2px solid var(--gold); padding: 4px 0 4px 24px; margin: 1.6em 0; }
.post-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 2em 0; }
@media (min-width: 900px) { .post-gallery { grid-template-columns: repeat(3, 1fr); } }
.post-gallery button { aspect-ratio: 1; overflow: hidden; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-gallery button:hover img { transform: scale(1.05); }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 26px); }
@media (min-width: 640px) { .awards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .awards { grid-template-columns: repeat(4, 1fr); } }
.award { text-align: left; }
.award .ph { aspect-ratio: 1; background: var(--white); border: 1px solid var(--line); padding: 12px; overflow: hidden; }
.award img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.award:hover img { transform: scale(1.04); }
.award p { font-size: .86rem; line-height: 1.5; margin: 10px 0 0; color: var(--ink-soft); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--cobalt); display: block; line-height: 1.2; }

/* ---------- Info cards ---------- */
.info-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); height: 100%; }
.info-card .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.info-card h3 { margin-bottom: 12px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card img { width: calc(100% + 2 * clamp(24px, 3vw, 40px)); max-width: none; margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .95rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.bank { font-size: .92rem; }
.bank h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }

/* ---------- Interns wall ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(5, 1fr); } }
.person .ph { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person h4 { margin: 10px 0 2px; font-size: 1.1rem; }
.person p { font-size: .8rem; line-height: 1.45; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #c9bca8; padding: 10px 0; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); }
.form-note { font-size: .85rem; color: var(--muted); }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 5vw, 64px); }
.partners a { display: block; opacity: .85; transition: opacity .3s; }
.partners a:hover { opacity: 1; }
.partners img { height: 56px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.partners .wordmark { font-family: var(--serif); font-size: 1.8rem; color: var(--cobalt); letter-spacing: .06em; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter form { display: flex; border-bottom: 1px solid rgba(255,255,255,.5); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 14px 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: none; }
.newsletter button { color: var(--white); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; padding-left: 18px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--cobalt-deep); color: #c9d3e4; font-size: .92rem; isolation: isolate; }
/* Blue-and-white Jaipur Blue Pottery border: rosettes, vine and a scalloped edge */
.site-footer::before { content: ""; display: block; height: 54px; background: url(../img/pottery-border.svg) repeat-x center top / auto 54px; }
@media (min-width: 900px) { .site-footer::before { height: 72px; background-size: auto 72px; } }
/* Pottery medallion, a faint watermark behind the footer */
.site-footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: .07;
  width: clamp(320px, 46vw, 620px); aspect-ratio: 1; right: clamp(-200px, -8vw, -60px); bottom: clamp(-200px, -10vw, -80px);
  background: url(../img/pottery-medallion.svg) no-repeat center / contain;
}
.site-footer a:hover { color: var(--white); }
.footer-top { display: grid; gap: 40px; padding: clamp(56px, 8vw, 96px) 0 48px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer p { color: #c9d3e4; }
.footer-brand .brand { align-items: flex-start; color: var(--white); }
.footer-brand .brand svg.logo { height: 52px; }
.footer-brand p { margin-top: 18px; max-width: 340px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s; }
.social a:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .8rem; color: #9fb0cc; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide img, .hero-caption > * { transition: none !important; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { border: 1px solid var(--line); padding: 6px 14px; font-size: .82rem; color: var(--ink-soft); background: var(--white); }
.notice { background: var(--paper); border-left: 2px solid var(--gold); padding: 18px 22px; font-size: .95rem; }
@media (max-width: 639px) { .hide-sm { display: none; } }
.team-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 639px) { .team-card h3 { font-size: 1.15rem; } }

/* ---------------------------------------------------------------- page loader (Neerja flower) */
.loader {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  background: var(--ivory); color: var(--brand);
  transition: opacity .45s ease, visibility .45s;
  animation: loader-failsafe .45s ease 6s forwards; /* never block the page if a script fails */
}
.loader-mark { height: clamp(84px, 14vh, 120px); width: auto; animation: loader-in .35s ease .15s both; }
.loader-base { fill: currentColor; opacity: .14; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.loader.is-leaving { opacity: 1; visibility: visible; pointer-events: auto; animation: none; }
@keyframes loader-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------------------------------------------------------------- CMS additions */
.footer-cols { display: contents; }
.subnav { border-bottom: 1px solid var(--line); background: var(--white); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 28px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 0 14px; white-space: nowrap; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--cobalt); }
.subnav a[aria-current="page"] { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--cobalt); transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 22px; }
.faq-a p:last-child { margin-bottom: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.pager a { max-width: 40%; }
@media (max-width: 640px) { .pager a { max-width: 100%; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status:empty { display: none; }
.form-status.ok { color: #1f7a4d; }
.form-status.bad { color: #b42318; }
a.info-card { display: block; color: inherit; transition: transform .3s ease, box-shadow .3s; }
a.info-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31,27,22,.08); }
.nj-edit-pill { position: fixed; z-index: 900; right: 16px; bottom: 16px; padding: 12px 18px; border-radius: 999px; background: #101828; color: #fff !important; font: 600 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nj-edit-pill:hover { background: #117ec1; }
.nj-edit-pill-2 { right: auto; left: 16px; background: #fff; color: #101828 !important; }
