/* Logo file ink, sampled from the supplied JPEG. The page stays white
   because that file is drawn on white. */
:root {
  --navy: #073149;
  --teal: #448e91;
  --bg: #ffffff;
  --img-w: 1280;
  --img-h: 720;
  --crop-x: 87;
  --crop-y: 209;
  --crop-w: 1123;
  --crop-h: 280;
}

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

html {
  background: var(--bg);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--bg);
  color: var(--navy);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #d7e8e8;
  color: var(--navy);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.5rem, 8vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  gap: clamp(1.25rem, 3vh, 2rem);
}

/* The JPEG has a wide white margin. Frame the artwork and leave the file unchanged. */
.logo {
  width: min(36rem, 100%);
  aspect-ratio: var(--crop-w) / var(--crop-h);
  position: relative;
  overflow: hidden;
  margin: 0;
  line-height: 0;
}

.logo img {
  position: absolute;
  width: calc(var(--img-w) / var(--crop-w) * 100%);
  max-width: none;
  height: auto;
  left: calc(var(--crop-x) / var(--crop-w) * -100%);
  top: calc(var(--crop-y) / var(--crop-h) * -100%);
}

.email {
  margin: 0;
}

.email a {
  display: inline-block;
  padding: 0.7rem 0.85rem;
  color: var(--navy);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.015em;
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.38em;
  -webkit-tap-highlight-color: rgba(68, 142, 145, 0.28);
  transition: text-decoration-thickness 160ms ease, text-decoration-color 160ms ease;
}

.email a:visited {
  color: var(--navy);
  text-decoration-color: var(--teal);
}

.email a:hover {
  text-decoration-color: var(--navy);
  text-decoration-thickness: 2px;
}

.email a:focus {
  outline: none;
}

.email a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .email a {
    transition: none;
  }
}

@media (forced-colors: active) {
  .email a {
    text-decoration: underline;
  }
}
