/* AMA Asset Management & Analysis - Retail HK */
:root {
  --navy: #002045;
  --navy-dark: #001a38;
  --red: #e2231a;
  --blue-accent: #2d6fa8;
  --blue-btn: #2d8bc9;
  --grey-bg: #f4f4f4;
  --grey-text: #5a5a5a;
  --grey-line: #e8e8e8;
  --white: #ffffff;
  --border: #d0d0d0;
  --container: 1200px;
  --page-gutter: 16px;
  --font: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 24px;
  }
}

@media (min-width: 1200px) {
  :root {
    --page-gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0;
}

.header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
}

#site-header,
#main-content,
#site-bottom,
#site-footer {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 32, 69, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 16px;
  gap: 32px;
  position: relative;
  width: 100%;
}

.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  margin-left: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 72px;
  max-width: none;
}

.header-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 1;
  min-width: 0;
}

.utility-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 12px;
  padding-bottom: 10px;
  width: 100%;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.2s;
}

.utility-links a:hover {
  color: var(--red);
}

.util-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.util-icon--blue {
  color: var(--blue-accent);
}

.util-icon--red {
  color: var(--red);
}

.search-link {
  padding: 0;
}

.nav-divider {
  width: 100%;
  height: 1px;
  background: var(--grey-line);
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
}

.nav-links > li > a,
.nav-links .nav-link {
  display: inline-block;
  padding: 8px 0;
  color: var(--navy);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-item--dropdown {
  position: static;
}

.nav-item--dropdown.is-open > .nav-link,
.nav-item--dropdown:hover > .nav-link {
  background: #7a1520;
  color: var(--white);
  font-weight: 600;
  padding-left: 10px;
  padding-right: 10px;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #eceef0;
  border: 1px solid var(--grey-line);
  border-top: none;
  box-shadow: 0 12px 32px rgba(0, 32, 69, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  z-index: 999;
}

.nav-item--dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 40px;
  align-items: start;
}

.nav-dropdown-col {
  min-width: 0;
}

.nav-dropdown-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  transition: color 0.2s;
}

.nav-dropdown-title:hover {
  color: var(--red);
}

.nav-dropdown-arrow {
  font-size: 18px;
  line-height: 1;
}

.nav-dropdown-col p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey-text);
}

.nav-dropdown-card {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 180px;
}

.nav-dropdown-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-dropdown-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 69, 0.35);
}

.nav-dropdown-card-text {
  position: absolute;
  left: 16px;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  z-index: 1;
}

.nav-dropdown-card-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  color: var(--white);
  z-index: 1;
}

.nav-dropdown-card-icon svg {
  width: 28px;
  height: 28px;
}

.nav-dropdown-card:hover .nav-dropdown-card-overlay {
  background: rgba(0, 32, 69, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--navy);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
  display: none;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: -8%;
  background: url("../img/hero-banner.png") center/cover no-repeat;
  z-index: 0;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 32, 69, 0.82) 0%, rgba(0, 32, 69, 0.45) 50%, rgba(0, 32, 69, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 0;
}

.hero-text {
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 24px;
}

.hero p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 11px 36px;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 32, 69, 0.15);
}

.btn-ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: #002d6b;
}

.btn-blue {
  background: var(--blue-btn);
  color: var(--white);
  border-color: var(--blue-btn);
}

.btn-blue:hover {
  background: #2478b5;
}

/* ========== Funds Banner + Features ========== */
.funds-features {
  position: relative;
}

.funds-banner {
  background:
    linear-gradient(rgba(0, 32, 69, 0.85), rgba(0, 32, 69, 0.85)),
    url("../img/funds-banner.png") center/cover no-repeat;
  padding: 48px 0 96px;
  color: var(--white);
}

.funds-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 36px;
}

.funds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.fund-item {
  display: block;
  text-align: left;
  color: var(--white);
  text-decoration: none;
}

.fund-arrow {
  display: none;
}

