/* destinationaa.com /campus
   Layout, type and components follow the ARM "Campus Microsite" Figma (desktop 1440 / mobile 390),
   on the light palette AA approved for the live site (10/28/25). */

@font-face { font-family: "AmericanSans"; font-weight: 300; font-display: swap; src: url("/assets/fonts/AmericanSansW05-Light.woff") format("woff"); }
@font-face { font-family: "AmericanSans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/AmericanSansW05-Regular.woff") format("woff"); }
@font-face { font-family: "AmericanSans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/AmericanSansW05-Medium.woff") format("woff"); }
@font-face { font-family: "AmericanSans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/AmericanSansW05-Bold.woff") format("woff"); }

:root {
	--bg: #D0DAE0;
	--ink: #181E25;
	--ink-soft: #131313;
	--blue: #0078D2;
	--blue-dark: #003E6C;
	--blue-link: #2097F1;
	--red: #ED1C24;
	--footer: #222E3A;
	--line: #181E25;
	--muted: #D9D9D9;
	--rail: 130px;
	--tabbar: 69px;
	--gutter: clamp(24px, 6.8vw, 98px); /* Figma: copy starts ~98px inside the rail */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tabbar) + 8px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "AmericanSans", "Helvetica Neue", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 300; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.icon {
	display: inline-block;
	background: currentColor;
	-webkit-mask: var(--src) center / contain no-repeat;
	mask: var(--src) center / contain no-repeat;
}

/* Section titles: Figma 48px AmericanSans Light */
.title { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.1; font-weight: 300; }

