:root {
  --color-ink: #dff0f0;
  --color-paper: #071616;
  --color-muted: #3a5c5c;
  --color-teal-deep: #041010;
  --color-teal: #0a2424;
  --color-teal-mid: #143838;
  --color-mist: #9ec8c8;
  --font-display: "Lexend Mega", sans-serif;
  --font-body: "Nunito Sans", sans-serif;
  --container: min(1100px, calc(100% - 3rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0, 26, 26, 0.72), rgba(0, 26, 26, 0));
  border-bottom: 1px solid transparent;
  color: var(--color-paper);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.12em;
  line-height: 1.1;
  color: #f2fafa;
}

.brand--footer {
  color: #f2fafa;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(480px, 88vh, 900px);
  display: grid;
  place-items: center;
  background:
    url("assets/hero.jpg") center / cover no-repeat;
  color: var(--color-mist);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 40%, rgba(126, 184, 184, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(0, 26, 26, 0.55) 0%, rgba(0, 40, 40, 0.35) 40%, rgba(0, 26, 26, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 3rem));
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 0 7rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.45rem, 3.4vw, 2.6rem);
  letter-spacing: -0.05em;
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 26, 26, 0.55);
  max-width: 34ch;
  margin-inline: auto;
}

.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(64px, 10vw, 120px);
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 710 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354.5 50L-4.37114e-06 6.20702e-05L710 3.43323e-05L354.5 50Z' fill='%23071616'/%3E%3Cpath d='M354.5 50L710 1.55394e-05L710 100L354.5 50Z' fill='%23071616' fill-opacity='0.35'/%3E%3Cpath d='M354.5 50L-4.37114e-06 1.54957e-05L0 100L354.5 50Z' fill='%23071616' fill-opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* About */
.about {
  position: relative;
  background:
    linear-gradient(180deg, #0a2222 0%, var(--color-paper) 35%, var(--color-teal) 100%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  color: var(--color-ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-media {
  margin: 0;
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  background: radial-gradient(ellipse at center, rgba(126, 184, 184, 0.28), transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.about-media a {
  position: relative;
  z-index: 1;
  display: block;
}

.about-media img {
  width: 100%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.about-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.08em;
  line-height: 1.1;
  color: #f2fafa;
}

.about-copy p {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-mist);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  background: transparent;
  color: #f2fafa;
  border: 2px solid var(--color-mist);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: rgba(158, 200, 200, 0.16);
  border-color: #f2fafa;
  color: #f2fafa;
}

.btn:active {
  transform: translateY(1px);
}

/* Footer */
.site-footer {
  background: var(--color-teal-deep);
  color: var(--color-mist);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(158, 200, 200, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.copyright {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.social {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social svg {
  width: 1.65rem;
  height: 1.65rem;
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 2rem, 1100px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    text-align: left;
  }

  .hero-content {
    padding: 4rem 0 5.5rem;
  }

  .about-copy p {
    font-size: 1.25rem;
  }

  .btn {
    font-size: 1.25rem;
  }
}

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

  .btn,
  .social a {
    transition: none;
  }
}
