/* ═══════════════════════════════════════════════════════════════════
   MOHANJI.ORG — HOMEPAGE SECTIONS
   Depends on site.css tokens. Only index.html loads this.
   ═══════════════════════════════════════════════════════════════════ */

/* ───────── HERO — split: text panel left, photo right. No scrim over the face. ───────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 86vh; min-height: 86svh; background: #fff; border-bottom: 1px solid var(--line-gold); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 96px 56px 88px 88px; max-width: 760px; }
.hero__photo { position: relative; overflow: hidden; background: var(--white-warm); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; animation: hero-breathe 24s ease-in-out infinite alternate; }
.hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 14%); pointer-events: none; z-index: 1; }
@keyframes hero-breathe { 0%{transform:scale(1)} 100%{transform:scale(1.04)} }
.hero__kicker {
  font-size: 11.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); font-weight: 600;
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
  opacity: 0; animation: rise .8s .1s var(--ease-out) forwards;
}
.hero__kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
@keyframes rise { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.hero__title {
  font-family: var(--serif); font-size: clamp(56px, 9vw, 132px); font-weight: var(--w-display);
  line-height: .94; letter-spacing: -.028em; color: var(--ink); margin-bottom: 26px;
  opacity: 0; animation: rise .9s .2s var(--ease-out) forwards;
}
.hero__title em { font-style: italic; color: var(--gold-deep); }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 25px); font-weight: 400;
  color: var(--ink-soft); line-height: 1.5; max-width: 480px; margin-bottom: 36px;
  opacity: 0; animation: rise .9s .3s var(--ease-out) forwards;
}
.hero__sub em { color: var(--gold-deep); font-weight: 500; }
.hero__sub--plain { font-style: normal; font-family: var(--sans); font-size: 17.5px; line-height: 1.65; max-width: 500px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: rise .8s .4s var(--ease-out) forwards; }
.hero__quote-card { position: absolute; left: 40px; bottom: 40px; z-index: 2; background: rgba(255,255,255,.94); border: 1px solid var(--line-gold); padding: 26px 30px; max-width: 360px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; animation: rise .9s .6s var(--ease-out) forwards; }
.hero__quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 72px; color: var(--gold-whisper); position: absolute; top: -8px; left: 18px; line-height: 1; pointer-events: none; }
.hero__quote { font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 400; line-height: 1.45; color: var(--ink); margin-bottom: 14px; position: relative; z-index: 1; }
.hero__cite { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hero__cite::before { content: ""; width: 20px; height: 1px; background: var(--gold); }

/* ───────── PURPOSE — quote + 4 values ───────── */
.purpose__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 29px); font-weight: 400;
  line-height: 1.4; color: var(--ink); margin: 26px auto 22px; max-width: 720px; padding: 18px 0;
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
}
.purpose__quote em { color: var(--gold-deep); }
.purpose__quote span { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.value { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease-out); }
.value:hover { border-color: var(--line-gold-s); transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(36,31,23,.10); }
.value__icon { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 18px; }
.value__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.value__title em { color: var(--gold-deep); }
.value__desc { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* ───────── DOORWAYS — "What brings you here?" ───────── */
.doorways { position: relative; }
.doorways::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 72px; background: var(--gold); }
.doorways-mark { display: block; width: 130px; height: 130px; margin: 0 auto 24px; pointer-events: none; }
.doorways-mark line { stroke: var(--gold); stroke-width: .8; stroke-linecap: round; opacity: .55; }
.doorways-mark circle { fill: none; stroke: var(--gold); }
.doorways-mark__ring-outer { stroke-width: .6; opacity: .3; }
.doorways-mark__branches circle { fill: var(--gold); stroke: none; opacity: .85; }
.doorways-mark__branches { transform-origin: 120px 120px; animation: cm-rotate 90s linear infinite; }
.doorways-mark__ring-middle { stroke-width: .7; stroke-dasharray: 1.5 5; opacity: .45; transform-origin: 120px 120px; animation: cm-rotate-rev 120s linear infinite; }
.doorways-mark__ring-inner { stroke-width: .9; opacity: .4; transform-origin: 120px 120px; animation: cm-pulse 6s ease-in-out infinite; }
.doorways-mark__bindu { fill: var(--gold-deep); stroke: none; transform-origin: 120px 120px; animation: cm-breath 4s ease-in-out infinite; }
@keyframes cm-rotate { to { transform: rotate(360deg); } }
@keyframes cm-rotate-rev { to { transform: rotate(-360deg); } }
@keyframes cm-breath { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.5); opacity: 1; } }
@keyframes cm-pulse { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: .55; transform: scale(1.04); } }
.doorways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.doorways-grid .door { opacity: 1; transform: none; min-height: 300px; padding: 38px 28px 34px; }
.doorways-grid .door__name { font-size: 32px; }
.doorways-grid .door__desc { font-size: 14.5px; }
.doorways__about { margin-top: 36px; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--ink-soft); }
.doorways__about a { color: var(--gold-text); font-weight: 500; border-bottom: 1px solid var(--line-gold-s); transition: color .25s; }
.doorways__about a:hover { color: var(--gold-deep); }