/* ---------- Rail + section pagination (desktop) ---------- */
.rail { display: none; }
@media (min-width: 992px) {
	.rail { display: block; position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 60; pointer-events: none; color: var(--ink); transition: color .2s; }
	.rail::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: currentColor; opacity: .5; }
	.rail.on-hero { color: #fff; }
	.rail-dots {
		position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
		display: flex; flex-direction: column; align-items: center; gap: 16px;
		pointer-events: auto;
	}
	.rail-dots a {
		position: relative; display: grid; place-items: center;
		width: 6px; height: 6px; border-radius: 50%;
		background: currentColor; transition: all .25s ease;
	}
	.rail-dots a.is-active { width: 28px; height: 28px; background: transparent; border: 1px solid currentColor; }
	.rail-dots a.is-active::before { /* red progress arc */
		content: ""; position: absolute; inset: -1px; border-radius: 50%;
		border: 1px solid transparent; border-left-color: var(--red); border-bottom-color: var(--red);
		transform: rotate(-20deg);
	}
	.rail-dots a.is-active::after {
		content: ""; width: 13px; height: 16px; background: currentColor;
		-webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: clamp(480px, 42.3vw, 760px);
	display: grid;
	place-items: center;
	overflow: hidden;
	color: #fff;
	background: #0b1620;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.hero h1 {
	position: relative; z-index: 1;
	max-width: 20ch; padding: 0 24px;
	text-align: center;
	font-size: clamp(40px, 3.9vw, 56px);
	line-height: 1.25;
	font-weight: 300;
}
/* Landing state (Figma "Desktop Pre"): Campus Programs + program buttons */
.hero-landing { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 3.6vw, 52px); padding: 0 24px; text-align: center; }
.hero-landing h1 { max-width: none; padding: 0; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.hero-buttons button {
	min-width: 174px; height: 54px; padding: 0 22px;
	border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff;
	font-size: clamp(18px, 1.55vw, 22px); font-weight: 400; cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.hero-buttons button:hover, .hero-buttons button:focus-visible { background: #fff; color: var(--ink); }
.hero.is-landing [data-panel] { display: none !important; }
.hero:not(.is-landing) [data-landing] { display: none !important; }
@media (max-width: 991px) {
	.hero-landing { gap: 28px; }
	.hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 340px; }
	.hero-buttons button { min-width: 0; height: 50px; padding: 0 10px; font-size: 17px; }
}

/* For photos where a centered title would cover a face */
.hero h1.low { align-self: end; margin-bottom: clamp(28px, 3.2vw, 48px); }

.topbar {
	position: absolute; top: 0; left: 0; right: 0; z-index: 40;
	display: flex; align-items: center;
	height: 116px; color: #fff;
}
.menu-btn { display: grid; place-items: center; width: var(--rail); height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn .icon { width: 48px; height: 14px; }
.topbar .logo { display: block; margin-left: 33px; }
.topbar .logo img { width: 75px; height: 74px; }
@media (max-width: 991px) {
	.topbar { height: 84px; }
	.menu-btn { width: 102px; }
	.topbar .menu-btn { border-right: 1px solid rgba(255,255,255,.85); height: 84px; }
	.topbar .logo { margin-left: 20px; }
	.topbar .logo img { width: 48px; height: 47px; }
	.hero { height: clamp(520px, 140vw, 770px); }
}

/* ---------- Sticky program tabs ---------- */
.tabbar {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: stretch;
	height: var(--tabbar);
	background: var(--blue);
	color: #fff;
}
.tabbar .menu-btn { flex: none; }
.tabbar .menu-btn .icon { width: 36px; height: 11px; }
.tabs {
	display: flex; flex: 1; justify-content: center;
	gap: clamp(20px, 4vw, 60px);
	overflow-x: auto; scrollbar-width: none;
	padding-right: var(--rail);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
	position: relative; flex: none;
	padding: 0 2px; border: 0; background: none;
	color: var(--muted);
	font-size: 18px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; }
@media (max-width: 991px) {
	.tabbar .menu-btn { display: none; }
	.tabs { justify-content: flex-start; gap: 30px; padding: 0 24px; scroll-padding: 0 24px; }
	.tab[aria-selected="true"] { font-weight: 700; }
}

/* ---------- Section frame ---------- */
.section { position: relative; }
.section + .section { border-top: 1px solid var(--line); }
@media (min-width: 992px) { .section { margin-left: var(--rail); } }

/* Program details */
.details { padding: clamp(56px, 5.6vw, 80px) 0 clamp(64px, 7vw, 100px); }
.details-head { text-align: center; padding: 0 24px; }
.top-lines { display: block; width: 100px; height: 1px; margin: 0 auto 24px; background: linear-gradient(to right, var(--red) 50%, var(--blue) 50%); }
.details-copy { max-width: 1006px; margin: 40px auto 0; padding: 0 24px; }
.details-copy p, .details-copy li { font-size: 18px; line-height: 29px; }
.details-copy ul { margin: 18px 0 0; padding-left: 1.1em; }
.details-copy li + li { margin-top: 14px; }
.details-copy li strong { font-weight: 500; }
.photo-strip {
	display: flex; gap: 18px;
	margin-top: 64px;
	padding: 0 24px 6px;
	overflow-x: auto; scroll-snap-type: x proximity;
	scrollbar-width: thin; scrollbar-color: rgba(24,30,37,.35) transparent;
}
@media (min-width: 768px) { /* desktop/tablet: four photos always fit, centered */
	.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1406px; margin-left: auto; margin-right: auto; overflow: visible; }
	.photo-strip img { width: 100%; }
}
/* phones: swipe strip; auto margins center it whenever it doesn't overflow */
.photo-strip > :first-child { margin-left: auto; }
.photo-strip > :last-child { margin-right: auto; }
.photo-strip img {
	flex: 0 0 auto; width: clamp(240px, 22.6vw, 326px); aspect-ratio: 326 / 311;
	object-fit: cover; border-radius: 6px; scroll-snap-align: start;
}

/* MBA departments (from the MBA Leadership Pipeline flyer, p.2) */
.departments { margin: clamp(56px, 6vw, 88px) 0 calc(-1 * clamp(64px, 7vw, 100px)); padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(56px, 6vw, 88px) clamp(24px, 7.4vw, 107px); background: var(--blue); color: #fff; }
.departments .title { margin-bottom: 40px; }
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); max-width: 1100px; }
.dept-col h3 { font-size: 24px; font-weight: 700; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.6); }
.dept-col dl { margin: 0; }
.dept-col dt { font-size: 17px; font-weight: 700; }
.dept-col dd { margin: 4px 0 22px; font-size: 16px; line-height: 1.45; font-weight: 300; }
@media (max-width: 767px) {
	.dept-grid { grid-template-columns: 1fr; }
	.dept-col + .dept-col { margin-top: 28px; }
}

