/* naturemuseum.in — Mobile Natural History Museum page (loads after style.css) */

/* Image placeholders */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed rgba(27, 53, 34, .28); border-radius: 18px; background: rgba(255, 255, 255, .45);
  color: rgba(27, 53, 34, .62); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-align: center; padding: 12px;
}
.ph--fill { position: absolute; inset: 0; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--panel { aspect-ratio: 4 / 3; background: #FBF5E6; }
.ph--dark { border-radius: 0; border-color: rgba(255, 255, 255, .3); background: #2B3A2F; color: rgba(255, 255, 255, .7); }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* Hero */
.m-hero { padding-top: 14px; }
.m-hero__card {
  display: flex; flex-wrap: wrap; gap: 28px; padding: clamp(22px, 3.4vw, 44px);
  border-radius: 32px; background: var(--sun);
}
.m-hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.m-hero__text .museum-logo { width: min(100%, 260px); }
.m-hero__text .eyebrow { color: #7A5410; }
.m-hero__text h1 { font-size: clamp(44px, 6vw, 84px); line-height: .95; }
.m-hero__text .lead { margin: 0; font-size: 18px; color: #3B3320; max-width: 560px; }
.m-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.m-hero__media { flex: 1 1 380px; position: relative; min-height: 380px; border-radius: 22px; }
.m-hero__media .ph { border-radius: 22px; }
.m-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.m-hero__sticker {
  position: absolute; left: 18px; bottom: 18px; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(27, 53, 34, .2);
}

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 16px; }
.fact { border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.fact strong { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.fact span { font-size: 15px; color: var(--body); }

/* Shared section rhythm */
.film, .inside, .session { padding-top: 8px; }
.story, .press, .invite { padding-top: 24px; }
.where, .grow { padding-top: 48px; }

/* Film */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--ink); }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(135deg, #2C4A34, #1B3522); color: #fff; }
.video__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 53, 34, .55), rgba(27, 53, 34, 0) 55%); }
.video__btn {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: var(--sun); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s ease;
}
.video__btn svg { margin-left: 4px; }
.video__play:hover .video__btn { transform: translate(-50%, -50%) scale(1.07); }
.video__label { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Inside the trunk */
.trays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tray { border-radius: 22px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 16px; transition: transform .25s ease; }
.tray:hover { transform: translateY(-3px) rotate(-.4deg); }
.tray__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .7); display: grid; place-items: center; color: var(--ink); }
.tray__text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tray h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.tray p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--body); }

