:root {
  --navy: #071f34;
  --navy-soft: #14384f;
  --ink: #162631;
  --muted: #5f6e76;
  --line: #dce2e5;
  --sea-mist: #f1f5f7;
  --paper: #ffffff;
  --white: #ffffff;
  --error: #9f2f25;
  --success: #2f6654;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 64px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--navy);
  text-decoration: none;
}

.brand-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-contact {
  padding-block: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.hero {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 82px 0 126px;
  background: var(--sea-mist);
  box-shadow: 0 0 0 100vmax var(--sea-mist);
  clip-path: inset(0 -100vmax);
  isolation: isolate;
  text-align: center;
}

.hero-logo-stage {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px 0 8px;
}

.hero-logo-crop {
  position: relative;
  width: min(620px, 88vw);
  aspect-ratio: 1.79;
  overflow: hidden;
  background: transparent;
}

.hero-logo {
  display: block;
  width: 140.6%;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
  transform: translate(-16.2%, -30.3%);
}

.hero-tagline {
  max-width: 680px;
  margin: 42px 0 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.mission {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.divider {
  height: 1px;
  background: var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(72px, 10vw, 150px);
  padding: 106px 0 116px;
}

.contact-intro {
  align-self: start;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--navy-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h2,
p {
  text-wrap: pretty;
}

h2 {
  max-width: 440px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-note {
  max-width: 440px;
  margin: 30px 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.email-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid #a8b3b9;
  color: var(--navy);
  font-size: 14px;
  text-decoration: none;
}

.contact-form {
  position: relative;
}

.field + .field {
  margin-top: 28px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid #7b8b94;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}

input {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 154px;
  padding: 13px 14px;
  line-height: 1.5;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: #526873;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #285f7f;
  outline-offset: 3px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

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

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

button {
  min-width: 140px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

button:hover {
  background: var(--navy-soft);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-status {
  min-height: 21px;
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.form-status[data-state="error"] {
  color: var(--error);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .site-header {
    padding-block: 24px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 92px;
  }

  .hero-logo-stage {
    padding: 8px 0 0;
  }

  .hero-logo-crop {
    width: min(370px, 84vw);
  }

  .hero-tagline {
    margin-top: 34px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .mission {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 84px 0 96px;
  }

  .contact-intro .eyebrow {
    margin-bottom: 18px;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  button {
    width: 100%;
  }
}
