:root {
  --black: #050608;
  --black-soft: #0a0b0e;
  --white: #f5f6f7;
  --grey: #aeb4bc;
  --grey-dark: #717984;
  --line: rgba(245, 246, 247, .22);
  --line-soft: rgba(245, 246, 247, .12);
  --accent: #87bce0;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-shell { min-width: 320px; background: var(--black); }
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 78px; padding: 16px 42px; transition: background .3s ease, transform .3s ease; }
.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: transparent; content: ""; transition: background .3s ease; }
.site-header.header-scrolled { background: rgba(5, 6, 8, .84); backdrop-filter: blur(15px); }
.site-header.header-scrolled::after { background: var(--line-soft); }
.site-header.header-hidden { transform: translateY(-100%); }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; width: 166px; }
.brand img { width: 100%; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 33px; margin-left: auto; }
.site-nav a, .header-contact, .footer-links a, .footer-links button { border: 0; background: none; color: rgba(245, 246, 247, .84); cursor: pointer; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover, .header-contact:hover, .footer-links a:hover, .footer-links button:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 30px; }
.header-contact { padding: 7px 0; color: #fff; }
.header-contact span, .panel-link span, .form-submit span { color: var(--accent); font-size: 17px; margin-left: 6px; }
.menu-button { display: none; position: relative; width: 41px; height: 41px; padding: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--white); }

