/* Core variables */
:root {
  --nav-bg: #ffffff;
  --nav-text: #0b1d39;
  --nav-muted: #5a6475;
  --hero-overlay: rgba(0, 0, 0, 0.35);
  --text: #0b1d39;
  --muted: #5e6a7b;
  --border: #e7e9ee;
  --light: #ffffff;
}

/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #fff;
  color: var(--text);
  padding-top: var(--header-h, 64px);
}
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
}

/* Header / Nav */
.site-header.light {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.light.is-stuck {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--nav-text);
  text-decoration: none;
}
.brand img {
  height: 34px;
  display: block;
}
@media (min-width: 900px) {
  .brand img {
    height: 40px;
  }
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav a {
  color: var(--nav-text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}
.nav a:hover {
  opacity: 1;
}
.nav a.login {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.translate-btn {
  padding: 8px 12px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.95;
  color: var(--nav-text);
}
.translate-btn:hover {
  opacity: 1;
  background: #f6f8fb;
}
.translate-btn[aria-pressed="true"] {
  background: #f0f4ff;
  border-color: #d6e0ff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}
.hamburger {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--nav-text);
  border-radius: 1px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--nav-text);
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease,
    background-color 0.25s ease;
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}
.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #0b1d39;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 64px);
  margin: 0 0 10px;
  line-height: 1.08;
}
.hero-quote {
  color: #e8edf3;
  font-size: 18px;
  max-width: 75ch;
}

/* Sections */
.section {
  padding: 64px 0;
  background: #fff;
}
.section.alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.dark {
  background: #0b1d39;
  color: #fff;
}
.section h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-family: "Playfair Display", serif;
  color: #0b1d39;
  margin: 0 0 12px;
}
.section.dark h2 {
  color: #fff;
}
.lede {
  color: var(--muted);
  max-width: 75ch;
}
.bullets {
  margin: 18px 0 0;
  padding-left: 18px;
}
.bullets li {
  margin: 10px 0;
  line-height: 1.55;
}

/* About split */
.about-split .center {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4.2vw, 52px);
  margin-bottom: 26px;
}
.split-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}
.split-text .subtext {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 13px;
  color: #0b1d39;
  margin-bottom: 10px;
}
.lead-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0b1d39;
}
.split-image {
  position: relative;
}
.split-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}
.split-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.92) 12%,
    rgba(255, 255, 255, 0.6) 26%,
    rgba(255, 255, 255, 0) 45%
  );
  pointer-events: none;
}
@media (min-width: 980px) {
  .split-grid {
    grid-template-columns: minmax(420px, 0.95fr) 1.05fr;
  }
}
@media (max-width: 979px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
  .split-image::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 28%
    );
  }
}

/* Management & Section Titles */
#advantage h2,
#management h2,
#advisory h2 {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}

/* === NEW STYLES FOR STRATEGY SECTION === */
#strategy h2 {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 56px; /* Increased margin */
}
.strategy-content {
  max-width: 820px; /* Optimal reading width */
  margin: 0 auto; /* Center the content block */
}
.strategy-content p {
  text-align: justify; /* Justify the text */
  line-height: 1.8; /* Increased line spacing for readability */
  color: #0b1d39; /* Slightly softer text color */
}
.strategy-content p:not(:last-child) {
  margin-bottom: 1.75em; /* Space between paragraphs */
}
/* === END NEW STYLES === */

.person {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(420px, 46%) 1fr;
  gap: 48px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.person-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f4f6f9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.person-content h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0 0 6px;
}
.person .title {
  color: #6b7280;
  margin: 4px 0 12px;
}

/* Advantage Section (Himalaya Style) */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.advantage-item {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.advantage-item:last-child {
  border-bottom: none;
}
.advantage-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 8px;
  color: #fff;
  font-weight: 600;
}
#advantage p {
  color: #cdd5e2;
  margin: 0;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .advantage-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 32px;
  }
  .advantage-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* Contact */
#contact.contact-like-himalaya {
  background: #fff;
}
#contact .contact-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.01em;
  margin: 0 0 36px;
}
.contact-grid {
  display: grid;
  gap: 48px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
  gap: 28px;
}
.contact-block {
  max-width: 540px;
}
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #0b1d39;
  font-size: 15px;
  margin-bottom: 10px;
}
.info {
  margin: 0;
  color: #0b1d39;
  font-size: 18px;
  line-height: 1.9;
}
.info a {
  text-decoration: none;
  color: #0b1d39;
}
.map {
  height: 100%;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e7e9ee;
}

/* Mobile Menu Overlay (Himalaya Style) */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
    position: relative;
    z-index: 1300;
  }
  .nav-toggle.active .hamburger::before,
  .nav-toggle.active .hamburger::after {
    background: #fff;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90vh;
    z-index: 1200;
    background: #0b1d39;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav.open a {
    color: #fff;
    font-size: 20px;
  }
  .nav.open a.login,
  .nav.open .translate-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
  }
  .nav.open .translate-btn[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* Other mobile rules */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map iframe {
    height: 420px;
    min-height: 420px;
    margin-top: 6px;
  }
  .person {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Reveal animations */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  [data-animate].in-view {
    opacity: 1;
    transform: none;
  }
  [data-animate="fade"] {
    transform: none;
  }
  [data-animate="fade"].in-view {
    opacity: 1;
  }
  [data-animate="fade-down"] {
    transform: translateY(-10px);
  }
  [data-animate="fade-up"] {
    transform: translateY(10px);
  }
  [data-animate="rise"] {
    transform: translateY(14px);
  }
  [data-delay] {
    transition-delay: calc(var(--d, 0ms));
  }
}
.section,
#management,
#contact,
#faq {
  scroll-margin-top: calc(var(--header-h, 64px) + 12px);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: saturate(110%) blur(2px);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1110;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(640px, 92vw);
  padding: 26px 26px 22px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e7e9ee;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.modal-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: #0b1d39;
  text-align: center;
}
.modal-body {
  color: #0b1d39;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}
.modal-body p {
  margin: 10px 0;
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: #1f2a44;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.modal-close:hover {
  filter: brightness(1.05);
}

/* === Section-specific Colors === */
#strategy,
#management,
#advisory {
  background: #faf8f5;
}

/* ADVISORY COUNCIL STYLES */
.advisory-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default to 1 column on mobile */
  gap: 24px;
  align-items: start; /* Prevents cards from stretching to match height */
}

/* 2x2 grid for desktop */
@media (min-width: 900px) {
  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.advisor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.advisor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.advisor-header {
  padding: 24px;
  text-align: center;
}

.advisor-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.advisor-header .title {
  color: var(--muted);
  margin: 0;
}

.advisor-bio {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out,
    padding 0.5s ease-out;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify; /* Justify the bio text */
}

.advisor-card.open .advisor-bio {
  max-height: 3000px; /* Increased to prevent text cutoff on mobile */
  opacity: 1;
  padding: 0 24px 24px;
}

/* FAQ Section */
#faq {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

#faq h2 {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.faq-question::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out,
    padding 0.5s ease-out;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-answer p:not(:last-child) {
  margin-bottom: 1em;
}

.faq-item.open .faq-answer {
  max-height: 1200px; /* Large enough for content */
  opacity: 1;
  padding: 0 24px 24px;
}