/* Eager path — layout shell, tokens, typography base. Deferred rules in styles.css */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
* {
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  padding-left: 40px;
  margin-bottom: 16px;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  /* colors */
  --background-color: #dbe8e9;
  --light-color: #f8f8f8;
  --dark-color: #505050;
  --text-color: #131313;
  --link-color: #3b63fb;
  --link-hover-color: #1d3ecf;

  /* fonts — eager fallback until brand theme + typography.css load */
  --body-font-family: inter, sans-serif;
  --heading-font-family: inter, sans-serif;
  --chrome-font-family: inter, sans-serif;

  /* body sizes — overridden by --dt-font-size-* in typography.css */
  --body-font-size-m: 18px;
  --body-font-size-s: 16px;
  --body-font-size-xs: 14px;

  /* heading sizes — legacy aliases; typography.css maps to --dt-font-size-title-* */
  --heading-font-size-xxl: 48px;
  --heading-font-size-xl: 40px;
  --heading-font-size-l: 32px;
  --heading-font-size-m: 28px;
  --heading-font-size-s: 24px;
  --heading-font-size-xs: 20px;

  /* shared UI values Temporary */
  --space-0: 0;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  --font-size-ui: 16px;
  --font-size-utility: 13px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-ui: 1.5;
  --line-height-body: 1.5;
  --border-width-small: 1px;
  --border-width-medium: 2px;
  --radius-small: 2px;
  --radius-pill: 100px;
  --z-index-navigation: 10;
  --z-index-mega-menu: 11;

  /* Capella header layout Temporary */
  --header-main-height: 88px;
  --header-logo-height: 35px;
  --header-logo-shield-width: 31.5px;
  --header-logo-wordmark-width: 127px;
  --header-logo-horizontal-width: 127px;
  --header-logo-horizontal-height: 27px;
  --header-logo-gap: 7px;
  --header-nav-gap: 50px;
  --header-nav-end-padding: 30px;
  --header-nav-featured-height: 44px;
  --header-apply-width: auto;
  --header-apply-height: 48px;
  --header-apply-radius: 32px;
  --header-menu-size: 48px;
  --header-menu-line-width: 24px;
  --header-menu-line-height: 2px;
  --header-mobile-link-height: 48px;
  --header-menu-active-border-width: 3px;
  --header-menu-simple-width: 360px;
  --header-menu-degrees-width: 1200px;
  --header-menu-degrees-height: 570px;
  --header-menu-degree-level-width: 360px;
  --header-menu-degree-area-width: 430px;
  --header-menu-cta-height: 56px;
  --header-menu-row-height: 52px;
  --header-menu-title-font-size: 24px;
  --header-menu-link-font-size: 15px;
  --header-menu-meta-font-size: 14px;

  /* Capella utility navigation Temporary*/
  --utility-nav-height: 40px;
  --utility-nav-mobile-height: 40px;
  --utility-nav-gap: 24px;
  --utility-nav-font-size: 14px;
  --utility-nav-font-size-mobile: 13px;
  --utility-nav-mobile-gap: 16px;
  --utility-nav-request-width: 221.1px;
  --utility-nav-request-width-mobile: 154px;
  --header-main-height-mobile: 90px;
  --nav-height: calc(var(--utility-nav-height) + var(--header-main-height));

  /* section shell + content tokens — mirror scripts/layout.js (largest → smallest) */
  --section-shell-fullscreen: 100%;
  --section-width-ultra-wide: 1920px;
  --section-width-wide: 1440px;
  --section-width-standard: 1170px;
  --section-width-section: var(--section-width-standard);
  /* legacy aliases (small/medium/large → standard/wide/ultra-wide) */
  --section-width-large: var(--section-width-ultra-wide);
  --section-width-medium: var(--section-width-wide);
  --section-width-small: var(--section-width-standard);
  --section-width-large-content: var(--section-width-wide);
  --chrome-inner-max-width: var(--section-width-wide);
  --inline-section-padding: var(--space-16);

  /* Chrome color tokens load from styles/{brand}/theme.css (EC --dt-* bridge). */

  /* Capella footer layout */
  --footer-padding-mobile-block-start: var(--space-16);
  --footer-padding-mobile-block-end: var(--space-48);
  --footer-padding-mobile-inline: 15px;
  --footer-padding-desktop-start: var(--space-64);
  --footer-padding-desktop-end: var(--space-64);
  --footer-primary-gap: var(--space-128);
  --footer-brand-column-width: 193px;
  --footer-brand-social-gap: var(--space-16);
  --footer-social-gap: 10px;
  --footer-brand-width-mobile: 260px;
  --footer-brand-height-mobile: 110px;
  --footer-brand-width: 194px;
  --footer-brand-height: 82px;
  --footer-social-link-size: 24px;
  --footer-social-link-size-mobile: 32px;
  --footer-social-x-width: 20px;
  --footer-social-x-height: 21px;
  --footer-social-x-width-mobile: 24px;
  --footer-social-x-height-mobile: 25px;
  --footer-column-width: 208px;
  --footer-link-font-size: 15px;
  --footer-meta-font-size: 13px;
  --footer-meta-font-size-mobile: 11px;
  --footer-carousel-control-size: 48px;
  --footer-carousel-arrow-size: 24px;
  --footer-institution-width: 165px;
  --footer-institution-height: 70px;
  --footer-institution-gap-tablet: 26px;
  --footer-institution-logo-height: 46px;
  --footer-institution-mark-width: 29px;
  --footer-copyright-divider-width-mobile: 290px;
  --footer-copyright-gap-mobile: 39px;
  --footer-sticky-cta-height: 47px;

  /* section background — height from smartcrop delivery image (see mountSectionBgPicture) */
  --section-bg-stack-bp: 961px;
  --section-theme-default-bg: var(--background-color);
  --section-theme-default-text: var(--text-color);
  --section-theme-inverse-bg: var(--dark-color);
  --section-theme-inverse-text: var(--background-color);
  --section-scrim-color: #131313;
  --section-scrim-opacity-inverse: 0.45;
  --section-scrim-opacity-default: 0.2;
  --section-intro-label-size: var(--body-font-size-xs);
  --section-intro-label-spacing: 0.08em;
  --section-intro-gap: 16px;

  /* title block — colors and borders (sizes/fonts in blocks/title/title.css) */
  --title-text-color: var(--text-color);
  --title-line-color: var(--text-color);
  --title-weight-primary: var(--dt-font-weight-title-1-3-base, 700);
  --title-weight-secondary: var(--dt-font-weight-title-4-6-base, 700);
  --eyebrow-letter-spacing: 0.02em;
  --title-border-xs: 2px;
  --title-border-sm: 4px;
  --title-border-med: 6px;
  --title-border-lg: 8px;
  --title-border-xl: 12px;
}

