:root {
  color-scheme: light;
  --oxford-blue: #002147;
  --tan: #d2b48c;
  --deep-blue: #173755;
  --cream: #f6efe5;
  --auburn: var(--oxford-blue);
  --gold: var(--tan);
  --slate: var(--deep-blue);
  --vanilla: var(--cream);
  --paper: var(--cream);
  --ink: #17283a;
  --muted: #65717d;
  --line: rgba(0, 33, 71, .2);
  --serif: Georgia, serif;
  --sans: Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
.screen-mode main > section:not(.is-active) { display: none; }
.screen-mode main > section.is-active { animation: screen-in .28s ease-out; }
@keyframes screen-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.brand-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.header-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 14px clamp(24px, 5vw, 72px);
  background: var(--auburn);
  color: var(--vanilla);
}
.rail-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  text-decoration: none;
}
.rail-brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: url(#tan-mark);
}
.rail-wordmark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}
.header-tagline { margin: 0; color: var(--tan); font-family: var(--serif); font-size: 14px; font-weight: 600; }
.software-marks { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.software-mark { display: grid; width: 28px; height: 28px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--tan); }
.software-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; }
.software-mark-stata { width: 36px; }
.rail-nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(18px, 3vw, 42px); margin: 0; border-top: 1px solid rgba(246, 239, 229, .22); padding-top: 4px; }
.rail-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  color: var(--vanilla);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.rail-nav a:hover, .rail-nav a:focus-visible, .rail-nav a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}
main { min-width: 0; }
.hero {
  position: relative;
  display: flex;
  min-height: 740px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px clamp(30px, 6vw, 90px) 38px;
  background-color: var(--oxford-blue);
  color: var(--vanilla);
  isolation: isolate;
}
.hero::before, .hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}
.hero::before {
  inset: 0;
  background: var(--tan);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 56% 100%);
}
.hero::after {
  display: none;
  right: 10%;
  bottom: 16%;
  width: min(22vw, 270px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 33, 71, .24);
  border-radius: 50%;
}
.hero-topline { position: relative; z-index: 1; display: flex; align-items: center; }
.hero-topline { justify-content: flex-end; gap: 20px; }
.hero-emblem { position: absolute; z-index: 1; top: 50%; right: 13%; width: min(19vw, 230px); aspect-ratio: 1; object-fit: contain; filter: url(#oxford-mark); pointer-events: none; transform: translateY(-50%); }
.hero-edition { margin: 0; color: var(--oxford-blue); font-size: 11px; text-align: right; }
.hero-edition span { display: block; margin-top: 2px; color: var(--deep-blue); font-size: 10px; font-weight: 600; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 660px); margin: 42px 0 50px; }
.hero-copy .software-marks { width: fit-content; margin-bottom: 22px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow-rule { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.hero h1, .contact h2 {
  margin: 22px 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 700;
  line-height: 1.08;
}
.hero h1 span, .contact h2 em { color: var(--vanilla); font-style: normal; }
.hero h1 { font-size: 72px; }
.hero-intro { max-width: 540px; margin: 22px 0 0; color: rgba(246, 239, 229, .86); font-size: 18px; }
.text-link { color: var(--gold); font-weight: 700; text-decoration: none; }
.hero-link { display: inline-flex; gap: 14px; margin-top: 31px; border-bottom: 1px solid rgba(210, 180, 140, .6); padding-bottom: 8px; }
.install-app-button, .install-app-hint { display: none; }
.install-app-button:not([hidden]) { align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--tan); padding: 10px 13px; background: transparent; color: var(--tan); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.install-app-button:hover { background: rgba(210, 180, 140, .12); }
.install-app-button:disabled { cursor: wait; opacity: .7; }
.hero-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; color: rgba(246, 239, 229, .72); font-size: 12px; }
.hero-footer > span { color: var(--tan); }

.section-pad { padding: 92px clamp(28px, 6vw, 88px); }
.ink-eyebrow { color: var(--auburn); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 42px; }
.section-heading h2 {
  margin: 0;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}
.section-heading > p { max-width: 450px; margin: 0 0 5px; color: #535a51; }
.services { min-height: calc(100vh - 154px); background: var(--paper); padding: clamp(30px, 6vw, 72px) clamp(24px, 8vw, 104px); }
.section-heading { margin-bottom: 43px; }
.section-heading h2 { margin-top: 11px; font-size: 44px; }
.section-heading > p { font-size: 14px; }
.service-options { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.service-card { border-bottom: 1px solid var(--line); padding: 25px 4px 28px; }
.service-card-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 15px; }
.service-index { color: var(--auburn); font-size: 11px; font-weight: 700; }
.service-card-heading h2 { margin: 0; color: var(--slate); font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.service-card-content { display: grid; gap: 12px; max-width: 700px; margin: 14px 0 0 63px; }
.service-card-content p { margin: 0; color: #45515d; font-size: 14px; line-height: 1.7; }
.service-more-details { display: flex; width: min(100%, 190px); min-height: 42px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; border-bottom: 1px solid rgba(0, 33, 71, .38); color: var(--oxford-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.service-more-details:hover { color: #8a2535; border-color: #8a2535; }
.service-detail-screen { min-height: calc(100vh - 154px); background: var(--paper); }
.detail-page { max-width: 1050px; margin: 0 auto; }
.detail-page-brief { max-width: 800px; min-height: 55vh; }
.detail-back { display: inline-block; margin-bottom: 34px; color: var(--oxford-blue); font-size: 13px; font-weight: 700; text-decoration-color: var(--tan); text-underline-offset: 5px; }
.detail-page > .eyebrow { margin-bottom: 12px; }
.detail-page > h1 { max-width: 800px; margin: 0; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.1; }
.detail-lead { max-width: 760px; margin: 20px 0 0; color: #45515d; font-size: 16px; line-height: 1.75; }
.software-listing { max-width: 780px; margin: 18px 0 0; color: var(--oxford-blue); font-size: 14px; font-weight: 700; line-height: 1.8; }
.software-listing span { color: #8a2535; }
.course-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 34px; }
.course-offer { display: flex; min-width: 0; flex-direction: column; border-top: 3px solid var(--tan); padding: 19px; background: #fffdf9; }
.course-duration { margin: 0; color: #8a2535; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.course-offer h2 { margin: 12px 0 8px; color: var(--oxford-blue); font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.course-offer > p:not(.course-duration):not(.course-price) { min-height: 92px; margin: 0; color: #45515d; font-size: 13px; line-height: 1.6; }
.course-price { display: flex; align-items: baseline; gap: 7px; margin: auto 0 0; padding-top: 20px; color: var(--oxford-blue); }
.course-price strong { font-family: var(--serif); font-size: 34px; }
.course-price span { font-size: 11px; font-weight: 700; }
.service-bid-button { display: flex; width: min(100%, 250px); min-height: 46px; align-items: center; justify-content: space-between; gap: 24px; margin-top: 15px; border: 0; padding: 0 15px; background: var(--tan); color: var(--oxford-blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.service-bid-button:hover { background: var(--cream); }
.course-offer-featured { border-color: #8a2535; background: var(--oxford-blue); }
.course-offer-featured h2, .course-offer-featured .course-price { color: var(--cream); }
.course-offer-featured > p:not(.course-duration):not(.course-price) { color: rgba(246, 239, 229, .86); }
.course-offer-featured .course-duration { color: var(--tan); }
.certificate-note { margin: 34px 0 12px; color: var(--oxford-blue); font-size: 13px; font-weight: 700; }
.certificate-preview { position: relative; max-width: 820px; margin: 0 auto; overflow: hidden; background: var(--cream); box-shadow: 0 12px 30px rgba(0, 33, 71, .12); }
.certificate-content { position: relative; z-index: 1; display: flex; min-height: 390px; flex-direction: column; align-items: center; justify-content: center; margin: 13px; border: 1px solid #8a2535; outline: 1px solid rgba(138, 37, 53, .3); outline-offset: -7px; padding: 34px 24px; color: var(--oxford-blue); text-align: center; }
.certificate-mark { display: block; width: 34px; height: 34px; margin-bottom: 7px; object-fit: contain; filter: url(#certificate-mark); }
.certificate-brand { display: grid; gap: 3px; margin: 0; color: #8a2535; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.certificate-brand span { font-family: var(--sans); font-size: 8px; font-weight: 600; }
.certificate-kicker { margin: 25px 0 0; color: #8a2535; font-family: var(--sans); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.certificate-content h2 { margin: 8px 0; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); }
.certificate-recipient-label { margin: 5px 0 0; font-family: var(--serif); font-size: 13px; font-style: italic; }
.certificate-recipient { margin: 4px 0; border-bottom: 1px solid var(--tan); padding: 0 15px 4px; color: #8a2535; font-family: var(--serif); font-size: 26px; }
.certificate-description { max-width: 480px; margin: 7px 0 0; font-family: var(--serif); font-size: 13px; }
.certificate-footer { margin: auto 0 0; padding-top: 22px; color: #8a2535; font-family: var(--sans); font-size: 8px; font-weight: 700; }
.certificate-watermark { position: absolute; top: 50%; left: 50%; color: rgba(138, 37, 53, .1); font-family: var(--sans); font-size: clamp(60px, 12vw, 120px); font-weight: 700; white-space: nowrap; transform: translate(-50%, -50%) rotate(-22deg); }
.detail-copy { max-width: 700px; margin: 22px 0 0; color: #45515d; font-size: 16px; line-height: 1.8; }
.detail-copy p { margin: 0 0 16px; }
.research-page { max-width: 1040px; }
.research-page-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 42px; margin-bottom: 30px; }
.research-page-heading h1 em { color: #8a2535; font-weight: 500; }
.research-page-heading > p { max-width: 430px; margin: 0 0 4px; color: #45515d; font-size: 15px; line-height: 1.7; }
.research-pathways { border-top: 1px solid var(--line); }
.research-pathway { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--line); padding: 20px 7px 19px; }
.research-pathway-index { color: #8a2535; font-family: var(--serif); font-size: 19px; font-style: italic; }
.research-pathway h2 { margin: 0; color: var(--oxford-blue); font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.research-pathway p { max-width: 720px; margin: 6px 0 0; color: #45515d; font-size: 13px; line-height: 1.65; }
.research-specialties { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 18px; margin-top: 27px; }
.research-specialties h2 { margin: 0; color: var(--oxford-blue); font-family: var(--serif); font-size: 19px; }
.research-specialties ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.research-specialties li { border-bottom: 1px solid rgba(0, 33, 71, .18); padding: 0 0 7px; color: #45515d; font-size: 12px; }
.research-page > .service-bid-button { margin: 28px 0 0 auto; }
.graphics-page { max-width: 1120px; }
.graphics-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); align-items: center; gap: clamp(28px, 5vw, 68px); }
.graphics-copy > .eyebrow { margin-bottom: 13px; }
.graphics-copy > h1 { max-width: 620px; margin: 0; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(42px, 5vw, 62px); line-height: 1.08; }
.graphics-copy > h1 em { display: block; color: #8a2535; font-weight: 500; }
.graphics-lead { max-width: 570px; margin: 19px 0 0; color: var(--oxford-blue); font-size: 17px; line-height: 1.7; }
.graphics-price { margin: 16px 0 0; color: #8a2535; font-size: 15px; font-weight: 600; }
.graphics-price strong { color: var(--oxford-blue); font-family: var(--serif); font-size: 25px; }
.graphics-support { max-width: 570px; margin: 12px 0 0; color: #45515d; font-size: 14px; line-height: 1.7; }
.graphics-offers { margin-top: 24px; }
.graphics-offers h2 { margin: 0 0 12px; color: var(--oxford-blue); font-family: var(--serif); font-size: 19px; }
.graphics-offers ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 15px; margin: 0; padding: 0; list-style: none; }
.graphics-offers li { position: relative; padding-left: 18px; color: #45515d; font-size: 12px; line-height: 1.45; }
.graphics-offers li::before { position: absolute; top: 4px; left: 2px; width: 8px; height: 4px; border-bottom: 1.5px solid #8a2535; border-left: 1.5px solid #8a2535; content: ""; transform: rotate(-45deg); }
.graphics-copy .service-bid-button { width: min(100%, 280px); margin-top: 25px; }
.graphics-preview-wrap { min-width: 0; }
.graphics-preview { position: relative; display: flex; min-height: 530px; flex-direction: column; overflow: hidden; isolation: isolate; aspect-ratio: .78; padding: 25px; background: var(--oxford-blue); color: var(--cream); box-shadow: 0 18px 40px rgba(0, 33, 71, .16); }
.graphics-preview::before { position: absolute; z-index: -1; top: 0; right: 0; width: 37%; height: 100%; background: var(--tan); clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; }
.graphics-preview-brand { display: grid; gap: 3px; margin: 0; color: var(--tan); font-size: 14px; font-weight: 700; }
.graphics-preview-brand span { font-family: var(--sans); font-size: 8px; font-weight: 500; }
.graphics-preview-prompt { position: relative; z-index: 1; max-width: 70%; margin: 32px 0 4px; color: var(--cream); font-family: var(--serif); font-size: clamp(15px, 1.5vw, 20px); font-style: italic; }
.graphics-preview > h2 { position: relative; z-index: 1; margin: 0; color: var(--cream); font-family: var(--sans); font-size: clamp(42px, 5vw, 64px); font-weight: 700; line-height: .95; }
.graphics-preview > h2 em { color: var(--tan); font-style: normal; }
.graphics-preview > h2 span { display: block; margin-top: 7px; font-size: .44em; letter-spacing: 0; }
.graphics-preview-phone { position: absolute; right: 12%; bottom: 8%; width: 45%; height: 43%; border: 2px solid var(--tan); border-radius: 27px; padding: 7px; background: #102b50; box-shadow: 0 9px 0 rgba(0, 0, 0, .2); transform: rotate(-7deg); }
.graphics-phone-screen { display: flex; height: 100%; flex-direction: column; gap: 7px; overflow: hidden; border-radius: 20px; padding: 12px 9px; background: #f6efe5; }
.phone-chip { align-self: center; width: 32%; height: 5px; border-radius: 5px; background: var(--oxford-blue); }
.phone-sample { display: grid; flex: 1; align-content: center; border-radius: 4px; padding: 8px; font-family: var(--sans); font-size: clamp(8px, 1vw, 12px); font-weight: 700; line-height: 1.1; }
.phone-sample-gold { background: var(--tan); color: var(--oxford-blue); }
.phone-sample-cream { grid-template-columns: 1fr auto; align-items: center; background: var(--cream); color: var(--oxford-blue); font-family: var(--serif); font-size: 25px; }
.phone-sample-cream span { color: #8a2535; font-size: 18px; }
.phone-sample-blue { background: var(--oxford-blue); color: var(--cream); }
.graphics-preview-caption { position: relative; z-index: 1; margin: auto 0 0; color: rgba(246, 239, 229, .76); font-family: var(--sans); font-size: 9px; }

.about { background: var(--paper); }
.about-heading, .director-profile { max-width: 1080px; margin-right: auto; margin-left: auto; }
.about-heading { margin-bottom: 31px; }
.about-heading h1 { margin: 9px 0 0; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.15; }
.director-profile { display: grid; grid-template-columns: minmax(250px, .72fr) 1.28fr; align-items: start; gap: clamp(30px, 5vw, 68px); }
.director-profile > img { display: block; width: min(100%, 320px); height: auto; min-height: 0; border: 1px solid var(--tan); outline: 1px solid rgba(0, 33, 71, .2); outline-offset: 5px; padding: 5px; background: var(--cream); aspect-ratio: 1; object-fit: cover; object-position: center top; box-shadow: 0 10px 24px rgba(0, 33, 71, .1); }
.director-copy { padding: 7px 0; }
.director-copy h2 { margin: 10px 0 18px; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(34px, 4vw, 49px); line-height: 1.1; }
.director-copy > p:not(.eyebrow), .researcher-profile > div > p:not(.eyebrow) { margin: 0 0 14px; color: #45515d; font-size: 15px; line-height: 1.75; }
.director-copy > a, .researcher-profile > div > a { display: inline-block; margin-top: 4px; color: #8a2535; font-size: 12px; font-weight: 700; text-decoration: none; }
.researcher-profile { display: grid; max-width: 810px; grid-template-columns: 204px 1fr; align-items: center; gap: 22px; margin: 76px auto 0; border-top: 1px solid var(--line); padding-top: 27px; }
.researcher-profile > img { display: block; width: 200px; height: 200px; border: 2px solid var(--tan); border-radius: 50%; object-fit: cover; object-position: center top; }
.researcher-profile h2 { margin: 5px 0 8px; color: var(--oxford-blue); font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.researcher-profile > div > p:not(.eyebrow) { margin-bottom: 8px; font-size: 13px; line-height: 1.65; }
.careers-button { display: flex; width: min(100%, 810px); min-height: 50px; align-items: center; justify-content: space-between; gap: 20px; margin: 22px auto 0; border: 1px solid var(--oxford-blue); padding: 0 16px; background: var(--oxford-blue); color: var(--tan); font-size: 13px; font-weight: 700; text-decoration: none; }
.careers-button:hover { background: var(--deep-blue); }
.careers-screen { min-height: calc(100vh - 154px); background: var(--paper); }
.careers-content { max-width: 850px; margin: 0 auto; }
.careers-content > .eyebrow { margin-bottom: 12px; }
.careers-content > h1 { max-width: 760px; margin: 0; color: var(--oxford-blue); font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.12; }
.careers-content > p:not(.eyebrow) { max-width: 680px; margin: 18px 0 0; color: #45515d; font-size: 16px; line-height: 1.75; }
.careers-contact { display: flex; width: min(100%, 250px); min-height: 48px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 0 15px; background: var(--tan); color: var(--oxford-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.careers-contact:hover { background: #e0c9a9; }

.contact { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; background: var(--auburn); color: var(--vanilla); }
.contact h2 { font-size: 48px; }
.contact-intro > p:not(.eyebrow) { max-width: 390px; margin: 20px 0 0; color: rgba(255, 243, 176, .78); font-size: 14px; }
.contact-details { display: grid; gap: 6px; margin-top: 32px; }
.contact-details a { width: fit-content; color: var(--gold); font-size: 12px; font-weight: 700; text-decoration: none; }
.contact-form { display: grid; align-content: start; }
.contact-form label { margin: 0 0 6px; color: var(--vanilla); font-size: 11px; font-weight: 600; }
.contact-form input:not(.form-trap), .contact-form textarea {
  width: 100%;
  margin: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 243, 176, .5);
  border-radius: 0;
  padding: 9px 2px;
  background: transparent;
  color: var(--vanilla);
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 243, 176, .55); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; }
.contact-form button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 15px;
  background: var(--gold);
  color: var(--auburn);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover { background: var(--vanilla); }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 22px; margin: 10px 0 0; color: var(--vanilla); font-size: 11px; }
.site-footer { position: relative; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; padding: 16px clamp(28px, 6vw, 88px); background: var(--oxford-blue); color: rgba(246, 239, 229, .76); font-size: 10px; }
.site-footer > * { position: relative; z-index: 1; }
.site-footer::before { position: absolute; inset: 0 0 0 auto; width: 0; background: var(--tan); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); content: ""; }
.home-active .site-footer::before { width: min(30vw, 240px); }
.home-active .footer-copy { color: var(--oxford-blue); }

@media (max-width: 1050px) {
  .site-header { gap: 8px; padding-right: 24px; padding-left: 24px; }
  .hero-copy { width: 60%; }
  .hero h1 { font-size: 62px; }
  .hero::before { clip-path: polygon(74% 0, 100% 0, 100% 100%, 60% 100%); }
  .hero-emblem { right: 8%; width: 17vw; }
  .section-pad { padding-right: 38px; padding-left: 38px; }
  .course-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-offer-featured { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  .screen-mode main > section.is-active { touch-action: pan-y; }
  .site-header {
    min-height: 0;
    gap: 8px;
    padding: 10px 18px 8px;
  }
  .header-brand-row { gap: 8px; }
  .rail-brand img { width: 32px; height: 32px; }
  .rail-wordmark { font-size: 16px; }
  .header-tagline { font-size: 12px; }
  .software-marks { gap: 5px; }
  .software-mark { width: 24px; height: 24px; border-radius: 6px; }
  .software-mark-stata { width: 31px; }
  .rail-nav { flex: 0 0 auto; justify-content: space-between; gap: 9px; overflow-x: auto; margin: 0; }
  .rail-nav a { min-height: 37px; padding: 5px 0; font-size: 11px; white-space: nowrap; }
  .hero { min-height: 650px; padding: 23px 24px 27px; background-color: var(--oxford-blue); }
  .hero::before { display: none; }
  .hero::after { display: block; right: 0; bottom: 0; width: 30vw; border: 0; border-radius: 0; background: var(--tan); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .hero-emblem { display: none; }
  .hero-topline { justify-content: flex-start; }
  .hero-edition { color: var(--cream); font-size: 9px; text-align: left; }
  .hero-edition span { color: var(--tan); }
  .hero-copy { width: 100%; margin: 60px 0 80px; }
  .hero h1 { font-size: 46px; }
  .hero-intro { max-width: 360px; font-size: 15px; }
  .install-app-button:not([hidden]) { display: flex; width: min(100%, 260px); min-height: 44px; margin-top: 18px; }
  .install-app-hint:not(:empty) { display: block; max-width: 340px; margin: 9px 0 0; color: rgba(246, 239, 229, .78); font-size: 12px; line-height: 1.5; }
  .section-pad { padding: 68px 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading > p { font-size: 13px; }
  .section-heading { margin-bottom: 30px; }
  .services { min-height: calc(100vh - 140px); padding: 24px 18px 42px; }
  .service-detail-screen { min-height: calc(100vh - 140px); }
  .detail-back { margin-bottom: 25px; }
  .detail-page > h1 { font-size: 36px; }
  .detail-lead { font-size: 14px; }
  .research-page-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
  .research-pathway { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 16px 0; }
  .research-pathway h2 { font-size: 18px; }
  .research-pathway p { font-size: 12px; }
  .research-specialties { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .research-specialties ul { gap: 8px 12px; }
  .research-specialties li { font-size: 11px; }
  .research-page > .service-bid-button { margin: 22px 0 0; }
  .graphics-layout { grid-template-columns: 1fr; gap: 28px; }
  .graphics-copy > h1 { font-size: 40px; }
  .graphics-lead { font-size: 15px; }
  .graphics-price { font-size: 14px; }
  .graphics-price strong { font-size: 23px; }
  .graphics-support { font-size: 13px; }
  .graphics-preview { width: min(100%, 430px); min-height: 480px; margin: 0 auto; padding: 20px; }
  .graphics-preview-prompt { margin-top: 27px; }
  .graphics-preview > h2 { font-size: clamp(46px, 12vw, 60px); }
  .phone-sample { font-size: 10px; }
  .graphics-preview-caption { font-size: 8px; }
  .course-offers { grid-template-columns: 1fr; gap: 12px; margin-top: 25px; }
  .course-offer-featured { grid-column: auto; }
  .course-offer > p:not(.course-duration):not(.course-price) { min-height: 0; }
  .certificate-content { min-height: 320px; margin: 9px; padding: 28px 14px; }
  .certificate-mark { width: 28px; height: 28px; margin-bottom: 5px; }
  .certificate-brand { font-size: 13px; }
  .certificate-recipient { font-size: 22px; }
  .certificate-description { font-size: 11px; }
  .detail-page-brief { min-height: 55vh; }
  .service-card { padding: 21px 0 23px; }
  .service-card-heading { grid-template-columns: 27px minmax(0, 1fr); gap: 10px; }
  .service-card-heading h2 { font-size: 19px; }
  .service-card-content { gap: 10px; margin: 12px 0 0 37px; }
  .service-card-content p { font-size: 13px; }
  .director-profile { grid-template-columns: 1fr; gap: 22px; }
  .director-profile > img { width: min(100%, 320px); height: auto; min-height: 0; }
  .director-copy h2 { font-size: 34px; }
  .director-copy > p:not(.eyebrow) { font-size: 14px; }
  .researcher-profile { grid-template-columns: 136px 1fr; align-items: start; gap: 13px; margin-top: 48px; padding-top: 21px; }
  .researcher-profile > img { width: 132px; height: 132px; }
  .researcher-profile h2 { font-size: 18px; }
  .researcher-profile > div > p:not(.eyebrow) { font-size: 12px; }
  .careers-button { min-height: 46px; margin-top: 18px; }
  .careers-content > h1 { font-size: 36px; }
  .careers-content > p:not(.eyebrow) { font-size: 14px; }
  .contact { grid-template-columns: 1fr; gap: 38px; }
  .contact h2 { font-size: 39px; }
  .site-footer { flex-wrap: wrap; padding: 15px 24px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
