:root {
  color-scheme: dark;
  --navy: #01284D;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* The logo artwork is the only serif element on the page. */
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.65;
  padding: 0 1.5rem;
  text-align: center;
}

header { width: 100%; max-width: 56rem; padding-top: clamp(2.5rem, 9vh, 6rem); }

h1 { margin: 0; font-size: 1rem; line-height: 0; }
h1 img { display: block; width: 100%; height: auto; }

hr {
  width: 100%;
  max-width: 56rem;
  height: 1px;
  border: 0;
  background: var(--white);
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
}

main { width: 100%; max-width: 56rem; padding-bottom: 3rem; }

/* Bilingual lines. On one line: English, bar, French. When the line does not fit,
   it breaks at the space between the two languages and the bar disappears.
   The bar takes no room of its own: it sits in the widened space after the English.
   Once the block is two lines tall, the bar is pushed out of the block and clipped. */
.bi { display: block; position: relative; overflow: hidden; word-spacing: 0.5em; }
.bi .en, .bi [lang="fr"] { white-space: nowrap; word-spacing: normal; }
.bi .bar {
  position: absolute;
  top: min(0px, calc((2.4em - 100%) * 999));
  width: 0.76em;
  letter-spacing: 0;
  text-align: center;
  word-spacing: normal;
}

.name {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.role { margin: 0.35rem 0 0; font-size: 1.25rem; }

address { font-style: normal; margin: 2rem 0; }

address .line { display: block; }

dl { margin: 0; }
dl div { margin: 0 0 1.4rem; }
dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
}
dd { margin: 0; font-size: 1.25rem; }

a { color: var(--white); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.action { margin: 2rem 0 0; }
.button {
  display: inline-block;
  max-width: 100%;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--white);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
@media (hover: hover) { .button:hover { background: transparent; color: var(--white); } }

footer {
  margin-top: auto;
  padding: 1.5rem 0 1.75rem;
  font-size: 0.9rem;
}
footer p { margin: 0; }

@media (max-width: 40rem) {
  body { padding: 0 1.25rem; font-size: 1.125rem; }
}