/* ───────── ABOUT — The Man ───────── */
.about__image-wrap { position: relative; aspect-ratio: 4/5; }
.about__image { position: absolute; inset: 0; overflow: hidden; background: var(--white-warm); }
.about__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about__image-frame { position: absolute; top: 32px; right: -32px; bottom: -32px; left: 32px; border: 1px solid var(--gold); z-index: -1; }
.about__badge { position: absolute; top: 24px; left: 24px; z-index: 2; background: #fff; border: 1px solid var(--gold); padding: 8px 16px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.about__body { font-size: 17px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 24px; }
.about__quote { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; line-height: 1.45; color: var(--ink); padding: 22px 0 22px 28px; border-left: 2px solid var(--gold); margin: 30px 0; }
.about__quote-sig { display: block; margin-top: 16px; }
.about__quote-cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.about__quote-sig img { height: 52px; width: auto; opacity: .9; }
.about__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ───────── DISCOVER ───────── */
.discover-card { background: var(--white-soft); }

/* ───────── RECOGNITION ───────── */
.award { border-top: 3px solid var(--gold); }
.award::before { display: none; }
.award:hover { background: var(--gold-trace); border-top-color: var(--gold-deep); }
.award__year { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: .12em; color: var(--gold-text); font-weight: 600; margin-bottom: 10px; }
.award__from { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.recognition__more { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 760px; text-align: center; margin: 0 auto 24px; }

/* ───────── CENTRES STRIP — flag discs ───────── */
.centres-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.centre-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; transition: transform .3s var(--ease-out); }
.centre-cell:hover { transform: translateY(-3px); }
.centre-cell__flag { width: 44px; height: 44px; border-radius: 50%; display: inline-block; border: 1px solid rgba(36,31,23,.12); box-shadow: 0 2px 8px rgba(36,31,23,.06); margin-bottom: 10px; position: relative; overflow: hidden; }
.centre-cell__name { font-family: var(--serif); font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.2; margin-bottom: 3px; }
.centre-cell__type { font-size: 10.5px; letter-spacing: .12em; color: var(--gold-text); font-weight: 600; text-transform: uppercase; }
.centre-cell__flag--in { background: linear-gradient(180deg, #FF9933 0%, #FF9933 33%, #fff 33%, #fff 66%, #138808 66%, #138808 100%); }
.centre-cell__flag--us { background: repeating-linear-gradient(0deg, #B22234 0px, #B22234 5px, #fff 5px, #fff 10px); }
.centre-cell__flag--us::before { content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 50%; background: #3C3B6E; }
.centre-cell__flag--rs { background: linear-gradient(180deg, #C6363C 0%, #C6363C 33%, #0C4076 33%, #0C4076 66%, #fff 66%, #fff 100%); }
.centre-cell__flag--ba { background: #002F6C; }
.centre-cell__flag--ba::before { content: ""; position: absolute; top: 0; right: 0; width: 75%; height: 100%; background: linear-gradient(225deg, #FECB00 0%, #FECB00 50%, transparent 50%); }
.centre-cell__flag--gb { background: #00247D; }
.centre-cell__flag--gb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%), linear-gradient(0deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%), linear-gradient(90deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%); }
.centre-cell__flag--gb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, transparent 46%, #CF142B 46%, #CF142B 54%, transparent 54%), linear-gradient(90deg, transparent 46%, #CF142B 46%, #CF142B 54%, transparent 54%); }
.centre-cell__flag--za { background: linear-gradient(180deg, #DE3831 50%, #002395 50%); }
.centre-cell__flag--za::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: linear-gradient(60deg, #007A4D 0%, #007A4D 60%, transparent 60%); }
.centre-cell__flag--mu { background: linear-gradient(180deg, #EA2839 0%, #EA2839 25%, #1A206D 25%, #1A206D 50%, #FFD500 50%, #FFD500 75%, #00A551 75%, #00A551 100%); }
.centre-cell__flag--au { background: #00247D; }
.centre-cell__flag--au::after { content: ""; position: absolute; top: 0; left: 0; width: 50%; height: 50%; background: linear-gradient(45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(-45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%); }
.centre-cell__flag--ch { background: #D52B1E; }
.centre-cell__flag--ch::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, transparent 38%, #fff 38%, #fff 62%, transparent 62%), linear-gradient(90deg, transparent 38%, #fff 38%, #fff 62%, transparent 62%); background-size: 60% 60%; background-position: center; background-repeat: no-repeat; }

/* ───────── WHERE — on tour ───────── */
.where__pin { width: 260px; height: 260px; }
.where__pulse { transform-origin: 120px 120px; animation: where-pulse 2.6s ease-in-out infinite; }
@keyframes where-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.35); } }
.where__locator { display: flex; align-items: center; justify-content: center; }

/* ───────── NOW — coming up ───────── */
.now-card--live { border-color: var(--line-gold); background: var(--gold-trace); }
.now-card__pulse { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 14px; }
.now-card__pulse span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; display: inline-block; }

/* ───────── CLOSING ───────── */
.closing { text-align: center; position: relative; overflow: hidden; padding: 110px 0; }
.closing::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, var(--gold-whisper) 0%, transparent 65%); opacity: .6; pointer-events: none; }
.closing__inner { position: relative; max-width: 760px; margin: 0 auto; }
.closing__inner .t-kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.closing__inner .t-kicker::before, .closing__inner .t-kicker::after { content: ""; width: 44px; height: 1px; background: var(--gold-light); }
.closing__inner .t-display { margin-bottom: 22px; }
.closing__inner .t-lede { margin-bottom: 44px; font-size: 21px; }
.closing__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; aspect-ratio: 4 / 3; }
  .hero__photo img { object-position: 50% 18%; animation: none; }
  .hero__photo::before { background: linear-gradient(180deg, rgba(255,255,255,0) 80%, rgba(255,255,255,.9) 100%); }
  .hero__text { padding: 40px 32px 64px; max-width: 100%; }
  .hero__quote-card { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .centres-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .doorways-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .doorways-grid .door { min-height: 0; padding: 26px 20px; }
  .doorways-grid .door__name { font-size: 26px; }
  .hero__ctas, .about__links, .closing__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; }
  .closing__ctas { margin: 0 auto; }
  .hero__ctas .btn, .about__links .btn, .closing__ctas .btn { width: 100%; min-width: 0; }
  .where__pin { width: 200px; height: 200px; }
}
@media (max-width: 768px) {
  .hero__photo { aspect-ratio: 4 / 3.4; }
  .hero__text { padding: 28px 20px 48px; }
  .hero__kicker { margin-bottom: 18px; font-size: 12.5px; letter-spacing: .16em; }
  .hero__title { font-size: clamp(58px, 17vw, 96px); margin-bottom: 20px; }
  .hero__sub { font-size: 20px; line-height: 1.45; margin-bottom: 28px; max-width: 100%; }
  .hero__ctas { grid-template-columns: 1fr; gap: 10px; }
  .values-grid { grid-template-columns: 1fr; gap: 10px; }
  .value { padding: 22px 18px; }
  .doorways::before { height: 44px; }
  .doorways-mark { width: 104px; height: 104px; margin-bottom: 18px; }
  .doorways-grid { grid-template-columns: 1fr; gap: 8px; }
  .doorways-grid .door { padding: 18px 18px 20px; }
  .doorways-grid .door__name { font-size: 23px; }
  .doorways__about { font-size: 16px; }
  .about__image-wrap { aspect-ratio: 4/4.5; }
  .about__body { font-size: 16.5px; line-height: 1.75; }
  .about__image-frame { top: 12px; right: -10px; bottom: -10px; left: 12px; }
  .value__desc, .doorways-grid .door__desc { font-size: 16px; }
  .purpose__quote span { font-size: 12.5px; letter-spacing: .14em; }
  .now-card__pulse { font-size: 12.5px; letter-spacing: .12em; }
  .about__quote { font-size: 19px; padding: 16px 0 16px 18px; margin: 20px 0; }
  .about__links { grid-template-columns: 1fr; gap: 10px; }
  .centres-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .centre-cell__flag { width: 36px; height: 36px; }
  .centre-cell__name { font-size: 14px; }
  .centre-cell__type { font-size: 11.5px; letter-spacing: .06em; }
  .where__pin { width: 150px; height: 150px; }
  .closing { padding: 64px 0; }
  .closing__inner .t-lede { font-size: 20px; margin-bottom: 30px; }
  .closing__ctas { grid-template-columns: 1fr; gap: 10px; }
  .purpose__quote { font-size: clamp(18px, 5vw, 24px); margin: 20px auto 16px; }
}

/* ───────── Identity line inside the hero (replaces the strip) ───────── */
.hero__identity { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-gold); font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 480px; opacity: 0; animation: rise .8s .5s var(--ease-out) forwards; }
.hero__identity strong { color: var(--ink); font-weight: 600; }
.hero__identity a { color: var(--gold-text); font-weight: 600; border-bottom: 1px solid var(--line-gold-s); white-space: nowrap; }
.doorways-mark { width: 96px; height: 96px; margin-bottom: 16px; }
.doorways__about { margin-top: 26px; font-size: 16px; }
.purpose__quote { margin-top: 18px; }
@media (max-width: 768px) {
  .hero__identity { margin-top: 22px; font-size: 15px; }
  .doorways-mark { width: 72px; height: 72px; }
}

/* Purpose: the community at work, beside the words */
.purpose__photo { max-width: 960px; margin: 28px auto 0; }
.purpose__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.purpose__photo figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--ink-mute); font-style: italic; }
@media (max-width: 768px) { .purpose__photo img { aspect-ratio: 4 / 3; } }

/* Coming up: poster on top, the day and date large enough to notice */
.now-card { padding-top: 0; }
.now-card__poster { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.now-card__poster img { object-fit: cover; }
.now-date { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-gold); }
.now-date__day { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; color: var(--gold-deep); }
.now-date__time { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.honours__cta { text-align: center; margin-top: 22px; }

/* Home tabs: The person · Our purpose · Our reach */
.home-tabs .home-tabs__list { justify-content: center; margin-bottom: 8px; }
.home-tabs .tab { font-size: 13px; }
.home-tabs [role="tabpanel"] > .wrap { padding-top: 40px; }
.home-tabs .reach .sec__head, .home-tabs .purpose .sec__head { margin-top: 0; }
@media (max-width: 768px) {
  .now-date__day { font-size: 26px; }
  .home-tabs .home-tabs__list { justify-content: flex-start; }
  .home-tabs .tab { flex: 1 1 0; font-size: 15px; padding: 12px 8px; }
  .home-tabs [role="tabpanel"] > .wrap { padding-top: 24px; }
  .home-tabs .centres-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) { .home-tabs .reach .grid--4 { grid-template-columns: 1fr 1fr; gap: 0 12px; } .home-tabs .reach .stat { padding: 18px 8px; } }

/* Home rhythm: one consistent gap between sections */
.hero + .honours { margin-top: 0; }
#where, #doorways, .home-tabs, .mission { padding-top: 72px; padding-bottom: 72px; }
.home-tabs__head { margin-bottom: 24px; }
.home-tabs [role="tabpanel"] > .wrap { padding-top: 32px; }
.home-tabs [role="tabpanel"] > .wrap > .sec__head .t-kicker { display: none; }
.closing { padding: 80px 0; }
.doorways::before { display: none; }
/* "Looking for something specific?" reads as a real prompt with a button */
.doorways__about { font-size: 19px; color: var(--ink-soft); margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: center; }
.doorways__about a { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--gold-deep); border: 1px solid var(--line-gold-s); padding: 0 20px; min-height: 48px; display: inline-flex; align-items: center; }
.doorways__about a:hover { background: var(--gold-trace); border-color: var(--gold); }
@media (max-width: 768px) {
  #where, #doorways, .home-tabs, .mission { padding-top: 48px; padding-bottom: 48px; }
  .closing { padding: 56px 0; }
  .doorways__about { font-size: 18px; flex-direction: column; }
  .doorways__about a { width: 100%; justify-content: center; }
}
.hero__by { justify-content: flex-start; margin-top: 6px; font-size: 20px; }
.hero__quote-card .hero__by img { width: auto; height: 1.9em; object-fit: contain; animation: none; }
