@font-face {
  font-family: "STIX Two Text";
  src: url("assets/stix-two-text.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "STIX Two Text";
  src: url("assets/stix-two-text-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #061f2c;
  --muted: #384e53;
  --accent: #365d65;
  --hairline: #c8ceca;
  --serif: "STIX Two Text", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.35rem, 6.5vw, 6rem);
  --columns: minmax(0, 1.12fr) minmax(0, 1fr);
  --gap: clamp(2.5rem, 7vw, 7.2rem);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-text-size-adjust: 100%;
}

main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
section, footer { scroll-margin-block-start: 1rem; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.wrap {
  width: min(72rem, calc(100% - var(--gutter) - var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: .75rem auto auto 1rem;
  padding: .6rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: clamp(4.8rem, 7.8vw, 6.6rem);
  border-bottom: 1px solid var(--hairline);
}
.wordmark { width: clamp(8.8rem, 15vw, 12.25rem); height: auto; }
.masthead nav { display: flex; align-items: center; gap: clamp(1.25rem, 3.2vw, 2.8rem); }
.masthead nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .96rem;
  line-height: 1.2;
  text-decoration: none;
}
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .35em; }

.intro, .brand-section, .contact-layout {
  display: grid;
  grid-template-columns: var(--columns);
  column-gap: var(--gap);
  align-items: center;
}

.intro { padding-block: clamp(3rem, 6.35vw, 5.6rem); }
.intro h1 {
  font-size: clamp(3.5rem, 6.6vw, 6.5rem);
  line-height: .99;
  letter-spacing: -.052em;
}
.intro h1 em {
  display: block;
  color: var(--accent);
  font-weight: 400;
}
.intro-text > p, .brand-description {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.21rem);
  line-height: 1.57;
}
.intro-text > p { max-width: 35ch; margin-top: 1.45rem; }

/* The artwork uses the symbol from the approved wordmark. The fine rules
   follow the bounds of the symbol and stay inside the navy panel. */
.brand-plate {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.56;
  background: linear-gradient(125deg, #123b4a 0%, #092b3a 48%, #061f2c 94%);
  --guide: rgb(225 237 232 / 19%);
}
.brand-plate::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 70%;
  width: 120%;
  height: 1px;
  transform: rotate(-17deg);
  background: var(--guide);
}
.mark-guides {
  position: relative;
  width: 47%;
  aspect-ratio: 4 / 3;
}
.mark-guides::before, .mark-guides::after { content: ""; position: absolute; }
.mark-guides::before { inset: 0 -180%; border-block: 1px solid var(--guide); }
.mark-guides::after { inset: -180% 0; border-inline: 1px solid var(--guide); }
.mark-guides img {
  position: relative;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(96%) sepia(8%) saturate(300%) hue-rotate(345deg);
}

.brand-section {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.8rem, 5vw, 4.6rem);
}
.section-label {
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.brand-section h2 {
  font-size: clamp(2.9rem, 4.9vw, 4.65rem);
  line-height: 1;
  letter-spacing: -.052em;
}
.brand-description { max-width: 39ch; }

.contact-section { background: var(--ink); color: var(--paper); }
.contact-layout { padding-block: clamp(2.7rem, 4.4vw, 4.2rem); }
.contact-layout h2 {
  font-size: clamp(2.35rem, 3.7vw, 3.65rem);
  line-height: 1.07;
  letter-spacing: -.045em;
}
.contact-layout address { position: relative; min-width: 0; font-style: normal; }
.contact-name { display: block; margin-bottom: .15rem; color: #c7d4d5; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; }
.email-row a {
  display: inline-block;
  max-width: 100%;
  padding-block: .35rem;
  font-size: clamp(1.05rem, 1.65vw, 1.42rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  text-decoration-color: #9baeb2;
}
.email-row a:hover { text-decoration-color: var(--paper); }
.email-row button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #536c77;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.email-row button:hover { background: #1b3945; border-color: #a6babc; }
.copy-icon { width: 17px; height: 18px; position: relative; }
.copy-icon::before, .copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.3px solid currentColor;
  border-radius: 2px;
}
.copy-icon::before { left: 0; top: 0; }
.copy-icon::after { right: 1px; bottom: 0; background: var(--ink); }
.copy-status {
  display: block;
  color: #d9e1e0;
  font-size: .875rem;
}
.copy-status:not(:empty) { margin-top: .3rem; }

@media (max-width: 48rem) {
  .intro, .brand-section, .contact-layout { grid-template-columns: 1fr; }
  .intro { row-gap: 2rem; }
  .intro-text > p { max-width: 37ch; }
  .brand-plate { aspect-ratio: 2.65; }
  .mark-guides { width: 29%; }
  .brand-section { row-gap: 1rem; }
  .contact-layout { row-gap: 1.15rem; }
}

@media (max-width: 29rem) {
  .masthead { gap: .65rem; min-height: 4.55rem; }
  .masthead nav { gap: .85rem; }
  .masthead nav a { font-size: .89rem; }
  .wordmark { width: min(38vw, 8.8rem); }
  .intro h1 { font-size: clamp(2.9rem, 12.4vw, 3.6rem); }
  .intro { padding-block: 2.5rem; row-gap: 1.65rem; }
  .intro-text > p { margin-top: 1.05rem; }
  .brand-plate { aspect-ratio: 2.35; }
  .mark-guides { width: 34%; }
  .brand-section { padding-block: 2.25rem; }
}

@media (forced-colors: active) {
  .brand-plate { forced-color-adjust: none; }
  .email-row button { border-color: ButtonText; }
  .copy-icon::after { background: ButtonFace; }
}