/* Split callouts (Figma: 655x777 photo halves) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(560px, 54vw, 777px); }
.split-copy { padding: clamp(64px, 7.8vw, 113px) clamp(28px, 5vw, 72px) 72px var(--gutter); }
.split.reverse .split-copy { padding-left: clamp(28px, 4.4vw, 63px); }
.split-copy .title { margin-bottom: 44px; }
.split-copy ul { list-style: none; margin: 0; padding: 0; max-width: 510px; }
.split-copy li { font-size: 18px; line-height: 28px; font-weight: 500; }
.split-copy li + li { margin-top: 24px; }
.split-copy .lede { font-size: 18px; line-height: 28px; max-width: 483px; margin: -16px 0 32px; }
.split-copy .lede + ul li { font-size: 16px; }
.split-copy .note { font-size: 14px; line-height: 22px; font-style: italic; max-width: 483px; margin-top: 40px; }
.split-media { position: relative; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split.reverse .split-media { order: -1; }
@media (max-width: 991px) {
	.split { grid-template-columns: 1fr; min-height: 0; }
	.split-copy, .split.reverse .split-copy { padding: 56px 24px; }
	.split-copy .title { margin-bottom: 28px; }
	.split-media, .split.reverse .split-media { order: 0; }
	.split-media img { position: static; aspect-ratio: 655 / 640; }
}

/* Key milestones (Figma: blue panel, staggered pill timeline) */
.milestones { background: var(--blue); color: #fff; padding: clamp(56px, 6.6vw, 95px) var(--gutter) clamp(56px, 6vw, 86px) clamp(24px, 7.4vw, 107px); }
.milestones-head { display: grid; grid-template-columns: minmax(0, 375px) minmax(0, 688px); gap: 0 clamp(24px, 3vw, 64px); align-items: start; }
.milestone-text { font-size: 21px; line-height: 28px; min-height: 84px; transition: opacity .2s ease; }
.milestones hr { border: 0; border-top: 1px solid var(--muted); margin: 40px 0 26px; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--steps) * 49px); }
.timeline li { position: absolute; top: calc(var(--i) * 49px); left: calc(var(--i) * 100% / (var(--steps) + .55)); width: calc(100% / (var(--steps) + .55) * 1.55); }
.timeline button {
	width: 100%; height: 44px; padding: 0 18px;
	border: 0; border-radius: 33px;
	background: rgba(237, 28, 36, .2); color: #fff;
	font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
	transition: background .2s ease;
}
.timeline button:hover, .timeline button:focus-visible, .timeline button.is-active { background: var(--blue-dark); }
@media (max-width: 991px) {
	.milestones-head { grid-template-columns: 1fr; gap: 20px; }
	.milestone-text { min-height: 140px; font-size: 18px; }
	.timeline { height: auto; display: grid; gap: 10px; }
	.timeline li { position: static; width: auto; margin-left: calc(var(--i) * 6%); }
}