body {
  display: none;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-body, 1.5);
}

body.appear {
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-navigation);
  width: 100%;
}

main {
  padding-top: var(--nav-height);
}

html {
  scroll-padding-top: var(--nav-height);
}

header .header,
footer .footer {
  width: 100%;
  visibility: hidden;
}

header .header-shell,
footer .footer-shell {
  width: 100%;
}

header .header[data-block-status='loaded'],
footer .footer[data-block-status='loaded'] {
  visibility: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  scroll-margin-top: var(--nav-height);
}

p,
dl,
ol,
ul,
pre,
blockquote {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
}

code,
pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: 16px;
  border-radius: 8px;
  background-color: var(--light-color);
  overflow-x: auto;
  white-space: pre;
}

main > div {
  margin: 40px 16px;
}

input,
textarea,
select,
button {
  font: inherit;
}

/* sections — shell (imagery/color band) + container (inner content width) */
.section {
  width: 100%;
  --section-shell-width: var(--section-width-wide);
  --section-container-width: var(--section-width-wide);
  --section-content-width: var(--section-container-width);
}

/* shell tiers — largest → smallest */
.section.container-fullscreen {
  --section-shell-width: var(--section-shell-fullscreen);
  --section-container-width: var(--section-width-wide);
}

.section.container-ultra-wide,
.section.size-large {
  --section-shell-width: var(--section-width-ultra-wide);
  --section-container-width: var(--section-width-wide);
}

