/* fonts, vars, global styles */
@font-face { font-family: HarmoniaSans; font-weight: 400; font-display: swap; src: url('fonts/HarmoniaSansProRegular.woff2') format('woff2'); }
@font-face { font-family: HarmoniaSans; font-weight: 500; font-display: swap; src: url('fonts/HarmoniaSansProSemiBd.woff2') format('woff2'); }
@font-face { font-family: HarmoniaSans; font-weight: 700; font-display: swap; src: url('fonts/HarmoniaSansProBold.woff2') format('woff2'); }
@font-face { font-family: HarmoniaSans; font-weight: 900; font-display: swap; src: url('fonts/HarmoniaSansProBlack.woff2') format('woff2'); }
@font-face { font-family: DINNextLTPro; font-weight: 400; font-display: swap; src: url('fonts/DINNextLTPro-Regular.woff2') format('woff2'); }
@font-face { font-family: DINNextLTPro; font-weight: 700; font-display: swap; src: url('fonts/DINNextLTPro-Bold.woff2') format('woff2'); }

:root {
  --header-height: 87px;

  --teal: #008192;
  --teal-dark: #005560;
  --teal-mid: #006a77;
  --purple: #604a7b;
  --purple-light: #8f77ad;
  --lilac: #c8bcd6;
  --gray-light: #e9eeef;
  --gray-card: #d0d1d3;
  --text: #000;
  --text-muted: #67696a;
  --accent: #cd2653;

  --font-body: DINNextLTPro, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: HarmoniaSans, 'Helvetica Neue', Arial, sans-serif;

  --container: 1110px;
  --gutter: 15px;
  --section-pad: 60px;
}

@media (width < 992px) {
  :root { --header-height: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: 400 16px/24px var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;

  header {
    min-height: var(--header-height);
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 900;
}

p { margin: 0 0 1em; }

a { color: inherit; }

img, picture { max-width: 100%; }

img { height: auto; }

/* Content column shared by every section that isn't full bleed. */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type roles shared across patterns. */
.display { font: 900 60px/72px var(--font-heading); text-transform: uppercase; }
.section-title { font: 900 45px/54px var(--font-heading); text-transform: uppercase; }

@media (width < 768px) {
  .display { font-size: 40px; line-height: 46px; }
  .section-title { font-size: 32px; line-height: 38px; }
}

/* Authored call-to-action convention: a paragraph holding only a link is a CTA (global.js marks it
   p.cta). The block, or a region a pattern renders, picks the look with one wrapper class —
   editors never add classes. */
:is(.cta-solid, .cta-outline, .cta-light) p.cta > a {
  display: inline-block;
  padding: 18px 25px;
  font: 700 20px/1.5 var(--font-heading);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid currentcolor;
  transition: background-color .2s, color .2s, border-color .2s;
}
.cta-solid p.cta > a { background: var(--teal); border-color: var(--teal); color: #fff; }
.cta-solid p.cta > a:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.cta-outline p.cta > a { min-width: 230px; color: var(--teal); }
.cta-outline p.cta > a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.cta-light p.cta > a { min-width: 230px; padding: 19px 23px; background: #fff; border-color: #fff; color: #000; }
.cta-light p.cta > a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.cta-bar p.cta > a {
  display: inline-block;
  padding-top: 2px;
  line-height: 1.2;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--purple-light);
}
.cta-bar p.cta > a:hover { border-bottom-color: currentcolor; }

/* Managed-media backdrop: a <picture> in the block's leading row, laid behind the content. */
.backdrop { display: contents; }
.backdrop img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Hide any unfinished main pattern. Keyed on [data-pattern] too: third-party markup reuses these
   attribute names (Google's reCAPTCHA badge carries data-style), and must not read as pending. */
main [data-pattern]:is([data-style], [data-script]) {
  display: none;
}

/* Any landmark top most child with unfinished descendant patterns. */
body > * > *:has([data-pattern]:is([data-style], [data-script])) {
  display: none;
}