/* Object story (reuses .split from style.css) */
.story .split__img { min-height: 380px; flex-basis: 44%; background: #F4F4F2; }
.story h2.display { font-size: clamp(30px, 3.4vw, 46px); }
.story .split__body .eyebrow { color: #7A5410; }

/* Session steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.step { border-radius: 22px; padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.step__no { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; opacity: .35; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.step p { margin: 0; font-size: 15px; color: var(--body); }

/* Comic scroller */
.comic { padding-top: 48px; }
.comic__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 40vw, 520px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 14px;
  scrollbar-width: thin;
}
.comic__track:focus-visible { outline-offset: -3px; }
.panel { margin: 0; scroll-snap-align: start; background: #FBF5E6; border-radius: 22px; padding: 10px 10px 14px; box-shadow: 0 6px 18px rgba(27, 53, 34, .07); }
.panel .ph { border-radius: 14px; }
.panel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; background: #EFE6CF; }
.panel__no { font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: #8A6A2A; margin-right: 4px; }
.panel figcaption { padding: 10px 6px 0; font-style: italic; font-size: 15px; color: #33402F; }

/* Where it goes */
.bento--where { grid-auto-rows: auto; }
.bento--where .tile--row .tile__photo { min-height: 170px; flex-basis: 200px; }
.bento--where .tile__body { gap: 8px; }
.bento--where .tile h3 { font-size: 24px; }
.where .eyebrow { color: rgba(27, 53, 34, .7); }

/* Press */
.press__card { display: flex; flex-wrap: wrap; gap: 0; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 12px 36px rgba(27, 53, 34, .08); }
.press__clip { flex: 0 0 38%; position: relative; min-height: 360px; background: #F1EDE2; }
.press__clip .ph { border-radius: 0; border: 0; background: #F1EDE2; }
.press__clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.press__body { flex: 1 1 360px; padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.press__body .eyebrow { color: #22597A; }
.press__body h2 { font-size: clamp(28px, 3.2vw, 44px); }
.press__body p { margin: 0; color: var(--body); }
.press__body blockquote { margin: 4px 0; padding: 14px 18px; border-left: 4px solid var(--olive); background: var(--sun-2); border-radius: 0 16px 16px 0; }
.press__body blockquote p { font-size: 18px; font-style: italic; color: var(--ink); }
.press__body cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--muted); }
.press__body .btn { align-self: flex-start; }

.press__clip { border: 0; padding: 0; cursor: zoom-in; display: block; }
.press__clip:hover img { transform: scale(1.02); }
.press__clip img { transition: transform .4s ease; }
.press__zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(27, 53, 34, .25); }
.press__body button.btn { font: inherit; font-weight: 700; cursor: pointer; }

/* Lightbox */
.lightbox { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lightbox::backdrop { background: rgba(16, 26, 19, .78); }
.lightbox__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.lightbox__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox img { display: block; width: 100%; height: auto; }
.lightbox__hint { display: none; font-weight: 500; color: var(--muted); }

/* Grow */
.grow__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grow__grid .tile { padding: 22px 24px; }
.grow__grid .tile h3 { font-size: 24px; }
.grow__grid .more { color: var(--ink); text-decoration: none; }
.grow .section-head p { max-width: 560px; }

/* Supporters and partners */
.backers { margin-top: 22px; padding: 22px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.backers__title { margin: 0; flex: 0 0 auto; font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; }
.backers__logos { list-style: none; margin: 0; padding: 0; flex: 1 1 480px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.logo-slot { height: 88px; border: 2px dashed rgba(27, 53, 34, .22); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 8px; }
.logo-slot span { font-weight: 700; font-size: 16px; }
.logo-slot small { font-size: 11.5px; color: var(--muted); }
.logo-slot img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* Invite CTA */
.invite { padding-bottom: 48px; }
.invite__card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding: clamp(24px, 3.6vw, 48px); border-radius: 32px; background: var(--ink); color: var(--bg);
}
.invite__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.invite__text .eyebrow { color: var(--sun); }
.invite__text h2 { font-size: clamp(34px, 4.4vw, 60px); color: #fff; }
.invite__text p { margin: 0; color: #C9D4CC; max-width: 560px; }
.invite__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.invite .btn--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.invite .btn--sun:hover { background: #fff; border-color: #fff; }
.invite__line { color: var(--bg); text-decoration: none; font-weight: 700; font-size: 18px; }
.invite__line:hover { color: var(--sun); }

/* Tablet */
@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trays .tray:last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .step:last-child { grid-column: span 2; }
  .grow__grid { grid-template-columns: minmax(0, 1fr); }
  .press__clip { flex-basis: 100%; min-height: 340px; }
}

/* Phone */
@media (max-width: 600px) {
  .m-hero__card { border-radius: 24px; }
  .m-hero__media { min-height: 260px; flex-basis: 100%; }
  .m-hero__sticker { font-size: 13px; padding: 8px 14px; left: 12px; bottom: 12px; }
  .m-hero__text .lead { font-size: 16.5px; }
  .fact { padding: 14px 16px; }
  .fact strong { font-size: 24px; }
  .fact span { font-size: 13.5px; }
  .video { border-radius: 20px; }
  .video__btn { width: 68px; height: 68px; }
  .video__label { font-size: 17px; left: 16px; bottom: 12px; }
  .trays { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .trays .tray:last-child { grid-column: auto; }
  .tray { padding: 14px 16px; gap: 14px; }
  .tray__icon { width: 48px; height: 48px; border-radius: 14px; }
  .tray h3 { font-size: 19px; }
  .tray p { font-size: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps .step:last-child { grid-column: auto; }
  .step { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 18px; }
  .step__no { font-size: 30px; }
  .step p { flex-basis: 100%; }
  .comic__track { grid-auto-columns: 86vw; gap: 12px; }
  .panel figcaption { font-size: 14px; }
  .story .split__img { min-height: 340px; }
  .press__card, .invite__card { border-radius: 24px; }
  .lightbox img { width: 200%; max-width: none; }
  .lightbox__bar { left: 0; }
  .lightbox__hint { display: inline; }
  .backers { padding: 18px; }
  .backers__logos { flex-basis: auto; gap: 8px; }
  .backers__logos .logo-slot { height: 72px; padding: 6px 8px; }
  .logo-slot { height: 76px; }
}

/* Hero tagline */
.m-hero__tag { margin: -4px 0 0; font-weight: 700; font-size: 19px; line-height: 1.4; color: var(--ink); max-width: 560px; }

/* What children take away */
.helps { padding-top: 32px; }
.helps__card { padding: clamp(22px, 3.4vw, 44px); border-radius: 32px; background: #fff; box-shadow: 0 12px 36px rgba(27, 53, 34, .07); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { position: relative; border-radius: 24px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.benefit::after { content: ""; position: absolute; right: -36px; bottom: -36px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.benefit__art { width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .75); display: grid; place-items: center; color: var(--ink); margin-bottom: 8px; transition: transform .3s ease; }
.benefit:hover .benefit__art { transform: rotate(-6deg) scale(1.05); }
.benefit h3 { font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.benefit p { margin: 0; font-size: 15px; color: var(--body); position: relative; z-index: 1; }

/* Gallery */
.gallery { padding-top: 8px; padding-bottom: 56px; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.gallery__item { border-radius: 18px; overflow: hidden; background: var(--line); }
.gallery__item.g-big { grid-column: span 2; grid-row: span 2; }
.gallery__item.g-wide { grid-column: span 2; }
.gallery__item.g-tall { grid-row: span 2; }
.gallery__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery__btn:hover img { transform: scale(1.05); }
.lightbox--photo { width: min(1100px, calc(100vw - 24px)); }
.lightbox__caption { font-weight: 500; }

/* Impact */
.impact { padding-top: 48px; }
.impact__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.impact__tile { border-radius: 26px; padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 4px; }
.impact__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(27, 53, 34, .7); }
.impact__tile strong { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6vw, 84px); line-height: 1; }
.impact__tile span:last-child { font-size: 17px; color: var(--body); max-width: 260px; }

/* Fund a session */
.fund { padding-top: 16px; }
.fund__card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: clamp(22px, 3.4vw, 40px); border-radius: 32px; background: var(--sun); }
.fund__art { flex: 0 0 auto; width: 132px; height: 132px; border-radius: 50%; background: rgba(255, 255, 255, .6); display: grid; place-items: center; color: #7A5410; }
.fund__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fund__text .eyebrow { color: #7A5410; }
.fund__text h2 { font-size: clamp(30px, 3.6vw, 48px); }
.fund__text p { margin: 0; color: #3B3320; max-width: 600px; }
.fund__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fund__line { font-weight: 700; color: var(--ink); text-decoration: none; }

/* Supporters: wrap any number of logos */
.backers { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.backers__logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; flex: none; }
.backers__logos .logo-slot { height: 84px; min-width: 0; }

@media (max-width: 880px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-auto-rows: 150px; gap: 10px; }
  .impact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .impact__tile { padding: 20px; }
  .impact__tile span:last-child { font-size: 15px; }
}
@media (max-width: 600px) {
  .m-hero__tag { font-size: 17px; }
  .helps__card { padding: 18px; border-radius: 24px; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .benefit { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px 18px; }
  .benefit__art { width: 64px; height: 64px; margin: 0; }
  .benefit__art svg { width: 44px; height: 44px; }
  .benefit h3 { flex: 1 1 0; font-size: 20px; }
  .benefit p { flex-basis: 100%; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
  .impact__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .impact__tile { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 14px; padding: 16px 20px; }
  .impact__label { flex-basis: 100%; }
  .impact__tile strong { font-size: 52px; }
  .impact__tile span:last-child { flex: 1 1 0; min-width: 0; }
  .fund__card { border-radius: 24px; }
  .fund__art { width: 96px; height: 96px; }
  .fund__art svg { width: 84px; height: 68px; }
  .backers__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .backers__logos .logo-slot { height: 64px; padding: 6px 8px; }
  .logo-slot.has-logo img { max-height: 46px; }
  .logo-slot span { font-size: 14px; }
}

/* Ethics note */
.ethics { padding-top: 16px; }
.ethics__card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: 24px; background: var(--sand-2); border: 2px dashed rgba(122, 84, 16, .35); }
.ethics__icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: #7A5410; }
.ethics__text { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ethics__text .eyebrow { color: #8A2A0E; }
.ethics__text h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; text-transform: uppercase; }
.ethics__text p { margin: 0; color: #3B3320; max-width: 820px; }
@media (max-width: 600px) {
  .ethics__card { flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; }
  .ethics__icon { width: 52px; height: 52px; border-radius: 14px; }
}

/* Partner logos */
.logo-slot.has-logo { border: 1px solid var(--line); background: #fff; padding: 10px 14px; }
.logo-slot.has-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-slot.has-logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; transition: transform .2s ease; }
.logo-slot.has-logo a:hover img { transform: scale(1.04); }
@media (max-width: 600px) {
  .backers__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-slot.has-logo img { max-height: 44px; }
}
