@font-face {
  font-family: "Comfortaa";
  src: url("assets/comfortaa-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17242c;
  --brand: #446173;
  --brand-deep: #344f60;
  --brand-soft: #b9d9ed;
  --cream: #ebe7d9;
  --paper: #fbfbf8;
  --page-background: var(--white);
  --white: #ffffff;
  --line: rgba(68, 97, 115, 0.2);
  --page-pad: clamp(1.25rem, 4.6vw, 4.75rem);
  --content: 88rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  min-height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 2.65rem;
  height: 2.65rem;
}

.brand span {
  color: var(--brand);
  font-family: "Comfortaa", ui-rounded, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  transform: translateY(0.36rem);
}

.header-contact {
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32rem;
}

.hero {
  position: relative;
  min-height: min(49rem, calc(100vh - 6.5rem));
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.45fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 58rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1.35rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(3.15rem, 6.3vw, 5.7rem);
  font-weight: 570;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-intro {
  max-width: 48rem;
  margin: 2.4rem 0 0;
  color: #50616c;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.primary-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: 2.6rem;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-radius: 0.55rem;
  color: var(--white);
  background: var(--brand);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

.hero-mark {
  position: relative;
  justify-self: end;
  width: min(28vw, 26rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  transform: translateX(clamp(1rem, 3vw, 3rem));
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(68, 97, 115, 0.14);
}

.hero-mark::before {
  inset: -14%;
  border-color: rgba(68, 97, 115, 0.22);
}

.hero-mark::after {
  inset: -28%;
  border-color: rgba(68, 97, 115, 0.12);
}

.hero-mark img {
  width: 48%;
  height: 48%;
  opacity: 0.42;
}

.about {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
  border-radius: clamp(0rem, 3vw, 2.5rem);
  background: var(--cream);
}

.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.65rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.about-copy p {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: #4f5d65;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
}

.contact h2 {
  max-width: 16ch;
}

.contact-email {
  min-width: min(100%, 23rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--brand);
  border-bottom: 1px solid var(--brand);
  color: var(--brand);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 720;
  text-decoration: none;
}

footer {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem var(--page-pad);
  border-top: 1px solid var(--line);
  color: #66757e;
  font-size: 0.86rem;
}

footer a {
  text-underline-offset: 0.25rem;
}

:focus-visible {
  outline: 3px solid var(--brand-soft);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 2rem;
  }

  h1 {
    font-size: clamp(3rem, 7.4vw, 4.8rem);
  }
}

@media (max-width: 800px) {
  .site-header {
    min-height: 5.5rem;
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4.75rem;
    padding-bottom: 5.5rem;
  }

  .hero-mark {
    display: none;
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-intro {
    margin-top: 1.8rem;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-email {
    min-width: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action {
    transition: none;
  }
}