.section.container-wide,
.section.size-medium {
  --section-shell-width: var(--section-width-wide);
  --section-container-width: var(--section-width-wide);
}

.section.container-standard,
.section.container-section,
.section.size-small {
  --section-shell-width: var(--section-width-standard);
  --section-container-width: var(--section-width-standard);
}

/* inner content narrower than shell (1170 inside 1440/1920/100% band) */
.section.container-fullscreen.content-standard,
.section.container-fullscreen.content-section,
.section.container-ultra-wide.content-standard,
.section.container-ultra-wide.content-section,
.section.container-wide.content-standard,
.section.container-wide.content-section,
.section.container-fullscreen.content-narrow,
.section.size-large.content-narrow,
.section.size-medium.content-narrow {
  --section-container-width: var(--section-width-standard);
}

.section.container-fullscreen > .section-shell > .section-container,
.section.container-fullscreen > .section-shell > .section-content {
  max-width: var(--section-container-width);
}

.section:not(
  .container-fullscreen,
  .container-ultra-wide,
  .container-wide,
  .container-standard,
  .container-section,
  .size-large,
  .size-medium,
  .size-small
) {
  --section-shell-width: var(--section-width-wide);
  --section-container-width: var(--section-width-wide);
}

.section .section-shell {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--section-shell-width);
  margin-inline: auto;
}

/* Background image in flow — shell height follows smartcrop delivery dimensions */
.section .section-shell > .section-bg-image {
  position: relative;
  z-index: 0;
  width: 100%;
  pointer-events: none;
}

.section .section-shell > .section-bg-image picture,
.section .section-shell > .section-bg-image img {
  display: block;
  width: 100%;
  height: auto;
}

.section .section-shell > .section-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section .section-shell > .section-container,
.section .section-shell > .section-content {
  position: relative;
  z-index: 2;
}

.section .section-container,
.section .section-content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--section-container-width);
  margin-inline: auto;
}

/* Blocks fill the inner container; media-bleed blocks override in block CSS */
.section .section-container > :not(.section-intro),
.section .section-content > :not(.section-intro) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Inner content width author choice (wide vs standard inside a wider shell) */
.section.content-wide:not(.container-standard, .container-section, .size-small) {
  --section-container-width: var(--section-width-wide);
}

.section.content-standard:not(.container-standard, .container-section, .size-small),
.section.content-narrow:not(.container-standard, .container-section, .size-small) {
  --section-container-width: var(--section-width-standard);
}

/* main: section band is full viewport width; shell/container tiers apply inside */
main > .section {
  width: 100%;
  max-width: none;
  margin: 40px auto;
  box-sizing: border-box;
}

/* header/footer: fullscreen bands with 1440px inner content (SECTION_FULLSCREEN_WIDE) */
header .section.container-fullscreen,
footer .section.container-fullscreen {
  margin: 0;
  width: 100%;
  max-width: none;
}

header .section.container-fullscreen .section-shell,
footer .section.container-fullscreen .section-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

header .section.container-fullscreen .section-container,
footer .section.container-fullscreen .section-container,
header .section.container-fullscreen .section-content,
footer .section.container-fullscreen .section-content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--chrome-inner-max-width);
  margin-inline: auto;
  padding: 0;
}

header .section.container-fullscreen .section-container > :not(.section-intro),
footer .section.container-fullscreen .section-container > :not(.section-intro),
header .section.container-fullscreen .section-content > :not(.section-intro),
footer .section.container-fullscreen .section-content > :not(.section-intro) {
  max-width: none;
  margin-inline: 0;
}

@media (width < 961px) {
  header .section.container-fullscreen .section-container,
  footer .section.container-fullscreen .section-container,
  header .section.container-fullscreen .section-content,
  footer .section.container-fullscreen .section-content {
    max-width: none;
  }
}

main > .section .section-container,
main > .section .section-content {
  padding: 0;
}

/* First section in main — flush under header on all pages/templates */
main > .section:not(.section ~ .section) {
  margin-top: 0;
  padding-top: 0;
  padding-block-start: 0;
}

@media (width >= 1200px) {
  :root {
    --inline-section-padding: var(--space-32);
  }
}
