/* 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;
	--sidebar-bg: #101e37; /* The new blue hex code */
	--sidebar-line-w: 15px; /* Super slim line width */
}

/* Base */
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
	overscroll-behavior-y: contain; /* Disables pull-to-refresh */
}
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);
	position: relative;
}

/* Slim line overlay */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: var(--sidebar-line-w);
	height: 100%;
	background: var(--sidebar-bg);
	z-index: 1001;
	transition: none; /* Instant color change */
}

/* Rule to change line color when .advantage-in-view is on the body */
body.advantage-in-view::before {
	background: #e0e0e0; /* Light grey */
}

.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;
}

/* Logo overlay, flush with top-left */
.left-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1002;
	width: 220px;
	background: none;
}
.left-sidebar .brand img {
	width: 100%;
	height: auto;
	display: block;
}

/* Header is full-width, content inside is spaced */
.site-header.light {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	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;
}
/* Invisible spacer to push nav links right */
.header-brand {
	display: flex;
	width: 220px;
	visibility: hidden;
}
.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: 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: var(--sidebar-bg);
}
.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: var(--sidebar-bg);
	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;
}

#strategy h2 {
	text-align: center;
	font-size: clamp(32px, 4.5vw, 56px);
	letter-spacing: 0.01em;
	margin-bottom: 56px;
}
.strategy-content {
	max-width: 820px;
	margin: 0 auto;
}
.strategy-content p {
	text-align: justify;
	line-height: 1.8;
	color: #0b1d39;
}
.strategy-content p:not(:last-child) {
	margin-bottom: 1.75em;
}

.strategy-collapsible {
	max-width: 820px;
	margin: 48px auto 0;
}

.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 */
.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 & Layout Overrides */
@media (max-width: 899px) {
	body {
		padding-top: 0;
	}
	/* MODIFIED: Increase space on edges by reducing container width */
	.container {
		width: 85vw;
	}
	.left-sidebar {
		width: 120px;
	}
	.header-brand {
		display: none;
	}
	.header-inner {
		justify-content: flex-end;
		padding-right: 7.5vw;
	}
	.site-header.light {
		left: 0;
		width: 100%;
		background: transparent;
		border-bottom: none;
		box-shadow: none !important;
	}

	.hamburger,
	.hamburger::before,
	.hamburger::after {
		background: #fff;
	}
	/* Hamburger turns dark when NOT over a dark section */
	body:not(.dark-section-in-view) .hamburger,
	body:not(.dark-section-in-view) .hamburger::before,
	body:not(.dark-section-in-view) .hamburger::after {
		background: var(--nav-text);
	}

	.dot-nav {
		right: 15px;
	}
	.dot-nav ul {
		gap: 16px;
	}
	.dot-nav li a {
		width: 14px;
		height: 14px;
	}

	.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;
		width: 100%;
		height: 100vh;
		z-index: 1200;
		background: rgba(16, 30, 55, 0.9);
		backdrop-filter: blur(5px);
		border-radius: 0;
		box-shadow: none;
		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);
	}

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

/* Dot Navigation */
.dot-nav {
	position: fixed;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	z-index: 999;
}
.dot-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.dot-nav li a {
	display: block;
	width: 12px;
	height: 12px;
	background: transparent;
	border: 2px solid var(--nav-text);
	border-radius: 50%;
	transition: all 0.25s ease;
	position: relative;
}
.dot-nav li a .dot-label {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.dot-nav li a:hover {
	transform: scale(1.2);
}
.dot-nav li.active a {
	background: var(--nav-text);
	border-color: var(--nav-text);
	transform: scale(1.1);
}

/* Rules for inverting dot colors on dark sections */
body.dark-section-in-view .dot-nav li a {
	border-color: #fff;
}
body.dark-section-in-view .dot-nav li.active a {
	background: #fff;
	border-color: #fff;
}

/* 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);
}

#strategy,
#management,
#advisory {
	background: #faf8f5;
}

.advisory-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

@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;
}

.advisor-card.open .advisor-bio {
	max-height: 3000px;
	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: 5000px;
	opacity: 1;
	padding: 0 24px 24px;
}