@import url("fonts.css");

:root {
  --navy: #143860;
  --teal: #189ca4;
  --sky: #4e88b0;
  --ink: #143860;
  --muted: #5a6b78;
  --paper: #f4f8fb;
  --white: #ffffff;
  --line: #c5d5df;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --serif: "Abhaya Libre", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand picture {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 3.1rem;
  width: min(16.5rem, calc(100vw - 10rem));
  overflow: hidden;
}

.logo-header {
  display: block;
  width: 100%;
  height: auto;
}

.logo-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 34rem);
  aspect-ratio: 5 / 1;
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.logo-hero {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.header-tel {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.header-tel:hover {
  color: var(--teal);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.75rem 1.5rem 3rem;
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--navy);
}

.intro {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
}

.contact {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.contact p,
.contact address {
  margin: 0;
  font-style: normal;
}

.contact-label {
  display: inline-block;
  min-width: 1.35rem;
  margin-right: 0.35rem;
  font-weight: 700;
  color: var(--teal);
}

.wave {
  display: block;
  width: 100%;
  height: 2.75rem;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  background: var(--navy);
  color: #d7e4ee;
  text-align: center;
  padding: 1.35rem 1.5rem 1.6rem;
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

a {
  color: var(--teal);
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 40rem) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand picture {
    height: 2.5rem;
    width: min(13.5rem, calc(100vw - 8.5rem));
  }

  .header-tel {
    font-size: 0.78rem;
  }

  .hero {
    padding: 2.75rem 1.15rem 2.25rem;
  }
}