.fund-line {
  width: 100%;
  height: 1px;
  background: var(--white);
  margin-bottom: 20px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fund-item.is-visible .fund-line {
  transform: scaleX(1);
}

.fund-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.fund-more {
  font-size: 14px;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fund-item:hover .fund-more {
  opacity: 0.85;
  transform: translateX(4px);
}

/* ========== Features ========== */
.features {
  margin-top: -64px;
  position: relative;
  z-index: 10;
  padding-bottom: 72px;
}

.features-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transition: box-shadow 0.35s ease;
}

.features-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.feature-item {
  padding: 48px 40px;
  text-align: left;
  transition: transform 0.35s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 24px;
  color: var(--red);
  transition: transform 0.35s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.08);
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.feature-item p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.75;
}

/* ========== Philosophy ========== */
.philosophy {
  background: var(--grey-bg);
  padding: 80px 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.philosophy-text h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 24px;
}

.philosophy-quote {
  font-size: 18px;
  color: var(--grey-text);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.7;
}

.video-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #333;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 32, 69, 0.18);
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.video-play svg {
  width: 72px;
  height: 72px;
  opacity: 0.9;
  transition: transform 0.25s ease;
  animation: playPulse 2.8s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

.video-play:hover svg {
  transform: scale(1.12);
  animation: none;
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 26, 61, 0.85);
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
}

.video-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

/* ========== Sustainability Banner ========== */
.sustainability-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(0, 26, 61, 0.78) 0%, rgba(0, 26, 61, 0.6) 100%),
    url("../img/sustainability-banner.png") center/cover no-repeat;
  color: var(--white);
}

.sustainability-banner .container {
  max-width: 640px;
}

.sustainability-banner h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
}

.sustainability-banner p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  opacity: 0.95;
}

.sustainability-banner p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sustainability-banner p a:hover {
  opacity: 0.85;
}

.sustainability-banner .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========== Insights ========== */
.insights {
  padding: 80px 0;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.insights-header h2 {
  font-size: 32px;
  font-weight: 400;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
}

.insight-card .thumb {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 20px;
}

.insight-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .thumb img {
  transform: scale(1.03);
}

.insight-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
}

.insight-card p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.7;
}

/* ========== Scam Alert ========== */
.scam-alert {
  background: var(--grey-bg);
  padding: 40px 0;
}

.scam-alert .container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.scam-alert h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.scam-alert p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.7;
}

.scam-alert a {
  color: var(--navy);
  text-decoration: underline;
}

/* ========== Fund Search ========== */
.fund-search {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}

.fund-search .container {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.fund-search h2 {
  font-size: 22px;
  font-weight: 400;
  white-space: nowrap;
}

.fund-search h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--red);
  margin-bottom: 12px;
}

.fund-search input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 15px;
  outline: none;
}

.fund-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.fund-search input:focus {
  border-color: var(--white);
}

.fund-search .or {
  font-size: 15px;
  white-space: nowrap;
}

/* ========== Stay Informed ========== */
.stay-informed {
  padding: 64px 0;
  background:
    linear-gradient(135deg, rgba(0, 26, 61, 0.85) 0%, rgba(0, 26, 61, 0.7) 100%),
    url("../img/stay-informed-banner.png") center/cover no-repeat;
  color: var(--white);
}

.stay-informed .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stay-informed h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}

.stay-informed h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--red);
  margin-bottom: 12px;
}

.stay-informed p {
  font-size: 15px;
  opacity: 0.9;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links span {
  font-size: 15px;
  margin-right: 8px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 40px 60px;
  padding-bottom: 40px;
}

.footer-group {
  margin-bottom: 28px;
}

.footer-group:last-child {
  margin-bottom: 0;
}

.footer-heading {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.footer-heading:hover {
  opacity: 0.85;
}

.footer-sub {
  padding-left: 0;
}

.footer-sub li {
  margin-bottom: 6px;
}

.footer-sub a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-sub a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.footer-logo-block {
  text-align: right;
}

.footer-fssa-logo {
  display: flex;
  justify-content: flex-end;
}

.footer-logo-img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
}

.tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  text-align: right;
}

.footer-badge-block {
  text-align: right;
  max-width: 240px;
}

.manantrust-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 8px;
}

.manantrust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.manantrust-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
}

.manantrust-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.pri-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.pri-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.pri-mark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pri-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.pri-text {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0 32px;
}

