:root {
  --blue: #7BB0D2;
  --blue-soft: #E7F1F8;
  --ink: #0E0E0E;
  --gray: #5C636B;
  --line: #E4E8EC;
  --white: #FFFFFF;
  --focus: #2F6F97;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 58%, transparent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.narrow {
  max-width: 680px;
}

.centered {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  gap: 32px;
}

.brand-link,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-link img,
.foot-brand img,
.hero-logo,
.contact-aside img {
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  color: var(--gray);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  background: var(--blue-soft);
  text-align: center;
}

.hero-inner {
  padding-top: 84px;
  padding-bottom: 92px;
}

.hero-logo {
  width: 128px;
  height: 128px;
  margin: 0 auto 48px;
  box-shadow: 0 10px 30px rgba(123, 176, 210, 0.35);
}

.eyebrow,
.label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  font-size: 62px;
}

h2 {
  margin-bottom: 20px;
  font-size: 40px;
}

.hero-copy {
  max-width: 560px;
  margin: 22px auto 32px;
  color: var(--gray);
  font-size: 18px;
}

.hero-meta {
  margin: 28px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--blue-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
}

.about-copy p:not(.label),
.narrow p,
.page-hero p,
.contact-aside p {
  color: var(--gray);
  font-size: 17px;
}

.about-copy p:not(.label) {
  margin: 0 0 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-card {
  display: flex;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding: 16px 0;
  font-size: 17px;
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-row span {
  color: rgba(255, 255, 255, 0.8);
}

.fact-row strong {
  font-weight: 700;
  text-align: right;
}

.section-cta {
  margin-top: 28px;
}

.small-line {
  margin: 22px 0 0;
  color: var(--gray);
  font-size: 15px;
}

.small-line a {
  color: var(--focus);
  font-weight: 700;
  text-decoration: none;
}

.page-hero {
  background: var(--blue-soft);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 64px;
  align-items: end;
  padding-top: 76px;
  padding-bottom: 78px;
}

.page-hero h1 {
  font-size: 58px;
}

.page-hero p:last-child {
  margin: 0;
  max-width: 560px;
}

.contact-section {
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 50%, #F6FAFC 50%, #F6FAFC 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 126px;
}

.contact-aside img {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  box-shadow: 0 10px 28px rgba(123, 176, 210, 0.28);
}

.contact-aside h2 {
  font-size: 34px;
}

.contact-aside a {
  color: var(--focus);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(14, 14, 14, 0.06);
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.field label,
.radio-field legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 14px 15px;
}

.field textarea {
  resize: vertical;
}

.form-hint {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
}

.radio-field {
  border: 0;
  padding: 0;
}

.radio-field legend {
  margin-bottom: 10px;
  padding: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: var(--gray);
  font-weight: 500;
}

.choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.form-button {
  justify-self: start;
}

.form-status {
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
}

.form-status.is-success {
  background: #E9F6ED;
  color: #1E6B39;
}

.form-status.is-error {
  background: #FCECEC;
  color: #8B2525;
}

.hidden-field {
  display: none;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 44px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.foot-brand {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 17px;
  letter-spacing: 0.12em;
}

.foot-left p {
  max-width: 340px;
  margin: 0;
  color: #A9B0B8;
  font-size: 15px;
}

.foot-cols {
  display: flex;
  gap: 72px;
}

.foot-col h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.foot-col a,
.foot-col p {
  display: block;
  margin: 0 0 10px;
  color: #D2D7DC;
  font-size: 15px;
  text-decoration: none;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  color: #8B929B;
  font-size: 13px;
}

@media (max-width: 840px) {
  .wrap {
    padding: 0 24px;
  }

  .nav-shell {
    min-height: 78px;
    padding: 0 24px;
  }

  .brand-link {
    max-width: calc(100% - 64px);
    font-size: 13px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 10px 24px 18px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .hero-inner {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .hero-logo {
    width: 112px;
    height: 112px;
    margin-bottom: 36px;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .section {
    padding: 68px 0;
  }

  .about-grid,
  .page-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-card {
    aspect-ratio: auto;
  }

  .page-hero-grid {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .contact-section {
    background: var(--white);
  }

  .contact-aside {
    position: static;
  }

  .contact-form {
    padding: 28px;
  }

  .foot-cols {
    flex-wrap: wrap;
    gap: 34px;
  }
}

@media (max-width: 520px) {
  .brand-link span,
  .foot-brand span {
    max-width: 210px;
  }

  .hero-copy,
  .about-copy p:not(.label),
  .narrow p,
  .page-hero p,
  .contact-aside p {
    font-size: 16px;
  }

  .hero-meta {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .button {
    width: 100%;
  }

  .fact-row {
    flex-direction: column;
    gap: 4px;
  }

  .fact-row strong {
    text-align: left;
  }

  .contact-form {
    padding: 22px;
  }

  .form-button {
    justify-self: stretch;
  }
}