/* Testimonials: masonry of portrait video cards, scrolls sideways (Figma note) */
.testimonials { padding: clamp(56px, 6vw, 86px) 0 clamp(64px, 7vw, 100px); }
.testimonials .title { padding-left: clamp(24px, 7.4vw, 108px); margin-bottom: 64px; }
.video-rail {
	display: flex; gap: 18px; align-items: flex-start;
	padding: 0 24px 8px clamp(24px, 6.8vw, 97px);
	overflow-x: auto; scroll-snap-type: x proximity;
	scrollbar-width: thin; scrollbar-color: rgba(24,30,37,.35) transparent;
}
.video-col { flex: 0 0 auto; display: flex; flex-direction: column; gap: 18px; scroll-snap-align: start; }
.video-card {
	position: relative; margin: 0; overflow: hidden; cursor: pointer;
	width: clamp(240px, 24.3vw, 350px); height: var(--h, 402px);
	border-radius: 6px; background: #0b1620;
}
.video-card.large { width: clamp(300px, 41.9vw, 603px); height: clamp(420px, 49.6vw, 715px); border-radius: 10px; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.55)); transition: opacity .25s; pointer-events: none; }
.video-card figcaption { position: absolute; left: 28px; right: 20px; bottom: 26px; z-index: 1; color: #fff; pointer-events: none; transition: opacity .25s; }
.video-card .name { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; font-weight: 500; }
.video-card .role { font-size: clamp(16px, 1.46vw, 21px); line-height: 1.3; padding-left: 22px; }
.video-card.large .role { font-size: clamp(18px, 1.67vw, 24px); }
.video-card .play {
	position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(0,0,0,.25);
	display: grid; place-items: center; transition: opacity .25s; pointer-events: none;
}
.video-card .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-card.is-playing::after, .video-card.is-playing figcaption, .video-card.is-playing .play { opacity: 0; }
@media (max-width: 767px) {
	.video-card, .video-card.large { width: 78vw; height: auto; aspect-ratio: 9 / 15; }
	.video-col { gap: 14px; }
}

/* Co-Op chart */
.chart-wrap { padding: clamp(56px, 6vw, 86px) var(--gutter) clamp(64px, 7vw, 100px) clamp(24px, 7.4vw, 108px); }
.chart-wrap .title { margin-bottom: 48px; }
.chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.chart-col + .chart-col { border-left: 1px solid var(--line); }
.chart h3 { padding: 18px 20px; background: var(--blue); color: #fff; font-size: 21px; font-weight: 500; text-align: center; }
.chart ul { list-style: none; margin: 0; padding: 0; }
.chart li { padding: 14px 20px; font-size: 18px; text-align: center; }
.chart li:nth-child(even) { background: #EEF2F5; }
.chart-note { margin-top: 14px; font-size: 14px; font-style: italic; }
@media (max-width: 767px) {
	.chart { grid-template-columns: 1fr; }
	.chart-col + .chart-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* FAQs (Figma: 960px accordion inset from the title) */
.faq { padding: clamp(56px, 6.6vw, 98px) 24px clamp(72px, 9vw, 128px) clamp(24px, 7.4vw, 108px); }
.faq .title { margin-bottom: 26px; }
.faq-list { max-width: 960px; margin-left: clamp(0px, 4.2vw, 60px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 24px 0; font-size: 18px; font-weight: 700; line-height: 1.2;
	cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; width: 14px; height: 14px; --src: url("/assets/img/faq-open.svg"); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 26px; font-size: 16px; line-height: 1.4; max-width: 82ch; }
.faq-answer ul { margin: 12px 0 0; padding-left: 1.2em; }
.faq-answer li + li { margin-top: 10px; }

/* ---------- Footer (dark, per Figma) ---------- */
.footer { background: var(--footer); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #fff; }
@media (min-width: 992px) { .footer-inner { margin-left: var(--rail); } }
.footer-col { padding: 58px clamp(24px, 6vw, 84px) 40px; display: flex; flex-direction: column; min-height: 300px; }
.footer-col + .footer-col { border-left: 1px solid #fff; padding-top: 84px; }
.footer-logo { width: 234px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 30px 0 auto; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-decoration: none; }
.footer-links a .icon { width: 13px; height: 12px; color: var(--blue-link); transform: rotate(-45deg); }
.footer-links a:hover { text-decoration: underline; }
.footer-rights { margin-top: 36px; font-size: 12px; font-weight: 300; line-height: 25px; }
.footer-connect { font-size: 21px; line-height: 25px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.footer-socials .icon { width: 25px; height: 25px; color: #fff; }
@media (max-width: 767px) {
	.footer-inner { grid-template-columns: 1fr; }
	.footer-col + .footer-col { border-left: 0; border-top: 1px solid #fff; padding-top: 40px; }
	.footer-col { min-height: 0; }
}

/* ---------- Menu (Figma "Open Nav": white panel + photo) ---------- */
.menu {
	width: 100vw; height: 100vh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: #fff; color: var(--ink-soft);
}
.menu[open] { display: grid; grid-template-columns: 54.45% 1fr; animation: menu-in .25s ease; }
.menu::backdrop { background: rgba(10, 20, 30, .5); }
@keyframes menu-in { from { opacity: 0; } }
.menu-panel { display: flex; flex-direction: column; padding: 42px 52px 34px; overflow-y: auto; outline: none; }
.menu-top { display: flex; align-items: center; }
.menu-close { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-close .icon { width: 24px; height: 24px; --src: url("/assets/img/menu-close.svg"); color: var(--ink-soft); }
.menu-logo { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 23px; margin: 66px 0 auto; }
.menu nav a { position: relative; align-self: flex-start; font-size: clamp(34px, 3.75vw, 54px); font-weight: 700; line-height: 1.2; text-decoration: none; }
.menu nav a.is-current::after { content: ""; position: absolute; left: 3px; bottom: -6px; width: 55px; height: 4px; background: var(--red); }
.menu nav a:hover { color: var(--blue); }
.menu-socials { display: flex; gap: 26px; list-style: none; margin: 40px 0 0; padding: 0; }
.menu-socials .icon { width: 25px; height: 25px; color: var(--footer); }
.menu-photo { background-size: cover; background-position: center; }
@media (max-width: 991px) {
	.menu[open] { grid-template-columns: 1fr; }
	.menu-photo { display: none; }
	.menu-panel { padding: 24px 24px 34px; }
	.menu-top { gap: 56px; }
	.menu-logo { display: block; width: 46px; }
	.menu nav { margin-top: 72px; gap: 22px; }
	.menu nav a { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
