/* ============================================================
   TOLANI FAMILY OFFICE - UPLOAD FINAL
   Last production pass: contrast, crop integrity, mobile heroes,
   chronology alignment and spacing rhythm.
   ============================================================ */

/* Every historical presentation plate is a document: show the whole document. */
.chronicle-preview-card figure{height:auto!important;aspect-ratio:16/9;background:#e7d8c2}
.chronicle-preview-card img{width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.family-chronicle .chronicle-media-pair figure:nth-child(2){transform:none!important}
.family-chronicle .chronicle-media-pair{grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.family-chronicle .chronicle-copy h2{max-width:13.5ch}

/* Give designed source material room; crop photography only when composition allows it. */
.ppli-source-figure img,.flow-paper img,.feature-paper img,.map-plate img,
.family-opening .hero-plate img,.family-chronicle .chronicle-image:not(.portrait-era) img,
.family-chronicle .chronicle-media-pair img{object-fit:contain!important;object-position:center!important}

/* Museum photographs keep more of the room rather than zooming into a fragment. */
.refined-gallery-grid img{object-position:center!important}
.refined-gallery-grid .g1 img{object-position:center 48%!important}
.refined-gallery-grid .g2 img{object-position:center 46%!important}
.refined-gallery-grid .g3 img{object-position:center 50%!important}

/* Image-over-type contrast. The scrim is directional rather than a blanket dark filter. */
.home-hero-media:after{
  background:linear-gradient(90deg,var(--midnight) 0%,rgba(7,19,29,.68) 22%,rgba(7,19,29,.18) 64%,rgba(7,19,29,.06) 100%),
             linear-gradient(0deg,rgba(7,19,29,.42),rgba(7,19,29,.03) 60%)!important
}
.home-hero-copy{text-shadow:0 2px 18px rgba(0,0,0,.22)}
.majlis-band:before{background:linear-gradient(90deg,rgba(7,19,29,.74),rgba(7,19,29,.10) 72%),linear-gradient(0deg,rgba(7,19,29,.94),rgba(7,19,29,.18) 72%)!important}
.steward-hero:before{background:linear-gradient(90deg,rgba(7,19,29,.72),rgba(7,19,29,.18) 64%,rgba(7,19,29,.04)),linear-gradient(0deg,rgba(7,19,29,.96),rgba(7,19,29,.54) 44%,rgba(7,19,29,.08) 80%)!important}

/* Editorial spacing: deliberate cadence rather than repeated blank bands. */
.refined-intro,.refined-museum,.flow-origin-section,.flow-overlay-section,.flow-ppli-section,
.flow-suitability,.flow-research-cta,.institution-thesis,.leadership-section,
.public-private-work,.institution-lineage,.refined-contact-section,.stewardship-close{padding-top:66px;padding-bottom:66px}
.video-feature{padding-top:62px;padding-bottom:62px}
.family-chronicle{padding-bottom:42px}
.chronicle-era{padding-top:60px!important;padding-bottom:60px!important}
.partition-era{padding-top:58px!important;padding-bottom:58px!important}

/* Film blocks: unmistakably interactive, while the actual iframe remains embedded below. */
.film-embed .film-poster:before{box-shadow:0 8px 30px rgba(0,0,0,.28)}
.film-poster-label{font-size:1.12rem}
.video-feature-copy small{color:#756c62}

/* Clearer small editorial text. */
.site-footer a,.site-footer p{font-size:max(.82rem,13px)}
.chronicle-image figcaption,.chronicle-media-pair figcaption{color:#74685d}

@media (max-width:1100px){
  .family-chronicle .chronicle-media-pair{grid-template-columns:1fr 1fr}
}

@media (max-width:720px){
  /* Mobile home: show the generated archive photograph as a photograph, not a dark texture. */
  .refined-hero{min-height:790px!important}
  .refined-hero .home-hero-inner{align-items:flex-start}
  .refined-hero .home-hero-copy{padding-top:94px!important;padding-bottom:345px!important}
  .refined-hero .home-hero-media{inset:auto 0 0!important;height:43%;opacity:.96!important;background-position:center 48%!important}
  .refined-hero .home-hero-media:after{background:linear-gradient(180deg,var(--midnight) 0%,rgba(7,19,29,.48) 30%,rgba(7,19,29,.08) 72%),linear-gradient(90deg,rgba(7,19,29,.22),rgba(7,19,29,.04))!important}
  .refined-hero h1{font-size:3.75rem!important;max-width:8.5ch}
  .refined-hero p{max-width:31ch}

  /* Timeline: one intact archive plate per row where possible; no artistic offset on small screens. */
  .family-chronicle .chronicle-media-pair{grid-template-columns:1fr;gap:12px}
  .chronicle-era{padding-top:48px!important;padding-bottom:52px!important}
  .chronicle-copy h2{max-width:12ch!important}

  /* Museum and films preserve 16:9 source composition. */
  .refined-gallery-grid figure,.refined-gallery-grid .g1{height:auto!important;aspect-ratio:16/9}
  .refined-gallery-grid img{object-fit:cover!important}
  .film-embed{aspect-ratio:16/9}

  /* Tight but breathable mobile spacing. */
  .refined-intro,.refined-museum,.flow-origin-section,.flow-overlay-section,.flow-ppli-section,
  .flow-suitability,.flow-research-cta,.institution-thesis,.leadership-section,
  .public-private-work,.institution-lineage,.refined-contact-section,.stewardship-close{padding-top:48px;padding-bottom:48px}
  .video-feature{padding-top:48px;padding-bottom:48px}
}

/* ============================================================
   FINAL ENHANCEMENT PASS
   - preserve the full Sanjay forum photograph on The Institution page
   - introduce subtle background atmospheres from generated archive images
   ============================================================ */

/* About page: let the public-work image breathe rather than forcing a horizontal crop. */
.public-private-grid{align-items:start}
.public-private-grid figure{
  margin:0;
  background:linear-gradient(180deg,rgba(225,214,198,.92),rgba(216,203,185,.88));
  box-shadow:0 24px 52px rgba(47,36,24,.10);
}
.public-private-grid img{
  display:block;
  width:100%;
  height:auto !important;
  max-height:620px;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent;
}
.public-private-grid figcaption{padding-top:10px}

/* Use selected generated study / archive images as subtle section backgrounds. */
.heritage-manifesto{
  background:
    linear-gradient(180deg,rgba(241,231,214,.965),rgba(241,231,214,.975)),
    radial-gradient(circle at 14% 20%, rgba(94,43,38,.06), transparent 28%),
    url('../images/generated/home-study.webp') center/cover no-repeat !important;
}
.institution-thesis{
  background:
    linear-gradient(180deg,rgba(241,231,214,.968),rgba(241,231,214,.978)),
    radial-gradient(circle at 86% 20%, rgba(94,43,38,.06), transparent 24%),
    url('../images/generated/ledger-governance.webp') center/cover no-repeat !important;
}
.discipline-section{
  background:
    linear-gradient(180deg,rgba(243,234,220,.97),rgba(243,234,220,.98)),
    radial-gradient(circle at 82% 20%, rgba(94,43,38,.05), transparent 24%),
    url('../images/generated/philosophy-library.webp') center/cover no-repeat !important;
}
.flow-research-cta{
  background:
    linear-gradient(180deg,rgba(7,19,29,.945),rgba(7,19,29,.955)),
    radial-gradient(circle at 78% 22%, rgba(167,101,92,.12), transparent 26%),
    url('../images/generated/flow-workspace.webp') center/cover no-repeat !important;
}
.internal-memo-band{
  background:
    linear-gradient(180deg,rgba(241,231,214,.968),rgba(241,231,214,.978)),
    radial-gradient(circle at 12% 78%, rgba(94,43,38,.06), transparent 24%),
    url('../images/generated/research-desk.webp') center/cover no-repeat !important;
}
.institution-functions{
  background:
    linear-gradient(180deg,rgba(250,246,238,.972),rgba(250,246,238,.982)),
    radial-gradient(circle at 18% 82%, rgba(94,43,38,.05), transparent 28%),
    url('../images/generated/archive-room.webp') center/cover no-repeat !important;
}
.refined-contact-section{
  background:
    linear-gradient(180deg,rgba(250,246,238,.976),rgba(250,246,238,.984)),
    radial-gradient(circle at 88% 18%, rgba(94,43,38,.05), transparent 22%),
    url('../images/generated/contact-archive.webp') center/cover no-repeat !important;
}
.goodwill-note{
  background:
    linear-gradient(180deg,rgba(245,238,227,.955),rgba(245,238,227,.968)),
    radial-gradient(circle at 10% 24%, rgba(94,43,38,.05), transparent 26%),
    url('../images/generated/institution-study.webp') center/cover no-repeat !important;
}

/* Mobile: keep the same improvement without introducing scroll traps or over-dark imagery. */
@media (max-width:760px){
  .public-private-grid img{max-height:none}
  .heritage-manifesto,
  .institution-thesis,
  .discipline-section,
  .flow-research-cta,
  .internal-memo-band,
  .institution-functions,
  .refined-contact-section,
  .goodwill-note{
    background-position:center !important;
  }
}


/* ============================================================
   SEO + VISUAL SIGN-OFF - crop integrity and alignment
   ============================================================ */

/* Give landscape hero photography enough horizontal room so it is not over-cropped. */
@media (min-width:1101px){
  .philosophy-new,.insights-new,.institution-integrated-hero{
    grid-template-columns:.86fr 1.14fr;
    min-height:700px;
  }
  .philosophy-new .split-hero-image,
  .insights-new .split-hero-image,
  .institution-integrated-hero .split-hero-image{min-height:620px}
}

/* Historic group photographs are records, not abstract textures: preserve the composition. */
.pillar-row:first-child figure{
  background:#e9dfd1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pillar-row:first-child figure img{
  width:100%;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Goodwill / Dubai images are wide photographs; avoid forcing them into near-square crops. */
.goodwill-role img,
.refined-goodwill .goodwill-grid img{
  width:100%;
  height:auto!important;
  aspect-ratio:16/10;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Public work: preserve the complete 4:3 forum photograph. */
.public-private-grid figure{align-self:start}
.public-private-grid img{
  width:100%;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Fine alignment: keep captions aligned with their image edge and prose measures consistent. */
.public-private-grid figcaption,
.heritage-plate figcaption,
.chronicle-image figcaption,
.chronicle-media-pair figcaption{max-width:100%;line-height:1.35}
.public-private-grid>div{padding-top:4px}
.public-private-grid>div p{max-width:60ch}

/* Background-image treatments remain atmospheric, never compete with text. */
.heritage-manifesto,.institution-thesis,.discipline-section,.internal-memo-band,
.institution-functions,.refined-contact-section,.goodwill-note{background-blend-mode:normal}

@media(max-width:760px){
  .pillar-row:first-child figure img{height:auto!important}
  .goodwill-role img,.refined-goodwill .goodwill-grid img{aspect-ratio:16/10}
  .public-private-grid figure{max-width:100%}
}

/* ============================================================
   FINAL TOLANI FLOW CROP FIXES
   Documentary source images should remain intact.
   ============================================================ */
.flow-origin-grid figure{
  background:#e9dfd1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.flow-origin-grid figure img{
  width:100%;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  box-shadow:0 22px 52px rgba(47,36,24,.12);
}
.flow-research-cta figure{
  background:rgba(255,255,255,.025);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.flow-research-cta figure img{
  width:100%;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:760px){
  .flow-origin-grid figure img,
  .flow-research-cta figure img{height:auto!important;max-height:none!important}
}


/* ============================================================
   VISUAL AUDIT REPAIR PASS
   - fix over-cropped / stretched research thumbnails
   - replace low-resolution philosophy image with sharper archive art
   - rebuild footer hierarchy and spacing
   ============================================================ */

/* Research and article visuals are designed editorial plates.
   Show the full composition instead of cropping them into strips. */
.home-journal-grid,
.article-grid,
.research-grid{align-items:start}

.home-journal-grid img,
.article-tile img,
.feature-essay img{
  display:block;
  width:100%;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin-bottom:16px;
  box-shadow:0 18px 42px rgba(42,30,18,.08);
}

.paper-column{
  align-self:start;
}
.paper-column img{
  display:block;
  width:min(100%, 360px) !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto 28px;
  box-shadow:0 22px 48px rgba(28,20,14,.18);
}

/* Philosophy page: let the archive image read as a document, not as a blurry banner. */
.pillar-row:first-child figure{
  background:#e8ddd0;
  padding:10px;
  box-shadow:0 18px 42px rgba(44,31,20,.10);
}
.pillar-row:first-child figure img{
  width:100%;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  filter:saturate(.9) sepia(.04) !important;
}

/* Footer redesign: stronger hierarchy, less empty space, clearer branding. */
.site-footer{
  background:#07131d;
  padding:72px 0 26px;
  border-top:1px solid rgba(207,173,122,.28);
}
.site-footer .shell{
  width:min(1240px, calc(100% - 56px));
}
.footer-inner{
  grid-template-columns:minmax(280px,1.3fr) repeat(3, minmax(150px,1fr));
  gap:36px 42px;
  align-items:start;
  padding-bottom:34px;
}
.footer-brand{
  max-width:360px;
}
.footer-brand img{
  width:138px;
  margin-bottom:18px;
}
.site-footer h4{
  font-size:.68rem;
  letter-spacing:.17em;
  margin:2px 0 14px;
}
.site-footer a,
.site-footer p{
  font-size:.96rem;
  line-height:1.72;
  color:#d4c7b8;
}
.footer-brand p{
  color:#b6ab9f;
  max-width:33ch;
}
.footer-meta{
  border-top:1px solid rgba(207,173,122,.18);
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  font-size:.72rem;
  color:#8f8578;
}
.footer-meta div{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer-meta a{
  font-size:.72rem;
  letter-spacing:.05em;
  color:#a89c8d;
}

@media (max-width:980px){
  .paper-column{
    border-left:0;
    padding-left:0;
    border-top:1px solid var(--rule);
    padding-top:36px;
  }
}

@media (max-width:760px){
  .home-journal-grid img,
  .article-tile img,
  .feature-essay img,
  .paper-column img{
    height:auto !important;
    aspect-ratio:auto !important;
  }
  .site-footer{
    padding-top:54px;
  }
  .site-footer .shell{
    width:calc(100% - 32px);
  }
  .footer-inner{
    grid-template-columns:1fr;
    gap:24px;
  }
  .footer-brand img{
    width:124px;
  }
  .footer-meta{
    display:block;
  }
  .footer-meta div{
    margin-top:10px;
  }
}


/* ============================================================
   VISUAL AUDIT ROUND 2 - FINAL REPAIRS
   ============================================================ */

/* Designed insight plates are 16:9 documents. Preserve them as complete plates. */
.home-journal-grid a,
.article-tile,
.feature-essay{min-width:0}
.home-journal-grid img,
.article-grid .article-tile img,
.research-feature .feature-essay img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#eadfce;
}
.research-feature .paper-column img{
  width:min(100%,420px)!important;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Trust archive photograph: a dedicated high-resolution crop, not a presentation slide. */
.pillar-row:first-child figure{
  padding:0!important;
  overflow:hidden;
  background:#d9c8af;
  box-shadow:0 18px 42px rgba(44,31,20,.10);
}
.pillar-row:first-child figure img{
  display:block;
  width:100%!important;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  filter:sepia(.12) saturate(.82) contrast(1.035)!important;
}

/* Footer: explicit image height prevents the 700×700 HTML dimensions from stretching it. */
.site-footer{
  padding:58px 0 22px!important;
  border-top:2px solid var(--oxblood)!important;
}
.footer-inner{
  grid-template-columns:minmax(260px,1.35fr) .72fr .72fr .9fr!important;
  gap:30px 46px!important;
  align-items:start!important;
  padding-bottom:30px!important;
}
.footer-brand{max-width:340px}
.footer-brand img{
  display:block;
  width:142px!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 0 16px!important;
}
.footer-brand p{
  max-width:31ch!important;
  margin:0!important;
  color:#a99e90!important;
  line-height:1.55!important;
}
.site-footer h4{margin:4px 0 13px!important}
.site-footer a{margin:4px 0!important;line-height:1.55!important}
.footer-meta{padding-top:16px!important}

@media(max-width:900px){
  .footer-inner{grid-template-columns:1fr 1fr!important}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:620px){
  .site-footer{padding-top:46px!important}
  .footer-inner{grid-template-columns:1fr!important;gap:20px!important}
  .footer-brand{grid-column:auto}
  .footer-brand img{width:126px!important}
}

/* ============================================================
   APPROVED BRAND + TRUST IMAGE UPDATE
   ============================================================ */
.brand img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
}
.footer-brand img{
  width:148px !important;
  height:auto !important;
  aspect-ratio:1/1;
  object-fit:contain !important;
}
.trust-archive-figure{
  margin:0;
  padding:0 !important;
  background:#e9dfd1;
  box-shadow:0 20px 48px rgba(44,31,20,.10);
  overflow:hidden;
}
.pillar-row:first-child .trust-archive-figure img{
  display:block;
  width:100%;
  height:auto !important;
  aspect-ratio:3/2 !important;
  object-fit:contain !important;
  object-position:center center !important;
  filter:saturate(.88) sepia(.04) contrast(1.02) !important;
}
@media(max-width:760px){
  .brand img{width:64px !important;height:64px !important}
  .footer-brand img{width:132px !important}
}

/* ============================================================
   USER-APPROVED LOGO + ORIGINAL TRUST ARCHIVE PHOTOGRAPH
   ============================================================ */
.brand img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
  object-position:center !important;
}
.footer-brand img{
  width:148px !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  object-fit:contain !important;
  object-position:center !important;
}
/* The uploaded Trust archive is a tall documentary collage. Preserve it in full. */
.pillar-row:first-child{
  grid-template-columns:70px minmax(0,1.08fr) minmax(360px,.72fr);
  align-items:center;
}
.trust-archive-figure{
  margin:0;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:visible;
}
.pillar-row:first-child .trust-archive-figure img{
  display:block;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:820px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:none !important;
  box-shadow:0 20px 52px rgba(44,31,20,.12);
}
@media(max-width:1100px){
  .pillar-row:first-child{grid-template-columns:55px 1fr !important}
  .pillar-row:first-child .trust-archive-figure{grid-column:1/-1;max-width:620px;margin:0 auto}
}
@media(max-width:760px){
  .brand img{width:64px !important;height:64px !important}
  .footer-brand img{width:132px !important}
  .pillar-row:first-child .trust-archive-figure{max-width:100%}
  .pillar-row:first-child .trust-archive-figure img{width:100% !important;max-height:none !important}
}


/* ============================================================
   HERO BANNER BACKGROUNDS - HOME / TOLANI FLOW / INSIGHTS
   ============================================================ */
.home-hero-media{
  background-image:url('../images/generated/home-hero-bg.webp') !important;
  background-position:center center !important;
  background-size:cover !important;
}
.flow-integrated-hero{
  position:relative;
  background:#09151e !important;
}
.flow-integrated-hero .split-hero-copy{
  background:
    linear-gradient(90deg, rgba(7,19,29,.95) 0%, rgba(7,19,29,.88) 58%, rgba(7,19,29,.74) 100%),
    url('../images/generated/flow-hero-bg.webp') center/cover no-repeat;
}
.flow-paper-hero{
  background:
    linear-gradient(180deg, rgba(11,24,34,.22), rgba(11,24,34,.62)),
    url('../images/generated/flow-hero-bg.webp') center/cover no-repeat !important;
}
.flow-paper-hero img{
  width:min(84%,720px) !important;
  max-width:100% !important;
  border:1px solid rgba(241,231,214,.16);
  border-radius:10px;
  background:rgba(12,23,31,.28);
  box-shadow:0 24px 70px rgba(0,0,0,.34);
}
.insights-new .split-hero-copy{
  background:
    linear-gradient(90deg, rgba(7,19,29,.95) 0%, rgba(7,19,29,.88) 58%, rgba(7,19,29,.74) 100%),
    url('../images/generated/insights-hero-bg.webp') center/cover no-repeat;
}
.insights-new .split-hero-image{
  background:#101b22;
}
.insights-new .split-hero-image img{
  object-position:center center !important;
}
@media(max-width:760px){
  .flow-integrated-hero .split-hero-copy,
  .insights-new .split-hero-copy{
    background-position:center top;
  }
  .flow-paper-hero img{
    width:100% !important;
    max-width:560px !important;
  }
}


/* ============================================================
   OFFICIAL HORIZONTAL LOGO UPDATE
   ============================================================ */
.brand{
  width:176px !important;
  flex:0 0 176px !important;
}
.brand img{
  width:176px !important;
  height:auto !important;
  max-height:64px !important;
  aspect-ratio:1672 / 941 !important;
  object-fit:contain !important;
  object-position:center left !important;
}
.footer-brand img{
  width:210px !important;
  height:auto !important;
  aspect-ratio:1672 / 941 !important;
  object-fit:contain !important;
  object-position:center left !important;
}
@media (max-width: 760px){
  .brand{
    width:148px !important;
    flex:0 0 148px !important;
  }
  .brand img{
    width:148px !important;
    height:auto !important;
    max-height:54px !important;
  }
  .footer-brand img{
    width:184px !important;
    height:auto !important;
  }
}


/* FINAL FOOTER CLEANUP */
.site-footer{
  border-top:0 !important;
  box-shadow:none !important;
}
.site-footer::before,.site-footer::after{
  border:0 !important;
  background:none !important;
}
.brand img,.footer-brand img{
  background:transparent !important;
}


/* ============================================================
   OUR STORY HERO REFINEMENT
   An archival opening with aged paper, real family imagery and restrained motion.
   ============================================================ */
.family-story-hero{
  position:relative;
  overflow:hidden;
  padding:138px 0 84px;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,249,234,.76),transparent 34%),
    linear-gradient(115deg,#efe1c8 0%,#e7d3b3 52%,#d7bb91 100%);
  border-bottom:1px solid rgba(94,43,38,.22);
  isolation:isolate;
}
.family-story-map{
  position:absolute;
  inset:74px 0 0;
  z-index:-3;
  background:url('../images/family-history/4.webp') center/cover no-repeat;
  opacity:.11;
  filter:sepia(.34) saturate(.72) contrast(.9);
  transform:scale(1.05);
  animation:storyMapDrift 28s ease-in-out infinite alternate;
}
.family-story-grain{
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.17;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 20% 30%,rgba(82,49,27,.12) 0 1px,transparent 1.4px),
    radial-gradient(circle at 78% 62%,rgba(82,49,27,.1) 0 1px,transparent 1.5px);
  background-size:21px 21px,29px 29px;
  mix-blend-mode:multiply;
}
.family-story-hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(248,238,220,.94) 0%,rgba(248,238,220,.82) 44%,rgba(236,218,188,.48) 70%,rgba(226,198,154,.28) 100%);
}
.family-story-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(430px,1.08fr);
  gap:78px;
  align-items:center;
  min-height:570px;
}
.family-story-copy{position:relative;z-index:3;max-width:700px}
.family-story-copy .eyebrow{color:#6d332e;letter-spacing:.18em}
.family-story-copy h1{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(5rem,7.3vw,8rem);
  line-height:.79;
  letter-spacing:-.055em;
  color:#222a2b;
  margin:20px 0 28px;
}
.family-story-copy h1 span{color:#5e2b26}
.family-story-copy p{
  font-family:var(--serif);
  font-size:1.35rem;
  line-height:1.52;
  color:#554b42;
  max-width:590px;
}
.family-story-years{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin:30px 0 26px;
  padding-top:18px;
  border-top:1px solid rgba(94,43,38,.26);
  max-width:640px;
}
.family-story-years span{
  font-family:var(--serif);
  font-size:.92rem;
  color:#65564a;
  white-space:nowrap;
}
.family-story-years b{font-family:var(--sans);font-size:.67rem;letter-spacing:.08em;color:#5e2b26;margin-right:5px}
.family-story-jump{
  display:inline-block;
  font-family:var(--sans);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.65rem;
  color:#5e2b26;
  padding-bottom:6px;
  border-bottom:1px solid rgba(94,43,38,.46);
}
.family-story-archive{
  position:relative;
  min-height:520px;
  align-self:stretch;
  perspective:1200px;
}
.family-story-archive:before{
  content:"";
  position:absolute;
  left:8%;right:2%;top:7%;bottom:2%;
  background:rgba(91,53,29,.09);
  border:1px solid rgba(101,61,36,.16);
  transform:rotate(-1.2deg);
}
.family-story-archive figure{margin:0;position:absolute;background:#eee2cd;padding:10px;box-shadow:0 26px 55px rgba(54,34,18,.22)}
.family-story-archive img{display:block;width:100%;height:100%;object-fit:cover;filter:sepia(.18) saturate(.75) contrast(1.03)}
.archive-photo-main{
  width:48%;height:78%;
  right:9%;top:4%;
  transform:rotate(2.2deg);
  animation:archiveFloatMain 8s ease-in-out infinite alternate;
  z-index:3;
}
.archive-photo-main img{object-position:center 12%}
.archive-photo-secondary{
  width:49%;height:44%;
  left:2%;bottom:4%;
  transform:rotate(-4deg);
  animation:archiveFloatSecondary 10s ease-in-out infinite alternate;
  z-index:4;
}
.archive-note{
  position:absolute;
  left:7%;top:10%;
  width:210px;
  padding:20px 22px;
  background:#e6d0a7;
  color:#4d3929;
  transform:rotate(-3deg);
  box-shadow:0 14px 28px rgba(54,34,18,.12);
  z-index:2;
  font-family:var(--serif);
}
.archive-note span{display:block;text-transform:uppercase;font-family:var(--sans);font-size:.55rem;letter-spacing:.16em;color:#7e4940;margin-bottom:7px}
.archive-note strong{display:block;font-size:2.1rem;font-weight:500;line-height:.9}
.archive-note small{display:block;font-style:italic;font-size:1rem;margin-top:6px}
.archive-seal{
  position:absolute;
  right:1%;bottom:2%;
  width:76px;height:76px;border-radius:50%;
  display:grid;place-items:center;
  background:#6b2e29;color:#cfa66b;
  border:4px double rgba(225,188,132,.7);
  font-family:var(--serif);font-size:2rem;
  box-shadow:0 11px 22px rgba(68,31,27,.2);
  transform:rotate(8deg);
  z-index:5;
}
.family-story-route{
  position:absolute;
  left:0;right:0;bottom:22px;
  display:flex;justify-content:space-between;
  width:min(1260px,calc(100% - 72px));margin:auto;
  border-top:1px solid rgba(94,43,38,.26);
}
.family-story-route i{
  width:9px;height:9px;border-radius:50%;
  background:#f0e1c8;border:2px solid #6b312c;
  transform:translateY(-5px);
}
.family-opening-cinematic{
  background:#171714;
  padding:32px 0 46px !important;
  border-bottom:1px solid rgba(94,43,38,.24);
}
.family-opening-cinematic .shell{width:min(1340px,calc(100% - 48px))}
.family-opening-cinematic .hero-plate{margin:0;position:relative;overflow:hidden;background:#191714}
.family-opening-cinematic .hero-plate img{
  width:100%;height:auto !important;max-height:none !important;aspect-ratio:16/9 !important;
  object-fit:contain !important;filter:sepia(.08) saturate(.82) contrast(1.04);
  transform:scale(1.005);
  transition:transform 7s ease;
}
.family-opening-cinematic .hero-plate:hover img{transform:scale(1.018)}
.family-opening-cinematic figcaption{
  position:absolute;left:0;right:0;bottom:0;
  display:flex;gap:24px;justify-content:center;
  padding:34px 28px 18px;
  color:#e8d6bd;
  background:linear-gradient(0deg,rgba(10,12,11,.9),transparent);
  font-family:var(--sans);font-size:.61rem;text-transform:uppercase;letter-spacing:.13em;
}
.family-opening-cinematic figcaption span+span:before{content:"·";margin-right:24px;color:#b37e64}
@keyframes storyMapDrift{from{transform:scale(1.05) translate3d(-.8%,0,0)}to{transform:scale(1.09) translate3d(.8%,-.5%,0)}}
@keyframes archiveFloatMain{from{transform:rotate(2.2deg) translateY(0)}to{transform:rotate(1.5deg) translateY(-8px)}}
@keyframes archiveFloatSecondary{from{transform:rotate(-4deg) translateY(0)}to{transform:rotate(-3.2deg) translateY(7px)}}
@media(max-width:1050px){
  .family-story-grid{grid-template-columns:1fr 1fr;gap:38px;min-height:520px}
  .family-story-copy h1{font-size:clamp(4.6rem,8vw,6.7rem)}
  .family-story-archive{min-height:460px}
  .archive-note{width:175px;padding:16px 17px}.archive-note strong{font-size:1.8rem}
}
@media(max-width:760px){
  .family-story-hero{padding:112px 0 58px}
  .family-story-map{inset:72px 0 0;opacity:.09}
  .family-story-grid{grid-template-columns:1fr;gap:28px;min-height:0}
  .family-story-copy h1{font-size:4.25rem;line-height:.84;margin-top:16px}
  .family-story-copy p{font-size:1.13rem}
  .family-story-years{gap:8px 14px;margin-top:23px}
  .family-story-archive{min-height:390px;max-width:520px;width:100%;margin:auto}
  .archive-photo-main{width:48%;height:78%;right:7%}
  .archive-photo-secondary{width:52%;height:45%;left:2%}
  .archive-note{left:2%;top:5%;width:155px;padding:13px 14px}
  .archive-note strong{font-size:1.55rem}
  .archive-seal{width:58px;height:58px;font-size:1.55rem}
  .family-story-route{display:none}
  .family-opening-cinematic{padding:18px 0 30px !important}
  .family-opening-cinematic .shell{width:calc(100% - 24px)}
  .family-opening-cinematic figcaption{position:static;background:#171714;padding:14px 10px 0;gap:8px;justify-content:flex-start;flex-wrap:wrap}
  .family-opening-cinematic figcaption span+span:before{margin-right:8px}
}
@media(prefers-reduced-motion:reduce){
  .family-story-map,.archive-photo-main,.archive-photo-secondary{animation:none !important}
  .family-opening-cinematic .hero-plate img{transition:none !important}
}


/* ============================================================
   USER-SUPPLIED KNOWLEDGE BANK + TOLANI MAJLIS IMAGERY
   ============================================================ */
.knowledge-bank-plate{
  margin:0;
  background:#151b20;
  box-shadow:0 22px 54px rgba(44,31,20,.12);
  overflow:hidden;
}
.knowledge-bank-plate img{
  display:block;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1400 / 787 !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:saturate(.88) sepia(.06) contrast(1.02) !important;
}
.majlis-overview{
  background:var(--bone);
  padding:8px 0 58px;
}
.majlis-overview-figure{
  margin:0;
  background:#080d12;
  border:1px solid rgba(170,129,80,.26);
  box-shadow:0 24px 60px rgba(31,23,16,.14);
  overflow:hidden;
}
.majlis-overview-figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1500 / 844;
  object-fit:contain;
  filter:saturate(.94) contrast(1.02);
}
.majlis-overview-figure figcaption{
  padding:12px 16px 14px;
  color:#8b7967;
  background:var(--bone);
  font-family:var(--serif);
  font-size:.82rem;
  font-style:italic;
}
@media(max-width:760px){
  .majlis-overview{padding-bottom:42px}
  .knowledge-bank-plate img,.majlis-overview-figure img{height:auto !important}
}

/* ============================================================
   HOME REDESIGN 2026-08-31
   Heritage exhibition direction: cinematic, archival, restrained.
   ============================================================ */

.homev2-hero{
  position:relative;
  min-height:760px;
  padding-top:74px;
  overflow:hidden;
  background:#07131d;
  color:#f4eadc;
}
.homev2-hero-bg{
  position:absolute;
  inset:74px 0 0;
  background:url('../images/home-redesign/home-hero.webp') center/cover no-repeat;
  transform:scale(1.015);
  animation:homev2HeroDrift 22s ease-in-out infinite alternate;
  will-change:transform;
}
.homev2-hero-shade{
  position:absolute;
  inset:74px 0 0;
  background:
    linear-gradient(90deg,rgba(3,11,17,.92) 0%,rgba(3,11,17,.79) 31%,rgba(3,11,17,.35) 58%,rgba(3,11,17,.08) 100%),
    linear-gradient(0deg,rgba(3,11,17,.64) 0%,transparent 28%);
  pointer-events:none;
}
.homev2-hero-inner{
  position:relative;
  z-index:2;
  min-height:686px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:42px;
  padding-bottom:74px;
}
.homev2-hero-copy{max-width:620px}
.homev2-hero .eyebrow{color:#cfad7a}
.homev2-hero h1{
  font-family:var(--serif);
  font-size:clamp(5rem,7.2vw,7.8rem);
  font-weight:500;
  line-height:.82;
  letter-spacing:-.045em;
  margin:18px 0 28px;
  color:#f7efe5;
  text-wrap:balance;
}
.homev2-hero h1 em{font-style:normal;color:#efe1d0}
.homev2-hero-copy>p{
  font-family:var(--serif);
  max-width:545px;
  font-size:1.26rem;
  line-height:1.6;
  color:#d1c4b5;
  margin:0 0 30px;
}
.homev2-dark-button{
  color:#f2e8d9!important;
  border-color:rgba(207,173,122,.7)!important;
}
.homev2-dark-button:hover{background:#b99361!important;color:#07131d!important}
.homev2-route{
  position:absolute;
  left:0;
  bottom:30px;
  display:flex;
  align-items:center;
  gap:17px;
  color:#e2cfb3;
  font-family:var(--serif);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.8rem;
  white-space:nowrap;
}
.homev2-route i{display:block;width:4px;height:4px;border-radius:50%;background:#8f3f36;box-shadow:0 0 0 2px rgba(143,63,54,.12)}
@keyframes homev2HeroDrift{from{transform:scale(1.015) translate3d(0,0,0)}to{transform:scale(1.055) translate3d(-.45%,.3%,0)}}

.homev2-making{
  position:relative;
  padding:70px 0 62px;
  color:#243039;
  background:
    radial-gradient(circle at 15% 20%,rgba(122,72,45,.07),transparent 28%),
    linear-gradient(rgba(247,239,226,.94),rgba(247,239,226,.94)),
    url('../images/family-history/4.webp') center/cover no-repeat;
  border-bottom:1px solid rgba(94,43,38,.18);
}
.homev2-making-grid{
  display:grid;
  grid-template-columns:minmax(290px,1.25fr) 170px repeat(4,minmax(120px,.68fr));
  align-items:center;
  gap:0;
}
.homev2-making-copy{padding-right:42px}
.homev2-making-copy h2{
  font-family:var(--serif);
  font-weight:500;
  font-size:2.25rem;
  line-height:1.02;
  margin:12px 0 15px;
  color:#222d33;
}
.homev2-making-copy p{font-family:var(--serif);font-size:1.03rem;line-height:1.55;color:#61584e;margin:0;max-width:48ch}
.homev2-detail-image{margin:0 28px 0 0;transform:rotate(-2.5deg)}
.homev2-detail-image img{display:block;width:100%;height:145px;object-fit:cover;object-position:center 56%;box-shadow:0 15px 30px rgba(60,40,22,.12);filter:sepia(.08) saturate(.82)}
.homev2-stat{
  min-height:150px;
  border-left:1px solid rgba(94,43,38,.18);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:0 18px;
}
.homev2-stat b{font-family:var(--serif);font-size:2.75rem;line-height:1;color:#263039;font-weight:500;text-transform:uppercase}
.homev2-stat span{font-size:.67rem;line-height:1.55;text-transform:uppercase;letter-spacing:.09em;color:#6c5b48;margin-top:10px}

.homev2-chronicle{
  padding:64px 0 76px;
  background:
    linear-gradient(rgba(240,226,205,.96),rgba(240,226,205,.96)),
    url('../images/family-history/4.webp') center/cover no-repeat;
  color:#273039;
  border-bottom:1px solid rgba(94,43,38,.22);
}
.homev2-section-label{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:35px}
.homev2-section-label a{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:#6f392f;border-bottom:1px solid rgba(111,57,47,.5);padding-bottom:5px}
.homev2-timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:18px;
  padding-top:23px;
}
.homev2-timeline:before{content:"";position:absolute;top:66px;left:1.2%;right:1.2%;height:1px;background:#7b3c34;opacity:.72}
.homev2-era{position:relative;color:#293239;min-width:0;text-align:center}
.homev2-era:before{content:"";position:absolute;top:39px;left:50%;width:8px;height:8px;border-radius:50%;background:#6f302c;transform:translateX(-50%);box-shadow:0 0 0 5px rgba(240,226,205,.95)}
.homev2-era-date{font-family:var(--serif);font-size:.92rem;color:#7d3e35}
.homev2-era h3{font-family:var(--serif);font-size:1.22rem;text-transform:uppercase;letter-spacing:.04em;font-weight:600;margin:4px 0 45px}
.homev2-era figure{margin:0;height:108px;overflow:hidden;border:1px solid rgba(74,52,32,.16);background:#d5c5af;transition:transform .4s ease,box-shadow .4s ease}
.homev2-era figure img{display:block;width:100%;height:100%;object-fit:cover;filter:sepia(.23) saturate(.68) contrast(.96);transition:transform 1s ease,filter .4s ease}
.homev2-era:nth-child(5) figure img{object-position:center 28%}
.homev2-era p{font-family:var(--serif);font-size:.86rem;line-height:1.3;color:#6b5a4c;margin:12px auto 0;max-width:16ch}
@media(hover:hover) and (pointer:fine){
  .homev2-era:hover figure{transform:translateY(-4px);box-shadow:0 15px 28px rgba(64,40,18,.14)}
  .homev2-era:hover figure img{transform:scale(1.045);filter:sepia(.14) saturate(.78) contrast(1)}
}

.homev2-partition{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  color:#efe4d6;
  overflow:hidden;
  background:#0c1115;
}
.homev2-partition-bg{
  position:absolute;inset:0;
  background:url('../images/home-redesign/partition-1947.webp') center/cover no-repeat;
  filter:saturate(.58) sepia(.15);
  transform:scale(1.02);
  transition:transform 8s ease;
}
.homev2-partition:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,12,.97) 0%,rgba(5,9,12,.83) 32%,rgba(5,9,12,.34) 60%,rgba(5,9,12,.08) 100%)}
.homev2-partition.is-visible .homev2-partition-bg{transform:scale(1.055)}
.homev2-partition-inner{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:end;width:100%;padding-top:88px;padding-bottom:82px}
.homev2-partition-copy{max-width:510px}
.homev2-partition .eyebrow{color:#9a493e;font-size:.92rem}
.homev2-partition h2{font-family:var(--serif);font-size:clamp(3.3rem,5vw,5.35rem);line-height:.92;font-weight:500;letter-spacing:-.035em;margin:12px 0 22px;color:#f3e9dc}
.homev2-partition p{font-family:var(--serif);font-size:1.12rem;line-height:1.55;color:#cbbdad;margin:0 0 26px}
.homev2-partition-note{font-family:var(--serif);font-size:.76rem;font-style:italic;color:rgba(234,220,202,.62);padding-bottom:7px}

.homev2-pillars{padding:66px 0 62px;background:#f1e6d4;color:#283137;border-bottom:1px solid rgba(94,43,38,.18)}
.homev2-pillars-head{display:flex;justify-content:space-between;gap:42px;align-items:end;margin-bottom:35px}
.homev2-pillars-head h2{font-family:var(--serif);font-size:2.65rem;line-height:1;margin:0;font-weight:500}
.homev2-pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(94,43,38,.18);border-bottom:1px solid rgba(94,43,38,.18)}
.homev2-pillar-grid article{display:grid;grid-template-columns:54px 1fr;gap:20px;padding:32px 32px 30px;border-right:1px solid rgba(94,43,38,.18)}
.homev2-pillar-grid article:last-child{border-right:0}
.homev2-pillar-grid article>span{font-family:var(--serif);font-size:2.2rem;color:#7a3b34}
.homev2-pillar-grid h3{font-family:var(--serif);font-size:1.5rem;text-transform:uppercase;letter-spacing:.04em;margin:1px 0 8px;font-weight:600;color:#2f3538}
.homev2-pillar-grid p{font-family:var(--serif);font-size:.98rem;line-height:1.45;color:#6b5d50;margin:0}
.homev2-center-action{text-align:center;margin-top:30px}

.homev2-house{position:relative;padding:72px 0 76px;background:#06131d;color:#e9dfd1;overflow:hidden}
.homev2-house-bg{position:absolute;inset:0;background:url('../images/home-redesign/wider-house.webp') center/cover no-repeat;opacity:.6;mix-blend-mode:screen}
.homev2-house:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,14,22,.57),rgba(3,14,22,.74))}
.homev2-house-inner{position:relative;z-index:2}
.homev2-house-head{text-align:center;max-width:700px;margin:0 auto 38px}
.homev2-house-head .eyebrow{color:#cda774}
.homev2-house-head h2{font-family:var(--serif);font-size:3.1rem;line-height:1;margin:10px 0 8px;font-weight:500;color:#f0e5d6}
.homev2-house-head p{font-family:var(--serif);font-size:1rem;color:#b9aa99;margin:0}
.homev2-house-map{position:relative;padding-top:10px}
.homev2-house-centre{width:180px;margin:0 auto 48px;padding:13px 17px;border:1px solid rgba(207,173,122,.54);background:rgba(4,17,26,.76);position:relative}
.homev2-house-centre:after{content:"";position:absolute;left:50%;top:100%;height:35px;width:1px;background:rgba(207,173,122,.42)}
.homev2-house-centre img{display:block;width:100%;height:auto}
.homev2-house-links{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.homev2-house-links:before{content:"";position:absolute;top:-14px;left:8%;right:8%;height:1px;background:rgba(207,173,122,.35)}
.homev2-house-links a{position:relative;text-align:center;border:1px solid rgba(207,173,122,.42);background:rgba(5,17,26,.72);padding:19px 12px;color:#e8dece;min-height:90px;display:flex;flex-direction:column;justify-content:center;transition:.3s ease}
.homev2-house-links a:before{content:"";position:absolute;left:50%;bottom:100%;height:14px;width:1px;background:rgba(207,173,122,.35)}
.homev2-house-links b{font-family:var(--serif);font-size:1.08rem;font-weight:600;color:#ecd8ba;margin-bottom:5px}
.homev2-house-links span{font-family:var(--serif);font-size:.8rem;line-height:1.25;color:#a89a8a}
@media(hover:hover) and (pointer:fine){.homev2-house-links a:hover{background:rgba(154,92,70,.18);border-color:rgba(207,173,122,.75);transform:translateY(-3px)}}

.homev2-majlis{padding:78px 0 82px;background:#f2e7d5;color:#293136;border-bottom:1px solid rgba(94,43,38,.18)}
.homev2-majlis-grid{display:grid;grid-template-columns:.72fr 1.55fr;gap:58px;align-items:center}
.homev2-majlis-copy h2{font-family:var(--serif);font-size:3.75rem;line-height:.92;font-weight:500;letter-spacing:-.03em;margin:12px 0 20px}
.homev2-majlis-copy p{font-family:var(--serif);font-size:1.06rem;line-height:1.58;color:#665a4d;margin:0 0 25px}
.homev2-majlis-visual{margin:0}
.homev2-majlis-visual img{display:block;width:100%;height:auto;border:1px solid rgba(99,63,37,.18);box-shadow:0 24px 45px rgba(62,39,21,.12)}
.homev2-majlis-visual figcaption{font-family:var(--serif);font-size:.78rem;font-style:italic;color:#8a7560;margin-top:9px}

.homev2-papers{padding:74px 0 78px;background:#f8f0e4;color:#293136}
.homev2-papers-head{display:grid;grid-template-columns:1fr 1.1fr;gap:30px;align-items:end;margin-bottom:34px}
.homev2-papers-head h2{font-family:var(--serif);font-size:3rem;line-height:.95;font-weight:500;margin:10px 0 0}
.homev2-papers-head>p{font-family:var(--serif);font-size:1rem;color:#6e6052;margin:0 0 5px;max-width:48ch}
.homev2-paper-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}
.homev2-paper-card{color:#293136;min-width:0;display:block;border-top:1px solid rgba(94,43,38,.2);padding-top:14px}
.homev2-paper-card img{display:block;width:100%;height:auto;aspect-ratio:1.51/1;object-fit:cover;box-shadow:0 16px 30px rgba(67,42,21,.08);filter:saturate(.85);transition:.5s ease}
.homev2-paper-card>span{display:block;font-size:.58rem;letter-spacing:.13em;text-transform:uppercase;color:#9a654b;margin:15px 0 7px}
.homev2-paper-card h3{font-family:var(--serif);font-size:1.45rem;line-height:1.05;font-weight:500;margin:0 0 7px}
.homev2-paper-card p{font-family:var(--serif);font-size:.88rem;line-height:1.4;color:#756658;margin:0}
@media(hover:hover) and (pointer:fine){.homev2-paper-card:hover img{transform:translateY(-4px);box-shadow:0 21px 38px rgba(67,42,21,.14);filter:saturate(.95)}}

.homev2-closing{padding:58px 0 52px;background:#06131d;color:#eee1d1;text-align:center;border-top:1px solid rgba(207,173,122,.14)}
.homev2-closing-inner p{font-family:var(--serif);font-size:2.05rem;line-height:1.08;margin:0 0 13px;color:#eee1d1}
.homev2-closing-inner span{font-family:var(--serif);font-size:.9rem;font-style:italic;color:#a98a63}

@media(max-width:1180px){
  .homev2-making-grid{grid-template-columns:1.2fr 140px repeat(4,.65fr)}
  .homev2-stat{padding:0 8px}.homev2-stat b{font-size:2.25rem}
  .homev2-timeline{gap:10px}.homev2-era figure{height:95px}.homev2-era h3{font-size:1.05rem}
  .homev2-house-links{gap:10px}
}
@media(max-width:980px){
  .homev2-hero{min-height:700px}.homev2-hero-inner{min-height:626px}
  .homev2-hero-bg{background-position:58% center}
  .homev2-making-grid{grid-template-columns:1fr 160px repeat(2,1fr)}
  .homev2-making-copy{grid-column:1/-1;padding:0 0 28px;max-width:720px}
  .homev2-detail-image{grid-row:2/4;grid-column:1;margin-right:24px}.homev2-detail-image img{height:240px}
  .homev2-stat{min-height:120px}.homev2-stat:nth-of-type(3),.homev2-stat:nth-of-type(4){border-top:1px solid rgba(94,43,38,.18)}
  .homev2-timeline{grid-template-columns:repeat(7,170px);overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .homev2-era{scroll-snap-align:start}.homev2-timeline:before{left:85px;right:auto;width:1030px}
  .homev2-pillar-grid{grid-template-columns:1fr}.homev2-pillar-grid article{border-right:0;border-bottom:1px solid rgba(94,43,38,.18)}.homev2-pillar-grid article:last-child{border-bottom:0}
  .homev2-house-links{grid-template-columns:repeat(2,1fr)}.homev2-house-links:before,.homev2-house-links a:before,.homev2-house-centre:after{display:none}.homev2-house-links a:last-child{grid-column:1/-1;max-width:50%;width:100%;justify-self:center}
  .homev2-majlis-grid{grid-template-columns:1fr}.homev2-majlis-copy{max-width:700px}.homev2-majlis-copy h2{font-size:3.1rem}
  .homev2-paper-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .homev2-hero{padding-top:72px;min-height:650px}.homev2-hero-bg{inset:72px 0 0;background-position:67% center}.homev2-hero-shade{inset:72px 0 0;background:linear-gradient(90deg,rgba(3,11,17,.94) 0%,rgba(3,11,17,.77) 62%,rgba(3,11,17,.26) 100%),linear-gradient(0deg,rgba(3,11,17,.75),transparent 40%)}
  .homev2-hero-inner{min-height:578px;padding-top:38px;padding-bottom:74px;justify-content:flex-end}.homev2-hero-copy{max-width:92%}.homev2-hero h1{font-size:4.25rem;line-height:.86;margin:12px 0 20px}.homev2-hero-copy>p{font-size:1.04rem;line-height:1.48;max-width:38ch}.homev2-route{gap:9px;font-size:.61rem;max-width:100%;overflow:hidden}.homev2-route i{width:3px;height:3px}.homev2-route span:nth-of-type(4){display:none}.homev2-route i:nth-of-type(3){display:none}
  .homev2-making{padding:52px 0}.homev2-making-grid{grid-template-columns:1fr 1fr}.homev2-making-copy{grid-column:1/-1}.homev2-detail-image{grid-column:1/-1;grid-row:auto;margin:0 0 24px;transform:none}.homev2-detail-image img{height:180px}.homev2-stat{min-height:105px;border-left:1px solid rgba(94,43,38,.18);border-top:1px solid rgba(94,43,38,.18)}.homev2-stat:nth-child(odd){border-left:0}.homev2-stat b{font-size:2.1rem}
  .homev2-chronicle{padding:52px 0}.homev2-section-label{align-items:flex-start}.homev2-section-label a{display:none}
  .homev2-partition{min-height:610px}.homev2-partition-bg{background-position:69% center}.homev2-partition:after{background:linear-gradient(90deg,rgba(5,9,12,.93) 0%,rgba(5,9,12,.72) 68%,rgba(5,9,12,.24) 100%),linear-gradient(0deg,rgba(5,9,12,.58),transparent 45%)}.homev2-partition-inner{padding-top:70px;padding-bottom:55px;align-items:flex-end;min-height:610px}.homev2-partition h2{font-size:3.45rem}.homev2-partition p{font-size:1.02rem}.homev2-partition-note{display:none}
  .homev2-pillars{padding:52px 0}.homev2-pillars-head{display:block}.homev2-pillars-head h2{font-size:2.35rem;margin-top:9px}.homev2-pillar-grid article{grid-template-columns:44px 1fr;padding:25px 12px}.homev2-pillar-grid article>span{font-size:1.9rem}
  .homev2-house{padding:56px 0}.homev2-house-head h2{font-size:2.65rem}.homev2-house-centre{width:160px;margin-bottom:25px}.homev2-house-links{grid-template-columns:1fr}.homev2-house-links a:last-child{grid-column:auto;max-width:none}.homev2-house-links a{min-height:78px}
  .homev2-majlis{padding:56px 0}.homev2-majlis-grid{gap:32px}.homev2-majlis-copy h2{font-size:2.9rem}
  .homev2-papers{padding:54px 0}.homev2-papers-head{display:block}.homev2-papers-head h2{font-size:2.55rem;margin-bottom:14px}.homev2-paper-grid{grid-template-columns:1fr;gap:30px}.homev2-paper-card img{aspect-ratio:1.51/1}.homev2-paper-card h3{font-size:1.6rem}
  .homev2-closing-inner p{font-size:1.7rem}
}
@media(prefers-reduced-motion:reduce){
  .homev2-hero-bg{animation:none!important;transform:none!important}
  .homev2-partition-bg,.homev2-era figure,.homev2-era figure img,.homev2-paper-card img,.homev2-house-links a{transition:none!important;transform:none!important}
}


/* ============================================================
   HOME PAGE VISUAL AUDIT CORRECTION
   Chronicle simplified, 1947 contained, shared grid restored.
   ============================================================ */
.homev2-chronicle{
  padding:72px 0 78px !important;
  background:
    radial-gradient(circle at 13% 8%, rgba(133,87,52,.045), transparent 23%),
    radial-gradient(circle at 88% 84%, rgba(94,43,38,.035), transparent 25%),
    linear-gradient(180deg,#f4e8d5 0%,#f0e1cc 100%) !important;
  border-bottom:0 !important;
}
.homev2-chronicle .shell,
.homev2-partition .shell,
.homev2-transition .shell{
  width:min(1280px,calc(100% - 96px));
}
.homev2-section-label{
  margin-bottom:42px !important;
  padding-bottom:16px;
  border-bottom:1px solid rgba(94,43,38,.14);
}
.homev2-timeline{
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:28px !important;
  padding-top:28px !important;
}
.homev2-timeline:before{
  top:76px !important;
  left:10% !important;
  right:10% !important;
  background:rgba(111,48,44,.58) !important;
}
.homev2-era:before{
  top:49px !important;
  width:7px !important;
  height:7px !important;
  box-shadow:0 0 0 6px #f2e4d0 !important;
}
.homev2-era-date{
  min-height:18px;
  font-size:.84rem !important;
  color:#865148 !important;
}
.homev2-era h3{
  font-size:1.18rem !important;
  line-height:1.05;
  text-transform:none !important;
  letter-spacing:0 !important;
  margin:7px auto 50px !important;
  max-width:16ch;
  min-height:2.15em;
}
.homev2-era figure{
  height:auto !important;
  aspect-ratio:16/10;
  background:#ddcdb8 !important;
  border:1px solid rgba(74,52,32,.14) !important;
}
.homev2-era figure img{
  object-fit:cover !important;
  object-position:center center !important;
}
.homev2-era p{
  font-size:.84rem !important;
  line-height:1.35 !important;
  max-width:20ch !important;
  margin-top:13px !important;
}

.homev2-transition{
  background:#6b302c;
  color:#f3e7d7;
  padding:14px 0 13px;
}
.homev2-transition-inner{
  display:flex;
  align-items:center;
  gap:17px;
}
.homev2-transition span{
  font-family:var(--serif);
  font-size:.9rem;
  letter-spacing:.08em;
  color:#dab89b;
}
.homev2-transition strong{
  font-family:var(--serif);
  font-weight:500;
  font-size:1.05rem;
  letter-spacing:.02em;
}
.homev2-transition strong:before{
  content:"";
  display:inline-block;
  width:42px;
  height:1px;
  vertical-align:middle;
  background:rgba(241,222,201,.42);
  margin-right:17px;
}

.homev2-partition{
  min-height:auto !important;
  display:block !important;
  padding:78px 0 80px;
  background:
    radial-gradient(circle at 16% 32%,rgba(111,48,44,.13),transparent 30%),
    linear-gradient(135deg,#091116 0%,#0b1419 58%,#0a0f12 100%) !important;
}
.homev2-partition:after,
.homev2-partition-bg{display:none !important}
.homev2-partition-inner{
  display:grid !important;
  grid-template-columns:minmax(310px,.72fr) minmax(0,1.28fr);
  gap:68px;
  align-items:center !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  min-height:0 !important;
}
.homev2-partition-copy{
  max-width:430px !important;
}
.homev2-partition .eyebrow{
  display:block;
  margin-bottom:12px;
  color:#bd796b !important;
}
.homev2-partition h2{
  font-size:clamp(3.2rem,4.2vw,4.65rem) !important;
  line-height:.94 !important;
  margin:0 0 24px !important;
  max-width:9ch;
}
.homev2-partition p{
  font-size:1.06rem !important;
  line-height:1.58 !important;
  margin-bottom:27px !important;
  max-width:40ch;
}
.homev2-partition-figure{
  margin:0;
  min-width:0;
}
.homev2-partition-figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:61% center;
  filter:saturate(.6) sepia(.13) contrast(.98);
  border:1px solid rgba(214,181,147,.12);
  box-shadow:0 30px 58px rgba(0,0,0,.26);
}
.homev2-partition-figure figcaption{
  margin-top:10px;
  font-family:var(--serif);
  font-size:.74rem;
  line-height:1.4;
  font-style:italic;
  color:rgba(218,199,178,.58);
}

@media(max-width:980px){
  .homev2-chronicle .shell,
  .homev2-partition .shell,
  .homev2-transition .shell{width:min(100% - 48px,760px)}
  .homev2-timeline{
    grid-template-columns:repeat(5,210px) !important;
    gap:24px !important;
    overflow-x:auto;
    padding:28px 0 14px !important;
    scroll-snap-type:x proximity;
  }
  .homev2-timeline:before{
    left:105px !important;
    right:auto !important;
    width:936px !important;
  }
  .homev2-era{scroll-snap-align:start}
  .homev2-partition-inner{
    grid-template-columns:1fr !important;
    gap:34px !important;
  }
  .homev2-partition-copy{max-width:580px !important}
  .homev2-partition h2{max-width:12ch}
}
@media(max-width:760px){
  .homev2-chronicle{padding:54px 0 58px !important}
  .homev2-chronicle .shell,
  .homev2-partition .shell,
  .homev2-transition .shell{width:calc(100% - 32px)}
  .homev2-section-label{margin-bottom:22px !important}
  .homev2-timeline{
    grid-template-columns:repeat(5,76vw) !important;
    gap:18px !important;
  }
  .homev2-timeline:before{display:none !important}
  .homev2-era{text-align:left !important}
  .homev2-era:before{display:none !important}
  .homev2-era-date{font-size:.76rem !important}
  .homev2-era h3{margin:4px 0 15px !important;min-height:0;max-width:none;font-size:1.22rem !important}
  .homev2-era p{margin-left:0 !important;max-width:30ch !important}
  .homev2-transition{padding:12px 0}
  .homev2-transition strong{font-size:.94rem}
  .homev2-transition strong:before{width:24px;margin-right:10px}
  .homev2-partition{padding:54px 0 58px !important}
  .homev2-partition-inner{gap:28px !important}
  .homev2-partition h2{font-size:3.15rem !important;max-width:11ch}
  .homev2-partition p{font-size:1rem !important}
  .homev2-partition-figure img{aspect-ratio:4/3;object-position:64% center}
}

/* Mobile Chronicle sign-off: documentary stack rather than horizontal carousel. */
@media(max-width:760px){
  .homev2-timeline{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:28px !important;
    overflow:visible !important;
    padding:12px 0 0 !important;
    scroll-snap-type:none !important;
  }
  .homev2-era{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:3px 14px;
    text-align:left !important;
    padding-bottom:26px;
    border-bottom:1px solid rgba(94,43,38,.13);
  }
  .homev2-era:last-child{border-bottom:0;padding-bottom:0}
  .homev2-era-date{grid-column:1;grid-row:1;margin-top:2px}
  .homev2-era h3{grid-column:2;grid-row:1;margin:0 0 13px !important;font-size:1.3rem !important}
  .homev2-era figure{grid-column:1/-1;grid-row:2;aspect-ratio:16/10;margin-top:2px}
  .homev2-era p{grid-column:1/-1;grid-row:3;margin:10px 0 0 !important}
}

/* ============================================================
   PHILOSOPHY REDESIGN 2026
   Trust -> Vision -> Stewardship -> Practice -> Knowledge Bank
   ============================================================ */
.ph-page{background:#efe4d2;color:#24292a}
.ph-page .shell{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.ph-page h1,.ph-page h2,.ph-page h3{font-family:var(--serif);font-weight:500}
.ph-page blockquote{margin:28px 0 0;padding-left:22px;border-left:2px solid #6f342f;font-family:var(--serif);font-size:1.38rem;line-height:1.35;font-style:italic;color:#673c34}

.ph-hero{position:relative;min-height:650px;background:#07131d;color:#f4eadc;overflow:hidden;display:grid;align-items:end}
.ph-hero-media{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,11,17,.95) 0%,rgba(4,11,17,.78) 48%,rgba(4,11,17,.26) 100%),url('../images/generated/philosophy-library.webp') center/cover no-repeat;transform:scale(1.035);animation:phHeroDrift 24s ease-in-out infinite alternate}
.ph-hero-inner{position:relative;z-index:2;padding-top:150px;padding-bottom:68px;max-width:1240px}
.ph-hero .eyebrow{color:#c9a45f}
.ph-hero h1{font-size:clamp(4rem,7vw,7.4rem);line-height:.9;letter-spacing:-.045em;max-width:920px;margin:14px 0 28px;color:#f5ecdf}
.ph-hero p{font-family:var(--serif);font-size:1.35rem;line-height:1.55;max-width:720px;color:#cbbca8;margin:0}
.ph-hero-thread{margin-top:48px;padding-top:20px;border-top:1px solid rgba(203,164,95,.35);display:flex;gap:38px;flex-wrap:wrap;color:#d6c8b6;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}
.ph-hero-thread b{font-family:var(--serif);font-size:1.1rem;color:#c9a45f;margin-right:8px;font-weight:500}
@keyframes phHeroDrift{from{transform:scale(1.035) translate3d(0,0,0)}to{transform:scale(1.07) translate3d(-1.2%,.6%,0)}}

.ph-thread{padding:78px 0 72px;background:#f1e6d4;border-bottom:1px solid rgba(111,52,47,.16)}
.ph-thread-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:80px;align-items:center}
.ph-thread-intro h2{font-size:3.35rem;line-height:1;margin:10px 0 22px;letter-spacing:-.035em}
.ph-thread-intro p{font-family:var(--serif);font-size:1.12rem;line-height:1.65;color:#665d53;max-width:480px}
.ph-thread-steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;text-align:center}
.ph-thread-steps:before{content:"";position:absolute;left:14%;right:14%;top:38px;height:1px;background:#b19160}
.ph-thread-steps article{position:relative;z-index:1;background:#f1e6d4;padding:0 14px}
.ph-thread-steps article>span{width:76px;height:76px;margin:0 auto 16px;display:grid;place-items:center;border:1px solid #b19160;border-radius:50%;background:#efe2ce;box-shadow:inset 0 0 0 7px rgba(177,145,96,.10);font-family:var(--serif);font-size:1.65rem;color:#6f342f}
.ph-thread-steps h3{font-size:1.8rem;margin:0 0 6px;color:#282c2c}
.ph-thread-steps p{font-family:var(--serif);font-size:1rem;line-height:1.45;color:#70665a;margin:0}

.ph-chapter{padding:102px 0;background:#f6eddf}
.ph-chapter-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:82px;align-items:center}
.ph-chapter-grid-wide{grid-template-columns:.72fr 1.28fr}
.ph-chapter-copy{position:relative;padding-left:52px}
.ph-chapter-number{position:absolute;left:0;top:-6px;font-family:var(--serif);font-size:3.15rem;color:#793d36;line-height:1}
.ph-chapter-copy h2{font-size:clamp(3.4rem,5vw,5.3rem);line-height:.98;letter-spacing:-.045em;margin:12px 0 26px;max-width:650px}
.ph-chapter-copy>p{font-family:var(--serif);font-size:1.2rem;line-height:1.7;color:#665e55}
.ph-archive-mount{margin:0;background:#e5d4bd;padding:13px 13px 24px;box-shadow:0 24px 55px rgba(53,37,21,.12);max-width:610px;justify-self:end}
.ph-archive-mount img{display:block;width:100%;height:auto;max-height:690px;object-fit:contain;background:#efe5d8}
.ph-archive-mount figcaption,.ph-majlis-plate figcaption{padding:12px 3px 0;font-family:var(--serif);font-style:italic;color:#8a7762;font-size:.95rem}

.ph-vision{position:relative;min-height:680px;background:#06131e;color:#f3e9dc;overflow:hidden;display:grid;align-items:center}
.ph-vision-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,18,.97) 0%,rgba(4,12,18,.88) 35%,rgba(4,12,18,.18) 75%,rgba(4,12,18,.05) 100%),url('../images/philosophy/vision-route-map.webp') center/cover no-repeat;transform:scale(1.02);animation:phMapDrift 28s ease-in-out infinite alternate}
.ph-vision-inner{position:relative;z-index:2;padding-top:100px;padding-bottom:100px}
.ph-vision-copy{max-width:560px;padding-left:52px;position:relative}
.ph-vision .ph-chapter-number{color:#b66a5d}
.ph-vision .eyebrow{color:#c8a35d}
.ph-vision h2{font-size:clamp(3.5rem,5.5vw,5.8rem);line-height:.94;letter-spacing:-.045em;margin:12px 0 24px;color:#f4eadc}
.ph-vision p{font-family:var(--serif);font-size:1.18rem;line-height:1.65;color:#c8baaa}
.ph-vision blockquote{color:#d5b79f;border-left-color:#9b4e45}
.ph-route-note{margin-top:56px;margin-left:52px;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:#bda272}
@keyframes phMapDrift{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.05) translate3d(-.8%,.4%,0)}}

.ph-stewardship{background:#f1e5d3}
.ph-majlis-plate{margin:0;box-shadow:0 28px 65px rgba(43,30,18,.14);background:#0a1117;padding:10px 10px 20px;align-self:center}
.ph-majlis-plate img{display:block;width:100%;height:auto;object-fit:contain}
.ph-majlis-plate figcaption{color:#a6957f;padding-left:7px}

.ph-recognition{padding:82px 0;background:#e7dac5;border-top:1px solid rgba(111,52,47,.15);border-bottom:1px solid rgba(111,52,47,.15)}
.ph-recognition-grid{display:grid;grid-template-columns:.72fr 1fr;gap:70px;align-items:center}
.ph-recognition figure{margin:0;background:#f2e8d9;padding:10px;box-shadow:0 22px 45px rgba(57,41,24,.11)}
.ph-recognition img{display:block;width:100%;height:auto;object-fit:contain}
.ph-recognition h2{font-size:3.8rem;line-height:1;letter-spacing:-.035em;margin:12px 0 22px}
.ph-recognition p{font-family:var(--serif);font-size:1.18rem;line-height:1.62;color:#635b52}
.ph-recognition-note{font-size:1rem!important;color:#8a7c6d!important}

.ph-ledger{padding:92px 0 98px;background-color:#f1e6d4;background-image:linear-gradient(rgba(116,87,57,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(116,87,57,.025) 1px,transparent 1px);background-size:100% 32px,32px 100%}
.ph-ledger-head{text-align:center;max-width:800px;margin:0 auto 52px}
.ph-ledger-head h2{font-size:4.2rem;line-height:.98;letter-spacing:-.04em;margin:12px 0 20px}
.ph-ledger-head p{font-family:var(--serif);font-size:1.14rem;line-height:1.6;color:#6e6458}
.ph-ledger-grid{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #b99e73;border-bottom:1px solid #b99e73}
.ph-ledger-grid article{padding:30px 22px 32px;min-height:270px;border-right:1px solid rgba(185,158,115,.55);text-align:center;background:rgba(246,237,223,.58)}
.ph-ledger-grid article:last-child{border-right:0}
.ph-ledger-grid b{display:block;font-family:var(--serif);font-size:1.15rem;font-weight:500;color:#a16d43;margin-bottom:18px}
.ph-ledger-grid h3{font-size:1.55rem;line-height:1.05;margin:0 auto 18px;max-width:170px;color:#343333}
.ph-ledger-grid p{font-family:var(--serif);font-size:.97rem;line-height:1.48;color:#746a5d;margin:0}

.ph-knowledge{position:relative;background:#07131d;color:#f1e5d7;padding:96px 0;overflow:hidden}
.ph-knowledge-media{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,14,20,.96) 0%,rgba(5,14,20,.88) 42%,rgba(5,14,20,.62) 67%,rgba(5,14,20,.78) 100%),url('../images/signature/knowledge-bank-archive.webp') center/cover no-repeat;filter:saturate(.8)}
.ph-knowledge-grid{position:relative;z-index:2;display:grid;grid-template-columns:.78fr 1.22fr;gap:70px;align-items:center}
.ph-knowledge-copy{max-width:570px}
.ph-knowledge .eyebrow{color:#c6a15e}
.ph-knowledge h2{font-size:clamp(3.5rem,5vw,5.5rem);line-height:.94;letter-spacing:-.045em;color:#f3e8da;margin:12px 0 24px}
.ph-knowledge p{font-family:var(--serif);font-size:1.16rem;line-height:1.62;color:#c9bbaa}
.ph-knowledge blockquote{color:#dfc0a9;border-left-color:#9f574e;font-size:1.65rem}
.ph-knowledge .button{margin-top:14px}
.ph-knowledge-plate{margin:0;opacity:.01;pointer-events:none}
.ph-knowledge-plate img{width:100%;height:auto}

.ph-closing{padding:52px 0;background:#f1e6d4;text-align:center;border-top:1px solid rgba(111,52,47,.12)}
.ph-closing p{font-family:var(--serif);font-size:2.1rem;line-height:1.25;font-style:italic;color:#554b40;margin:0 auto;max-width:760px}

@media(max-width:980px){
  .ph-thread-grid,.ph-chapter-grid,.ph-chapter-grid-wide,.ph-recognition-grid,.ph-knowledge-grid{grid-template-columns:1fr;gap:46px}
  .ph-archive-mount{justify-self:center;max-width:560px}
  .ph-recognition figure{max-width:620px}
  .ph-ledger-grid{grid-template-columns:repeat(2,1fr)}
  .ph-ledger-grid article:nth-child(2n){border-right:0}
  .ph-ledger-grid article:last-child{grid-column:1/-1;border-top:1px solid rgba(185,158,115,.55)}
  .ph-knowledge-plate{display:none}
}
@media(max-width:760px){
  .ph-page .shell{width:calc(100% - 34px)}
  .ph-hero{min-height:620px}
  .ph-hero-media{background-position:62% center}
  .ph-hero-inner{padding-top:126px;padding-bottom:44px}
  .ph-hero h1{font-size:3.85rem}
  .ph-hero p{font-size:1.08rem;max-width:92%}
  .ph-hero-thread{gap:12px 22px;margin-top:34px}
  .ph-thread{padding:58px 0}
  .ph-thread-grid{gap:36px}
  .ph-thread-intro h2{font-size:2.9rem}
  .ph-thread-steps{grid-template-columns:1fr;gap:22px;text-align:left}
  .ph-thread-steps:before{left:37px;right:auto;top:32px;bottom:32px;height:auto;width:1px}
  .ph-thread-steps article{display:grid;grid-template-columns:76px 1fr;column-gap:18px;align-items:center;text-align:left;padding:0;background:transparent}
  .ph-thread-steps article>span{grid-row:1/3;margin:0}
  .ph-thread-steps h3{font-size:1.6rem}
  .ph-thread-steps p{grid-column:2}
  .ph-chapter{padding:68px 0}
  .ph-chapter-grid{gap:34px}
  .ph-chapter-copy,.ph-vision-copy{padding-left:38px}
  .ph-chapter-number{font-size:2.55rem}
  .ph-chapter-copy h2,.ph-vision h2{font-size:3.25rem}
  .ph-chapter-copy>p,.ph-vision p{font-size:1.08rem}
  .ph-page blockquote{font-size:1.2rem}
  .ph-vision{min-height:auto}
  .ph-vision-bg{background:linear-gradient(180deg,rgba(4,12,18,.92) 0%,rgba(4,12,18,.78) 52%,rgba(4,12,18,.35) 100%),url('../images/philosophy/vision-route-map.webp') 62% center/cover no-repeat}
  .ph-vision-inner{padding-top:76px;padding-bottom:76px}
  .ph-route-note{margin-left:38px;margin-top:42px;font-size:.68rem}
  .ph-recognition{padding:62px 0}
  .ph-recognition-grid{gap:32px}
  .ph-recognition h2{font-size:3.05rem}
  .ph-ledger{padding:66px 0}
  .ph-ledger-head h2{font-size:3.1rem}
  .ph-ledger-grid{grid-template-columns:1fr;border-top:0}
  .ph-ledger-grid article,.ph-ledger-grid article:nth-child(2n){border-right:0;border-top:1px solid rgba(185,158,115,.55);min-height:0;padding:26px 16px}
  .ph-ledger-grid article:last-child{grid-column:auto}
  .ph-knowledge{padding:72px 0}
  .ph-knowledge-media{background-position:68% center}
  .ph-knowledge h2{font-size:3.35rem}
  .ph-closing{padding:40px 0}
  .ph-closing p{font-size:1.65rem}
}
@media(prefers-reduced-motion:reduce){.ph-hero-media,.ph-vision-bg{animation:none!important;transform:none!important}}


/* ============================================================
   PHILOSOPHY VISUAL AUDIT - FINAL SPACING & HIERARCHY PASS
   ============================================================ */
.ph-page .shell{width:min(1200px,calc(100% - 64px))}

/* Hero: preserve drama without letting the headline dominate the whole viewport. */
.ph-hero{min-height:610px}
.ph-hero-inner{padding-top:138px;padding-bottom:58px}
.ph-hero h1{font-size:clamp(4rem,6.4vw,6.65rem);max-width:850px;margin-bottom:24px}
.ph-hero p{max-width:690px;font-size:1.28rem}
.ph-hero-thread{margin-top:40px}

/* Thread: make the sequence feel concise rather than like a second hero. */
.ph-thread{padding:66px 0 64px}
.ph-thread-grid{grid-template-columns:.78fr 1.22fr;gap:58px}
.ph-thread-intro h2{font-size:3.05rem;margin-bottom:18px}
.ph-thread-steps{gap:22px}
.ph-thread-steps article>span{width:68px;height:68px;margin-bottom:13px;font-size:1.5rem}
.ph-thread-steps:before{top:34px}
.ph-thread-steps h3{font-size:1.65rem}

/* Pillars: a little less empty vertical space and slightly calmer headline scale. */
.ph-chapter{padding:84px 0}
.ph-chapter-grid{gap:68px}
.ph-chapter-copy h2{font-size:clamp(3.25rem,4.6vw,4.85rem);margin-bottom:22px}
.ph-chapter-copy>p{line-height:1.66}
.ph-archive-mount{max-width:560px;padding-bottom:20px}
.ph-archive-mount img{max-height:640px}

.ph-vision{min-height:620px}
.ph-vision-inner{padding-top:82px;padding-bottom:82px}
.ph-vision h2{font-size:clamp(3.35rem,5vw,5.15rem)}
.ph-route-note{margin-top:42px}

/* Stewardship image remains the evidence, but does not overwhelm the copy. */
.ph-stewardship .ph-chapter-grid-wide{grid-template-columns:.78fr 1.22fr}
.ph-majlis-plate{max-width:760px;justify-self:end}

/* Public Record is supporting provenance, not a fourth pillar. */
.ph-recognition{padding:66px 0}
.ph-recognition-grid{grid-template-columns:.60fr 1fr;gap:62px}
.ph-recognition figure{max-width:500px;justify-self:start}
.ph-recognition figure figcaption{padding:11px 4px 2px;font-family:var(--serif);font-size:.92rem;line-height:1.35;font-style:italic;color:#8a7762}
.ph-recognition h2{font-size:3.35rem;margin-bottom:18px;max-width:680px}
.ph-recognition p{font-size:1.12rem;max-width:690px}

/* Operating ledger: 3 + 2 composition gives each principle enough room to read. */
.ph-ledger{padding:78px 0 84px}
.ph-ledger-head{margin-bottom:42px}
.ph-ledger-head h2{font-size:3.7rem}
.ph-ledger-grid{grid-template-columns:repeat(6,1fr);border:0;gap:0}
.ph-ledger-grid article{grid-column:span 2;min-height:225px;padding:30px 28px 28px;border-top:1px solid #b99e73;border-right:1px solid rgba(185,158,115,.55);border-bottom:1px solid #b99e73;background:rgba(246,237,223,.68)}
.ph-ledger-grid article:nth-child(3){border-right:0}
.ph-ledger-grid article:nth-child(4),.ph-ledger-grid article:nth-child(5){grid-column:span 3;border-top:0}
.ph-ledger-grid article:nth-child(5){border-right:0}
.ph-ledger-grid h3{font-size:1.68rem;max-width:210px}
.ph-ledger-grid p{font-size:1.03rem;line-height:1.52;max-width:250px;margin-inline:auto}

/* Knowledge Bank: keep it as the philosophical climax, but slightly more compact. */
.ph-knowledge{padding:84px 0}
.ph-knowledge h2{font-size:clamp(3.4rem,4.7vw,5rem);max-width:560px}
.ph-knowledge-copy{max-width:600px}
.ph-closing{padding:46px 0}
.ph-closing p{font-size:1.95rem}

@media(max-width:980px){
  .ph-page .shell{width:min(760px,calc(100% - 48px))}
  .ph-recognition figure{justify-self:center;width:min(100%,520px)}
  .ph-majlis-plate{justify-self:center;max-width:760px}
  .ph-ledger-grid{grid-template-columns:repeat(2,1fr)}
  .ph-ledger-grid article,.ph-ledger-grid article:nth-child(3),.ph-ledger-grid article:nth-child(4),.ph-ledger-grid article:nth-child(5){grid-column:auto;border-top:1px solid rgba(185,158,115,.55);border-right:1px solid rgba(185,158,115,.55)}
  .ph-ledger-grid article:nth-child(2n){border-right:0}
  .ph-ledger-grid article:last-child{grid-column:1/-1;border-right:0}
}

@media(max-width:760px){
  .ph-page .shell{width:calc(100% - 36px)}
  .ph-hero{min-height:550px}
  .ph-hero-inner{padding-top:112px;padding-bottom:38px}
  .ph-hero h1{font-size:3.25rem;line-height:.94;margin-bottom:18px}
  .ph-hero p{font-size:1.02rem;line-height:1.5;max-width:100%}
  .ph-hero-thread{margin-top:26px;padding-top:16px;gap:9px 16px;font-size:.69rem}
  .ph-hero-thread b{font-size:.95rem}

  .ph-thread{padding:48px 0 52px}
  .ph-thread-grid{gap:28px}
  .ph-thread-intro h2{font-size:2.55rem}
  .ph-thread-intro p{font-size:1.02rem}
  .ph-thread-steps{gap:18px}
  .ph-thread-steps article{grid-template-columns:62px 1fr;column-gap:15px}
  .ph-thread-steps article>span{width:62px;height:62px;font-size:1.35rem}
  .ph-thread-steps:before{left:30px;top:28px;bottom:28px}
  .ph-thread-steps h3{font-size:1.48rem}
  .ph-thread-steps p{font-size:.96rem}

  .ph-chapter{padding:56px 0 60px}
  .ph-chapter-grid{gap:28px}
  .ph-chapter-copy,.ph-vision-copy{padding-left:32px}
  .ph-chapter-number{font-size:2.2rem}
  .ph-chapter-copy h2,.ph-vision h2{font-size:2.78rem;line-height:1}
  .ph-chapter-copy>p,.ph-vision p{font-size:1.02rem;line-height:1.58}
  .ph-page blockquote{font-size:1.1rem;margin-top:22px;padding-left:16px}
  .ph-archive-mount{width:94%;margin-inline:auto}

  .ph-vision-inner{padding-top:62px;padding-bottom:62px}
  .ph-route-note{margin-left:32px;margin-top:32px;font-size:.64rem;line-height:1.5}
  .ph-majlis-plate{width:100%;padding:7px 7px 15px}

  .ph-recognition{padding:50px 0 54px}
  .ph-recognition-grid{gap:26px}
  .ph-recognition figure{width:94%}
  .ph-recognition h2{font-size:2.55rem;line-height:1.02}
  .ph-recognition p{font-size:1rem;line-height:1.55}
  .ph-recognition-note{font-size:.91rem!important}

  .ph-ledger{padding:54px 0 58px}
  .ph-ledger-head{margin-bottom:30px}
  .ph-ledger-head h2{font-size:2.65rem}
  .ph-ledger-head p{font-size:1rem}
  .ph-ledger-grid{grid-template-columns:1fr}
  .ph-ledger-grid article,.ph-ledger-grid article:nth-child(2n),.ph-ledger-grid article:last-child{grid-column:auto;border-right:0;min-height:0;padding:22px 18px}
  .ph-ledger-grid h3{font-size:1.5rem;margin-bottom:12px;max-width:none}
  .ph-ledger-grid p{font-size:.98rem;max-width:300px}
  .ph-ledger-grid b{margin-bottom:11px}

  .ph-knowledge{padding:60px 0 64px}
  .ph-knowledge h2{font-size:2.9rem}
  .ph-knowledge p{font-size:1.02rem}
  .ph-knowledge blockquote{font-size:1.25rem}
  .ph-closing{padding:34px 0}
  .ph-closing p{font-size:1.5rem}
}

/* Final responsive cascade correction discovered in visual audit. */
@media(max-width:980px){
  .ph-thread-grid,
  .ph-chapter-grid,
  .ph-chapter-grid-wide,
  .ph-recognition-grid,
  .ph-knowledge-grid{
    grid-template-columns:1fr !important;
  }
  .ph-thread-grid{gap:36px}
  .ph-chapter-grid,.ph-chapter-grid-wide{gap:38px}
  .ph-recognition-grid{gap:34px}
  .ph-knowledge-grid{gap:34px}
  .ph-archive-mount,.ph-majlis-plate,.ph-recognition figure{justify-self:center}
}
@media(max-width:760px){
  .ph-thread-grid{gap:30px}
  .ph-chapter-grid,.ph-chapter-grid-wide{gap:30px}
  .ph-recognition-grid{gap:28px}
}


/* ============================================================
   STEWARDSHIP IMAGE REFINEMENT 2026-09-01
   ============================================================ */
.steward-hero{background-image:url('../images/stewardship/steward-hero-archive.webp')!important;background-position:center center!important;}
.steward-hero:before{background:linear-gradient(90deg,rgba(7,19,29,.78),rgba(7,19,29,.28) 62%,rgba(7,19,29,.08)),linear-gradient(0deg,rgba(7,19,29,.96),rgba(7,19,29,.56) 42%,rgba(7,19,29,.16) 82%)!important;}
.majlis-overview-figure img{aspect-ratio:1200/800!important;object-fit:contain!important;background:#0a0f14;}
.refined-gallery-grid figure{border:1px solid rgba(170,129,80,.18);box-shadow:0 18px 42px rgba(18,15,10,.16);}
.refined-gallery-grid figure img{filter:saturate(.96) contrast(1.02);}
.refined-gallery-grid .g4 img{object-position:center top;}
.heritage-plate img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;box-shadow:0 18px 42px rgba(18,15,10,.14);}


/* ============================================================
   STEWARDSHIP GATHERING SECTION 2026-09-01
   ============================================================ */
.majlis-gathering{
  background:linear-gradient(180deg,var(--bone) 0%, #f4eee5 100%);
  padding:18px 0 58px;
}
.majlis-gathering-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:34px;
  align-items:start;
}
.majlis-gathering-photo{
  margin:0;
  background:#fffaf2;
  border:1px solid rgba(170,129,80,.24);
  box-shadow:0 20px 48px rgba(31,23,16,.12);
  overflow:hidden;
}
.majlis-gathering-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
}
.majlis-gathering-photo figcaption{
  padding:12px 16px 14px;
  color:#8b7967;
  background:var(--bone);
  font-family:var(--serif);
  font-size:.82rem;
  font-style:italic;
}
.majlis-gathering-copy{
  padding:12px 0 0;
}
.majlis-gathering-copy h2{
  margin:.4rem 0 1rem;
  max-width:12ch;
}
.majlis-gathering-copy .lead{
  font-size:1.06rem;
  line-height:1.8;
  color:#4d4339;
  margin:0 0 18px;
  max-width:34ch;
}
.gathering-card{
  padding:22px 24px;
  background:rgba(255,250,242,.8);
  border:1px solid rgba(170,129,80,.2);
  box-shadow:0 14px 36px rgba(31,23,16,.08);
}
.gathering-card small{
  display:block;
  margin-bottom:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.72rem;
  color:#9a7749;
  font-weight:600;
}
.gathering-card h3{
  margin:0 0 12px;
  font-family:var(--serif);
  font-size:2rem;
  line-height:1.06;
  color:#1b2431;
}
.gathering-card p{
  margin:0;
  font-size:.99rem;
  line-height:1.78;
  color:#4d4339;
}
@media (max-width: 980px){
  .majlis-gathering-grid{grid-template-columns:1fr;gap:24px}
  .majlis-gathering-copy h2{max-width:none}
  .majlis-gathering-copy .lead{max-width:none}
}
@media (max-width: 640px){
  .majlis-gathering{padding:10px 0 42px}
  .gathering-card{padding:18px 18px 20px}
  .gathering-card h3{font-size:1.72rem}
}