.story-panel { position: relative; display: flex; align-items: flex-end; min-height: 88vh; padding: 150px max(42px, calc((100vw - 1360px) / 2)) 76px; overflow: hidden; isolation: isolate; }
.story-hero { min-height: 100vh; }
.panel-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.panel-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .08) 14%, rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .88) 100%); }
.story-photo-right .panel-image { object-position: center 48%; }
.story-photo-bottom .panel-image { object-position: center 58%; }
.panel-content { max-width: 580px; }
.panel-content-hero { max-width: 650px; padding-bottom: 19px; }
.panel-kicker { margin: 0 0 20px; color: rgba(245, 246, 247, .72); font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.panel-kicker::before { display: inline-block; width: 28px; height: 1px; margin: 0 12px 3px 0; background: var(--accent); content: ""; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.065em; }
h1 { max-width: 700px; margin-bottom: 21px; font-size: clamp(66px, 9vw, 137px); line-height: .91; }
h2 { max-width: 680px; margin-bottom: 24px; font-size: clamp(51px, 7vw, 100px); line-height: .94; }
h1 span, h2 span { color: var(--accent); }
.panel-subtitle { margin-bottom: 34px; color: #e1e5e9; font-size: 18px; }
.panel-copy { max-width: 430px; margin-bottom: 32px; color: rgba(245, 246, 247, .77); font-size: 16px; line-height: 1.65; }
.panel-link { display: inline-flex; align-items: center; padding: 0 0 8px; border: 0; border-bottom: 1px solid rgba(245, 246, 247, .65); background: transparent; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease; }
.panel-link:hover { border-color: var(--accent); color: var(--accent); }
.panel-button { font-weight: 700; }
.panel-footer-note { position: absolute; right: max(42px, calc((100vw - 1360px) / 2)); bottom: 77px; color: rgba(245, 246, 247, .52); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.panel-footer-note span { margin-right: 10px; color: var(--accent); }
.scroll-mark { position: absolute; right: 50%; bottom: 0; width: 1px; height: 55px; background: linear-gradient(to bottom, rgba(245, 246, 247, .1), rgba(245, 246, 247, .7)); }
.scroll-mark span { position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.story-dark { min-height: 86vh; background: var(--black); }
.story-dark::before { position: absolute; top: 14%; right: -9vw; width: 53vw; height: 53vw; max-width: 720px; max-height: 720px; border: 1px solid rgba(245, 246, 247, .09); border-radius: 50%; content: ""; }
.story-dark::after { position: absolute; top: 22%; right: 9%; width: 21vw; height: 21vw; max-width: 300px; max-height: 300px; border: 1px solid rgba(135, 188, 224, .24); border-radius: 50%; content: ""; }
.story-dark .panel-content { position: relative; z-index: 1; }
.dark-line { position: absolute; top: 50%; right: 12%; width: 36%; height: 1px; background: linear-gradient(90deg, transparent, rgba(135, 188, 224, .4)); }
.wordmark-note { position: absolute; right: max(42px, calc((100vw - 1360px) / 2)); bottom: 74px; color: var(--grey-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }
.story-readiness { min-height: 86vh; align-items: center; padding-top: 120px; }
.story-readiness .panel-content { margin-top: 70px; }
.readiness-mark { position: absolute; top: 50%; right: 12%; display: flex; align-items: center; gap: 18px; color: var(--grey-dark); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; transform: translateY(-50%) rotate(-18deg); }
.readiness-mark i { display: block; width: 95px; height: 1px; background: var(--accent); }

.platform-detail { display: grid; grid-template-columns: .82fr 1.18fr; gap: 95px; min-height: 88vh; padding: 150px max(42px, calc((100vw - 1360px) / 2)) 145px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #0a0b0e; }
.detail-intro { align-self: start; max-width: 520px; }
.detail-intro h2 { margin-bottom: 30px; font-size: clamp(49px, 5.9vw, 83px); }
.detail-intro > p:not(.panel-kicker):not(.detail-note) { max-width: 475px; color: var(--grey); font-size: 15px; line-height: 1.72; }
.detail-note { max-width: 390px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--grey-dark); font-family: var(--mono); font-size: 10px; line-height: 1.7; }
.detail-list { align-self: start; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 43px 1fr 125px; gap: 25px; align-items: start; padding: 27px 0 29px; border-bottom: 1px solid var(--line-soft); }
.detail-index { padding-top: 4px; color: var(--accent); font-family: var(--mono); font-size: 10px; }
.detail-row h3 { margin: 0 0 9px; font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.detail-row p { max-width: 480px; margin: 0; color: var(--grey); font-size: 13px; line-height: 1.7; }
.detail-audience { padding-top: 5px; color: var(--grey-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; line-height: 1.6; text-align: right; text-transform: uppercase; }

.capability-section { display: grid; grid-template-columns: .83fr 1.17fr; gap: 95px; min-height: 86vh; padding: 145px max(42px, calc((100vw - 1360px) / 2)); background: var(--black); }
.capability-intro { align-self: start; max-width: 520px; }
.capability-intro h2 { margin-bottom: 29px; font-size: clamp(49px, 5.8vw, 82px); }
.capability-intro > p:not(.panel-kicker) { max-width: 450px; margin-bottom: 32px; color: var(--grey); font-size: 15px; line-height: 1.72; }
.capability-list { align-self: start; border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 112px 1fr; gap: 30px; padding: 26px 0 28px; border-bottom: 1px solid var(--line-soft); }
.capability-row > span { padding-top: 5px; color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.capability-row h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.04em; }
.capability-row p { max-width: 470px; margin: 0; color: var(--grey); font-size: 13px; line-height: 1.7; }
.internship-section { min-height: 88vh; }
.internship-section .panel-copy { max-width: 515px; }
.intern-actions { display: flex; flex-wrap: wrap; gap: 27px; align-items: center; }
.intern-track { position: absolute; right: max(42px, calc((100vw - 1360px) / 2)); bottom: 78px; display: flex; flex-direction: column; gap: 9px; color: rgba(245, 246, 247, .56); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-align: right; }
.intern-track span::before { display: inline-block; width: 22px; height: 1px; margin: 0 9px 3px 0; background: var(--accent); content: ""; }

.ecosystem-panel { padding: 153px max(42px, calc((100vw - 1360px) / 2)) 138px; background: #0a0b0e; }
.ecosystem-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; margin-bottom: 75px; }
.ecosystem-heading h2 { flex: 1; margin-bottom: 0; font-size: clamp(42px, 5.5vw, 75px); }
.ecosystem-copy { width: min(330px, 100%); margin-bottom: 3px; color: var(--grey); font-size: 14px; }
.logo-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-item { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 125px; padding: 22px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: visible; }
.logo-item:last-child { border-right: 0; }
.logo-item img { display: block; width: min(100%, 190px); height: 48px; object-fit: contain; object-position: center; filter: grayscale(1) brightness(0) invert(1); opacity: .78; transition: opacity .2s ease; }
.logo-item-wide img { width: min(100%, 245px); }
.logo-item .emory-mark { width: min(100%, 145px); height: 58px; object-fit: contain; }
.logo-item img:hover { opacity: 1; }
.logo-note { margin: 16px 0 0; color: var(--grey-dark); font-family: var(--mono); font-size: 9px; line-height: 1.6; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 40px; align-items: start; padding: 35px max(42px, calc((100vw - 1360px) / 2)) 42px; border-top: 1px solid var(--line-soft); background: var(--black); }
.footer-left { display: flex; flex-direction: column; gap: 9px; }
.footer-left img { width: 145px; filter: brightness(0) invert(1); }
.footer-left span, .footer-right, .footer-links a, .footer-links button { color: var(--grey-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; padding-top: 6px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }

.contact-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 25px; }
.contact-overlay[hidden] { display: none; }
.contact-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(8px); }
.contact-dialog { position: relative; z-index: 1; width: min(760px, 100%); max-height: calc(100vh - 50px); overflow: auto; border: 1px solid rgba(245, 246, 247, .25); background: #0b0c10; box-shadow: 0 35px 100px rgba(0, 0, 0, .6); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 17px 23px; border-bottom: 1px solid var(--line-soft); color: var(--grey-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.dialog-top button { padding: 0; border: 0; background: none; color: var(--grey); cursor: pointer; font-size: 26px; font-weight: 300; line-height: 1; }
.dialog-body { padding: 35px; }
.dialog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 36px; }
.dialog-heading h2 { margin-bottom: 0; font-size: 49px; }
.dialog-heading > p:last-child { width: 220px; margin-bottom: 4px; color: var(--grey); font-size: 13px; }
.form-switcher { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.form-switch { position: relative; padding: 0 0 13px; border: 0; background: none; color: var(--grey-dark); cursor: pointer; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.form-switch::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: transparent; content: ""; }
.form-switch.active { color: var(--accent); }
.form-switch.active::after { background: var(--accent); }
.contact-form label { display: flex; flex-direction: column; gap: 8px; color: var(--grey); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 23px; margin-bottom: 21px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(245, 246, 247, .22); border-radius: 0; outline: 0; background: transparent; color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; transition: border-color .2s ease; }
.contact-form input, .contact-form select { height: 42px; }
.contact-form textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #646d77; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b949e 50%), linear-gradient(135deg, #8b949e 50%, transparent 50%); background-position: calc(100% - 9px) 17px, 100% 17px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.form-submit { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; padding: 0 0 8px; border: 0; border-bottom: 1px solid rgba(245, 246, 247, .65); background: none; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.form-submit:hover { border-color: var(--accent); color: var(--accent); }
.dialog-footnote { margin: 24px 0 0; color: var(--grey-dark); font-family: var(--mono); font-size: 9px; }
.dialog-form-note { margin: 20px 0 0; color: var(--grey-dark); font-family: var(--mono); font-size: 9px; line-height: 1.6; }
.dialog-form-note a { color: var(--accent); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 9px; padding: 14px 16px; border: 1px solid var(--line); background: #0b0c10; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast strong { font-size: 12px; font-weight: 600; }
.toast span { color: var(--grey); font-family: var(--mono); font-size: 9px; }
.toast button { margin-left: 15px; padding: 0; border: 0; background: none; color: var(--grey); cursor: pointer; font-size: 19px; }

.fade-in { opacity: 1; transform: none; }
.js-ready .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.js-ready .fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { padding-inline: 25px; }
  .story-panel { padding-inline: 25px; }
  .panel-footer-note, .wordmark-note { right: 25px; }
  .ecosystem-panel { padding-inline: 25px; }
  .site-footer { padding-inline: 25px; }
  .ecosystem-heading { display: block; }
  .ecosystem-copy { width: min(410px, 100%); margin-top: 25px; }
  .logo-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-item { min-width: 0; padding-inline: 16px; }
}

@media (max-width: 800px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .brand { width: 145px; }
  .site-nav { position: absolute; top: 68px; right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); background: rgba(5, 6, 8, .98); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 17px 19px; border-bottom: 1px solid var(--line-soft); font-size: 10px; }
  .site-nav a:last-child { border-bottom: 0; }
  .header-contact { display: none; }
  .menu-button { display: block; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .brand { width: 145px; }
  .site-nav { position: absolute; top: 68px; right: 18px; left: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); background: rgba(5, 6, 8, .98); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 17px 19px; border-bottom: 1px solid var(--line-soft); font-size: 10px; }
  .site-nav a:last-child { border-bottom: 0; }
  .header-contact { display: none; }
  .menu-button { display: block; }
  .story-panel, .story-hero { min-height: 89vh; padding: 120px 19px 65px; }
  .story-hero { min-height: 100vh; }
  h1 { font-size: clamp(60px, 16vw, 93px); }
  h2 { font-size: clamp(49px, 14vw, 77px); }
  .panel-copy { max-width: 360px; font-size: 14px; }
  .panel-footer-note { right: 19px; bottom: 24px; max-width: 230px; line-height: 1.5; text-align: right; }
  .scroll-mark { right: 19px; height: 35px; }
  .story-dark::before { right: -45vw; width: 110vw; height: 110vw; }
  .story-dark::after { right: 10%; width: 45vw; height: 45vw; }
  .dark-line { top: 43%; right: 9%; width: 65%; }
  .wordmark-note { right: 19px; bottom: 23px; font-size: 8px; }
  .readiness-mark { top: auto; right: 22px; bottom: 30px; transform: rotate(-18deg); }
  .platform-detail { display: block; min-height: auto; padding: 105px 19px 92px; }
  .detail-intro { margin-bottom: 65px; }
  .detail-intro h2 { font-size: clamp(47px, 12vw, 68px); }
  .detail-row { grid-template-columns: 31px 1fr; gap: 15px; padding: 24px 0 26px; }
  .detail-audience { grid-column: 2; padding-top: 0; text-align: left; }
  .detail-row h3 { font-size: 23px; }
  .detail-row p { font-size: 13px; }
  .capability-section { display: block; min-height: auto; padding: 105px 19px 92px; }
  .capability-intro { margin-bottom: 65px; }
  .capability-intro h2 { font-size: clamp(47px, 12vw, 68px); }
  .capability-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0 26px; }
  .capability-row > span { padding-top: 0; }
  .internship-section { min-height: 89vh; }
  .internship-section .panel-content { padding-bottom: 78px; }
  .intern-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .intern-track { right: 19px; bottom: 23px; font-size: 8px; }
  .ecosystem-panel { padding: 105px 19px 92px; }
  .ecosystem-heading { margin-bottom: 48px; }
  .ecosystem-heading h2 { font-size: clamp(39px, 11vw, 57px); }
  .logo-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-item { min-height: 102px; padding: 18px 12px; }
  .logo-item img, .logo-item-wide img { width: min(100%, 145px); height: 42px; }
  .logo-item .emory-mark { width: min(100%, 120px); height: 48px; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; padding: 30px 19px 35px; }
  .footer-right { align-items: flex-start; text-align: left; }
  .dialog-body { padding: 24px 20px 28px; }
  .dialog-heading { display: block; margin-bottom: 28px; }
  .dialog-heading h2 { font-size: 47px; }
  .dialog-heading > p:last-child { width: auto; margin-top: 19px; }
  .field-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-dialog { max-height: calc(100vh - 28px); }
  .contact-overlay { padding: 14px; }
  .form-switcher { gap: 14px; }
  .form-switch { font-size: 8px; }
  .toast { right: 15px; bottom: 15px; left: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
