@charset "UTF-8";

:root {
  --brand-color-dark: #0c1a3d;
  --brand-color-light: #f9ffec;
  --container-max-width: 1000px;
  --container-mid-width: 750px;
  --footer-background-color: #0c1a3d;
  --footer-content-color: #f9ffec;
  --header-overlay-background: #f9ffec;
  --header-overlay-shadow: 0 2px 3px rgba(0,0,0,0.1);
  --margin-default: 25px auto;
  --menu-background: #dfe5d1;
  --menu-link-hover-background: rgba(255,255,255,0.6);
  --menu-overlay-color: rgba(12,26,61,0.75);
  --text-box-background: #fff;
  --text-box-background--overlay: rgba(255,255,255,0.66);
  --text-box-shadow-color: rgba(35,0,39,0.25);
  --text-color: #333;
  --text-color--inverted: #ddd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-color-dark: #f9ffec;
    --brand-color-light: #0c1a3d;
    --header-overlay-background: #1b3d93;
    --header-overlay-shadow: none;
    --menu-background: #0c1a3d;
    --menu-link-hover-background: rgba(0,0,0,0.2);
    --text-box-background: #182b5a;
    --text-box-background--overlay: rgba(12,26,61,.66);
    --text-box-shadow-color: rgba(0,0,0,0.5);
    --text-color: #ddd;
    --text-color--inverted: #333;
  }
}


html {
  -webkit-text-size-adjust: 100%;
  background: var(--brand-color-light);
  box-sizing: border-box;
  font-size: 62.5%;
  margin: 0;
}

html * {
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  font-family: 'Onest', sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5, th, label {
  color: var(--brand-color-dark);
  font-family: 'Young Serif', serif;
  text-wrap: balance;
  scroll-margin-top: 10rem;
}

a, strong {
  color: var(--brand-color-dark);
}

p, li, td, span {
}

ul {
  padding-inline-start: 1.5rem;
}

.header-menu {
  background: var(--header-overlay-background);
  box-shadow: var(--header-overlay-shadow);
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.header-menu input[type="checkbox"] {
  display: none;
}

.header-menu #menu-button {
  align-items: center;
  aspect-ratio: 1;
  cursor: pointer;
  display: flex;
  font-size: 5rem;
  height: 100%;
  justify-content: center;
  padding-bottom: 0.5rem;
  position: absolute;
  text-decoration: none;
  transition: 0.2s;
}

.header-menu #menu-button:hover {
  background: var(--menu-link-hover-background);
}

@media (min-width: 1000px) {
  .header-menu #menu-button {
    display: none;
  }
}

.header-menu .logo {
  background-image: url(icons/logo-horizontal--dark.svg);
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  font-size: 0;
  height: 6rem;
  margin: 0.5rem auto;
  width: 24rem;
}

@media (prefers-color-scheme: dark) {
  .header-menu .logo {
    background-image: url(icons/logo-horizontal--light.svg);
  }
}

.header-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu ul a {
  font-size: 1.6rem;
  text-decoration: none;
  transition: 0.2s;
}

.header-menu ul a:hover {
  background: var(--menu-link-hover-background);
}

.header-menu ul .social {
  display: flex;
}

.header-menu ul .social a:has(svg) {
  font-size: 0;
}

.header-menu ul .social svg {
  fill: var(--brand-color-dark);
  height: 2.5rem;
}

.header-menu #close-menu {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: var(--menu-overlay-color);
  cursor: pointer;
  font-size: 0;
  height: calc(100vh - 7rem);
  left: 0;
  padding: 0;
  position: fixed;
  position: fixed;
  top: 7rem;
  width: 100%;
  z-index: -1;
}

@media (max-width: 999px) {
  .header-menu input#nav-menu-button:not(:checked) ~ ul#nav-menu,
  .header-menu ul#nav-menu:not(:target) {
    display: none;
  }

  .header-menu input#nav-menu-button:checked ~ ul#nav-menu,
  .header-menu ul#nav-menu:target {
    display: flex;
    flex-flow: column nowrap;
    background: var(--menu-background);
    position: absolute;
    top: 7rem;
  }

  .header-menu ul a {
    display: block;
    font-family: 'Young Serif', serif;
    padding: 1rem 2.5rem;
  }
}