.footer-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-disclaimer {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 20px 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
}

.footer-disclaimer p + p {
  margin-top: 10px;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-text h1 {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-text p {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-text .btn {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-text h1,
  .hero-text p,
  .hero-text .btn {
    animation: none;
  }

  .video-play svg {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fund-line {
    transform: scaleX(1);
    transition: none;
  }

  .btn:hover,
  .feature-item:hover,
  .insight-card:hover,
  .video-wrapper:hover {
    transform: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
    align-items: flex-start;
  }

  .footer-logo-block,
  .footer-badge-block,
  .tagline,
  .pri-logo,
  .manantrust-logo {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-fssa-logo {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo {
    margin-left: 0;
  }

  .logo-img {
    height: 56px;
  }

  .nav-toggle {
    display: block;
  }

  .header-nav--desktop {
    display: none;
  }

  .nav-dropdown {
    display: none;
  }

  .mobile-nav {
    display: none;
    background: #f4f7f9;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.open {
    display: block;
  }

  .mobile-nav-list {
    list-style: none;
  }

  .mobile-nav-item {
    border-bottom: 1px solid #dce3ea;
  }

  .mobile-nav-link,
  .mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--navy);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
  }

  .mobile-nav-link {
    text-decoration: none;
  }

  .mobile-nav-indicator {
    display: block;
    width: 14px;
    height: 2px;
    background: var(--navy);
    flex-shrink: 0;
    position: relative;
    transition: transform 0.25s ease;
  }

  .mobile-nav-item--expandable.is-open .mobile-nav-indicator {
    transform: rotate(90deg);
  }

  .mobile-nav-sub {
    display: none;
    list-style: none;
    background: var(--white);
    border-top: 1px solid #dce3ea;
  }

  .mobile-nav-item--expandable.is-open .mobile-nav-sub {
    display: block;
  }

  .mobile-nav-sub a {
    display: block;
    padding: 14px 0 14px 8px;
    font-size: 14px;
    color: var(--navy);
    border-bottom: 1px solid #eef2f6;
  }

  .mobile-nav-sub li:last-child a {
    border-bottom: none;
  }

  .mobile-nav-footer {
    background: var(--white);
    border-top: 1px solid #dce3ea;
    padding: 8px 0 16px;
  }

  .mobile-nav-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-size: 15px;
    color: var(--navy);
  }

  .mobile-nav-footer .util-icon {
    width: 16px;
    height: 16px;
  }

  .funds-banner {
    background: var(--navy);
    padding: 36px 0 56px;
  }

  .funds-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 32px;
  }

  .funds-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .fund-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
  }

  .fund-line,
  .fund-more {
    display: none;
  }

  .fund-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    flex: 1;
  }

  .fund-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--red);
  }

  .fund-arrow svg {
    width: 28px;
    height: 28px;
  }

  .features-card {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 36px 32px;
    border-bottom: 1px solid var(--border);
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .fund-search .container {
    grid-template-columns: 1fr;
  }

  .fund-search h2::before {
    margin-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .funds-banner {
    padding-bottom: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ========== Philosophy Page ========== */
.philosophy-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.philosophy-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/philosophy-hero.png") center/cover no-repeat;
  z-index: 0;
}

.philosophy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 32, 69, 0.82) 0%, rgba(0, 32, 69, 0.5) 100%);
  z-index: 1;
}

.philosophy-hero .container {
  position: relative;
  z-index: 2;
}

.philosophy-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
}

.philosophy-intro {
  padding: 56px 0;
  background: var(--white);
}

.philosophy-intro-text {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey-text);
  border-left: 3px solid var(--red);
  padding-left: 24px;
}

.philosophy-practice {
  padding-bottom: 64px;
  background: var(--white);
}

.philosophy-divider {
  border: none;
  border-top: 1px solid var(--grey-line);
  margin-bottom: 48px;
}

.philosophy-practice h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 40px;
}

.philosophy-practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.philosophy-practice-video {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--grey-bg);
  overflow: hidden;
}

.philosophy-practice-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-practice-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 20px;
}

.philosophy-practice-text p:last-child {
  margin-bottom: 0;
}

