:root {
  color-scheme: light;
  --ink: #102335;
  --muted: #475866;
  --paper: #f7f7f2;
  --line: #d5dcd8;
  --orange: #fa9254;
  --rust: #944217;
  --shell: min(1180px, calc(100% - 96px));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.57 "Aptos", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
:focus-visible { outline: 3px solid #bf5018; outline-offset: 5px; }
.skip { position: absolute; z-index: 3; inset: 8px auto auto 8px; padding: .55em 1em; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: var(--shell); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header .shell, .footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.header .shell { min-height: 78px; }
.logo img { display: block; width: 146px; height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem clamp(1rem, 3vw, 2.6rem); }
nav a { text-decoration: none; font-weight: 650; font-size: .96rem; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-group { position: relative; }
.nav-group summary {
  display: flex; align-items: center; gap: .5rem; min-height: 44px;
  cursor: pointer; list-style: none; font-weight: 650; line-height: 1.25;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after {
  content: ""; width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.nav-group[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-group:has([aria-current="page"]) summary { color: var(--rust); }
.nav-panel {
  list-style: none; margin: 0; padding: .35rem; min-width: 235px; z-index: 5;
  position: absolute; top: calc(100% + 5px); right: 0;
  background: white; border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 8px 25px #10233520;
}
.nav-panel a { display: block; padding: .58rem .65rem; border-radius: 4px; line-height: 1.3; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: #eef2f3; }
.nav-contact { border: 1px solid var(--line); border-radius: 5px; padding: 8px 15px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; background: #0d202a; color: white;
  min-height: clamp(390px, 36vw, 600px);
}
.hero-media { position: absolute; z-index: -1; inset: 0; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0b1b24f5 0%, #0b1b24e5 28%, #0b1b2480 55%, #0b1b2400 78%);
}
.hero-copy { padding-block: 3rem; }
.hero .eyebrow { color: #ffad7c; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.01; letter-spacing: -.06em; margin-bottom: 1.15rem; font-weight: 750; }
.hero h1 { max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.085; letter-spacing: -.046em; margin-bottom: .25rem; }
h3 { font-size: clamp(1.31rem, 2vw, 1.61rem); line-height: 1.16; letter-spacing: -.03em; margin-bottom: .7rem; }
.intro { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); max-width: 40ch; margin-bottom: 1.45rem; }
.hero .intro { color: #edf2f5; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1rem;
  background: var(--ink); color: #fff; border-radius: 5px; text-decoration: none; font-weight: 700;
}
.button:hover { background: #28465a; }
.video-control {
  position: absolute; right: max(17px, calc((100% - 1180px)/2)); bottom: 16px;
  min-height: 42px; padding: .4rem .8rem; border: 1px solid #ffffff85; border-radius: 5px;
  background: #102335e8; color: white; cursor: pointer; font: inherit; font-size: .875rem;
}
.video-control:hover { background: #28465a; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .35em; }
.research {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center;
  gap: 2rem 4rem; padding-block: clamp(2.5rem, 6.5vw, 6rem);
}
.research h1 { max-width: 15ch; }
.research .intro { max-width: 52ch; }
.research h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .7rem; }
.research p:not(.eyebrow) { max-width: 57ch; }
.research-copy ul { padding-inline-start: 1.25rem; }
.research-copy li + li { margin-top: .5rem; }
.research-clip { width: 100%; min-width: 0; margin: 0; }
.research-clip video { display: block; width: 100%; height: auto; border-radius: 9px; background: #102335; }
.research-clip figcaption { margin-top: .65rem; font-weight: 600; }
.research-downloads { grid-column: 1 / -1; min-width: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.research-downloads ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: .75rem; margin: 0; padding: 0; list-style: none;
}
.research-downloads a {
  display: flex; align-items: center; gap: .85rem; height: 100%; padding: .65rem;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; text-decoration: none;
}
.research-downloads a:hover { border-color: var(--rust); }
.research-downloads img { display: block; flex: none; width: 58px; height: auto; border-radius: 3px; }
.research-downloads small { display: block; margin-top: .15rem; }
.services { border-top: 1px solid var(--line); padding: 1.9rem 0 clamp(3rem, 6vw, 5.75rem); }
.services h2 { margin-bottom: 1.35rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: clamp(1.15rem, 2.3vw, 1.8rem); background: #fff; }
.service:nth-child(2) { background: #eff5f4; }
.service:nth-child(3) { background: #fbefe6; border-color: #e7d9ce; }
.service .eyebrow { letter-spacing: .09em; font-size: .78rem; margin-bottom: .84rem; }
.service p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.1rem; }
.service a { margin-top: auto; font-size: .92rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.service a:hover { color: var(--rust); }
.contact { background: var(--ink); color: white; padding-block: clamp(2rem, 4.2vw, 4rem); }
.contact .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.contact h2 { margin-bottom: .55rem; }
.contact p { margin-bottom: 0; color: #dce7ee; }
.contact .button { background: var(--orange); color: #201205; }
.contact .button:hover { background: #ffb183; }
.footer { padding-block: 1.35rem; color: var(--muted); font-size: .875rem; }
.footer .shell { flex-wrap: wrap; }
.offer-width { width: var(--shell); max-width: 1020px; margin-inline: auto; }
.offer-heading { background: #e6edf0; padding-block: clamp(2.1rem, 5vw, 4.3rem); border-bottom: 1px solid var(--line); }
.offer-heading h1 { max-width: 17ch; }
.offer-heading .intro { margin-bottom: 0; max-width: 60ch; }
.companion .offer-heading { background: #e6efeb; }
.capital .offer-heading { background: #f7e9df; }
.offer-body {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start; gap: 1.6rem clamp(1.2rem, 4vw, 3.25rem);
  padding-block: clamp(2.2rem, 5vw, 4.3rem);
}
.offer-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: .95rem; }
.offer-body h3 { font-size: 1.15rem; text-wrap: initial; margin-bottom: .3rem; }
.offer-body p, .offer-body li, .offer-body dd { color: var(--muted); }
.offer-body .button { justify-self: start; }
.steps { margin: 0; padding-left: 1.35rem; }
.steps li { padding-left: .55rem; }
.steps li + li { margin-top: 1.05rem; }
.steps li::marker { color: var(--rust); font-weight: 700; }
.steps p, .offer-panel > :last-child, .offer-panel section > :last-child { margin-bottom: 0; }
.offer-panel { background: white; border: 1px solid var(--line); border-radius: 7px; padding: clamp(1.1rem, 2.5vw, 1.7rem); }
.offer-panel h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.offer-panel ul { padding-left: 1.15rem; }
.offer-panel li + li { margin-top: .35rem; }
.offer-panel section + section { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.2rem; }
.rubrics { margin: 0; }
.rubrics div { padding: .65rem 0; border-top: 1px solid var(--line); }
.rubrics dt { font-weight: 700; }
.rubrics dd { margin: .12rem 0 0; }
.digital-overview {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .85rem 2rem; padding: 1.6rem clamp(1rem, 2.8vw, 2.3rem);
  margin-bottom: clamp(2rem, 4vw, 4rem); background: #e6edf0;
  border: 1px solid var(--line); border-radius: 7px;
}
.digital-overview h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.digital-overview p { margin-bottom: 0; color: var(--muted); }
.digital-overview ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.digital-overview a, .back-link { text-underline-offset: .22em; font-weight: 650; }
.online-body { padding-block: clamp(2.2rem, 5vw, 4.3rem); }
.online-body section { max-width: 57ch; margin-bottom: 1.3rem; }
.online-body section h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: .7rem; }
.online-body p { color: var(--muted); }
.moodle-heading {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center; gap: clamp(1.4rem, 4vw, 3.25rem);
}
.moodle-heading img {
  display: block; width: 100%; height: auto; aspect-ratio: 5 / 4;
  object-fit: cover; object-position: center 58%; border-radius: 7px;
}
@media (max-width: 730px) {
  .moodle-heading { grid-template-columns: minmax(0, 1fr); }
  .moodle-heading img { aspect-ratio: 16 / 10; }
}
.back-link { display: inline-block; margin: .75rem 0 .75rem 1rem; }
@media (max-width: 990px) {
  .header .shell { flex-wrap: wrap; gap: .8rem 1.5rem; padding-block: .85rem; }
  nav { gap: .5rem 1rem; }
}
@media (max-width: 730px) {
  .offer-body { grid-template-columns: 1fr; }
  nav { width: 100%; justify-content: flex-start; }
}
@media (max-width: 900px) { :root { --shell: calc(100% - 54px); } }
@media (max-width: 730px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { grid-row: 2; padding-block: 1.5rem 2rem; }
  .hero-media { position: relative; inset: auto; grid-row: 1; z-index: 0; aspect-ratio: 1900 / 900; }
  .hero-media::after { background: linear-gradient(0deg, #0d202a66, transparent 40%); }
  .video-control { top: 10px; bottom: auto; right: 13px; z-index: 1; }
  .grid, .research { grid-template-columns: 1fr; gap: .85rem; }
  .research-clip { margin-top: .6rem; }
}
@media (max-width: 520px) {
  .header nav { position: relative; }
  .nav-group { position: static; }
  .nav-panel { left: 0; right: 0; }
  .back-link { display: block; margin-left: 0; }
}
@media (max-width: 460px) {
  :root { --shell: calc(100% - 34px); }
  .header .shell { flex-wrap: wrap; gap: .75rem; padding-block: .85rem; }
  nav { gap: .5rem .85rem; }
  .nav-contact { padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.online-body .community-example { max-width: 880px; }
.community-video { display: block; width: 100%; height: auto; border-radius: 9px; background: #102335; }
