/* Homepage refinement. Existing brand, copy, imagery and section order are retained. */
body.home-page {
  --home-gutter: clamp(24px, 5vw, 80px);
  --section-space: clamp(72px, 8vw, 120px);
  --column-space: clamp(32px, 5vw, 80px);
}

body.home-page .shell,
body.home-page .header-inner,
body.home-page main > section > .shell,
body.home-page main > section > div > .shell {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--home-gutter);
  box-sizing: border-box;
}

body.home-page :is(h1, h2, h3) { letter-spacing: -.025em; text-wrap: balance; }
body.home-page main h2,
html[lang="en"] body.home-page main h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
body.home-page main p,
html[lang="en"] body.home-page main p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 70ch;
}
body.home-page .dark-section p { color: rgba(255,255,255,.8); }
body.home-page :is(a, button) { -webkit-tap-highlight-color: transparent; }
body.home-page :is(a, button):focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}
body.home-page main > section:not(.hero) { padding-block: var(--section-space); }
body.home-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gold-dark);
}
body.home-page .text-link.inverse { color: var(--gold-light); }
body.home-page .text-link > span:last-child { transition: transform .22s ease; }
body.home-page .text-link:hover > span:last-child { transform: translateX(5px); }
body.home-page .button { min-height: 52px; padding: 16px 26px; font-size: 14px; }

/* Consistent header rail and comfortable navigation targets. */
body.home-page .site-header { height: 84px; background: var(--home-navy); box-shadow: none; }
body.home-page .header-inner { height: 84px; min-height: 84px; gap: 32px; }
body.home-page .brand { flex-shrink: 0; }
body.home-page .brand img { width: 184px; height: auto; }
body.home-page .nav-links { gap: clamp(14px, 1.25vw, 22px); }
body.home-page .nav-links > a:not(.nav-action) { padding-block: 30px; font-size: 12px; }
body.home-page .nav-action { min-height: 44px; padding: 14px 18px; }
body.home-page .lang-toggle { min-width: 44px; min-height: 44px; }

/* A generous opening with the original navy/gold and existing industrial media. */
body.home-page .hero { min-height: clamp(700px, 88svh, 900px); background: transparent; }
body.home-page .hero-image {
  filter: saturate(.94) brightness(1.03);
  transition: opacity 1.4s ease-in-out, transform 8s ease-out;
}
body.home-page .hero-image.industrial-port { display: none; }
body.home-page .hero-image.exposure { 
  background-image: url("../images/cat-portfolio-analysis.webp");
  opacity: 1;
  transform: scale(1);
}
body.home-page .hero-image.collaboration { background-image: url("../images/specialist-collaboration.webp"); }
body.home-page .hero-image.submission { background-image: url("../images/submission-conversation.webp"); }
body.home-page .hero-scrim {
  background: rgba(7,26,53,.5);
}