.philosophy-principles {
  background: var(--white);
}

.philosophy-principles-head {
  padding-top: 16px;
  padding-bottom: 40px;
}

.philosophy-principles-head h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Sticky stack scroll effect */
.philosophy-stack {
  position: relative;
}

.philosophy-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: var(--panel-index, 1);
  color: var(--white);
  overflow: hidden;
}

.philosophy-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.philosophy-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 32, 69, 0.88) 0%, rgba(0, 32, 69, 0.72) 100%);
  z-index: 1;
}

.philosophy-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.philosophy-panel-num {
  display: block;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}

.philosophy-panel-num::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 12px;
  margin-bottom: 28px;
}

.philosophy-panel h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}

.philosophy-panel p {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.92;
}

.philosophy-insights {
  position: relative;
  z-index: 11;
  background: var(--white);
  padding: 64px 0 72px;
}

.philosophy-insights > .container > h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
}

.insights-grid--overlay .insight-card--overlay .thumb {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
}

.insights-grid--overlay .insight-card--overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 32, 69, 0.92) 0%, rgba(0, 32, 69, 0.4) 55%, transparent 100%);
  color: var(--white);
}

.insight-overlay h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
}

.insight-overlay p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 12px;
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  opacity: 0.85;
  list-style: none;
}

.philosophy-insights .btn-outline {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .philosophy-practice-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-panel-inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ========== Sustainability Page ========== */
.sustainability-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.sustainability-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/sustainability-hero.png") center/cover no-repeat;
  z-index: 0;
}

.sustainability-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 32, 69, 0.78) 0%, rgba(0, 32, 69, 0.35) 55%, rgba(0, 32, 69, 0.1) 100%);
  z-index: 1;
}

.sustainability-hero .container {
  position: relative;
  z-index: 2;
}

.sustainability-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
}

.sustainability-intro {
  padding: 56px 0 40px;
  background: var(--white);
}

.sustainability-intro-text {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey-text);
  border-left: 3px solid var(--red);
  padding-left: 24px;
}

.sustainability-intro-text p + p {
  margin-top: 20px;
}

.sustainability-pillars {
  padding-bottom: 56px;
  background: var(--white);
}

.sustainability-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--grey-line);
}

.sustainability-pillar {
  padding: 40px 32px 32px;
  border-right: 1px solid var(--grey-line);
}

.sustainability-pillar:last-child {
  border-right: none;
}

.sustainability-pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.sustainability-pillar-icon svg {
  width: 100%;
  height: 100%;
}

.sustainability-pillar h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.sustainability-pillar p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-text);
}

.sustainability-intro-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sustainability-blocks {
  padding-bottom: 64px;
  background: var(--white);
}

.sustainability-blocks .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sustainability-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  background: var(--navy);
}

.sustainability-block-content {
  padding: 48px 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, var(--navy) 0%, rgba(0, 32, 69, 0.92) 100%);
}

.sustainability-block-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.35;
}

.sustainability-block-content p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 16px;
}

.sustainability-block-content p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sustainability-block-content p a:hover {
  opacity: 0.85;
}

.sustainability-block-content p:last-of-type {
  margin-bottom: 24px;
}

.sustainability-block-content .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.btn-outline--on-dark {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-outline--on-dark:hover {
  background: transparent;
  color: var(--white);
}

.sustainability-block-media {
  background-size: cover;
  background-position: center;
  min-height: 240px;
}

@media (max-width: 900px) {
  .sustainability-pillar-grid {
    grid-template-columns: 1fr;
  }

  .sustainability-pillar {
    border-right: none;
    border-bottom: 1px solid var(--grey-line);
    padding: 32px 0 28px;
  }

  .sustainability-pillar:last-child {
    border-bottom: none;
  }

  .sustainability-intro-actions {
    justify-content: flex-start;
  }

  .sustainability-block {
    grid-template-columns: 1fr;
  }

  .sustainability-block-media {
    min-height: 200px;
    order: -1;
  }

  .sustainability-block-content {
    padding: 36px 0 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-panel {
    position: relative;
    min-height: auto;
    padding: 48px 0;
  }
}