@media (min-width: 1000px) {
  .header-container {
    margin: 0 auto;
    max-width: var(--container-max-width);
    padding: 0 1.5rem;
  }

  .header-menu .logo {
    margin: 0.5rem 0;
  }

  .header-menu ul {
    flex-flow: row nowrap;
  }

  .header-menu ul a {
    align-items: center;
    display: flex;
    font-weight: 400;
    height: 7rem;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
  }

  #close-menu {
    display: none;
  }
}

.body-section {
  margin: 0 auto;
  max-width: 100vw;
  overflow: hidden;
  padding: 15px;
  position: relative;
  width: 100vw;
}

@media (min-width: 700px) {
  .body-section.image-background {
    align-items: center;
    display: flex;
    min-height: 50vw;
  }
}

.body-section :is(h1, h2, h3, h4, h5, p, ol, ul),
.text-box :is(div, figure) {
  margin: 2.4rem 0;
}

.body-section h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-top: 4rem;
}

.body-section h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-top: 3.2rem;
}

.body-section h3 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-top: 2.8rem;
}

.body-section h4 {
  font-size: 2.1rem;
  line-height: 1.2;
}

.body-section :is(p, li, th, td, span) {
  font-size: 1.8rem;
  line-height: 1.4;
}

figure {
  border-radius: 10px;
  font-size: 0;
  margin: var(--margin-default);
  overflow: hidden;
}

figure img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

figure.backdrop-image {
  border-radius: 0;
  height: auto;
  margin: -15px;
  position: relative;
  width: 100vw;
  z-index: -1;
}

figure.backdrop-image img {
  object-fit: cover;
}

figure.media-left,
figure.media-right {
  margin-top: 0;
  max-width: calc(50% - 10px);
}

figure.media-left.one-third-width,
figure.media-right.one-third-width {
  margin-top: 0;
  max-width: calc(33% - 10px);
  width: calc(33% - 10px);
}

figure.media-left {
  float: left;
  margin-right: 20px;
}

figure.media-right {
  float: right;
  margin-left: 20px;
}

figure.media-left:first-child + *,
figure.media-right:first-child + * {
  margin-top: 0;
}

figure.media-left ~ *,
figure.media-right ~ * {
  display: table;
}

figure.crop.aspect-ratio-1-1 {
  aspect-ratio: 1/1;
}

figure.crop.aspect-ratio-3-4 {
  aspect-ratio: 3/4;
}

figure.crop.aspect-ratio-9-16 {
  aspect-ratio: 9/16;
}

figure.crop.aspect-ratio-4-3 {
  aspect-ratio: 4/3;
}

figure.crop.aspect-ratio-16-9 {
  aspect-ratio: 16/9;
}

figure.crop img {
  object-fit: cover;
}

div.image-gallery {
  display: flex;
  gap: 15px;
}

div.image-gallery figure {
  margin: 0;
}

@media (max-width: 600px) {
  div.image-gallery {
    display: grid;
    grid-auto-flow: dense;
  }

  div.image-gallery figure.crop.aspect-ratio-1-1,
  div.image-gallery figure.crop.aspect-ratio-3-4,
  div.image-gallery figure.crop.aspect-ratio-9-16 {
    aspect-ratio: 3/4;
    grid-column: span 1;
  }


  div.image-gallery figure.crop.aspect-ratio-4-3,
  div.image-gallery figure.crop.aspect-ratio-16-9 {
    grid-column: span 2;
  }
}

figure.qr {
  background: var(--brand-color-dark);
  border-radius: 25px;
  max-width: 200px;
  padding: 15px !important;
}

figure.qr svg {
  fill: var(--brand-color-light);
}

@media (max-width: 600px) {
  figure.qr {
    display: none;
  }
}

@media (max-width: 699px) {
  figure.backdrop-image:before {
    background: linear-gradient(transparent, var(--brand-color-light));
    bottom: 0;
    content: "";
    display: block;
    height: 30px;
    position: absolute;
    width: 100%;
  }
}

@media (min-width: 700px) {
  figure.backdrop-image {
    height: 100%;
    width: 100%;
    position: absolute;
  }
}

iframe {
  border-radius: 15px;
  margin: var(--margin-default);
}

.text-box {
  background: var(--text-box-background);
  border-radius: 20px;
  box-shadow: 0 10px 25px var(--text-box-shadow-color);
  display: block;
  margin: var(--margin-default);
  max-width: var(--container-mid-width);
  padding: 20px;
}

.text-box:after {
  clear: both;
  display: block;
  content: "";
}

