@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #151619;
  --paper: #ffffff;
  --red: #d31932;
  --red-dark: #b41027;
  --line: #e3e5e9;
  --muted: #555c68;
  --surface: #f5f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.skip { position: absolute; top: -100px; background: white; z-index: 4; padding: 10px; }
.skip:focus { top: 5px; }
header { height: 88px; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: white; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.mark { display: block; width: 48px; height: 48px; flex: none; }
nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 700; }
nav a { transition: color .2s; }
nav a:hover, nav a[aria-current] { color: var(--red); }
.nav-apply { background: var(--red); color: white; border: 1px solid var(--red); border-radius: 8px; padding: 10px 22px; }
nav .nav-apply:hover, nav .nav-apply[aria-current] { background: var(--red-dark); color: white; }
.wrap { width: min(1160px, 90%); margin-inline: auto; }
.hero { color: white; position: relative; min-height: 650px; display: flex; align-items: center; background: #151619; background-image: linear-gradient(90deg, rgba(15,16,19,.94), rgba(15,16,19,.76) 45%, rgba(15,16,19,.12)), url('images/cornell-sunset.jpg'); background-size: cover; background-position: center, center 48%; }
.hero-content { padding: 76px 0 92px; animation: arrive .75s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.eyebrow span { width: 24px; height: 3px; background: var(--red); }
.hero h1, .banner h1, h2 { font-family: 'DM Sans', sans-serif; font-weight: 800; letter-spacing: -.055em; line-height: 1.05; margin: 22px 0 26px; }
.hero h1 { font-size: clamp(58px, 7.2vw, 102px); max-width: 850px; }
.hero em { color: white; font-style: normal; }
.hero em::after { content: ''; display: block; width: 76px; height: 6px; margin-top: 26px; background: var(--red); }
.hero p:not(.eyebrow), .banner p:not(.eyebrow) { max-width: 510px; font-size: 18px; color: #e5e7eb; }
.actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--red); color: white; padding: 13px 23px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 16px; transition: background .2s, transform .2s; }
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.ghost { background: #ffffff0a; border-color: #ffffff80; }
.ghost:hover { background: #ffffff20; }
.location { position: absolute; right: 5%; bottom: 24px; font-size: 12px; letter-spacing: .12em; color: #e5e7eb; }
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 88px 0 68px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(36px, 4.4vw, 58px); }
.intro p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 18px; }
.arrow { color: var(--red); font-weight: 700; }
.arrow:hover { color: var(--red-dark); }
.home-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px 0 80px; }
.home-links a { padding: 28px; background: var(--surface); border: 1px solid transparent; border-radius: 14px; transition: border-color .2s, background .2s; }
.home-links a:hover { border-color: var(--red); background: white; }
.home-links small { color: var(--muted); font-size: 12px; font-weight: 700; }
small { letter-spacing: .08em; }
h3 { margin: .3em 0; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.banner { background: #17181c; color: white; padding: 58px 0 68px; }
.banner h1 { font-size: clamp(54px, 7vw, 92px); }
.body { padding: 64px 0 88px; }
.body > p { color: var(--muted); }
.body h2:not(:first-child) { margin-top: 56px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0; }
.two { grid-template-columns: repeat(2, 1fr); }
article, .timeline li { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 5px 22px #15161904; }
article p, .timeline p { color: var(--muted); }
.timeline { padding: 0; list-style-position: inside; }
.timeline li { background: var(--surface); border-color: transparent; }
.timeline li::marker { color: var(--red); font-weight: 800; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-weight: 700; font-size: 18px; }
details p { max-width: 740px; color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; padding: 5px; background: var(--surface); border-radius: 10px; margin-bottom: 30px; }
.tabs button, select { padding: 10px 18px; background: transparent; border: 1px solid transparent; border-radius: 7px; color: var(--muted); font-weight: 600; }
.tabs button:hover { color: var(--ink); background: #e9ebef; }
.tabs button[aria-pressed=true] { background: white; color: var(--ink); border-color: var(--line); box-shadow: 0 2px 6px #1516190a; }
.portrait { display: grid; place-items: center; aspect-ratio: 1/1; background: var(--surface); font-size: 36px; color: var(--ink); overflow: hidden; border-radius: 9px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.portrait:hover img, .portrait:focus-visible img { transform: scale(1.025); }
.portrait img, .portrait:hover img, .portrait:focus-visible img { filter: none!important; -webkit-filter: none!important; }
#team-content article { padding: 16px; }
#team-content article h3 { margin: 20px 4px 6px; }
#team-content article strong { margin-inline: 4px; color: var(--muted); font-size: 14px; font-weight: 500; }
.member-link { display: block; margin: 14px 4px 5px; color: var(--red); font-weight: 700; font-size: 14px; }
.member-link:hover { color: var(--red-dark); text-decoration: underline; }
.directory-heading { grid-column: 1/-1; font-size: 36px; margin: 30px 0 8px; }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact p { color: var(--muted); }
form { background: var(--surface); padding: 32px; border: 1px solid var(--line); border-radius: 16px; }
label { display: block; font-weight: 600; margin-bottom: 18px; font-size: 14px; }
input, textarea { display: block; width: 100%; border: 1px solid #c8cdd5; border-radius: 8px; padding: 11px 13px; background: white; color: var(--ink); margin-top: 7px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px #d3193214; }
#team-content > label { max-width: 460px; }
footer { background: #151619; color: white; padding: 40px 0 28px; }
.foot, .foot div { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.foot a:hover { color: #ffb7c1; }
.foot small { color: #b8bdc7; font-size: 12px; }
.client-logo { height: 128px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 24px; padding: 14px; background: white; }
.client-logo img { max-width: 210px; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.placement-logos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.placement-logo { height: 100px; display: flex; align-items: center; justify-content: center; background: white; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.placement-logo img { max-width: 100%; max-height: 62px; object-fit: contain; }
.campus-feature { margin: 48px 0; position: relative; overflow: hidden; border-radius: 16px; }
.campus-feature img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center 46%; }
.campus-feature figcaption { position: absolute; bottom: 18px; left: 20px; background: white; padding: 7px 14px; border-radius: 6px; font-size: 14px; }
.photo-credit { font-size: 12px; line-height: 1.5; margin-top: 30px; color: #aeb4bf; }
.photo-credit a { text-decoration: underline; }
[hidden] { display: none!important; }
@media(max-width: 850px) {
  nav { gap: 18px; }
  .hero h1 { font-size: 76px; }
  .grid { gap: 16px; }
  article { padding: 20px; }
  .contact { gap: 30px; }
}
@media(max-width: 650px) {
  header { height: auto; padding-block: 18px; align-items: flex-start; flex-direction: column; gap: 18px; }
  nav { gap: 20px; flex-wrap: wrap; width: 100%; font-size: 14px; }
  .nav-apply { padding: 7px 16px; }
  .hero { min-height: 570px; background-position: center, 61% center; }
  .hero-content { padding: 56px 0 86px; }
  .hero h1 { font-size: clamp(48px, 11.8vw, 72px); letter-spacing: -.055em; }
  .hero p:not(.eyebrow) { font-size: 17px; max-width: 360px; }
  .eyebrow { font-size: 12px; letter-spacing: .08em; }
  .location { left: 5%; right: auto; font-size: 11px; }
  .intro, .contact, .grid, .home-links { grid-template-columns: 1fr; }
  .intro { gap: 8px; padding: 52px 0 44px; }
  .intro h2 { margin-top: 10px; }
  .home-links { padding-bottom: 52px; }
  .banner { padding: 36px 0 46px; }
  .banner h1 { font-size: 54px; }
  .body { padding: 38px 0 60px; }
  .directory-heading { font-size: 32px; }
  #team-content article { padding: 14px; }
  form { padding: 22px; }
  .campus-feature img { height: 260px; }
  .campus-feature figcaption { left: 12px; bottom: 12px; font-size: 12px; }
  .contact .arrow { overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none!important; transition: none!important; }
}