/* Hero title animation - lines appear one by one */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home-page .hero-line {
  display: inline-block;
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.home-page .hero-line:first-child {
  animation-delay: 0.3s;
}

body.home-page .hero-line.hero-title-accent {
  animation-delay: 0.7s;
}

body.home-page .hero-description {
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

body.home-page .hero-actions {
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

body.home-page .hero-content { padding: 164px 0 104px; }
body.home-page .hero-grid { display: flex; justify-content: center; align-items: center; }
body.home-page .hero-copy { max-width: 1040px; text-align: center; margin: 0 auto; }
body.home-page .hero h1,
html[lang="en"] body.home-page .hero h1 {
  max-width: 1040px;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.025em;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(7,26,53,.7);
}
body.home-page .hero-description,
html[lang="en"] body.home-page .hero-description {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 12px rgba(7,26,53,.6);
}
body.home-page .hero-actions { gap: 16px; margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; }
body.home-page .hero-title-accent { color: var(--gold-light); font-style: normal; }

/* Two balanced editorial columns, followed by a shared process strip. */
body.home-page .platform-layout {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px var(--column-space);
  align-items: center;
}
body.home-page .platform-photo {
  grid-column: 1; grid-row: 1;
  position: relative; top: auto;
  min-height: 0; height: 100%; max-height: 680px;
  margin: 0; align-self: stretch;
}
body.home-page .platform-photo img { min-height: 0; height: 100%; width: 100%; object-fit: cover; }
body.home-page .platform-copy { grid-column: 2; }
body.home-page .platform-copy h2 { max-width: 18ch; }
body.home-page .platform-copy p { margin-bottom: 20px; }
body.home-page .platform-stats { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 32px; }
body.home-page .stat-item { min-height: 120px; padding: 22px 12px; gap: 12px; justify-content: center; }
body.home-page .stat-item:first-child { padding-left: 0; }
body.home-page .stat-item:last-child { border-right: 0; }
body.home-page .stat-item { opacity: 1 !important; transform: none !important; }
body.home-page .stat-item strong,
html[lang="en"] body.home-page .stat-item strong { font-size: clamp(21px, 2vw, 30px); line-height: 1.15; overflow-wrap: anywhere; }
body.home-page .stat-item span { font-size: 12px; line-height: 1.5; }
body.home-page .platform-ledger {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.7fr);
  gap: 28px 56px;
  min-height: 0;
  padding: 40px;
  box-shadow: none;
  background-image: none;
}
body.home-page .ledger-title { margin: 0; padding: 0; }
body.home-page .platform-ledger::before,
body.home-page .platform-ledger::after { display: none; }
body.home-page .ledger-title strong,
html[lang="en"] body.home-page .ledger-title strong { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
body.home-page .ledger-principles { align-self: center; }
body.home-page .principle-item { padding: 8px 20px; }
body.home-page .principle-label { font-size: 13px; line-height: 1.6; }
body.home-page .ledger-flow { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); gap: 16px; }
body.home-page .ledger-flow span { font-size: 12px; flex-shrink: 0; }
body.home-page .ledger-flow i { flex: 1; min-width: 12px; }

/* Readable process rows, with numbers tied to the existing five-step sequence. */
body.home-page .home-operating > .shell { grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: var(--column-space); }
body.home-page .operating-heading { grid-column: 1; }
body.home-page .operating-steps { grid-column: 2; }
body.home-page .operating-photo { min-height: 0; aspect-ratio: 4 / 3; }
body.home-page .operating-photo img { min-height: 0; height: 100%; }
body.home-page .operating-steps article,
body.home-page .operating-steps article:first-child,
body.home-page .operating-steps article.focus {
  grid-template-columns: 36px minmax(0,1fr);
  gap: 8px 24px;
  padding: 24px 0;
  min-height: 0;
  background: transparent;
  color: #fff;
}
body.home-page .operating-steps article > span { grid-row: 1 / span 2; color: var(--gold-light); font-size: 12px; }
body.home-page .operating-steps h3,
html[lang="en"] body.home-page .operating-steps h3 { font-size: 23px; line-height: 1.25; margin: 0; }
body.home-page .operating-steps article.focus h3 { color: var(--gold-light); }
body.home-page .operating-steps p,
html[lang="en"] body.home-page .operating-steps p { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.8); }
body.home-page .operating-steps article.focus {
  transition: background-color .25s ease, color .25s ease;
}
body.home-page .operating-steps article.focus:hover {
  background: var(--gold-light);
  color: var(--ink-deep);
}
body.home-page .operating-steps article.focus:hover > span,
body.home-page .operating-steps article.focus:hover h3 {
  color: var(--ink-deep);
}
body.home-page .operating-steps article.focus:hover p,
html[lang="en"] body.home-page .operating-steps article.focus:hover p {
  color: rgba(7,26,53,.86);
}

/* A common reading rail joins analysis, markets, portfolio and people. */
body.home-page :is(.framework-layout,.portfolio-layout,.people-layout,.market-layout) {
  grid-template-columns: minmax(0,4fr) minmax(0,7fr);
  gap: var(--column-space);
  align-items: center;
}
body.home-page :is(.framework-intro,.portfolio-copy,.people-heading,.market-copy) { grid-column: 1; }
body.home-page :is(.framework-gates,.portfolio-metrics,.people-cards,.apac-map-home) { grid-column: 2; min-width: 0; }
body.home-page .framework-intro { position: static; }
body.home-page .framework-title {
  max-width: 28ch;
  text-wrap: balance;
}
body.home-page .framework-title .title-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 1080px) {
  body.home-page .framework-title {
    max-width: 32ch;
  }
}
@media (max-width: 900px) {
  body.home-page .framework-title {
    max-width: none;
  }
  body.home-page .framework-title .title-line {
    white-space: normal;
  }
}
@media (max-width: 520px) {
  body.home-page .framework-title {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
  }
  body.home-page .framework-title .title-line {
    white-space: normal;
  }
}
html[lang="en"] body.home-page .framework-title {
  font-size: clamp(2.35rem, 3vw, 4.05rem);
  line-height: .98;
  letter-spacing: -.04em;
}
body.home-page .framework-photo { height: 280px; aspect-ratio: auto; margin: 0 0 24px; overflow: hidden; }
body.home-page .framework-photo img { height: 100%; width: 100%; min-height: 0; object-fit: cover; }
body.home-page .gate-labels { gap: 24px; padding-bottom: 18px; }
body.home-page .gate-labels span { color: var(--gold-dark); font-size: 10px; line-height: 1.6; letter-spacing: .07em; }
body.home-page .principle-list > div { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 8px 20px; padding: 22px 0; }
body.home-page .principle-list b { grid-row: 1 / span 2; font-size: 11px; padding-top: 3px; }
body.home-page .principle-list strong,
html[lang="en"] body.home-page .principle-list strong { font-size: 17px; line-height: 1.4; }
body.home-page .principle-list span,
html[lang="en"] body.home-page .principle-list span { grid-column: 2; font-size: 14px; line-height: 1.7; }
body.home-page .market-copy h2,
html[lang="en"] body.home-page .market-copy h2 { font-size: clamp(32px, 3vw, 48px); max-width: 24ch; }
body.home-page .market-country { min-height: 44px; font-size: 14px; }
body.home-page .market-groups { margin: 32px 0 16px; }
body.home-page .market-groups > div { padding: 20px 0; }
body.home-page .apac-map-home { width: 100%; max-width: 100%; min-height: 500px; aspect-ratio: auto; box-shadow: none; box-sizing: border-box; }
body.home-page .map-caption { display: none; }
body.home-page .map-legend { box-shadow: none; }
body.home-page .portfolio-metrics { grid-template-rows: auto auto; border-top: 0; }
body.home-page .portfolio-copy h2 { max-width: 24ch; }
body.home-page .people-heading h2 { max-width: 24ch; }
body.home-page .portfolio-photo { min-height: 0; aspect-ratio: 16 / 10; }
body.home-page .portfolio-photo img { min-height: 0; height: 100%; }
body.home-page .portfolio-metrics .portfolio-review { padding: 24px 0; min-height: 100px; grid-template-columns: 44px 1fr; gap: 6px 20px; }
body.home-page .portfolio-review svg { grid-row: 1 / span 2; }
body.home-page .portfolio-review strong { font-size: 24px; }
body.home-page .portfolio-review .metric-label { grid-column: 2; font-size: 12px; margin: 0; }
body.home-page .people-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.home-page .people-photo { min-height: 280px; }
body.home-page .people-cards > div { min-height: 250px; padding: 28px; gap: 14px; }
body.home-page .people-cards strong,
html[lang="en"] body.home-page .people-cards strong { font-size: 22px; line-height: 1.3; }
body.home-page .people-cards p,
html[lang="en"] body.home-page .people-cards p { font-size: 14px; line-height: 1.75; margin: 0; }
body.home-page .people-cards span { font-size: 12px; color: var(--gold-light); }
body.home-page .cta-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: var(--column-space); padding-top: 0; border-top: 0; }
body.home-page .contact-visual { display: flex; flex-direction: column; gap: 24px; }
body.home-page .contact-visual figure { width: 100%; height: 260px; margin: 0; }
body.home-page .contact-visual figure img { width: 100%; height: 100%; object-fit: cover; }
body.home-page .cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
body.home-page footer { padding-block: 44px; }
body.home-page .footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
body.home-page .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
body.home-page .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }

@media (max-width: 1200px) {
  body.home-page .site-header, body.home-page .header-inner { height: 76px; min-height: 76px; }
  body.home-page .nav-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 7px; padding: 0; border: 1px solid rgba(255,255,255,.3); background: transparent; }
  body.home-page .nav-links { position: fixed; inset: 76px 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 24px var(--home-gutter); background: var(--home-navy); max-height: calc(100svh - 76px); overflow-y: auto; transform: translateY(-120%); visibility: hidden; }
  body.home-page.nav-open .nav-links { transform: translateY(0); visibility: visible; }
  body.home-page .nav-links > a:not(.nav-action) { display: block; padding-block: 14px; font-size: 14px; }
  body.home-page .platform-ledger { column-gap: 28px; }
  body.home-page .principle-item { padding-inline: 12px; }
}

@media (max-width: 900px) {
  body.home-page :is(.platform-layout,.framework-layout,.portfolio-layout,.people-layout,.market-layout,.cta-inner),
  body.home-page .home-operating > .shell { grid-template-columns: minmax(0,1fr); gap: 40px; }
  body.home-page :is(.platform-photo,.platform-copy,.platform-ledger,.operating-heading,.operating-steps,.framework-intro,.framework-gates,.portfolio-copy,.portfolio-metrics,.people-heading,.people-cards,.market-copy,.apac-map-home) { grid-column: 1; }
  body.home-page .platform-photo { grid-row: auto; height: 440px; }
  body.home-page .platform-ledger { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  body.home-page .platform-copy { grid-row: 1; }
  body.home-page .operating-photo { max-height: 360px; }
  body.home-page .apac-map-home { min-height: 460px; }
  body.home-page .hero { min-height: 720px; }
  body.home-page .hero-content { padding: 148px 0 120px; }
  body.home-page .hero-scrim { background: rgba(7,26,53,.5); }
  body.home-page .hero h1,
  html[lang="en"] body.home-page .hero h1 { font-size: clamp(40px, 6.5vw, 60px); max-width: none; }
}

@media (max-width: 520px) {
  body.home-page { --home-gutter: 24px; --section-space: 64px; }
  body.home-page .brand img { width: 162px; }
  body.home-page main h2,
  html[lang="en"] body.home-page main h2,
  html[lang="en"] body.home-page .market-copy h2 { font-size: 32px; line-height: 1.17; }
  body.home-page :is(.platform-copy h2, .portfolio-copy h2, .people-heading h2, .market-copy h2) { max-width: none; }
  body.home-page .hero { min-height: 700px; }
  body.home-page .hero-content { padding: 132px 0 120px; }
  body.home-page .hero h1,
  html[lang="en"] body.home-page .hero h1 { font-size: clamp(35px, 9.7vw, 48px); line-height: 1.12; margin-bottom: 24px; }
  body.home-page .hero-description,
  html[lang="en"] body.home-page .hero-description { font-size: 15px; line-height: 1.8; }
  body.home-page .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  body.home-page .hero-actions .button { width: 100%; }
  body.home-page .platform-photo { height: 380px; }
  body.home-page .platform-stats { grid-template-columns: 1fr; }
  body.home-page .stat-item,
  body.home-page .stat-item:first-child { flex-direction: row; justify-content: space-between; align-items: center; min-height: 76px; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--home-line); gap: 20px; }
  body.home-page .stat-item span { max-width: 46%; text-align: right; }
  body.home-page .stat-item:last-child { border-bottom: 0; }
  body.home-page .platform-ledger { padding: 28px 24px; }
  body.home-page .ledger-principles { grid-template-columns: 1fr; }
  body.home-page .principle-item { display: flex; gap: 20px; padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  body.home-page .ledger-flow { gap: 8px; }
  body.home-page .ledger-flow span { font-size: 10px; }
  body.home-page .operating-steps article,
  body.home-page .operating-steps article:first-child,
  body.home-page .operating-steps article.focus { gap: 8px 16px; grid-template-columns: 28px minmax(0,1fr); }
  body.home-page .gate-labels { gap: 12px; }
  body.home-page .gate-labels span { padding-left: 0; font-size: 9px; }
  body.home-page .people-cards { grid-template-columns: 1fr; }
  body.home-page .people-photo { min-height: 0; height: 260px; }
  body.home-page .people-cards > div { min-height: 180px; padding: 24px 0; border-right: 0; }
  body.home-page .people-cards span { margin-bottom: 12px; }
  body.home-page .apac-map-home { min-height: 400px; }
  body.home-page .map-caption { left: 12px; top: 12px; padding: 8px; font-size: 8px; letter-spacing: .04em; }
  body.home-page .map-legend { left: 12px; right: auto; max-width: calc(100% - 24px); gap: 12px; padding: 10px; }
  body.home-page .contact-visual figure { height: 220px; }
  body.home-page .cta-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  body.home-page .cta-buttons .button { width: 100%; }
  body.home-page .footer-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page *, body.home-page *::before, body.home-page *::after {
    animation: none !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

.home-page .home-scope{padding-block:48px;background:var(--home-paper);color:#071a35}
.home-page .home-scope .shell{display:grid;grid-template-columns:1fr 2fr;gap:20px 48px;align-items:start}
.home-page .home-scope h2{font-size:28px;line-height:1.3;margin:0}
.home-page .home-scope p{font-size:15px;line-height:1.8;max-width:75ch;margin:0;color:#344b61}
.home-page .home-scope .text-link{grid-column:2}
@media(max-width:780px){.home-page .home-scope .shell{grid-template-columns:1fr}.home-page .home-scope .text-link{grid-column:1}}

/* Compact Australia and New Zealand feedback with restrained map highlighting. */
body.home-page :is(.m-aus,.m-newzealand) .marker-label {
  min-width: 0;
  width: max-content;
  padding: 5px 9px;
  top: 19px;
  border-color: rgba(169,190,203,.35);
  border-radius: 2px;
  backdrop-filter: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
body.home-page :is(.m-aus,.m-newzealand) .marker-label strong { margin: 0; font-size: 12px; color: #dce7ed; }
body.home-page :is(.m-aus,.m-newzealand) .marker-label::before { display: none; }
body.home-page .world-country.is-active { fill: #368795; stroke: #9cbfc7; filter: none; }
body.home-page .map-marker.is-active { transform: scale(1.1); }
body.home-page .map-marker:hover .marker-dot,
body.home-page .map-marker.is-active .marker-dot {
  background: #e6c579;
  box-shadow: 0 0 0 4px rgba(230,197,121,.16);
}
body.home-page .map-marker.support:hover .marker-dot,
body.home-page .map-marker.support.is-active .marker-dot {
  background: #a8c4d4;
  box-shadow: 0 0 0 4px rgba(169,190,203,.14);
}
body.home-page .map-marker .marker-dot::after { animation: none; opacity: .25; }
body.home-page .map-marker.is-active .marker-dot::after { animation: none; transform: none; border-color: rgba(169,190,203,.3); }
body.home-page .map-marker.is-active .marker-label { box-shadow: 0 2px 6px rgba(0,0,0,.2); border-color: rgba(169,190,203,.35); }
body.home-page .map-marker.is-active .marker-label strong { color: #dce7ed; }

/* One-time entrances for content below the page hero (homepage and interior pages). */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(.16,1,.3,1), transform 650ms cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Section balance: reuse the framework visual in its introductory column. */
body.home-page .home-framework .framework-layout { align-items: start; }
body.home-page .home-framework .framework-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: 320px;
  margin: 28px 0 24px;
}
body.home-page main > section.home-scope {
  padding-block: 48px;
}
body.home-page main > section.home-scope h2 { margin: 0; }
body.home-page .home-scope .text-link { margin-top: 0; }
@media (max-width: 900px) {
  body.home-page .home-framework .framework-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 780px) {
  body.home-page main > section.home-scope { padding-block: 40px; }
}