@media (min-width: 700px) {
  .body-section.image-background .text-box {
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    background: var(--text-box-background--overlay);
    padding: 25px;
  }
}

.text-box--highlight {
  border: 5px solid var(--brand-color-dark);
  padding: 30px 25px;
}

.text-box--flat {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0;
}

.text-box--left,
.text-box--right {
}

@media (max-width: 699px) {
  figure + .text-box--left,
  figure + .text-box--right {
    margin: -25px auto 25px;
  }
}

@media (min-width: 700px) {
  figure + .text-box--left,
  figure + .text-box--right {
    margin: 100px auto;
    max-width: calc(var(--container-max-width) / 2);
    width: 50%;
  }

  figure + .text-box--left {
    transform: translateX(-50%);
  }

  figure + .text-box--right {
    transform: translateX(50%);
  }
}

.text-box > :first-child {
  margin-top: 0;
  padding-top: 0;
}

.text-box > :last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq {
}

.faq .faq-toggle {
  display: none;
}

.faq .question {
  cursor: pointer;
  display: block;
}

.faq .question > * {
  padding-left: 3.5rem;
  position: relative;
  width: fit-content;
}

.faq .question > h3 {
  font-size: 2.1rem;
}

.faq .question > *:after {
  border-color: var(--brand-color-dark) transparent transparent transparent;
  border-style: solid;
  border-width: .8rem 1.25rem 0 1.25rem;
  content: "";
  display: block;
  height: 0;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s;
  width: 0;
}

.faq input:checked ~ .question > *:after {
  transform: rotate(180deg) translateY(50%);
}

.faq input:checked ~ .question {
}

.faq .answer {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  position: relative;
  transition: 0.5s;
}

.faq input:checked ~ .answer {
  grid-template-rows: 1fr;
  margin: var(--margin-default);
}

.faq .answer-content {
  margin: 0;
  overflow: hidden;
}

.faq .answer-content > :first-child {
  margin-top: 0;
  padding-top: 0;
}

.faq .answer-content > :last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.body-section a {
  text-underline-offset: 0.1em;
  transition: 0.2s;
}

.body-section a.cta {
  align-items: center;
  background-color: var(--brand-color-dark);
  border-radius: 150px;
  color: var(--brand-color-light);
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 2.4rem;
  justify-content: center;
  margin-bottom: 3.6rem;
  margin-top: 3.6rem;
  padding: 1rem 4.8rem;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  width: fit-content;
}

.body-section a.cta:hover {
  box-shadow: 0px 5px 10px var(--text-box-shadow-color);
}

.body-section a.cta.cta--wrap {
  flex-flow: column nowrap;
}


.body-section a.cta:first-child {
  margin-top: 0;
}

.body-section a.cta:last-child {
  margin-bottom: 0;
}

.body-section a.cta svg {
  fill: var(--brand-color-light);
  height: 1.2em;
}

.body-section .cta-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.body-section .cta-list a {
  border: 1px solid var(--brand-color-dark);
  border-radius: 50px;
  display: block;
  padding: 2px 15px;
  text-decoration: none;
  text-wrap: balance;
  width: fit-content;
}

.body-section .cta-list a strong {
  color: inherit;
}

.body-section .cta-list a:hover {
  background: var(--brand-color-dark);
  color: var(--brand-color-light);
}

.body-section .list-horizontal {
  display: flex;
  flex-flow: row wrap;
  text-wrap: balance;
}

footer {
  background: var(--footer-background-color);
  color: var(--footer-content-color);
  font-size: 1.4rem;
  padding: 15px;
}

footer :is(h1, h2, h3, h4, h5, th, label, p, li, td, span) {
  color: var(--footer-content-color);
}

.footer-section {
  align-items: center;
  display: flex;
  flex-flow: column nowrap;
  gap: 25px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: fit-content;
}

@media (min-width: 700px) {
  .footer-section {
    flex-flow: row wrap;
  }
}

.footer-block {
}

.footer-block > :first-child {
  margin-top: 0;
  padding-top: 0;
}

.footer-block > :last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

footer .footer-nav-menu {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

footer .footer-nav-menu a {
  color: var(--footer-content-color);
}

@media (min-width: 550px) {
  footer .footer-nav-menu {
    flex-flow: row wrap;
    text-align: left;
  }
}

footer .social {
  display: flex;
  gap: 15px;
}

footer .social a:has(svg) {
  font-size: 0;
}

footer .social svg {
  fill: var(--footer-content-color);
  height: 2rem;
}